Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.BodyShape.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_ModelicaTest.MultiBody.Parts.BodyShape") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004402/0.004408, allocations: 369.4 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.939/3.939, allocations: 388.9 MB / 405.6 MB, free: 10.33 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003577/0.003577, allocations: 230.9 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5413/0.5413, allocations: 80.03 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004551/0.0004553, allocations: 19.98 kB / 0.6265 GB, free: 96.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0988/0.09928, allocations: 54.87 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.04762/0.147, allocations: 40.09 MB / 0.7192 GB, free: 1.473 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.3418/0.4888, allocations: 9.067 MB / 0.7281 GB, free: 11.71 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01011/0.499, allocations: 191.3 kB / 0.7283 GB, free: 11.71 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00773/0.5067, allocations: 1.922 MB / 0.7302 GB, free: 11.51 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02492/0.5317, allocations: 6.747 MB / 0.7367 GB, free: 9.793 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004134/0.5359, allocations: 0.596 MB / 0.7373 GB, free: 9.609 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.008934/0.5449, allocations: 4.745 MB / 0.742 GB, free: 7.969 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008527/0.5535, allocations: 4.025 MB / 0.7459 GB, free: 6.645 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003825/0.5574, allocations: 1.208 MB / 0.7471 GB, free: 6.215 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005048/0.5625, allocations: 1.846 MB / 0.7489 GB, free: 5.594 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001427/0.564, allocations: 133.8 kB / 0.749 GB, free: 5.594 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004217/0.5682, allocations: 0.9667 MB / 0.7499 GB, free: 5.328 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00347/0.5718, allocations: 1.674 MB / 0.7516 GB, free: 4.73 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00222/0.5741, allocations: 0.8196 MB / 0.7524 GB, free: 4.535 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009229/0.5833, allocations: 5.383 MB / 0.7576 GB, free: 1.645 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.5834, allocations: 0 / 0.7576 GB, free: 1.645 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.717e-06/0.5834, allocations: 0 / 0.7576 GB, free: 1.645 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003505/0.5838, allocations: 0 / 0.7576 GB, free: 1.645 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1491 * Number of variables: 1491 Notification: Performance of Generate backend data structure: time 0.01476/0.5986, allocations: 3.963 MB / 0.7615 GB, free: 14.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.666e-05/0.5986, allocations: 12.02 kB / 0.7615 GB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01604/0.6147, allocations: 2.28 MB / 0.7637 GB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008346/0.6231, allocations: 2.379 MB / 0.7661 GB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003421/0.6235, allocations: 238.8 kB / 0.7663 GB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002568/0.6261, allocations: 405.2 kB / 0.7667 GB, free: 10.13 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03061/0.6568, allocations: 10.03 MB / 0.7765 GB, free: 1.941 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000207/0.657, allocations: 43.59 kB / 0.7765 GB, free: 1.898 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001326/0.6584, allocations: 153.3 kB / 0.7767 GB, free: 1.785 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00542/0.6638, allocations: 1.844 MB / 0.7785 GB, free: 15.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02937/0.6933, allocations: 8.466 MB / 0.7867 GB, free: 7.461 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07459/0.7679, allocations: 39.08 MB / 0.8249 GB, free: 15.37 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01582/0.7838, allocations: 3.589 MB / 0.8284 GB, free: 11.63 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004003/0.7878, allocations: 1.562 MB / 0.8299 GB, free: 10.07 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01837/0.8063, allocations: 7.135 MB / 0.8369 GB, free: 2.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.397e-05/0.8064, allocations: 59.5 kB / 0.837 GB, free: 2.664 MB / 426.7 MB Notification: Performance of pre-optimization done (n=139): time 6.141e-06/0.8064, allocations: 0 / 0.837 GB, free: 2.664 MB / 426.7 MB Notification: Performance of matching and sorting (n=149): time 0.06518/0.8716, allocations: 13.64 MB / 0.8503 GB, free: 4.859 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.8718, allocations: 145.5 kB / 0.8504 GB, free: 4.688 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009351/0.8811, allocations: 3.865 MB / 0.8542 GB, free: 0.8438 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005075/0.8817, allocations: 51.19 kB / 0.8542 GB, free: 0.7891 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004012/0.8857, allocations: 3.124 MB / 0.8573 GB, free: 13.68 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001345/0.8871, allocations: 0.6109 MB / 0.8579 GB, free: 13.07 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009002/0.888, allocations: 116 kB / 0.858 GB, free: 12.96 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006487/0.8887, allocations: 0.562 MB / 0.8585 GB, free: 12.39 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006256/0.895, allocations: 1.944 MB / 0.8604 GB, free: 10.44 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01025/0.9053, allocations: 5.744 MB / 0.8661 GB, free: 2.793 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009077/0.9144, allocations: 3.269 MB / 0.8692 GB, free: 15.53 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001389/0.9146, allocations: 36 kB / 0.8693 GB, free: 15.49 MB / 474.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.03862/0.9533, allocations: 9.147 MB / 0.8782 GB, free: 6.328 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001856/0.9535, allocations: 60 kB / 0.8783 GB, free: 6.27 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02983/0.9834, allocations: 3.34 MB / 0.8815 GB, free: 2.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02989/1.013, allocations: 2.289 MB / 0.8838 GB, free: 0.6055 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01271/1.026, allocations: 1.38 MB / 0.8851 GB, free: 15.22 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02366/1.05, allocations: 6.327 MB / 0.8913 GB, free: 8.625 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01061/1.061, allocations: 340.1 kB / 0.8916 GB, free: 8.293 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001918/1.062, allocations: 370.3 kB / 0.892 GB, free: 7.934 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 614 * Number of states: 0 () * Number of discrete variables: 36 (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.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 (748): * Single equations (assignments): 741 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008588/1.071, allocations: 2.064 MB / 0.894 GB, free: 5.859 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001321/1.072, allocations: 327.7 kB / 0.8943 GB, free: 5.535 MB / 490.7 MB 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 98 equation(s) and 92 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00441/1.077, allocations: 1.191 MB / 0.8955 GB, free: 4.34 MB / 490.7 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.