Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.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.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.006062/0.006062, allocations: 165.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.32/1.32, allocations: 170.8 MB / 186.6 MB, free: 1.141 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002013/0.002013, allocations: 103.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003684/0.0003684, allocations: 8 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2805, allocations: 38.77 MB / 312.9 MB, free: 38.71 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1039/0.3844, allocations: 75.33 MB / 388.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003378/0.3848, allocations: 87.95 kB / 388.3 MB, free: 15.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3496/0.7345, allocations: 51.18 MB / 439.5 MB, free: 77.79 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.7345, allocations: 4 kB / 439.5 MB, free: 77.79 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.978e-05/0.7346, allocations: 49.75 kB / 439.5 MB, free: 77.79 MB / 314.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.00475/0.7394, allocations: 2.48 MB / 442 MB, free: 76.48 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/0.7395, allocations: 13.28 kB / 442 MB, free: 76.48 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007438/0.7469, allocations: 1.948 MB / 444 MB, free: 75.61 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003834/0.7508, allocations: 1.387 MB / 445.4 MB, free: 74.8 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001637/0.751, allocations: 234.9 kB / 445.6 MB, free: 74.71 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000629/0.7516, allocations: 297.9 kB / 445.9 MB, free: 74.63 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01704/0.7686, allocations: 8.883 MB / 454.8 MB, free: 66.99 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001213/0.7688, allocations: 63.45 kB / 454.8 MB, free: 66.93 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003805/0.7692, allocations: 149.2 kB / 455 MB, free: 66.8 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001131/0.7704, allocations: 0.7884 MB / 455.8 MB, free: 66.01 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01575/0.7861, allocations: 7.133 MB / 462.9 MB, free: 58.87 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0351/0.8213, allocations: 38.04 MB / 0.4892 GB, free: 19.69 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01868/0.84, allocations: 5.237 MB / 0.4943 GB, free: 14.28 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005892/0.846, allocations: 3.337 MB / 0.4976 GB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.432e-05/0.846, allocations: 54.5 kB / 0.4976 GB, free: 10.8 MB / 314.7 MB Notification: Performance of pre-optimization done (n=104): time 3.998e-06/0.8461, allocations: 0 / 0.4976 GB, free: 10.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=104): time 0.03801/0.8841, allocations: 9.849 MB / 0.5072 GB, free: 0.8047 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.259e-05/0.8842, allocations: 191.9 kB / 0.5074 GB, free: 0.5742 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006313/0.8906, allocations: 2.677 MB / 0.51 GB, free: 13.88 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003154/0.8909, allocations: 37.7 kB / 0.5101 GB, free: 13.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002361/0.8933, allocations: 2.394 MB / 0.5124 GB, free: 11.45 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001001/0.8943, allocations: 492.7 kB / 0.5129 GB, free: 10.97 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002443/0.8945, allocations: 104 kB / 0.513 GB, free: 10.87 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0005186/0.8951, allocations: 0.5885 MB / 0.5136 GB, free: 10.27 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002508/0.8976, allocations: 1.478 MB / 0.515 GB, free: 8.789 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005196/0.9028, allocations: 5.002 MB / 0.5199 GB, free: 1.992 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004155/0.907, allocations: 2.68 MB / 0.5225 GB, free: 15.31 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.716e-05/0.9071, allocations: 36 kB / 0.5225 GB, free: 15.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01169/0.9188, allocations: 6.168 MB / 0.5286 GB, free: 9.102 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000101/0.9189, allocations: 60 kB / 0.5286 GB, free: 9.043 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001535/0.9191, allocations: 128 kB / 0.5287 GB, free: 8.918 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002043/0.9193, allocations: 184 kB / 0.5289 GB, free: 8.738 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005057/0.9244, allocations: 1.493 MB / 0.5304 GB, free: 7.242 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002382/0.9246, allocations: 251 kB / 0.5306 GB, free: 6.996 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004257/0.9289, allocations: 0.7495 MB / 0.5313 GB, free: 6.242 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000526/0.9294, allocations: 344 kB / 0.5317 GB, free: 5.906 MB / 346.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 () * Number of clocked 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.002719/0.9321, allocations: 1.555 MB / 0.5332 GB, free: 4.34 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000504/0.9327, allocations: 248.8 kB / 0.5334 GB, free: 4.094 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001309/0.934, allocations: 0.7196 MB / 0.5341 GB, free: 3.363 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.984e-05/0.934, allocations: 12 kB / 0.5341 GB, free: 3.352 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.534e-05/0.934, allocations: 4 kB / 0.5342 GB, free: 3.348 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.9341, allocations: 7.922 kB / 0.5342 GB, free: 3.34 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004396/0.9385, allocations: 2.272 MB / 0.5364 GB, free: 1.035 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/0.9385, allocations: 4 kB / 0.5364 GB, free: 1.031 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00249/0.941, allocations: 467.4 kB / 0.5368 GB, free: 0.5742 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-05/0.941, allocations: 4 kB / 0.5368 GB, free: 0.5703 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.845e-05/0.9411, allocations: 31.97 kB / 0.5369 GB, free: 0.5391 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.085e-06/0.9411, allocations: 4 kB / 0.5369 GB, free: 0.5352 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.9411, allocations: 7.953 kB / 0.5369 GB, free: 0.5273 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2169/1.158, allocations: 2.587 MB / 0.5394 GB, free: 96.05 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006959/1.159, allocations: 303.7 kB / 0.5397 GB, free: 95.91 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002231/1.159, allocations: 26.55 kB / 0.5397 GB, free: 95.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009193/1.16, allocations: 53.86 kB / 0.5398 GB, free: 95.91 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/1.16, allocations: 54.36 kB / 0.5398 GB, free: 95.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-05/1.16, allocations: 35.11 kB / 0.5399 GB, free: 95.91 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003216/1.163, allocations: 1.813 MB / 0.5416 GB, free: 95.77 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.31e-07/1.163, allocations: 0 / 0.5416 GB, free: 95.77 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00459/1.168, allocations: 0.823 MB / 0.5424 GB, free: 95.71 MB / 346.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 () * Number of clocked 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.000433/1.168, allocations: 159.7 kB / 0.5426 GB, free: 95.63 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006247/1.175, allocations: 3.359 MB / 0.5459 GB, free: 95.48 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/1.175, allocations: 1.25 kB / 0.5459 GB, free: 95.48 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001021/1.176, allocations: 0.605 MB / 0.5464 GB, free: 95.46 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/1.177, allocations: 231.8 kB / 0.5467 GB, free: 95.45 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01171/1.189, allocations: 8.318 MB / 0.5548 GB, free: 91.63 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002071/1.191, allocations: 2.429 MB / 0.5572 GB, free: 90.56 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.003669/1.195, allocations: 1.621 MB / 0.5587 GB, free: 90.42 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004096/1.195, allocations: 184.1 kB / 0.5589 GB, free: 90.41 MB / 346.7 MB Notification: Performance of SimCode: time 1.302e-06/1.195, allocations: 0 / 0.5589 GB, free: 90.41 MB / 346.7 MB Notification: Performance of Templates: time 0.03728/1.232, allocations: 19.9 MB / 0.5784 GB, free: 81.28 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe 2>&1)