Ensure that functionspace parameter is removed before attempting to find grad() coefficients in nonlinearPDE.