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.00153/0.00153, allocations: 182.4 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.558/1.558, allocations: 194.3 MB / 208.4 MB, free: 6.699 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001701/0.001701, allocations: 124.7 kB / 253.5 MB, free: 9.57 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.66e-05/3.662e-05, allocations: 4 kB / 305 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1047, allocations: 44.49 MB / 349.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3837/0.4885, allocations: 80.66 MB / 430.1 MB, free: 9.562 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002089/0.4887, allocations: 82.48 kB / 430.2 MB, free: 9.551 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1247/0.6135, allocations: 51.25 MB / 481.4 MB, free: 2.254 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.6135, allocations: 0 / 481.4 MB, free: 2.254 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.499e-05/0.6136, allocations: 48 kB / 481.5 MB, free: 2.207 MB / 330.7 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.006479/0.6201, allocations: 2.406 MB / 483.9 MB, free: 15.89 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.6202, allocations: 8.031 kB / 483.9 MB, free: 15.88 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008753/0.6289, allocations: 1.958 MB / 485.9 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004161/0.6331, allocations: 1.388 MB / 487.2 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002298/0.6334, allocations: 225.8 kB / 487.5 MB, free: 12.26 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009197/0.6343, allocations: 299.8 kB / 487.8 MB, free: 11.97 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02151/0.6558, allocations: 8.837 MB / 496.6 MB, free: 2.191 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000149/0.656, allocations: 51.47 kB / 496.6 MB, free: 2.141 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004677/0.6565, allocations: 155.9 kB / 496.8 MB, free: 1.988 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00142/0.658, allocations: 0.7891 MB / 497.6 MB, free: 1.191 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01829/0.6763, allocations: 7.041 MB / 0.4928 GB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04345/0.7197, allocations: 38.01 MB / 0.5299 GB, free: 2.836 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02066/0.7405, allocations: 5.215 MB / 0.535 GB, free: 13.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001581/0.7421, allocations: 0.9079 MB / 0.5359 GB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005551/0.7477, allocations: 3.346 MB / 0.5392 GB, free: 9.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/0.7477, allocations: 46.56 kB / 0.5392 GB, free: 9.016 MB / 410.7 MB Notification: Performance of pre-optimization done (n=104): time 5.42e-06/0.7477, allocations: 7.922 kB / 0.5392 GB, free: 9.008 MB / 410.7 MB Notification: Performance of matching and sorting (n=104): time 0.03837/0.7861, allocations: 8.057 MB / 0.5471 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.7863, allocations: 199.8 kB / 0.5473 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2599/1.046, allocations: 2.647 MB / 0.5499 GB, free: 122 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002957/1.047, allocations: 39.08 kB / 0.5499 GB, free: 121.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002992/1.05, allocations: 2.409 MB / 0.5523 GB, free: 120.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001241/1.051, allocations: 479.1 kB / 0.5527 GB, free: 120.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001025/1.052, allocations: 104.3 kB / 0.5528 GB, free: 120.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.001142/1.053, allocations: 0.5899 MB / 0.5534 GB, free: 120.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003407/1.056, allocations: 1.438 MB / 0.5548 GB, free: 120.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005892/1.062, allocations: 4.965 MB / 0.5596 GB, free: 115.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005543/1.068, allocations: 2.688 MB / 0.5623 GB, free: 115.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003327/1.068, allocations: 42.92 kB / 0.5623 GB, free: 115.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01636/1.085, allocations: 6.093 MB / 0.5683 GB, free: 115 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002359/1.085, allocations: 60.12 kB / 0.5683 GB, free: 115 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003099/1.085, allocations: 127.7 kB / 0.5684 GB, free: 115 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002638/1.086, allocations: 187.5 kB / 0.5686 GB, free: 115 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005946/1.092, allocations: 1.503 MB / 0.5701 GB, free: 114.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003329/1.092, allocations: 247.3 kB / 0.5703 GB, free: 114.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00541/1.097, allocations: 0.7494 MB / 0.5711 GB, free: 114.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00128/1.099, allocations: 344.9 kB / 0.5714 GB, free: 114.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 577 * 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 (671): * Single equations (assignments): 668 * 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.001853/1.1, allocations: 0.5131 MB / 0.5719 GB, free: 114.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006447/1.101, allocations: 242.4 kB / 0.5721 GB, free: 114 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001836/1.103, allocations: 0.7058 MB / 0.5728 GB, free: 113.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.129e-05/1.103, allocations: 14.78 kB / 0.5728 GB, free: 113.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/1.103, allocations: 3.844 kB / 0.5728 GB, free: 113.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-05/1.103, allocations: 3.75 kB / 0.5728 GB, free: 113.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006639/1.11, allocations: 2.271 MB / 0.575 GB, free: 113.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-05/1.11, allocations: 0 / 0.575 GB, free: 113.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002631/1.112, allocations: 468.7 kB / 0.5755 GB, free: 113.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.03e-05/1.112, allocations: 10.33 kB / 0.5755 GB, free: 113.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001852/1.113, allocations: 34.72 kB / 0.5755 GB, free: 113.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.245e-05/1.113, allocations: 3.594 kB / 0.5755 GB, free: 113.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/1.113, allocations: 3.281 kB / 0.5755 GB, free: 113.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003145/1.116, allocations: 2.571 MB / 0.578 GB, free: 112.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000927/1.117, allocations: 302.6 kB / 0.5783 GB, free: 112.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006717/1.117, allocations: 27.23 kB / 0.5784 GB, free: 112.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001435/1.119, allocations: 60.77 kB / 0.5784 GB, free: 112.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/1.119, allocations: 56.84 kB / 0.5785 GB, free: 112.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.543e-05/1.119, allocations: 36.62 kB / 0.5785 GB, free: 112.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003705/1.123, allocations: 1.786 MB / 0.5803 GB, free: 111.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.61e-07/1.123, allocations: 3.469 kB / 0.5803 GB, free: 111.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005203/1.128, allocations: 0.8138 MB / 0.5811 GB, free: 111.6 MB / 410.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 (81): * Single equations (assignments): 78 * 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.0004156/1.129, allocations: 166.6 kB / 0.5812 GB, free: 111.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005224/1.134, allocations: 3.314 MB / 0.5844 GB, free: 110.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.757e-06/1.134, allocations: 0 / 0.5844 GB, free: 110.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007313/1.135, allocations: 0.5939 MB / 0.585 GB, free: 110.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001631/1.136, allocations: 225.2 kB / 0.5852 GB, free: 110 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/1.147, allocations: 6.135 MB / 0.5912 GB, free: 107.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001922/1.149, allocations: 2.425 MB / 0.5936 GB, free: 106.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003699/1.152, allocations: 1.625 MB / 0.5952 GB, free: 106.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004605/1.153, allocations: 187 kB / 0.5954 GB, free: 106.1 MB / 410.7 MB Notification: Performance of SimCode: time 1.323e-06/1.153, allocations: 0 / 0.5954 GB, free: 106.1 MB / 410.7 MB Notification: Performance of Templates: time 0.03836/1.191, allocations: 19.92 MB / 0.6148 GB, free: 94.16 MB / 410.7 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)