MATLAB: What does the “nonlinear iteration is not converging” error mean

simulink

What does the "nonlinear iteration is not converging" error mean? How do I debug this?
Nonlinear iteration is not converging with step size reduced to hmin (7.96349e-014) at time 22.4152. Try reducing the minimum step size and/or relax the relative error tolerance.

Best Answer

This can mean that one of the signals in your model is diverging to plus or minus infinity or is otherwise changing too rapidly based on the solver settings.