2777: check nonlinear systems

fixes #2777