CMC failed

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Zhen Yang
Posts: 29
Joined: Fri Feb 24, 2012 11:48 am

CMC failed

Post by Zhen Yang » Tue Apr 30, 2013 5:27 am

Hi!

Does anyone know what it means with this error message below?

"CMC.computeControls: t = 1
SimTK Exception thrown at InteriorPointOptimizer.cpp:261:
Optimizer failed: Ipopt: Restoration failed (status -2)
OPTIMIZATION FAILED..."

What should I change to make CMC work?

Thanks!
Zhen

User avatar
Ayman Habib
Posts: 2248
Joined: Fri Apr 01, 2005 12:24 pm

Re: CMC failed

Post by Ayman Habib » Tue Apr 30, 2013 10:01 am

Hi Zhen,

Please consult the documentation page on our help portal
http://simtk-confluence.stanford.edu:80 ... +Practices

and let us know how it goes or if you continue to have questions.

Best regards,
-Ayman

User avatar
Zhen Yang
Posts: 29
Joined: Fri Feb 24, 2012 11:48 am

Re: CMC failed

Post by Zhen Yang » Wed May 01, 2013 2:06 am

Hi Ayman,
in the documentation it states:

"If CMC is failing, try increasing the maximum excitation for reserves and residuals by orders of magnitude until the simulation runs, then try working your way back down while also "relaxing" tracking weights on coordinates."

In which file can I change the maximum excitation for reserves and residuals?

Thanks,
Zhen

User avatar
Zhen Yang
Posts: 29
Joined: Fri Feb 24, 2012 11:48 am

Re: CMC failed

Post by Zhen Yang » Thu May 02, 2013 1:29 am

Hi,

I got another message which I don't know how to fix
“WARN- small force range for peri_r (0 to 0)”

Is there anyone who knows how to change this?

Thanks,
Zhen

User avatar
Ayman Habib
Posts: 2248
Joined: Fri Apr 01, 2005 12:24 pm

Re: CMC failed

Post by Ayman Habib » Thu May 02, 2013 10:46 am

Hi Zhen,

If you're using the output from RRA to run CMC then you'll have a file of RRA_Actuators.xml (similar to the gait2354_RRA_Actuators.xml included with the distribution). These are the reserves and residuals . You can change the <optimal_force> there.

The small force warning is benign and can be ignored.

Hope this helps,
-Ayman

User avatar
Zhen Yang
Posts: 29
Joined: Fri Feb 24, 2012 11:48 am

Re: CMC failed

Post by Zhen Yang » Thu May 02, 2013 11:54 pm

Hi Ayman!

Thanks for your reply, but I got this small force warning through whole simulation time at each every step, are they still benign? If not how do I fix it?
I read about changing optimizer from ipopt to CFSQP. But OpenSim doesn't have CFSQP.

Thanks,
Zhen

POST REPLY