Integrator going beyond final time

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Musa Audu
Posts: 47
Joined: Mon Nov 24, 2008 11:30 am

Integrator going beyond final time

Post by Musa Audu » Fri May 28, 2021 1:04 pm

Hi,
I am running a simulation by integrating the model equations in OpenSim C++ API. I set the initial and final times; but the integrator threw an exception about being unable to proceed beyond the final time. Below is the simulation output in the command window:

Loaded model StanceModel from file LE2CP.osim
initial time = 1.35 final time = 2.2
SimTK Exception thrown at AbstractIntegratorRep.cpp:428:
Integrator step failed at time 2.2000000000000002 apparently because:
SimTK Exception thrown at AbstractIntegratorRep.cpp:547:
Error detected by Simbody method AbstractIntegrator::takeOneStep(): Unable to advance time past 2.2.
(Required condition 't1 > t0' was not met.)

Press Enter to continue.

I wonder why the integrator will have this behavior? Any advise on how to get around this problem will be appreciated.
Thanks.
Musa

Tags:

POST REPLY