Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.MultiBody.Parts.BodyShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001283/0.001283, allocations: 178.2 kB / 17.39 MB, free: 4.395 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.463/1.463, allocations: 205.4 MB / 223.5 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007877/0.0007877, allocations: 97.34 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.328/0.328, allocations: 43.56 MB / 363.7 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005326/0.0005327, allocations: 16 kB / 432.6 MB, free: 5.836 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1274, allocations: 58.86 MB / 491.5 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.2609/0.3884, allocations: 42.02 MB / 0.521 GB, free: 20.61 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02794/0.4164, allocations: 9.471 MB / 0.5303 GB, free: 14.18 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01767/0.4342, allocations: 198.8 kB / 0.5304 GB, free: 14.15 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008034/0.4422, allocations: 2.156 MB / 0.5325 GB, free: 13.38 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02236/0.4647, allocations: 6.51 MB / 0.5389 GB, free: 10.66 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00421/0.4689, allocations: 0.6577 MB / 0.5395 GB, free: 10.4 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006984/0.4759, allocations: 4.867 MB / 0.5443 GB, free: 8.797 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00762/0.4835, allocations: 4.285 MB / 0.5485 GB, free: 7.059 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003511/0.4871, allocations: 1.265 MB / 0.5497 GB, free: 6.637 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004475/0.4916, allocations: 1.889 MB / 0.5516 GB, free: 6.066 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001604/0.4932, allocations: 136.9 kB / 0.5517 GB, free: 6.066 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004598/0.4978, allocations: 1.108 MB / 0.5528 GB, free: 5.816 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004647/0.5025, allocations: 1.73 MB / 0.5545 GB, free: 5.223 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006929/0.5094, allocations: 1.91 MB / 0.5563 GB, free: 3.836 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008563/0.518, allocations: 5.46 MB / 0.5617 GB, free: 180 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.5181, allocations: 5.375 kB / 0.5617 GB, free: 176 kB / 378.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.5181, allocations: 0 / 0.5617 GB, free: 176 kB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003885/0.5185, allocations: 0 / 0.5617 GB, free: 176 kB / 378.7 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.01062/0.5291, allocations: 3.941 MB / 0.5655 GB, free: 13.37 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.5292, allocations: 9.344 kB / 0.5655 GB, free: 13.37 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007541/0.5367, allocations: 1.992 MB / 0.5675 GB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006488/0.5432, allocations: 2.454 MB / 0.5699 GB, free: 9.918 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002819/0.5436, allocations: 242.6 kB / 0.5701 GB, free: 9.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001921/0.5455, allocations: 419.4 kB / 0.5705 GB, free: 9.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02193/0.5675, allocations: 10.15 MB / 0.5804 GB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002081/0.5677, allocations: 47.59 kB / 0.5805 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00129/0.569, allocations: 159.8 kB / 0.5806 GB, free: 14.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003256/0.5723, allocations: 1.877 MB / 0.5824 GB, free: 12.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01948/0.5918, allocations: 8.557 MB / 0.5908 GB, free: 3.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05676/0.6486, allocations: 39.77 MB / 0.6296 GB, free: 10.78 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009832/0.6585, allocations: 3.832 MB / 0.6334 GB, free: 6.801 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002336/0.6609, allocations: 1.609 MB / 0.635 GB, free: 5.184 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01204/0.673, allocations: 7.919 MB / 0.6427 GB, free: 12.89 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.634e-05/0.673, allocations: 43.56 kB / 0.6427 GB, free: 12.84 MB / 474.7 MB Notification: Performance of pre-optimization done (n=153): time 6.923e-06/0.6731, allocations: 3.938 kB / 0.6427 GB, free: 12.83 MB / 474.7 MB Notification: Performance of matching and sorting (n=163): time 0.03777/0.7108, allocations: 14.07 MB / 0.6565 GB, free: 14.58 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.272e-05/0.711, allocations: 145.5 kB / 0.6566 GB, free: 14.41 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005605/0.7166, allocations: 3.91 MB / 0.6604 GB, free: 10.52 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002895/0.7169, allocations: 45.7 kB / 0.6605 GB, free: 10.46 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002365/0.7193, allocations: 3.159 MB / 0.6636 GB, free: 7.258 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007881/0.7201, allocations: 0.656 MB / 0.6642 GB, free: 6.594 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002571/0.7203, allocations: 120 kB / 0.6643 GB, free: 6.477 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003924/0.7207, allocations: 0.5623 MB / 0.6649 GB, free: 5.906 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003201/0.7239, allocations: 1.968 MB / 0.6668 GB, free: 3.934 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006432/0.7304, allocations: 5.791 MB / 0.6724 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01099/0.7414, allocations: 8.426 MB / 0.6807 GB, free: 1.906 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001078/0.7416, allocations: 40 kB / 0.6807 GB, free: 1.867 MB / 0.4948 GB Notification: Performance of matching and sorting (n=799) (initialization): time 0.2277/0.9693, allocations: 9.219 MB / 0.6897 GB, free: 148.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.788e-05/0.9694, allocations: 66.31 kB / 0.6898 GB, free: 148.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00965/0.9791, allocations: 3.384 MB / 0.6931 GB, free: 148.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009759/0.9889, allocations: 2.268 MB / 0.6953 GB, free: 148.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004347/0.9933, allocations: 1.409 MB / 0.6967 GB, free: 148.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007616/1.001, allocations: 6.334 MB / 0.7029 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004297/1.005, allocations: 351.6 kB / 0.7032 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005936/1.006, allocations: 373.3 kB / 0.7035 GB, free: 144.6 MB / 0.4948 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 (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.003093/1.009, allocations: 2.081 MB / 0.7056 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005302/1.009, allocations: 344.1 kB / 0.7059 GB, free: 143.6 MB / 0.4948 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.001897/1.011, allocations: 1.219 MB / 0.7071 GB, free: 143.1 MB / 0.4948 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.