Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.BodyShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_ModelicaTest.MultiBody.Parts.BodyShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001601/0.001601, allocations: 196.7 kB / 16.76 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.755/1.755, allocations: 226.5 MB / 244 MB, free: 6.512 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009728/0.0009733, allocations: 99.38 kB / 296.1 MB, free: 6.688 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4917/0.4917, allocations: 44.82 MB / 392.9 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003659/0.0003659, allocations: 8 kB / 465.9 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5645/0.5649, allocations: 62.96 MB / 0.5165 GB, free: 37.33 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.03867/0.6036, allocations: 41.72 MB / 0.5573 GB, free: 7.527 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03321/0.6369, allocations: 9.437 MB / 0.5665 GB, free: 1.094 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01831/0.6553, allocations: 197.6 kB / 0.5667 GB, free: 1.062 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01273/0.6681, allocations: 2.152 MB / 0.5688 GB, free: 304 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03368/0.7018, allocations: 6.452 MB / 0.5751 GB, free: 12.93 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006128/0.708, allocations: 0.6585 MB / 0.5757 GB, free: 12.5 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01066/0.7187, allocations: 4.86 MB / 0.5804 GB, free: 7.82 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008679/0.7274, allocations: 4.246 MB / 0.5846 GB, free: 3.484 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004007/0.7314, allocations: 1.226 MB / 0.5858 GB, free: 2.254 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004142/0.7356, allocations: 1.807 MB / 0.5876 GB, free: 452 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001245/0.7369, allocations: 136 kB / 0.5877 GB, free: 316 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004613/0.7415, allocations: 1.092 MB / 0.5888 GB, free: 15.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003223/0.7447, allocations: 1.679 MB / 0.5904 GB, free: 13.53 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004822/0.7496, allocations: 1.842 MB / 0.5922 GB, free: 11.67 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008578/0.7582, allocations: 5.276 MB / 0.5973 GB, free: 6.383 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.247e-05/0.7582, allocations: 4 kB / 0.5973 GB, free: 6.379 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.7582, allocations: 0 / 0.5973 GB, free: 6.379 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002031/0.7584, allocations: 0 / 0.5973 GB, free: 6.379 MB / 410.7 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.008511/0.7669, allocations: 3.843 MB / 0.6011 GB, free: 2.469 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.261e-05/0.767, allocations: 11.97 kB / 0.6011 GB, free: 2.457 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007135/0.7742, allocations: 2.023 MB / 0.6031 GB, free: 436 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005303/0.7795, allocations: 2.315 MB / 0.6053 GB, free: 14.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002535/0.7798, allocations: 238.2 kB / 0.6056 GB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008781/0.7806, allocations: 407.5 kB / 0.606 GB, free: 13.42 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01846/0.7991, allocations: 9.86 MB / 0.6156 GB, free: 2.879 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001125/0.7993, allocations: 43.53 kB / 0.6156 GB, free: 2.836 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004606/0.7998, allocations: 155.8 kB / 0.6158 GB, free: 2.684 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00298/0.8027, allocations: 1.818 MB / 0.6176 GB, free: 0.8633 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01791/0.8207, allocations: 8.275 MB / 0.6256 GB, free: 8.57 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06583/0.8866, allocations: 38.9 MB / 0.6636 GB, free: 444 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01067/0.8973, allocations: 3.714 MB / 0.6673 GB, free: 12.57 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002738/0.9001, allocations: 1.566 MB / 0.6688 GB, free: 11 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01482/0.9149, allocations: 7.756 MB / 0.6764 GB, free: 2.867 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.589e-05/0.9151, allocations: 55.48 kB / 0.6764 GB, free: 2.805 MB / 490.7 MB Notification: Performance of pre-optimization done (n=144): time 7.344e-06/0.9151, allocations: 0 / 0.6764 GB, free: 2.805 MB / 490.7 MB Notification: Performance of matching and sorting (n=154): time 0.4894/1.404, allocations: 13.69 MB / 0.6898 GB, free: 128.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.687e-05/1.405, allocations: 150.1 kB / 0.6899 GB, free: 128.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006402/1.411, allocations: 3.833 MB / 0.6937 GB, free: 127.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000167/1.411, allocations: 45.38 kB / 0.6937 GB, free: 127.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002447/1.414, allocations: 3.087 MB / 0.6967 GB, free: 125 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006801/1.414, allocations: 0.6244 MB / 0.6973 GB, free: 124.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002417/1.415, allocations: 116.3 kB / 0.6974 GB, free: 124.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003797/1.415, allocations: 0.5558 MB / 0.698 GB, free: 124 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00299/1.418, allocations: 1.915 MB / 0.6999 GB, free: 123.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006353/1.424, allocations: 5.643 MB / 0.7054 GB, free: 117.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01307/1.437, allocations: 8.215 MB / 0.7134 GB, free: 110.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001404/1.438, allocations: 38.81 kB / 0.7134 GB, free: 110.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=777) (initialization): time 0.02784/1.465, allocations: 9.101 MB / 0.7223 GB, free: 107.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001185/1.466, allocations: 63.41 kB / 0.7224 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00996/1.476, allocations: 3.372 MB / 0.7257 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01017/1.486, allocations: 2.351 MB / 0.728 GB, free: 106.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00454/1.49, allocations: 1.363 MB / 0.7293 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009817/1.5, allocations: 6.391 MB / 0.7355 GB, free: 100.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006974/1.507, allocations: 339.4 kB / 0.7359 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001591/1.509, allocations: 368.1 kB / 0.7362 GB, free: 99.88 MB / 490.7 MB 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 (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.005767/1.515, allocations: 2.034 MB / 0.7382 GB, free: 97.83 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001153/1.516, allocations: 331.7 kB / 0.7385 GB, free: 97.5 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 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.00252/1.518, allocations: 1.164 MB / 0.7397 GB, free: 96.33 MB / 490.7 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.