Page 1 of 1

CMC keeps Failing

Posted: Sun Mar 03, 2024 6:04 am
by suvitti
I have been trying to get CMC done on my model but it is failing again and again. I'm using the CMC xml files as it is that came with the parent model.

For the input, I'm giving the following files
1. RRAScaled osim model
2. The respective grf xml file
3. CMC actuator xml
4. CMC task xml
5. CMC constarints xml
6. RRA Kinematics q

The tool first throws a warning as following for a lot of muscles
CMC::Warning: CMC cannot compute controls for muscles with muscle controls < 0.02.
The minimum control limit for muscle 'Muscle Name' has been reset to 0.02.

For the same muscles it then throws the following warning
CMC::computeControls WARNING- small force range for muscle (constant_number to constant_number)

It then fails citing the following reasons :
SimTK Exception thrown at InteriorPointOptimizer.cpp:261:
Optimizer failed: Ipopt: Maximum iterations exceeded (status -1)
OPTIMIZATION FAILED...
CMC.computeControls: ERROR- Optimizer could not find a solution.
Unable to find a feasible solution at time = 0.
Model cannot generate the forces necessary to achieve the target acceleration.
Possible issues: 1. not all model degrees-of-freedom are actuated,
2. there are tracking tasks for locked coordinates, and/or
3. there are unnecessary control constraints on reserve/residual actuators.

I need to get the CMC working anyhow, can anyone help?

Re: CMC keeps Failing

Posted: Fri Apr 12, 2024 4:06 am
by krishn0195
Hi same error for me also.how did you overcome it

regards
krishnaraj

Re: CMC keeps Failing

Posted: Mon Apr 15, 2024 1:43 pm
by suvitti
Hey, I have tried a lot of things but haven't been able to solve it yet.
Lemme know if something works at your end.

Regards
Suvitti

Re: CMC keeps Failing

Posted: Thu Apr 25, 2024 10:54 pm
by suvitti
I have been stuck to it since last couple of months. Any help or leads in any directions will really help.

Regards
Suvitti