Hello, I am new to opensim, and I am having an error trying to open the Lumbar_C_238.osim. I keep getting an error that states:
"ModelComponent::getStateVariableSystemIndex: ERR- name '1-L3_r.activation' not found.
for component 'QL_post_I.1-L3_r' of type Thelen2003Muscle"
I am not sure what to do to resolve this issue. Any help would be greatly appreciated.
Lumbar Spine Model / Error
Re: Lumbar Spine Model / Error
Hi Corey,
So this error is due to the way the muscle names are written in the files. OpenSim reads dots in a particular type of way. The outcome, in this case, is its cutting off everything before it and then looking for a muscle called "1-L3_r", which doesn't exist.
You will have to go through the model and change dots to underscores for all the muscle names. ie:
"QL_post_I.1-L3_r" becomes "QL_post_I_1-L3_r"
Let us know how it goes,
-james
So this error is due to the way the muscle names are written in the files. OpenSim reads dots in a particular type of way. The outcome, in this case, is its cutting off everything before it and then looking for a muscle called "1-L3_r", which doesn't exist.
You will have to go through the model and change dots to underscores for all the muscle names. ie:
"QL_post_I.1-L3_r" becomes "QL_post_I_1-L3_r"
Let us know how it goes,
-james
- forest song
- Posts: 2
- Joined: Mon Feb 22, 2016 6:40 am
Re: Lumbar Spine Model / Error
Hi Mr.Dunne
I have the same error trying to open the Lumbar_C_238.osim. After i change "QL_post_I.1-L3_r" with "QL_post_I_1-L3_r",another error states:
"ModelComponent::getStateVariableSystemIndex: ERR- name '2-L4_r.activation' not found.
for component 'QL_post_I.2-L4_r' of type Thelen2003Muscle"
Likewise, i change "QL_post_I.2-L4_rr" with "QL_post_I_2-L4_r".Then error goes to:
"ModelComponent::getStateVariableSystemIndex: ERR- name '3_r.activation' not found.
for component 'QL_mid_L3-12.3_r' of type Thelen2003Muscle"
It seems to have many wrong muscle names.
I expect you could show the full correct muscle names.Thanks
Forest
I have the same error trying to open the Lumbar_C_238.osim. After i change "QL_post_I.1-L3_r" with "QL_post_I_1-L3_r",another error states:
"ModelComponent::getStateVariableSystemIndex: ERR- name '2-L4_r.activation' not found.
for component 'QL_post_I.2-L4_r' of type Thelen2003Muscle"
Likewise, i change "QL_post_I.2-L4_rr" with "QL_post_I_2-L4_r".Then error goes to:
"ModelComponent::getStateVariableSystemIndex: ERR- name '3_r.activation' not found.
for component 'QL_mid_L3-12.3_r' of type Thelen2003Muscle"
It seems to have many wrong muscle names.
I expect you could show the full correct muscle names.Thanks
Forest
Re: Lumbar Spine Model / Error
You have to go through the model and change ALL the muscles that are affected by this problem. Not just one or two of them. I didn't design the model so I don't have the list of muscles.