Hello,
I am trying to automate some simulations using AnyBody and Jupyter and I am getting an error in Jupyter which I am not getting in AB.
The error is the following (from Jupyer):
#### Macro command : UpdateValues(1:1)> classoperation Main "Update Values"
Updating expressions...
...Finished updating expressions
0.0.2) ...Kinematic analysis completed.
0.0.3) ...Dependent variables are fully updated.
0) Inverse dynamic analysis...
ERROR(OBJ.MCH.MUS4) : C:\Users\....\kneemodel.main.any(317) : 'MyStudy.InverseDynamics' : Muscle recruitment solver : solver aborted after maximum number of line-search iterations
0) ...Inverse dynamic analysis terminated
ERROR(OBJ.MCH.KIN3) : C:\Users\....\kneemodel.main.any(317) : 'MyStudy.InverseDynamics' : Kinematic analysis failed in time step 0
It only happens when I run the inverse dynamics.
I thought that I was doing something wrong, but if I just plug in the same variables which I am passing through Jupyter manually in AB and start the simulation, then it is working without any errors. I also performed multiple simulations before with different variables and it was working perfectly, but for some reason it suddenly stopped working and I am not sure why.
Thanks in advance for any advice!
Best regards,
Diana