Does anyone knows how to solve this error in MATLAB/Simulink?
Nonlinear iteration is not converging with step size reduced to hmin (1.0E-50) at time 10.914825588826123. Try reducing the minimum step size and/or relax the relative error tolerance
In the simulink window go to Simulation -> Model Configuration parameters, in the solver tab -> Solver options, try using 'variable step' and select 'auto' in solver. Also you can reduce the 'relative tolerance' in 'Additional options' to 1.0e-4 or 1.0e-3 and check if the error resolves.