Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001288/0.001288, allocations: 106.4 kB / 17.08 MB, free: 5.82 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.001377/0.001377, allocations: 194.2 kB / 18.02 MB, free: 4.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.399/1.399, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2154/0.2154, allocations: 43.53 MB / 314.8 MB, free: 476 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001617/0.001617, allocations: 68.47 kB / 442.5 MB, free: 5.707 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1216, allocations: 57.8 MB / 0.4885 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.01232/0.1339, allocations: 11.44 MB / 0.4997 GB, free: 348 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008673/0.1427, allocations: 4.136 MB / 0.5038 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002293/0.145, allocations: 75.75 kB / 0.5038 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005257/0.1503, allocations: 2.585 MB / 0.5063 GB, free: 9.527 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005107/0.1554, allocations: 1.86 MB / 0.5082 GB, free: 7.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001806/0.1573, allocations: 0.7409 MB / 0.5089 GB, free: 6.918 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005864/0.1632, allocations: 4.266 MB / 0.5131 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004539/0.1677, allocations: 3.402 MB / 0.5164 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002929/0.1707, allocations: 1.546 MB / 0.5179 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003236/0.1739, allocations: 2.048 MB / 0.5199 GB, free: 11.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001153/0.1751, allocations: 328 kB / 0.5202 GB, free: 11.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003379/0.1785, allocations: 1.264 MB / 0.5214 GB, free: 9.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002693/0.1812, allocations: 1.987 MB / 0.5234 GB, free: 7.988 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003652/0.1848, allocations: 2.249 MB / 0.5256 GB, free: 5.727 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2573/0.4422, allocations: 7.136 MB / 0.5325 GB, free: 15.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.4422, allocations: 1.172 kB / 0.5325 GB, free: 15.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4422, allocations: 3.562 kB / 0.5325 GB, free: 15.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002413/0.4425, allocations: 2.469 kB / 0.5325 GB, free: 15.57 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1526 * Number of variables: 1526 Notification: Performance of Generate backend data structure: time 0.01249/0.455, allocations: 4.808 MB / 0.5372 GB, free: 13.72 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.77e-05/0.4551, allocations: 13.03 kB / 0.5373 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007965/0.463, allocations: 1.943 MB / 0.5392 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006333/0.4694, allocations: 2.5 MB / 0.5416 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002478/0.4697, allocations: 245 kB / 0.5418 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001193/0.4709, allocations: 419 kB / 0.5422 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01847/0.4894, allocations: 10.17 MB / 0.5522 GB, free: 10.49 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001325/0.4895, allocations: 49.09 kB / 0.5522 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005079/0.4901, allocations: 152.7 kB / 0.5523 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002807/0.4929, allocations: 1.885 MB / 0.5542 GB, free: 10.08 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01704/0.5099, allocations: 8.597 MB / 0.5626 GB, free: 7.633 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05509/0.5651, allocations: 39.58 MB / 0.6012 GB, free: 3.047 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009876/0.575, allocations: 3.847 MB / 0.605 GB, free: 15.08 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00265/0.5777, allocations: 1.618 MB / 0.6066 GB, free: 13.46 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01235/0.5901, allocations: 7.9 MB / 0.6143 GB, free: 5.246 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.56e-05/0.5901, allocations: 56.69 kB / 0.6143 GB, free: 5.188 MB / 462.1 MB Notification: Performance of pre-optimization done (n=153): time 6.021e-06/0.5901, allocations: 0 / 0.6143 GB, free: 5.188 MB / 462.1 MB Notification: Performance of matching and sorting (n=163): time 0.03937/0.6295, allocations: 14.1 MB / 0.6281 GB, free: 6.961 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.811e-05/0.6297, allocations: 151.3 kB / 0.6283 GB, free: 6.781 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005896/0.6356, allocations: 3.922 MB / 0.6321 GB, free: 2.883 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003084/0.6359, allocations: 49.7 kB / 0.6321 GB, free: 2.828 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002253/0.6382, allocations: 3.161 MB / 0.6352 GB, free: 15.68 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000817/0.639, allocations: 0.6575 MB / 0.6359 GB, free: 15.03 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00181/0.6408, allocations: 1.24 MB / 0.6371 GB, free: 13.78 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.923e-05/0.6409, allocations: 301.1 kB / 0.6374 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002965/0.6439, allocations: 1.991 MB / 0.6393 GB, free: 11.48 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005529/0.6494, allocations: 5.816 MB / 0.645 GB, free: 3.824 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009147/0.6586, allocations: 8.453 MB / 0.6532 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-05/0.6587, allocations: 36 kB / 0.6533 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01981/0.6785, allocations: 9.268 MB / 0.6623 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001439/0.6787, allocations: 64 kB / 0.6624 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01009/0.6888, allocations: 3.389 MB / 0.6657 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009631/0.6984, allocations: 2.281 MB / 0.6679 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004324/0.7028, allocations: 1.404 MB / 0.6693 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009282/0.7121, allocations: 6.93 MB / 0.6761 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004203/0.7163, allocations: 347.5 kB / 0.6764 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009147/0.7172, allocations: 372 kB / 0.6768 GB, free: 1.828 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 617 * Number of states: 0 () * Number of discrete variables: 39 (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 (765): * Single equations (assignments): 758 * 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.003431/0.7207, allocations: 2.087 MB / 0.6788 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006867/0.7214, allocations: 343.3 kB / 0.6791 GB, free: 15.39 MB / 0.5294 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 110 equation(s) and 104 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002237/0.7236, allocations: 1.223 MB / 0.6803 GB, free: 14.16 MB / 0.5294 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode DAEmode: The model ModelicaTest.MultiBody.Parts.BodyShape could not be translated