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.0009159/0.0009159, allocations: 156.1 kB / 7.633 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.241/1.241, allocations: 170.7 MB / 178.7 MB, free: 7.043 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.001535/0.001535, allocations: 105.9 kB / 218 MB, free: 15.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.831e-05/1.833e-05, allocations: 4 kB / 262.2 MB, free: 3.062 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2135, allocations: 38.77 MB / 301 MB, free: 39.15 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09217/0.3057, allocations: 74.57 MB / 375.6 MB, free: 5.055 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/0.306, allocations: 84.78 kB / 375.6 MB, free: 4.973 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1269/0.4329, allocations: 50.01 MB / 425.7 MB, free: 2.656 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.433, allocations: 0 / 425.7 MB, free: 2.656 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001108/0.4331, allocations: 52 kB / 425.7 MB, free: 2.605 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.006519/0.4396, allocations: 2.404 MB / 428.1 MB, free: 148 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.4397, allocations: 8.031 kB / 428.1 MB, free: 140 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2065/0.6462, allocations: 1.95 MB / 430.1 MB, free: 81.88 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004011/0.6503, allocations: 1.391 MB / 431.5 MB, free: 81.65 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/0.6504, allocations: 97.05 kB / 431.6 MB, free: 81.65 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004981/0.6509, allocations: 184.8 kB / 431.7 MB, free: 81.64 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007222/0.6582, allocations: 4.134 MB / 435.9 MB, free: 81.62 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009727/0.6679, allocations: 6.826 MB / 442.7 MB, free: 79.29 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001345/0.6681, allocations: 50.03 kB / 442.7 MB, free: 79.29 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003445/0.6684, allocations: 27.72 kB / 442.8 MB, free: 79.29 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001193/0.6696, allocations: 0.7938 MB / 443.6 MB, free: 79.29 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02747/0.6971, allocations: 35.68 MB / 479.2 MB, free: 52.35 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002116/0.6993, allocations: 1.924 MB / 481.2 MB, free: 51.18 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008616/0.7002, allocations: 0.867 MB / 482 MB, free: 50.83 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.225e-05/0.7002, allocations: 20.56 kB / 482.1 MB, free: 50.82 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.7003, allocations: 51.67 kB / 482.1 MB, free: 50.78 MB / 330.7 MB Notification: Performance of pre-optimization done (n=112): time 6.081e-06/0.7003, allocations: 2.625 kB / 482.1 MB, free: 50.78 MB / 330.7 MB Notification: Performance of matching and sorting (n=112): time 0.02031/0.7206, allocations: 5.226 MB / 487.3 MB, free: 50.1 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.494e-05/0.7207, allocations: 223 kB / 487.5 MB, free: 49.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003115/0.7238, allocations: 2.363 MB / 489.9 MB, free: 48.95 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001463/0.724, allocations: 28.05 kB / 489.9 MB, free: 48.91 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001067/0.725, allocations: 2.438 MB / 492.4 MB, free: 47 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003674/0.7254, allocations: 0.4913 MB / 492.9 MB, free: 46.65 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/0.7256, allocations: 0 / 492.9 MB, free: 46.65 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002835/0.7259, allocations: 0.57 MB / 493.4 MB, free: 46.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001576/0.7274, allocations: 1.402 MB / 494.8 MB, free: 45.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003092/0.7305, allocations: 5.012 MB / 499.9 MB, free: 40.17 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002988/0.7335, allocations: 2.671 MB / 0.4907 GB, free: 38.27 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.714e-05/0.7336, allocations: 40 kB / 0.4908 GB, free: 38.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.007326/0.7409, allocations: 5.506 MB / 0.4962 GB, free: 33.38 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.043e-05/0.741, allocations: 60 kB / 0.4962 GB, free: 33.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.539e-05/0.7411, allocations: 132 kB / 0.4963 GB, free: 33.19 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001489/0.7413, allocations: 197.7 kB / 0.4965 GB, free: 33 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004529/0.7458, allocations: 1.553 MB / 0.498 GB, free: 31.69 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001341/0.746, allocations: 257.9 kB / 0.4983 GB, free: 31.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003212/0.7492, allocations: 0.6387 MB / 0.4989 GB, free: 30.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003721/0.7496, allocations: 356.2 kB / 0.4993 GB, free: 30.49 MB / 330.7 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.0004925/0.7501, allocations: 421.4 kB / 0.4997 GB, free: 30.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003308/0.7504, allocations: 231.9 kB / 0.4999 GB, free: 29.84 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/0.7515, allocations: 0.6791 MB / 0.5005 GB, free: 29.26 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.572e-05/0.7515, allocations: 19.95 kB / 0.5006 GB, free: 29.24 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.591e-05/0.7515, allocations: 0 / 0.5006 GB, free: 29.24 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.7516, allocations: 10.84 kB / 0.5006 GB, free: 29.24 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004166/0.7557, allocations: 2.583 MB / 0.5031 GB, free: 27.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.7558, allocations: 0 / 0.5031 GB, free: 27.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002005/0.7578, allocations: 381.8 kB / 0.5035 GB, free: 26.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005751/0.7584, allocations: 142.1 kB / 0.5036 GB, free: 26.61 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-05/0.7584, allocations: 25.03 kB / 0.5036 GB, free: 26.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00156/0.76, allocations: 2.656 MB / 0.5062 GB, free: 23.7 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.76, allocations: 3.938 kB / 0.5062 GB, free: 23.7 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002287/0.7623, allocations: 2.639 MB / 0.5088 GB, free: 21 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003909/0.7627, allocations: 285.8 kB / 0.5091 GB, free: 20.7 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002133/0.7629, allocations: 19.94 kB / 0.5091 GB, free: 20.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008102/0.7638, allocations: 42 kB / 0.5091 GB, free: 20.64 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.971e-05/0.7639, allocations: 67.64 kB / 0.5092 GB, free: 20.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.035e-05/0.764, allocations: 31.98 kB / 0.5092 GB, free: 20.54 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001723/0.7657, allocations: 1.527 MB / 0.5107 GB, free: 19.01 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.7657, allocations: 0 / 0.5107 GB, free: 19.01 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003838/0.7695, allocations: 0.7246 MB / 0.5114 GB, free: 18.29 MB / 330.7 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.0003366/0.7699, allocations: 161.7 kB / 0.5116 GB, free: 18.12 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003947/0.7738, allocations: 3.156 MB / 0.5147 GB, free: 15 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.7739, allocations: 4 kB / 0.5147 GB, free: 14.99 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001243/0.7751, allocations: 0.8911 MB / 0.5155 GB, free: 14.08 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000864/0.776, allocations: 190.6 kB / 0.5157 GB, free: 13.89 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008905/0.7849, allocations: 6.139 MB / 0.5217 GB, free: 7.848 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001939/0.7869, allocations: 2.415 MB / 0.5241 GB, free: 5.418 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.003657/0.7905, allocations: 1.693 MB / 0.5257 GB, free: 3.723 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003605/0.7909, allocations: 179.4 kB / 0.5259 GB, free: 3.547 MB / 330.7 MB Notification: Performance of SimCode: time 1.803e-06/0.7909, allocations: 0 / 0.5259 GB, free: 3.547 MB / 330.7 MB Notification: Performance of Templates: time 0.03764/0.8286, allocations: 18.67 MB / 0.5441 GB, free: 1.152 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)