Hi Mouaad,
It would be easier to debug if you sent over the full model file.
exempleSquattoSTand- Add external Load
- Nicholas Bianco
- Posts: 1003
- Joined: Thu Oct 04, 2012 8:09 pm
- Mouaad BOUFADNA
- Posts: 22
- Joined: Mon Mar 16, 2020 3:24 am
Re: exempleSquattoSTand- Add external Load
Hi Chris
In attachement my .osim file modified.
I thought maybe it's because I edited the barbell in Bodyset section and I shoud create it in an additionnal section ?
Thank you for helping
Mouaad
In attachement my .osim file modified.
I thought maybe it's because I edited the barbell in Bodyset section and I shoud create it in an additionnal section ?
Thank you for helping
Mouaad
- Attachments
-
- 2D_gait_barbell.osim
- (192.27 KiB) Downloaded 93 times
- Nicholas Bianco
- Posts: 1003
- Joined: Thu Oct 04, 2012 8:09 pm
Re: exempleSquattoSTand- Add external Load
Hi Mouaad,
When you try to load the model in the GUI, there should be a red "error" circle that appear in the bottom right of the window. The message in that box may tell you what line the error in reading the XML is happening. It's likely that you missed an opening/closing XML tag or didn't properly indent somewhere.
-Nick
When you try to load the model in the GUI, there should be a red "error" circle that appear in the bottom right of the window. The message in that box may tell you what line the error in reading the XML is happening. It's likely that you missed an opening/closing XML tag or didn't properly indent somewhere.
-Nick
- Nicholas Bianco
- Posts: 1003
- Joined: Thu Oct 04, 2012 8:09 pm
Re: exempleSquattoSTand- Add external Load
Hi Mouaad,
Apologies, I didn't see your previous post. I've attached an updated version of your model file. Indeed, there were errors including missing closing tags and improper indenting. You had also misnamed one of the frames in the weld joint you added. Compare the two files to understand the changes.
-Nick
Apologies, I didn't see your previous post. I've attached an updated version of your model file. Indeed, there were errors including missing closing tags and improper indenting. You had also misnamed one of the frames in the weld joint you added. Compare the two files to understand the changes.
-Nick
- Attachments
-
- 2D_gait_barbell_fixed.osim
- (192.47 KiB) Downloaded 94 times
- Mouaad BOUFADNA
- Posts: 22
- Joined: Mon Mar 16, 2020 3:24 am
Re: exempleSquattoSTand- Add external Load
Hi Nick
Apologizes for the delay I was off during some weeks.
Thank you for those corrections !
I tried to process Moco with this new model but MocoCasADiSolver didn't succeed and this very quickly (after 50 to 60 iterations).
Under the failure message "MocoCasADiSolver did NOT succeed:" I have this new one I haven't ever seen
"Infeasible_Problem_Detected"
Usually I got "Maximum_Iterations_Exceeded" as comment.
I tried in another by taking the initial 2D-gait.osim file where I increased the torso mass in Edit File menu but same issue.
I think the problem with all its parameters and defined configurations I try to resolve isn't acceptable for Moco...
Apologizes for the delay I was off during some weeks.
Thank you for those corrections !
I tried to process Moco with this new model but MocoCasADiSolver didn't succeed and this very quickly (after 50 to 60 iterations).
Under the failure message "MocoCasADiSolver did NOT succeed:" I have this new one I haven't ever seen
"Infeasible_Problem_Detected"
Usually I got "Maximum_Iterations_Exceeded" as comment.
I tried in another by taking the initial 2D-gait.osim file where I increased the torso mass in Edit File menu but same issue.
I think the problem with all its parameters and defined configurations I try to resolve isn't acceptable for Moco...
- Christopher Dembia
- Posts: 506
- Joined: Fri Oct 12, 2012 4:09 pm
Re: exempleSquattoSTand- Add external Load
This error might mean that your constraints can't be satisfied. For example, maybe the muscles are not strong enough.
Sometimes, however, we get this error for reasons we have not yet understood. Could you share the last few lines of output describing the iterations of IPOPT?
Sometimes, however, we get this error for reasons we have not yet understood. Could you share the last few lines of output describing the iterations of IPOPT?
- Mouaad BOUFADNA
- Posts: 22
- Joined: Mon Mar 16, 2020 3:24 am
Re: exempleSquattoSTand- Add external Load
Hi Chris
After the last iteration i got this message :
"EXIT: Converged to a point of local infeasibility. Problem may be infeasible.
t_proc [s] t_wall [s] n_eval
callback_fun 0.075 0.076 247
nlp 43.2 43.2 1
nlp_f 0.022 0.0206 299
nlp_g 4.66 4.66 299
nlp_grad_f 0.255 0.253 40
nlp_jac_g 32.9 32.9 249"
I tried to reduce the convergence and constraint tolerance to 10e-2 and then 10e-1, the mesh interval to 10 and the maximum iterations number to 2000 but it failed too
After the last iteration i got this message :
"EXIT: Converged to a point of local infeasibility. Problem may be infeasible.
t_proc [s] t_wall [s] n_eval
callback_fun 0.075 0.076 247
nlp 43.2 43.2 1
nlp_f 0.022 0.0206 299
nlp_g 4.66 4.66 299
nlp_grad_f 0.255 0.253 40
nlp_jac_g 32.9 32.9 249"
I tried to reduce the convergence and constraint tolerance to 10e-2 and then 10e-1, the mesh interval to 10 and the maximum iterations number to 2000 but it failed too
- Christopher Dembia
- Posts: 506
- Joined: Fri Oct 12, 2012 4:09 pm
Re: exempleSquattoSTand- Add external Load
Sorry, I should have been clearer. I was actually looking for a line higher up. Maybe you could just paste all of the optimizer output?
These are all excellent things to try. It probably means your problem truly is infeasible. Have you tried simulating the model in the GUI?I tried to reduce the convergence and constraint tolerance to 10e-2 and then 10e-1, the mesh interval to 10 and the maximum iterations number to 2000 but it failed too