This message could be caused by a problem in your system that makes it difficult for the Simulink solver to accurately determine step size due to large differences in state values. Also, Integration cannot work if the derivative gets infinity. To check this, you need to follow these steps:
- In the model editor, click on Simulation and then Configuration Parameters.
- Select Data Import/Export and check the 'States' option in the 'Save to Workspace' field.
- This will allow you to log the states as output.
Plot the results to determine if there are any large differences in the state values of the system.
To identify if the issue is caused by a singularity in your system, you can check if any of the states are changing significantly more than the others. In case you find such a situation, you can take a couple of steps to fix this. Firstly, you could rescale the model to ensure that the states are comparable in magnitude. Additionally, setting specific error tolerances for your integrator blocks could also help resolve the issue.
To learn more about setting absolute tolerance for your block's outputs, you can reference the setting the absolute tolerance section MATLAB’s integrator block documentation.
Hope this helps,