Modelica solver reaches maximal number of iteration but not able to find root

1 post / 0 new
foadsf
Offline
Joined: 2017-11-14
Modelica solver reaches maximal number of iteration but not able to find root

I am trying to simulate a system of of ADEs with discrete conditions. but I get the error below: 

Warning: maximal number of iteration reached but no root found Error solving nonlinear system 

 

I have explained the problem with details in this SO post. I would appreciate if you could help me know why this problem happens and how I can solve it.