Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.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.PointGravityWithPointMasses2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00112/0.00112, allocations: 182 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.429/1.429, allocations: 194.3 MB / 208.4 MB, free: 6.707 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.001568/0.001568, allocations: 116.7 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.031e-05/3.033e-05, allocations: 4 kB / 305 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09014/0.09019, allocations: 44.49 MB / 349.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4013/0.4916, allocations: 87.04 MB / 436.5 MB, free: 7.531 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/0.4919, allocations: 81.08 kB / 436.6 MB, free: 7.52 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7272/1.219, allocations: 184.6 MB / 0.6066 GB, free: 66.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.893e-06/1.219, allocations: 0 / 0.6066 GB, free: 66.2 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004994/1.22, allocations: 163.9 kB / 0.6068 GB, free: 66.2 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2934 * Number of variables: 2934 Notification: Performance of Generate backend data structure: time 0.03403/1.254, allocations: 8.397 MB / 0.615 GB, free: 61.31 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/1.254, allocations: 11.92 kB / 0.615 GB, free: 61.3 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02725/1.281, allocations: 4.716 MB / 0.6196 GB, free: 58.46 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02893/1.31, allocations: 13.29 MB / 0.6326 GB, free: 45.36 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007261/1.311, allocations: 0.6227 MB / 0.6332 GB, free: 44.79 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005248/1.316, allocations: 0.8571 MB / 0.634 GB, free: 43.98 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07465/1.391, allocations: 27.62 MB / 0.661 GB, free: 14.78 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005733/1.391, allocations: 130.9 kB / 0.6611 GB, free: 14.65 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003238/1.395, allocations: 399.7 kB / 0.6615 GB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003745/1.398, allocations: 2.135 MB / 0.6636 GB, free: 12.17 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3725/1.771, allocations: 29.2 MB / 0.6921 GB, free: 67.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1609/1.932, allocations: 112 MB / 0.8014 GB, free: 19.07 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06764/1.999, allocations: 19.31 MB / 0.8203 GB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01129/2.011, allocations: 9.319 MB / 0.8294 GB, free: 8.605 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000873/2.012, allocations: 388.3 kB / 0.8297 GB, free: 8.219 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.619e-05/2.012, allocations: 71.66 kB / 0.8298 GB, free: 8.148 MB / 426.7 MB Notification: Performance of pre-optimization done (n=314): time 8.446e-06/2.012, allocations: 0 / 0.8298 GB, free: 8.148 MB / 426.7 MB Notification: Performance of matching and sorting (n=413): time 0.6496/2.661, allocations: 115.1 MB / 0.9422 GB, free: 90.99 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001833/2.663, allocations: 3.13 MB / 0.9453 GB, free: 87.68 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01179/2.675, allocations: 6.516 MB / 0.9516 GB, free: 81.8 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00167/2.677, allocations: 85.7 kB / 0.9517 GB, free: 81.71 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003939/2.681, allocations: 5.889 MB / 0.9575 GB, free: 76.06 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00259/2.683, allocations: 1.579 MB / 0.959 GB, free: 74.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001809/2.685, allocations: 216 kB / 0.9592 GB, free: 74.29 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005882/2.686, allocations: 0.7728 MB / 0.96 GB, free: 73.51 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01046/2.696, allocations: 7.593 MB / 0.9674 GB, free: 65.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01369/2.71, allocations: 13.73 MB / 0.9808 GB, free: 49.37 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.014/2.724, allocations: 9.899 MB / 0.9905 GB, free: 39.66 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000299/2.724, allocations: 60 kB / 0.9905 GB, free: 39.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=1429) (initialization): time 0.3663/3.091, allocations: 34.53 MB / 1.024 GB, free: 86.32 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000181/3.091, allocations: 100.5 kB / 1.024 GB, free: 86.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02989/3.121, allocations: 14.96 MB / 1.039 GB, free: 86.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0454/3.166, allocations: 13.91 MB / 1.053 GB, free: 86.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00972/3.176, allocations: 2.623 MB / 1.055 GB, free: 86.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06593/3.242, allocations: 53.04 MB / 1.107 GB, free: 63.06 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01397/3.256, allocations: 1.441 MB / 1.108 GB, free: 62.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002687/3.259, allocations: 0.6557 MB / 1.109 GB, free: 61.51 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 985 * Number of states: 0 () * Number of discrete variables: 84 (referenceSystem.fixedTranslation5.color[3],referenceSystem.fixedTranslation5.color[2],referenceSystem.fixedTranslation5.color[1],referenceSystem.fixedTranslation4.color[3],referenceSystem.fixedTranslation4.color[2],referenceSystem.fixedTranslation4.color[1],referenceSystem.fixedTranslation3.color[3],referenceSystem.fixedTranslation3.color[2],referenceSystem.fixedTranslation3.color[1],referenceSystem.fixedTranslation2.color[3],referenceSystem.fixedTranslation2.color[2],referenceSystem.fixedTranslation2.color[1],referenceSystem.fixedTranslation1.color[3],referenceSystem.fixedTranslation1.color[2],referenceSystem.fixedTranslation1.color[1],referenceSystem.fixedTranslation.color[3],referenceSystem.fixedTranslation.color[2],referenceSystem.fixedTranslation.color[1],referenceSystem.pointMass6.sphereColor[3],referenceSystem.pointMass6.sphereColor[2],referenceSystem.pointMass6.sphereColor[1],referenceSystem.pointMass5.sphereColor[3],referenceSystem.pointMass5.sphereColor[2],referenceSystem.pointMass5.sphereColor[1],referenceSystem.pointMass4.sphereColor[3],referenceSystem.pointMass4.sphereColor[2],referenceSystem.pointMass4.sphereColor[1],referenceSystem.pointMass3.sphereColor[3],referenceSystem.pointMass3.sphereColor[2],referenceSystem.pointMass3.sphereColor[1],referenceSystem.pointMass2.sphereColor[3],referenceSystem.pointMass2.sphereColor[2],referenceSystem.pointMass2.sphereColor[1],referenceSystem.pointMass1.sphereColor[3],referenceSystem.pointMass1.sphereColor[2],referenceSystem.pointMass1.sphereColor[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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],fixedTranslation5.color[3],fixedTranslation5.color[2],fixedTranslation5.color[1],fixedTranslation4.color[3],fixedTranslation4.color[2],fixedTranslation4.color[1],fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],pointMass6.sphereColor[3],pointMass6.sphereColor[2],pointMass6.sphereColor[1],pointMass5.sphereColor[3],pointMass5.sphereColor[2],pointMass5.sphereColor[1],pointMass4.sphereColor[3],pointMass4.sphereColor[2],pointMass4.sphereColor[1],pointMass3.sphereColor[3],pointMass3.sphereColor[2],pointMass3.sphereColor[1],pointMass2.sphereColor[3],pointMass2.sphereColor[2],pointMass2.sphereColor[1],pointMass1.sphereColor[3],pointMass1.sphereColor[2],pointMass1.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1259): * Single equations (assignments): 1245 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,100.0%) 66,(6,100.0%) 36,(3,100.0%) 3} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.003168/3.262, allocations: 0.9334 MB / 1.11 GB, free: 60.92 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001823/3.264, allocations: 0.6822 MB / 1.111 GB, free: 60.61 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03505/3.299, allocations: 11.87 MB / 1.122 GB, free: 51.61 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05969/3.359, allocations: 25.08 MB / 1.147 GB, free: 26.59 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.919e-05/3.359, allocations: 32 kB / 1.147 GB, free: 26.55 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.753e-05/3.359, allocations: 19.92 kB / 1.147 GB, free: 26.54 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3524/3.711, allocations: 47.1 MB / 1.193 GB, free: 85.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.068e-05/3.711, allocations: 7.281 kB / 1.193 GB, free: 85.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003663/3.715, allocations: 0.727 MB / 1.193 GB, free: 85.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04319/3.758, allocations: 13.29 MB / 1.206 GB, free: 84.97 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001687/3.76, allocations: 116.8 kB / 1.206 GB, free: 84.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0766/3.837, allocations: 49.19 MB / 1.254 GB, free: 70.53 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002334/3.839, allocations: 2.951 MB / 1.257 GB, free: 67.68 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1147/3.954, allocations: 36.28 MB / 1.293 GB, free: 39.02 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002587/3.956, allocations: 0.7327 MB / 1.294 GB, free: 38.64 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002822/3.959, allocations: 79.98 kB / 1.294 GB, free: 38.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008542/3.968, allocations: 0.8212 MB / 1.294 GB, free: 37.75 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002163/3.97, allocations: 316.6 kB / 1.295 GB, free: 37.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006838/3.971, allocations: 134.6 kB / 1.295 GB, free: 37.32 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007462/3.978, allocations: 4.572 MB / 1.299 GB, free: 32.79 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.41e-07/3.978, allocations: 2.531 kB / 1.299 GB, free: 32.79 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01296/3.991, allocations: 2.94 MB / 1.302 GB, free: 29.86 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 24 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],referenceSystem.pointMass1.frame_a.r_0[1],referenceSystem.pointMass1.frame_a.r_0[2],referenceSystem.pointMass1.frame_a.r_0[3],referenceSystem.pointMass1.v_0[1],referenceSystem.pointMass1.v_0[2],referenceSystem.pointMass1.v_0[3],referenceSystem.pointMass6.w_a[1],referenceSystem.pointMass6.w_a[2],referenceSystem.pointMass6.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (266): * Single equations (assignments): 257 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,100.0%) 36,(6,100.0%) 66} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001265/3.992, allocations: 241.5 kB / 1.302 GB, free: 29.65 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0237/4.016, allocations: 18.65 MB / 1.321 GB, free: 11.41 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/4.016, allocations: 0 / 1.321 GB, free: 11.41 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01021/4.026, allocations: 8.418 MB / 1.329 GB, free: 2.953 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005357/4.032, allocations: 0.8733 MB / 1.33 GB, free: 2.125 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2776/4.309, allocations: 22.86 MB / 1.352 GB, free: 99.21 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009862/4.319, allocations: 6.335 MB / 1.358 GB, free: 98.28 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01075/4.33, allocations: 3.452 MB / 1.362 GB, free: 97.99 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002512/4.333, allocations: 438.2 kB / 1.362 GB, free: 97.98 MB / 458.7 MB Notification: Performance of SimCode: time 2.785e-06/4.333, allocations: 0 / 1.362 GB, free: 97.98 MB / 458.7 MB Notification: Performance of Templates: time 0.4541/4.787, allocations: 147 MB / 1.505 GB, free: 81.66 MB / 458.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.pipe 2>&1)