Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

Multibody problem

Multibody problem

Whilst compiling the C code of a closed loop multibody problem I encounter the following errors:

"""
MOP01_d_stable_and_shifted_and_2rods.Platform_03lsy.c:8890:51: error: use of undeclared identifier 'MOP01_d_stable_and_shifted_and_2rods_Platform_initialAnalyticJacobianNLSJac159'
  linearSystemData[0].initialAnalyticalJacobian = MOP01_d_stable_and_shifted_and_2rods_Platform_initialAnalyticJacobianNLSJac159;
                                                                                                                                  ^
MOP01_d_stable_and_shifted_and_2rods.Platform_03lsy.c:8902:50: error: use of undeclared identifier 'MOP01_d_stable_and_shifted_and_2rods_Platform_functionJacNLSJac160_column'
  linearSystemData[1].analyticalJacobianColumn = MOP01_d_stable_and_shifted_and_2rods_Platform_functionJacNLSJac160_column;
                                                                                                                                    ^
MOP01_d_stable_and_shifted_and_2rods.Platform_03lsy.c:8903:51: error: use of undeclared identifier 'MOP01_d_stable_and_shifted_and_2rods_Platform_initialAnalyticJacobianNLSJac160'
  linearSystemData[1].initialAnalyticalJacobian = MOP01_d_stable_and_shifted_and_2rods_Platform_initialAnalyticJacobianNLSJac160;
                                                                                                                                ^
MOP01_d_stable_and_shifted_and_2rods.Platform_03lsy.c:8915:50: error: use of undeclared identifier 'MOP01_d_stable_and_shifted_and_2rods_Platform_functionJacNLSJac161_column'
  linearSystemData[2].analyticalJacobianColumn = MOP01_d_stable_and_shifted_and_2rods_Platform_functionJacNLSJac161_column;
                                                                                                                                   ^
MOP01_d_stable_and_shifted_and_2rods.Platform_03lsy.c:8916:51: error: use of undeclared identifier 'MOP01_d_stable_and_shifted_and_2rods_Platform_initialAnalyticJacobianNLSJac161'
  linearSystemData[2].initialAnalyticalJacobian = MOP01_d_stable_and_shifted_and_2rods_Platform_initialAnalyticJacobianNLSJac161;
                                                                                                                                    ^
6 errors generated.
"""

Apparently, the Jacobian initialization variables are undeclared. Playing with different DASSL Jacobian settings or changing the integration method (e.g. Radau5) makes no difference. Apparently, it's model related...  Help much appreciated.

Re: Multibody problem

Solved by specifying omc flag --tearingmethod=noTearing

There are 0 guests and 0 other users also viewing this topic