Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.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.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7439/0.7439, allocations: 110.8 MB / 123.3 MB, free: 10.75 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001632/0.001632, allocations: 147.5 kB / 149.1 MB, free: 0.9531 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 3.094e-05/3.155e-05, allocations: 0 / 180.2 MB, free: 17.55 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04515/0.04521, allocations: 25.19 MB / 205.4 MB, free: 8.414 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1568/0.202, allocations: 41.5 MB / 246.9 MB, free: 17.69 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001797/0.2022, allocations: 75.52 kB / 247 MB, free: 17.69 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.454/0.6562, allocations: 127.5 MB / 374.5 MB, free: 50.92 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.6563, allocations: 3.25 kB / 374.5 MB, free: 50.92 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0001094/0.6564, allocations: 74.47 kB / 374.5 MB, free: 50.92 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1569 * Number of variables: 1569 Notification: Performance of Generate backend data structure: time 0.01807/0.6745, allocations: 5.493 MB / 380 MB, free: 48.88 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.6745, allocations: 11.75 kB / 380.1 MB, free: 48.88 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09522/0.7697, allocations: 20.18 MB / 400.2 MB, free: 29.08 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007866/0.7777, allocations: 3.028 MB / 403.3 MB, free: 26 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004331/0.7781, allocations: 336.2 kB / 403.6 MB, free: 25.67 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003919/0.7821, allocations: 427.7 kB / 404 MB, free: 25.25 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03962/0.8217, allocations: 16.23 MB / 420.2 MB, free: 8.43 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003076/0.8221, allocations: 35.66 kB / 420.3 MB, free: 8.395 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003679/0.8258, allocations: 207.7 kB / 420.5 MB, free: 8.195 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.03462/0.8604, allocations: 8.158 MB / 428.6 MB, free: 28 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1697/1.03, allocations: 16.87 MB / 445.5 MB, free: 44.84 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5058/1.536, allocations: 104.8 MB / 0.5374 GB, free: 41.41 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02066/1.557, allocations: 6.785 MB / 0.544 GB, free: 40.51 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003258/1.56, allocations: 2.042 MB / 0.546 GB, free: 40.4 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07799/1.638, allocations: 19.16 MB / 0.5648 GB, free: 30.71 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.237e-05/1.638, allocations: 56.67 kB / 0.5648 GB, free: 30.66 MB / 250.7 MB Notification: Performance of pre-optimization done (n=164): time 8.186e-06/1.638, allocations: 3.5 kB / 0.5648 GB, free: 30.66 MB / 250.7 MB Notification: Performance of matching and sorting (n=164): time 0.05515/1.693, allocations: 9.745 MB / 0.5743 GB, free: 21.74 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.847e-05/1.693, allocations: 207.6 kB / 0.5745 GB, free: 21.5 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006928/1.7, allocations: 3.589 MB / 0.578 GB, free: 18.95 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005317/1.701, allocations: 42.39 kB / 0.5781 GB, free: 18.92 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00219/1.703, allocations: 3.208 MB / 0.5812 GB, free: 16.33 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00117/1.704, allocations: 0.6942 MB / 0.5819 GB, free: 15.76 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001132/1.705, allocations: 135.6 kB / 0.582 GB, free: 15.73 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000727/1.706, allocations: 0.6027 MB / 0.5826 GB, free: 15.23 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004532/1.711, allocations: 2.767 MB / 0.5853 GB, free: 12.65 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006651/1.717, allocations: 7.293 MB / 0.5924 GB, free: 3.156 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00637/1.724, allocations: 3.791 MB / 0.5961 GB, free: 15.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002653/1.724, allocations: 48 kB / 0.5962 GB, free: 15.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=917) (initialization): time 0.02122/1.745, allocations: 9.232 MB / 0.6052 GB, free: 6.215 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002717/1.746, allocations: 73 kB / 0.6053 GB, free: 6.145 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002884/1.746, allocations: 168 kB / 0.6054 GB, free: 5.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003203/1.746, allocations: 240 kB / 0.6056 GB, free: 5.746 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007782/1.754, allocations: 1.957 MB / 0.6076 GB, free: 3.785 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003864/1.755, allocations: 318.7 kB / 0.6079 GB, free: 3.473 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01218/1.767, allocations: 2.157 MB / 0.61 GB, free: 1.309 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002166/1.769, allocations: 0.5967 MB / 0.6105 GB, free: 0.7148 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 739 * 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 (877): * Single equations (assignments): 866 * Array equations: 11 * 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.002817/1.772, allocations: 0.6326 MB / 0.6112 GB, free: 84 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.1606/1.932, allocations: 322.5 kB / 0.6115 GB, free: 65.62 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00278/1.935, allocations: 0.9507 MB / 0.6124 GB, free: 65.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0106/1.946, allocations: 2.271 MB / 0.6146 GB, free: 65.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.341e-05/1.946, allocations: 5.469 kB / 0.6146 GB, free: 65.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.945e-05/1.946, allocations: 8.656 kB / 0.6146 GB, free: 65.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03813/1.984, allocations: 10.47 MB / 0.6249 GB, free: 65.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.458e-05/1.984, allocations: 6.781 kB / 0.6249 GB, free: 65.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00313/1.987, allocations: 0.5477 MB / 0.6254 GB, free: 65.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-05/1.987, allocations: 6.719 kB / 0.6254 GB, free: 65.31 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004729/1.988, allocations: 112.4 kB / 0.6255 GB, free: 65.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.556e-06/1.988, allocations: 2.344 kB / 0.6255 GB, free: 65.31 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/1.988, allocations: 5.594 kB / 0.6255 GB, free: 65.31 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007059/1.995, allocations: 5.869 MB / 0.6313 GB, free: 64.53 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001376/1.996, allocations: 450.1 kB / 0.6317 GB, free: 64.26 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000599/1.997, allocations: 40.23 kB / 0.6317 GB, free: 64.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006512/2.003, allocations: 1.227 MB / 0.6329 GB, free: 64.26 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002423/2.004, allocations: 78.88 kB / 0.633 GB, free: 64.26 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003382/2.004, allocations: 187.9 kB / 0.6332 GB, free: 64.26 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.004563/2.009, allocations: 2.43 MB / 0.6355 GB, free: 64.1 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.31e-07/2.009, allocations: 0 / 0.6355 GB, free: 64.1 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.006375/2.015, allocations: 1.256 MB / 0.6368 GB, free: 64.01 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (125): * Single equations (assignments): 114 * Array equations: 11 * 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.0005718/2.016, allocations: 186.8 kB / 0.637 GB, free: 63.92 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00894/2.025, allocations: 6.081 MB / 0.6429 GB, free: 63.14 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/2.025, allocations: 3.938 kB / 0.6429 GB, free: 63.14 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002017/2.027, allocations: 1.632 MB / 0.6445 GB, free: 62.61 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/2.028, allocations: 263.1 kB / 0.6447 GB, free: 62.46 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01524/2.043, allocations: 8.806 MB / 0.6533 GB, free: 59.22 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002981/2.046, allocations: 3.202 MB / 0.6565 GB, free: 57.2 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.007483/2.054, allocations: 2.599 MB / 0.659 GB, free: 55.39 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002103/2.056, allocations: 0.5443 MB / 0.6595 GB, free: 54.98 MB / 266.7 MB Notification: Performance of SimCode: time 1.222e-06/2.056, allocations: 0 / 0.6595 GB, free: 54.98 MB / 266.7 MB Notification: Performance of Templates: time 0.2231/2.279, allocations: 48.08 MB / 0.7065 GB, free: 62.8 MB / 266.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe 2>&1)