Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.BodyShape,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape") translateModel(ModelicaTest.MultiBody.Parts.BodyShape,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 111.7 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 186.1 kB / 19.38 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 222.9 MB / 243.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2247/0.2247, allocations: 44.18 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 63.91 kB / 471.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3958, allocations: 60.82 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.01304/0.4089, allocations: 11.08 MB / 0.5304 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009202/0.4181, allocations: 4.088 MB / 0.5344 GB, free: 8.641 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002531/0.4207, allocations: 70.94 kB / 0.5344 GB, free: 8.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00499/0.4257, allocations: 2.58 MB / 0.537 GB, free: 6.887 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005465/0.4312, allocations: 1.863 MB / 0.5388 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002345/0.4336, allocations: 0.7299 MB / 0.5395 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006997/0.4406, allocations: 4.176 MB / 0.5436 GB, free: 2.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00546/0.4461, allocations: 3.359 MB / 0.5468 GB, free: 64 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003239/0.4493, allocations: 1.507 MB / 0.5483 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00349/0.4528, allocations: 1.974 MB / 0.5502 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001257/0.4541, allocations: 320 kB / 0.5506 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003375/0.4575, allocations: 1.256 MB / 0.5518 GB, free: 11 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002646/0.4602, allocations: 1.933 MB / 0.5537 GB, free: 9.062 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003965/0.4642, allocations: 2.179 MB / 0.5558 GB, free: 6.871 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008748/0.4729, allocations: 6.908 MB / 0.5625 GB, free: 15.94 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.4729, allocations: 8 kB / 0.5625 GB, free: 15.93 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.473, allocations: 0 / 0.5625 GB, free: 15.93 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002652/0.4732, allocations: 0 / 0.5625 GB, free: 15.93 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1478 * Number of variables: 1478 Notification: Performance of Generate backend data structure: time 0.01196/0.4852, allocations: 4.689 MB / 0.5671 GB, free: 11.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.4853, allocations: 8.031 kB / 0.5671 GB, free: 11.17 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006951/0.4922, allocations: 1.925 MB / 0.569 GB, free: 9.234 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005175/0.4974, allocations: 2.421 MB / 0.5714 GB, free: 6.754 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001879/0.4976, allocations: 234.5 kB / 0.5716 GB, free: 6.523 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001088/0.4987, allocations: 407.5 kB / 0.572 GB, free: 6.125 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.019/0.5177, allocations: 9.876 MB / 0.5816 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002257/0.518, allocations: 43.62 kB / 0.5817 GB, free: 11.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001252/0.5193, allocations: 151.8 kB / 0.5818 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003065/0.5224, allocations: 1.818 MB / 0.5836 GB, free: 9.562 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01816/0.5405, allocations: 8.314 MB / 0.5917 GB, free: 1.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05728/0.5979, allocations: 38.72 MB / 0.6295 GB, free: 9.27 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009812/0.6077, allocations: 3.726 MB / 0.6332 GB, free: 5.391 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00219/0.6099, allocations: 1.576 MB / 0.6347 GB, free: 3.801 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01215/0.6221, allocations: 7.751 MB / 0.6423 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.372e-05/0.6222, allocations: 51.56 kB / 0.6423 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=144): time 6.121e-06/0.6222, allocations: 0 / 0.6423 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=154): time 0.04194/0.6642, allocations: 13.73 MB / 0.6557 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.6643, allocations: 145.5 kB / 0.6559 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00943/0.6738, allocations: 3.852 MB / 0.6596 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005087/0.6743, allocations: 49.98 kB / 0.6597 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003562/0.6779, allocations: 3.081 MB / 0.6627 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001156/0.6791, allocations: 0.6252 MB / 0.6633 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003017/0.6821, allocations: 1.214 MB / 0.6645 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.6823, allocations: 301.1 kB / 0.6648 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003386/0.6857, allocations: 1.936 MB / 0.6667 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007063/0.6927, allocations: 5.665 MB / 0.6722 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01131/0.7041, allocations: 8.252 MB / 0.6802 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001503/0.7043, allocations: 36 kB / 0.6803 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of matching and sorting (n=777) (initialization): time 0.02306/0.7273, allocations: 9.073 MB / 0.6891 GB, free: 7.645 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001914/0.7276, allocations: 60.19 kB / 0.6892 GB, free: 7.586 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01136/0.7389, allocations: 3.303 MB / 0.6924 GB, free: 4.266 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0118/0.7508, allocations: 2.262 MB / 0.6946 GB, free: 1.988 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005012/0.7559, allocations: 1.372 MB / 0.696 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01072/0.7666, allocations: 6.912 MB / 0.7027 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005121/0.7718, allocations: 331.6 kB / 0.703 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001272/0.7731, allocations: 364 kB / 0.7034 GB, free: 8.73 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 604 * Number of states: 0 () * Number of discrete variables: 41 (freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (743): * Single equations (assignments): 736 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004877/0.778, allocations: 2.033 MB / 0.7054 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001029/0.779, allocations: 331.7 kB / 0.7057 GB, free: 6.355 MB / 0.5606 GB Warning: After manipulating the system with postOptModule wrapFunctionCalls the system is unbalanced. This indicates that the original system is singular. You can use -d=dumpCSE and -d=dumpCSE_verbose for more information. Error: Too many equations, over-determined system. The model has 100 equation(s) and 94 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002731/0.7818, allocations: 1.164 MB / 0.7068 GB, free: 5.195 MB / 0.5606 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode DAEmode: The model ModelicaTest.MultiBody.Parts.BodyShape could not be translated