Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.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.PointGravityWithPointMasses2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7719/0.7719, allocations: 110.9 MB / 125.9 MB, free: 6.223 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001643/0.001642, allocations: 142.7 kB / 151.8 MB, free: 5.004 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002657/0.0002657, allocations: 4 kB / 184.9 MB, free: 3.93 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1288, allocations: 25.16 MB / 210.1 MB, free: 29.76 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05584/0.1847, allocations: 47.37 MB / 257.4 MB, free: 2.434 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/0.185, allocations: 84.75 kB / 257.5 MB, free: 2.352 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.422/1.607, allocations: 388.5 MB / 0.6309 GB, free: 8.832 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.657e-06/1.607, allocations: 0 / 0.6309 GB, free: 8.832 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0008618/1.608, allocations: 223.3 kB / 0.6311 GB, free: 8.824 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4074 * Number of variables: 4074 Notification: Performance of Generate backend data structure: time 0.06411/1.672, allocations: 15.84 MB / 0.6466 GB, free: 4.055 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/1.672, allocations: 15.22 kB / 0.6466 GB, free: 4.051 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3558/2.028, allocations: 46.02 MB / 0.6915 GB, free: 24.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04453/2.072, allocations: 17.17 MB / 0.7083 GB, free: 24.53 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001175/2.074, allocations: 0.8667 MB / 0.7092 GB, free: 24.51 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0123/2.086, allocations: 1.154 MB / 0.7103 GB, free: 24.49 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2151/2.301, allocations: 65.38 MB / 0.7741 GB, free: 6.074 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009399/2.302, allocations: 111 kB / 0.7742 GB, free: 5.965 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01004/2.312, allocations: 0.5012 MB / 0.7747 GB, free: 5.547 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2185/2.531, allocations: 18.37 MB / 0.7927 GB, free: 35.63 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.204/2.735, allocations: 74.27 MB / 0.8652 GB, free: 14.52 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.274/4.009, allocations: 271.7 MB / 1.131 GB, free: 4.934 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3233/4.332, allocations: 30.83 MB / 1.161 GB, free: 62.83 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009338/4.333, allocations: 429.6 kB / 1.161 GB, free: 62.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001074/4.333, allocations: 102.6 kB / 1.161 GB, free: 62.5 MB / 314.7 MB Notification: Performance of pre-optimization done (n=701): time 1.963e-05/4.333, allocations: 3.375 kB / 1.161 GB, free: 62.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=814): time 1.008/5.341, allocations: 229.2 MB / 1.385 GB, free: 53.26 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001911/5.343, allocations: 3.37 MB / 1.388 GB, free: 50.11 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01905/5.362, allocations: 9.12 MB / 1.397 GB, free: 49.38 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002436/5.365, allocations: 135.4 kB / 1.397 GB, free: 49.35 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005248/5.37, allocations: 7.441 MB / 1.405 GB, free: 45.23 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005075/5.375, allocations: 2.926 MB / 1.407 GB, free: 43.45 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003673/5.379, allocations: 322 kB / 1.408 GB, free: 43.45 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.001646/5.38, allocations: 1.007 MB / 1.409 GB, free: 42.95 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03989/5.42, allocations: 16.92 MB / 1.425 GB, free: 38.31 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04749/5.468, allocations: 25.07 MB / 1.45 GB, free: 22.91 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2246/5.692, allocations: 18.39 MB / 1.468 GB, free: 48.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004477/5.693, allocations: 80 kB / 1.468 GB, free: 48.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=2164) (initialization): time 0.1459/5.839, allocations: 54 MB / 1.521 GB, free: 41.11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005186/5.839, allocations: 127.2 kB / 1.521 GB, free: 41.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05079/5.89, allocations: 21.88 MB / 1.542 GB, free: 28.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04472/5.935, allocations: 13.94 MB / 1.556 GB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01632/5.951, allocations: 4.082 MB / 1.56 GB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2718/6.223, allocations: 54.55 MB / 1.613 GB, free: 34.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03105/6.254, allocations: 3.844 MB / 1.617 GB, free: 34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006621/6.261, allocations: 1.226 MB / 1.618 GB, free: 33.87 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1290 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1919): * Single equations (assignments): 1866 * Array equations: 46 * 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 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,100.0%) 36,(3,100.0%) 3,(6,100.0%) 66} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.01736/6.278, allocations: 5.272 MB / 1.623 GB, free: 31.69 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005922/6.284, allocations: 0.9269 MB / 1.624 GB, free: 31.69 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04721/6.331, allocations: 15.32 MB / 1.639 GB, free: 27.51 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1084/6.44, allocations: 38.33 MB / 1.676 GB, free: 7.25 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001411/6.44, allocations: 28 kB / 1.676 GB, free: 7.223 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002023/6.44, allocations: 39.86 kB / 1.676 GB, free: 7.184 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4154/6.856, allocations: 88.56 MB / 1.763 GB, free: 30.35 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001684/6.856, allocations: 27.55 kB / 1.763 GB, free: 30.35 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00644/6.862, allocations: 1.222 MB / 1.764 GB, free: 30.31 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04294/6.905, allocations: 12.69 MB / 1.776 GB, free: 19.95 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002968/6.908, allocations: 311.7 kB / 1.777 GB, free: 19.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2491/7.158, allocations: 48.13 MB / 1.824 GB, free: 39.83 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001772/7.159, allocations: 3.018 MB / 1.827 GB, free: 37.11 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1567/7.316, allocations: 64.47 MB / 1.89 GB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004893/7.321, allocations: 1.187 MB / 1.891 GB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005222/7.326, allocations: 172 kB / 1.891 GB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02002/7.346, allocations: 2.653 MB / 1.894 GB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002802/7.349, allocations: 0.5814 MB / 1.894 GB, free: 9.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001435/7.351, allocations: 0.4923 MB / 1.895 GB, free: 9.41 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.01346/7.364, allocations: 6.502 MB / 1.901 GB, free: 4.168 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.01e-07/7.364, allocations: 0 / 1.901 GB, free: 4.168 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.02311/7.387, allocations: 3.963 MB / 1.905 GB, free: 236 kB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 107 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (637): * Single equations (assignments): 613 * Array equations: 18 * 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.002795/7.39, allocations: 380.1 kB / 1.905 GB, free: 15.95 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.2871/7.677, allocations: 36.78 MB / 1.941 GB, free: 60.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.258e-05/7.677, allocations: 2.656 kB / 1.941 GB, free: 60.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.04223/7.719, allocations: 16.29 MB / 1.957 GB, free: 57.66 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01096/7.73, allocations: 0.9862 MB / 1.958 GB, free: 57.21 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1058/7.836, allocations: 43.98 MB / 2.001 GB, free: 32.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01608/7.852, allocations: 8.182 MB / 2.009 GB, free: 26.61 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0233/7.876, allocations: 5.62 MB / 2.014 GB, free: 22.55 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008503/7.884, allocations: 1.237 MB / 2.016 GB, free: 21.61 MB / 330.7 MB Notification: Performance of SimCode: time 1.092e-06/7.884, allocations: 0 / 2.016 GB, free: 21.61 MB / 330.7 MB Notification: Performance of Templates: time 0.9034/8.788, allocations: 230 MB / 2.24 GB, free: 19.65 MB / 346.8 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.pipe 2>&1)