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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001315/0.001315, allocations: 188.6 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.508/1.508, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001901/0.001901, allocations: 115.2 kB / 248.1 MB, free: 6.34 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.539e-05/1.541e-05, allocations: 4 kB / 298.1 MB, free: 8.234 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1058, allocations: 44.5 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3329/0.4387, allocations: 79.99 MB / 422.6 MB, free: 15.95 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/0.439, allocations: 85.39 kB / 422.7 MB, free: 15.91 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1211/0.5601, allocations: 50.02 MB / 472.7 MB, free: 5.117 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.5602, allocations: 3.938 kB / 472.7 MB, free: 5.113 MB / 347.1 MB Notification: Performance of Transformations before backend: time 0.000117/0.5603, allocations: 52 kB / 472.7 MB, free: 5.062 MB / 347.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1094 * Number of variables: 1094 Notification: Performance of Generate backend data structure: time 0.007289/0.5676, allocations: 2.4 MB / 475.1 MB, free: 2.605 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.5677, allocations: 11.97 kB / 475.1 MB, free: 2.594 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009224/0.5769, allocations: 1.954 MB / 477.1 MB, free: 0.6328 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004164/0.5811, allocations: 1.397 MB / 478.5 MB, free: 15.2 MB / 363.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001868/0.5813, allocations: 92 kB / 478.6 MB, free: 15.11 MB / 363.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001307/0.5827, allocations: 175.9 kB / 478.7 MB, free: 14.93 MB / 363.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009758/0.5924, allocations: 4.134 MB / 482.9 MB, free: 10.79 MB / 363.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01542/0.6079, allocations: 6.828 MB / 489.7 MB, free: 3.066 MB / 363.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002483/0.6082, allocations: 47.53 kB / 489.8 MB, free: 3.02 MB / 363.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001054/0.6093, allocations: 28.34 kB / 489.8 MB, free: 2.992 MB / 363.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001595/0.6109, allocations: 0.7975 MB / 490.6 MB, free: 2.191 MB / 363.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2893/0.9002, allocations: 35.68 MB / 0.5139 GB, free: 72.25 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003604/0.9039, allocations: 1.914 MB / 0.5158 GB, free: 71.52 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001298/0.9052, allocations: 0.872 MB / 0.5167 GB, free: 71.47 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.704e-05/0.9053, allocations: 14.66 kB / 0.5167 GB, free: 71.47 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/0.9054, allocations: 54.75 kB / 0.5167 GB, free: 71.43 MB / 395.1 MB Notification: Performance of pre-optimization done (n=112): time 5.06e-06/0.9054, allocations: 0 / 0.5167 GB, free: 71.43 MB / 395.1 MB Notification: Performance of matching and sorting (n=112): time 0.02082/0.9262, allocations: 5.226 MB / 0.5218 GB, free: 71.36 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.922e-05/0.9263, allocations: 227.8 kB / 0.522 GB, free: 71.11 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003599/0.9299, allocations: 2.363 MB / 0.5243 GB, free: 70.84 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001811/0.9301, allocations: 25.7 kB / 0.5244 GB, free: 70.81 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001351/0.9315, allocations: 2.433 MB / 0.5267 GB, free: 69.54 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005561/0.932, allocations: 0.489 MB / 0.5272 GB, free: 69.28 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/0.9322, allocations: 0 / 0.5272 GB, free: 69.28 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0003724/0.9326, allocations: 0.5719 MB / 0.5278 GB, free: 68.96 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001797/0.9344, allocations: 1.397 MB / 0.5291 GB, free: 68.94 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003215/0.9376, allocations: 5.019 MB / 0.534 GB, free: 64.19 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003528/0.9411, allocations: 2.673 MB / 0.5367 GB, free: 64.17 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.8e-05/0.9412, allocations: 36.62 kB / 0.5367 GB, free: 64.17 MB / 395.1 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.007944/0.9492, allocations: 5.511 MB / 0.5421 GB, free: 63.72 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.992e-05/0.9493, allocations: 62.48 kB / 0.5421 GB, free: 63.72 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001019/0.9494, allocations: 129.2 kB / 0.5423 GB, free: 63.72 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001631/0.9496, allocations: 190.3 kB / 0.5424 GB, free: 63.72 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005281/0.9549, allocations: 1.554 MB / 0.544 GB, free: 63.6 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002422/0.9551, allocations: 254 kB / 0.5442 GB, free: 63.55 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003999/0.9591, allocations: 0.6385 MB / 0.5448 GB, free: 63.17 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006552/0.9598, allocations: 357.6 kB / 0.5452 GB, free: 63.16 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 598 * Number of states: 0 () * Number of discrete variables: 27 (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.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (698): * Single equations (assignments): 695 * 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.000666/0.9605, allocations: 431.2 kB / 0.5456 GB, free: 62.84 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005253/0.961, allocations: 230 kB / 0.5458 GB, free: 62.72 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001238/0.9623, allocations: 0.677 MB / 0.5465 GB, free: 62.63 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.962e-05/0.9623, allocations: 14.86 kB / 0.5465 GB, free: 62.63 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.042e-05/0.9623, allocations: 1.469 kB / 0.5465 GB, free: 62.63 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.9623, allocations: 12.83 kB / 0.5465 GB, free: 62.63 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004876/0.9672, allocations: 2.589 MB / 0.549 GB, free: 62.18 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.9673, allocations: 2.75 kB / 0.549 GB, free: 62.18 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002067/0.9693, allocations: 384.7 kB / 0.5494 GB, free: 62.18 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005695/0.9699, allocations: 138.7 kB / 0.5495 GB, free: 62.16 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.06e-05/0.97, allocations: 30.73 kB / 0.5495 GB, free: 62.16 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001625/0.9716, allocations: 2.646 MB / 0.5521 GB, free: 59.76 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/0.9717, allocations: 11.55 kB / 0.5521 GB, free: 59.75 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002845/0.9745, allocations: 2.622 MB / 0.5547 GB, free: 58.92 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004741/0.975, allocations: 285.5 kB / 0.555 GB, free: 58.69 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002221/0.9752, allocations: 21.8 kB / 0.555 GB, free: 58.69 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000836/0.9761, allocations: 38.34 kB / 0.555 GB, free: 58.68 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.9762, allocations: 67.55 kB / 0.5551 GB, free: 58.68 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.224e-05/0.9763, allocations: 34.41 kB / 0.5551 GB, free: 58.68 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.002326/0.9787, allocations: 1.526 MB / 0.5566 GB, free: 58.53 MB / 395.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.9787, allocations: 0 / 0.5566 GB, free: 58.53 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.005104/0.9838, allocations: 0.7317 MB / 0.5573 GB, free: 58.41 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 24 (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],body2.r_0[1],body2.r_0[2],body2.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body1.r_0[1],body1.r_0[2],body1.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003942/0.9842, allocations: 159.6 kB / 0.5575 GB, free: 58.3 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.006379/0.9906, allocations: 3.17 MB / 0.5606 GB, free: 57.38 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.9906, allocations: 1.688 kB / 0.5606 GB, free: 57.38 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001723/0.9923, allocations: 0.8828 MB / 0.5614 GB, free: 56.97 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001721/0.9941, allocations: 193.3 kB / 0.5616 GB, free: 56.87 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01446/1.009, allocations: 6.143 MB / 0.5676 GB, free: 54.22 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003927/1.013, allocations: 2.418 MB / 0.57 GB, free: 53.15 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.005323/1.018, allocations: 1.694 MB / 0.5716 GB, free: 53.02 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006818/1.019, allocations: 179.4 kB / 0.5718 GB, free: 53 MB / 395.1 MB Notification: Performance of SimCode: time 8.91e-07/1.019, allocations: 0 / 0.5718 GB, free: 53 MB / 395.1 MB Notification: Performance of Templates: time 0.03577/1.054, allocations: 18.67 MB / 0.59 GB, free: 48.32 MB / 395.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.makefile (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)