Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.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) 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(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009811/0.0009808, allocations: 94.77 kB / 16.3 MB, free: 5.996 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.001087/0.001087, allocations: 180.5 kB / 17.19 MB, free: 5.906 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.368/1.368, allocations: 205.4 MB / 223.4 MB, free: 5.547 MB / 174.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.0004469/0.0004471, allocations: 12 kB / 280.1 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2501, allocations: 47.58 MB / 327.7 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.02465/0.2748, allocations: 24.75 MB / 352.5 MB, free: 10.71 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01609/0.2909, allocations: 5.91 MB / 358.4 MB, free: 4.789 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006207/0.2972, allocations: 115.8 kB / 358.5 MB, free: 4.676 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004091/0.3013, allocations: 1.201 MB / 359.7 MB, free: 3.469 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01112/0.3125, allocations: 3.518 MB / 363.2 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001615/0.3141, allocations: 187.7 kB / 363.4 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003222/0.3173, allocations: 1.291 MB / 364.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003149/0.3205, allocations: 1.853 MB / 366.5 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001515/0.3221, allocations: 0.6072 MB / 367.1 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001455/0.3235, allocations: 0.8447 MB / 368 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004876/0.324, allocations: 84 kB / 368.1 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001492/0.3255, allocations: 0.5149 MB / 368.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001332/0.3269, allocations: 1.005 MB / 369.6 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008272/0.3277, allocations: 0.5546 MB / 370.1 MB, free: 8.945 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003383/0.3311, allocations: 3.247 MB / 373.4 MB, free: 5.691 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3311, allocations: 4 kB / 373.4 MB, free: 5.688 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3311, allocations: 4 kB / 373.4 MB, free: 5.684 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001027/0.3313, allocations: 0 / 373.4 MB, free: 5.684 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1113 * Number of variables: 1113 Notification: Performance of Generate backend data structure: time 0.003629/0.3349, allocations: 2.434 MB / 375.8 MB, free: 3.188 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.3349, allocations: 12.03 kB / 375.8 MB, free: 3.176 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007519/0.3425, allocations: 2.11 MB / 377.9 MB, free: 1.059 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002412/0.3449, allocations: 1.138 MB / 379.1 MB, free: 15.88 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.345, allocations: 155.8 kB / 379.2 MB, free: 15.72 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003601/0.3454, allocations: 215.7 kB / 379.4 MB, free: 15.51 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01898/0.3644, allocations: 8.651 MB / 388.1 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001489/0.3646, allocations: 43.69 kB / 388.1 MB, free: 6.219 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006612/0.3653, allocations: 99.88 kB / 388.2 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002911/0.3682, allocations: 1.667 MB / 389.9 MB, free: 4.457 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01901/0.3872, allocations: 7.229 MB / 397.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04026/0.4275, allocations: 30.21 MB / 427.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02265/0.4502, allocations: 5.13 MB / 432.5 MB, free: 8.809 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006593/0.4569, allocations: 3.754 MB / 436.2 MB, free: 4.906 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.066e-05/0.457, allocations: 50.83 kB / 436.3 MB, free: 4.848 MB / 366.1 MB Notification: Performance of pre-optimization done (n=111): time 4.248e-06/0.457, allocations: 0 / 436.3 MB, free: 4.848 MB / 366.1 MB Notification: Performance of matching and sorting (n=111): time 0.04516/0.5021, allocations: 9.645 MB / 445.9 MB, free: 11.06 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001587/0.5024, allocations: 199.8 kB / 446.1 MB, free: 10.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006681/0.5091, allocations: 3.02 MB / 449.1 MB, free: 7.785 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002503/0.5093, allocations: 49.62 kB / 449.2 MB, free: 7.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002349/0.5117, allocations: 2.422 MB / 451.6 MB, free: 5.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008278/0.5125, allocations: 0.4902 MB / 452.1 MB, free: 4.773 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000386/0.5129, allocations: 112 kB / 452.2 MB, free: 4.664 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0005034/0.5134, allocations: 0.5294 MB / 452.7 MB, free: 4.129 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002649/0.5161, allocations: 1.584 MB / 454.3 MB, free: 2.539 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2042/0.7204, allocations: 5.12 MB / 459.4 MB, free: 109 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005399/0.7258, allocations: 2.795 MB / 462.2 MB, free: 108.4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001295/0.726, allocations: 36.81 kB / 462.3 MB, free: 108.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.01135/0.7373, allocations: 6.398 MB / 468.7 MB, free: 106.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.801e-05/0.7375, allocations: 60.28 kB / 468.7 MB, free: 106.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001244/0.7376, allocations: 130.5 kB / 468.9 MB, free: 106.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001473/0.7378, allocations: 181.9 kB / 469 MB, free: 106.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004532/0.7423, allocations: 1.462 MB / 470.5 MB, free: 106 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001499/0.7425, allocations: 249.5 kB / 470.7 MB, free: 105.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003397/0.7459, allocations: 0.7541 MB / 471.5 MB, free: 105.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004011/0.7463, allocations: 343.2 kB / 471.8 MB, free: 105.6 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 580 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body4.sphereColor[3],body4.sphereColor[2],body4.sphereColor[1],body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (681): * Single equations (assignments): 678 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001952/0.7482, allocations: 1.57 MB / 473.4 MB, free: 104.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003655/0.7486, allocations: 262.8 kB / 473.7 MB, free: 104.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/0.7497, allocations: 0.8228 MB / 474.5 MB, free: 104.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.171e-05/0.7497, allocations: 18.48 kB / 474.5 MB, free: 104.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.7497, allocations: 7.953 kB / 474.5 MB, free: 104.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.7498, allocations: 3.797 kB / 474.5 MB, free: 104.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005132/0.7549, allocations: 3.38 MB / 477.9 MB, free: 101.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/0.7549, allocations: 0 / 477.9 MB, free: 101.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002166/0.7571, allocations: 411 kB / 478.3 MB, free: 101.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.19e-05/0.7571, allocations: 8 kB / 478.3 MB, free: 101.1 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.944e-05/0.7572, allocations: 43.34 kB / 478.3 MB, free: 101 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.418e-06/0.7573, allocations: 7.891 kB / 478.3 MB, free: 101 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.7573, allocations: 0 / 478.3 MB, free: 101 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002634/0.7599, allocations: 2.872 MB / 481.2 MB, free: 98.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005251/0.7605, allocations: 305.6 kB / 481.5 MB, free: 97.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003651/0.7608, allocations: 31.98 kB / 481.6 MB, free: 97.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/0.7619, allocations: 46.58 kB / 481.6 MB, free: 97.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.935e-05/0.762, allocations: 59.92 kB / 481.7 MB, free: 97.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-05/0.7621, allocations: 35.97 kB / 481.7 MB, free: 97.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002672/0.7647, allocations: 1.825 MB / 483.5 MB, free: 95.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.7648, allocations: 0 / 483.5 MB, free: 95.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004623/0.7694, allocations: 0.8362 MB / 484.4 MB, free: 95.07 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 24 (body1.r_0[1],body1.r_0[2],body1.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body2.r_0[1],body2.r_0[2],body2.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body3.r_0[1],body3.r_0[2],body3.r_0[3],body3.v_0[1],body3.v_0[2],body3.v_0[3],body4.r_0[1],body4.r_0[2],body4.r_0[3],body4.v_0[1],body4.v_0[2],body4.v_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000463/0.7699, allocations: 168.6 kB / 484.5 MB, free: 94.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005985/0.7759, allocations: 3.577 MB / 488.1 MB, free: 91.35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.7759, allocations: 0 / 488.1 MB, free: 91.35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008026/0.7767, allocations: 0.7117 MB / 488.8 MB, free: 90.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00158/0.7783, allocations: 236.8 kB / 489 MB, free: 90.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01294/0.7913, allocations: 8.457 MB / 497.5 MB, free: 81.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001977/0.7933, allocations: 2.449 MB / 499.9 MB, free: 79.44 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00355/0.7969, allocations: 1.645 MB / 0.4898 GB, free: 77.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004875/0.7974, allocations: 195.4 kB / 0.49 GB, free: 77.59 MB / 382.1 MB Notification: Performance of SimCode: time 1.603e-06/0.7974, allocations: 0 / 0.49 GB, free: 77.59 MB / 382.1 MB Notification: Performance of Templates: time 0.03404/0.8314, allocations: 20.1 MB / 0.5096 GB, free: 57.54 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe 2>&1) Environment - environmentSimulation: