ID problems in 3.0
- fausto panizzolo
- Posts: 15
- Joined: Thu Sep 30, 2010 12:18 am
ID problems in 3.0
Hi,
after running scaling and IK I try to run ID but the simulation does not start and I get the following error.
I believe all my inputs are correct, having checked them with those available on line.
Any idea on what's wrong?
Thanks
after running scaling and IK I try to run ID but the simulation does not start and I get the following error.
I believe all my inputs are correct, having checked them with those available on line.
Any idea on what's wrong?
Thanks
- David John Saxby
- Posts: 83
- Joined: Mon May 09, 2011 8:39 pm
Re: ID problems in 3.0
What's the error mate?
- fausto panizzolo
- Posts: 15
- Joined: Thu Sep 30, 2010 12:18 am
Re: ID problems in 3.0
Sorry my attachment did not go through.
I am posting down here:
Constructing tool from setup file idsetok.xml.
-----------------------------------------------------------------------
Starting Inverse Dynamics
-----------------------------------------------------------------------
-----------------------------------------------------------------------
Loaded model Malcolm_Mintz from file Model with new settings.osim
MODEL: MM
coordinates: 29
forces: 92
actuators: 92
muscles: 92
analyses: 0
probes: 0
bodies: 13
joints: 12
constraints: 0
markers: 32
controllers: 0
contact geometries: 0
misc modelcomponents: 0
Running tool MM.
Storage: file=IKoutput.mot (nr=2285 nc=30)
Low-pass filtering coordinates data with a cutoff frequency of 6...
Storage: file=C:\Documents and Settings\Walk 0,75 m per sec_grf.mot (nr=45740 nc=19)
Exception in ID: SimTK Exception thrown at SmallMatrixMixed.h:878:
Error detected by Simbody method lapackInverse(Mat<>): Matrix is singular so can't be inverted (Lapack getrf info=3).
(Required condition 'info==0' was not met.)
I am posting down here:
Constructing tool from setup file idsetok.xml.
-----------------------------------------------------------------------
Starting Inverse Dynamics
-----------------------------------------------------------------------
-----------------------------------------------------------------------
Loaded model Malcolm_Mintz from file Model with new settings.osim
MODEL: MM
coordinates: 29
forces: 92
actuators: 92
muscles: 92
analyses: 0
probes: 0
bodies: 13
joints: 12
constraints: 0
markers: 32
controllers: 0
contact geometries: 0
misc modelcomponents: 0
Running tool MM.
Storage: file=IKoutput.mot (nr=2285 nc=30)
Low-pass filtering coordinates data with a cutoff frequency of 6...
Storage: file=C:\Documents and Settings\Walk 0,75 m per sec_grf.mot (nr=45740 nc=19)
Exception in ID: SimTK Exception thrown at SmallMatrixMixed.h:878:
Error detected by Simbody method lapackInverse(Mat<>): Matrix is singular so can't be inverted (Lapack getrf info=3).
(Required condition 'info==0' was not met.)
- Ayman Habib
- Posts: 2248
- Joined: Fri Apr 01, 2005 12:24 pm
Re: ID problems in 3.0
Hi Fausto,
Are you sure you have mass properties specified for all the segments of the model you're analyzing? These would be needed for InverseDynamics but not scale or IK?
Please let us know so we can help you troubleshoot further.
Best regards,
-Ayman
Are you sure you have mass properties specified for all the segments of the model you're analyzing? These would be needed for InverseDynamics but not scale or IK?
Please let us know so we can help you troubleshoot further.
Best regards,
-Ayman
- fausto panizzolo
- Posts: 15
- Joined: Thu Sep 30, 2010 12:18 am
Re: ID problems in 3.0
Hi Ayman,
I believe I have mass properties for all my segments (except ground but it should not matter if I am right).
With properties I mean mass, mass center and inertia.
Thanks for any support you could give me.
Fausto
I believe I have mass properties for all my segments (except ground but it should not matter if I am right).
With properties I mean mass, mass center and inertia.
Thanks for any support you could give me.
Fausto
- Ayman Habib
- Posts: 2248
- Joined: Fri Apr 01, 2005 12:24 pm
Re: ID problems in 3.0
Hi Fausto,
Please file a bug report here (https://simtk.org/tracker/?atid=322&gro ... unc=browse) and attach the model and all necessary files to reproduce the problem and we'll investigate. Just for reference, are you applying ExternalLoads to your model? IF so, does InverseDynamics work without them? Also did you run these files in the past (in version 2.4 for example)?
Best regards,
-Ayman
Please file a bug report here (https://simtk.org/tracker/?atid=322&gro ... unc=browse) and attach the model and all necessary files to reproduce the problem and we'll investigate. Just for reference, are you applying ExternalLoads to your model? IF so, does InverseDynamics work without them? Also did you run these files in the past (in version 2.4 for example)?
Best regards,
-Ayman
- Huseyin Celik
- Posts: 4
- Joined: Thu Sep 10, 2009 5:41 pm
Re: ID problems in 3.0
Hi:
We're getting the same error message. Is this problem solved? Thanks.
Huseyin
We're getting the same error message. Is this problem solved? Thanks.
Huseyin
- Ilan Eskinazi
- Posts: 24
- Joined: Fri Mar 19, 2010 5:35 am
Re: ID problems in 3.0
I had the same "matrix is singular" problem but running forward dynamics. The problem was that I had muscles in my model but hadn't specified a control for them. Removing the unused muscles solved the problem.
- James Buffi
- Posts: 6
- Joined: Tue Jul 06, 2010 9:27 am
Re: ID problems in 3.0
I'm also getting the same problem with inverse dynamics? What was the solution to this problem?
- Ayman Habib
- Posts: 2248
- Joined: Fri Apr 01, 2005 12:24 pm
Re: ID problems in 3.0
Hi James,
There was no bug there, based on earlier messages in the trail it's either of:
- Mass properties unspecified (Mass, Inertias)
- Infinite or very large forces being applied (because of poorly initialized muscles in one case)
If masses and inertia look good then I'd try to zone in on which forces are causing the problem by taking suspect forces out then adding them one at a time to pinpoint the problem.
Hope this helps,
-Ayman
There was no bug there, based on earlier messages in the trail it's either of:
- Mass properties unspecified (Mass, Inertias)
- Infinite or very large forces being applied (because of poorly initialized muscles in one case)
If masses and inertia look good then I'd try to zone in on which forces are causing the problem by taking suspect forces out then adding them one at a time to pinpoint the problem.
Hope this helps,
-Ayman