ID problems in 3.0

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
User avatar
fausto panizzolo
Posts: 15
Joined: Thu Sep 30, 2010 12:18 am

ID problems in 3.0

Post by fausto panizzolo » Sun Oct 28, 2012 2:30 am

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

User avatar
David John Saxby
Posts: 83
Joined: Mon May 09, 2011 8:39 pm

Re: ID problems in 3.0

Post by David John Saxby » Sun Oct 28, 2012 9:29 pm

What's the error mate?

User avatar
fausto panizzolo
Posts: 15
Joined: Thu Sep 30, 2010 12:18 am

Re: ID problems in 3.0

Post by fausto panizzolo » Sun Oct 28, 2012 9:32 pm

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.)

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

Re: ID problems in 3.0

Post by Ayman Habib » Sun Oct 28, 2012 9:41 pm

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

User avatar
fausto panizzolo
Posts: 15
Joined: Thu Sep 30, 2010 12:18 am

Re: ID problems in 3.0

Post by fausto panizzolo » Sun Oct 28, 2012 9:59 pm

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

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

Re: ID problems in 3.0

Post by Ayman Habib » Mon Oct 29, 2012 10:01 am

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

User avatar
Huseyin Celik
Posts: 4
Joined: Thu Sep 10, 2009 5:41 pm

Re: ID problems in 3.0

Post by Huseyin Celik » Wed Mar 20, 2013 12:06 pm

Hi:

We're getting the same error message. Is this problem solved? Thanks.

Huseyin

User avatar
Ilan Eskinazi
Posts: 24
Joined: Fri Mar 19, 2010 5:35 am

Re: ID problems in 3.0

Post by Ilan Eskinazi » Thu Mar 21, 2013 7:54 am

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.

User avatar
James Buffi
Posts: 6
Joined: Tue Jul 06, 2010 9:27 am

Re: ID problems in 3.0

Post by James Buffi » Tue May 28, 2013 11:24 am

I'm also getting the same problem with inverse dynamics? What was the solution to this problem?

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

Re: ID problems in 3.0

Post by Ayman Habib » Tue May 28, 2013 2:18 pm

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

POST REPLY