Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_ModelicaTest.MultiBody.Parts.BodyShape") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003914/0.003914, allocations: 351.3 kB / 15.95 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.389/3.389, allocations: 341.5 MB / 358.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003662/0.003662, allocations: 225.1 kB / 397.9 MB, free: 4.984 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4908/0.4908, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000469/0.0004693, allocations: 11.98 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08584/0.08633, allocations: 48.7 MB / 0.6067 GB, free: 4.652 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.3388/0.4252, allocations: 40.07 MB / 0.6459 GB, free: 66.81 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02662/0.4519, allocations: 9.052 MB / 0.6547 GB, free: 60.73 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009572/0.4615, allocations: 187.1 kB / 0.6549 GB, free: 60.7 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007921/0.4695, allocations: 1.926 MB / 0.6568 GB, free: 60.06 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02346/0.493, allocations: 6.741 MB / 0.6634 GB, free: 54.84 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003996/0.497, allocations: 0.6152 MB / 0.664 GB, free: 54.23 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.007507/0.5046, allocations: 4.743 MB / 0.6686 GB, free: 49.48 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0075/0.5122, allocations: 4.018 MB / 0.6725 GB, free: 45.51 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002765/0.515, allocations: 1.206 MB / 0.6737 GB, free: 44.3 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003578/0.5186, allocations: 1.85 MB / 0.6755 GB, free: 42.44 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008644/0.5195, allocations: 132 kB / 0.6756 GB, free: 42.31 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003194/0.5227, allocations: 0.944 MB / 0.6765 GB, free: 41.37 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002504/0.5253, allocations: 1.687 MB / 0.6782 GB, free: 39.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001154/0.5265, allocations: 0.8194 MB / 0.679 GB, free: 38.85 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007121/0.5336, allocations: 5.374 MB / 0.6842 GB, free: 33.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.787e-06/0.5337, allocations: 0 / 0.6842 GB, free: 33.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.5337, allocations: 3.938 kB / 0.6842 GB, free: 33.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002294/0.5339, allocations: 0 / 0.6842 GB, free: 33.46 MB / 362.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.01102/0.545, allocations: 3.96 MB / 0.6881 GB, free: 29.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/0.545, allocations: 12.03 kB / 0.6881 GB, free: 29.42 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01397/0.559, allocations: 2.256 MB / 0.6903 GB, free: 27.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006107/0.5652, allocations: 2.369 MB / 0.6926 GB, free: 24.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002249/0.5655, allocations: 234 kB / 0.6929 GB, free: 24.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001906/0.5674, allocations: 407.4 kB / 0.6932 GB, free: 24.1 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02381/0.5912, allocations: 10.02 MB / 0.703 GB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001648/0.5914, allocations: 43.59 kB / 0.7031 GB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008729/0.5923, allocations: 151.9 kB / 0.7032 GB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005611/0.5979, allocations: 1.847 MB / 0.705 GB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04773/0.6457, allocations: 8.465 MB / 0.7133 GB, free: 2.875 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.113/0.7588, allocations: 39.07 MB / 0.7514 GB, free: 10.65 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02248/0.7813, allocations: 3.595 MB / 0.755 GB, free: 6.922 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003915/0.7853, allocations: 1.566 MB / 0.7565 GB, free: 5.348 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2872/1.073, allocations: 7.092 MB / 0.7634 GB, free: 121.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.014e-05/1.073, allocations: 54.36 kB / 0.7635 GB, free: 121.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=139): time 7.034e-06/1.073, allocations: 4.078 kB / 0.7635 GB, free: 121.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=149): time 0.06269/1.135, allocations: 13.65 MB / 0.7768 GB, free: 118 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.07e-05/1.136, allocations: 152.2 kB / 0.7769 GB, free: 117.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008439/1.144, allocations: 3.868 MB / 0.7807 GB, free: 116.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004613/1.144, allocations: 47.59 kB / 0.7808 GB, free: 116.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002999/1.147, allocations: 3.121 MB / 0.7838 GB, free: 114 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001622/1.149, allocations: 0.6121 MB / 0.7844 GB, free: 113.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001131/1.15, allocations: 121 kB / 0.7845 GB, free: 113.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005276/1.151, allocations: 0.5583 MB / 0.7851 GB, free: 113.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005619/1.157, allocations: 1.929 MB / 0.7869 GB, free: 112.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007984/1.165, allocations: 5.72 MB / 0.7925 GB, free: 106.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01058/1.175, allocations: 3.25 MB / 0.7957 GB, free: 105.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002998/1.176, allocations: 37.12 kB / 0.7957 GB, free: 105.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.03692/1.213, allocations: 8.258 MB / 0.8038 GB, free: 102.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001825/1.213, allocations: 65.16 kB / 0.8039 GB, free: 102.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01308/1.226, allocations: 2.441 MB / 0.8063 GB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00956/1.235, allocations: 1.227 MB / 0.8075 GB, free: 99.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01222/1.248, allocations: 1.372 MB / 0.8088 GB, free: 97.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01158/1.259, allocations: 4.881 MB / 0.8136 GB, free: 92.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009816/1.269, allocations: 339.5 kB / 0.8139 GB, free: 92.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001572/1.271, allocations: 368 kB / 0.8142 GB, free: 92.11 MB / 410.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.008306/1.279, allocations: 2.058 MB / 0.8162 GB, free: 90.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001499/1.281, allocations: 331.7 kB / 0.8166 GB, free: 89.71 MB / 410.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.003665/1.285, allocations: 1.188 MB / 0.8177 GB, free: 88.53 MB / 410.7 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.