Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.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.PointGravityWithPointMasses2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001882/0.001881, allocations: 169.9 kB / 12.72 MB, free: 2.594 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.622/1.622, allocations: 170.6 MB / 183.8 MB, free: 11.49 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.001649/0.001649, allocations: 110.7 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.37e-05/3.373e-05, allocations: 0 / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09772/0.09777, allocations: 38.77 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3843/0.4822, allocations: 81.34 MB / 389 MB, free: 11.06 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/0.4825, allocations: 82.38 kB / 389.1 MB, free: 11.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6993/1.182, allocations: 184.4 MB / 0.56 GB, free: 25.69 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.614e-06/1.182, allocations: 0 / 0.56 GB, free: 25.69 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005072/1.182, allocations: 167.9 kB / 0.5602 GB, free: 25.53 MB / 346.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.03453/1.217, allocations: 8.39 MB / 0.5684 GB, free: 17.05 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/1.217, allocations: 8.031 kB / 0.5684 GB, free: 17.04 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02716/1.244, allocations: 4.708 MB / 0.573 GB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03102/1.275, allocations: 13.27 MB / 0.586 GB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000836/1.276, allocations: 0.6258 MB / 0.5866 GB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005633/1.282, allocations: 0.8548 MB / 0.5874 GB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3333/1.615, allocations: 27.62 MB / 0.6144 GB, free: 43.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009521/1.616, allocations: 131 kB / 0.6145 GB, free: 43.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004464/1.621, allocations: 401.4 kB / 0.6149 GB, free: 43.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004515/1.625, allocations: 2.137 MB / 0.617 GB, free: 43.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06623/1.691, allocations: 29.2 MB / 0.6455 GB, free: 43.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.396/2.087, allocations: 112 MB / 0.7548 GB, free: 29.95 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.07118/2.159, allocations: 19.31 MB / 0.7737 GB, free: 29.23 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01145/2.17, allocations: 9.315 MB / 0.7828 GB, free: 29.18 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007402/2.171, allocations: 390.9 kB / 0.7831 GB, free: 28.9 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.765e-05/2.171, allocations: 72.58 kB / 0.7832 GB, free: 28.86 MB / 394.7 MB Notification: Performance of pre-optimization done (n=314): time 6.532e-06/2.171, allocations: 3.469 kB / 0.7832 GB, free: 28.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=413): time 0.3995/2.571, allocations: 115 MB / 0.8955 GB, free: 7.328 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002804/2.573, allocations: 3.124 MB / 0.8986 GB, free: 3.91 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01511/2.589, allocations: 6.51 MB / 0.9049 GB, free: 13.57 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001522/2.59, allocations: 90.41 kB / 0.905 GB, free: 13.48 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005715/2.596, allocations: 5.893 MB / 0.9107 GB, free: 7.75 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00289/2.599, allocations: 1.576 MB / 0.9123 GB, free: 6.188 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001923/2.601, allocations: 216.7 kB / 0.9125 GB, free: 5.977 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0009077/2.602, allocations: 0.7691 MB / 0.9132 GB, free: 5.203 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2219/2.824, allocations: 7.588 MB / 0.9207 GB, free: 130.8 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01728/2.841, allocations: 13.72 MB / 0.9341 GB, free: 122.9 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01413/2.855, allocations: 9.89 MB / 0.9437 GB, free: 122.9 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003513/2.856, allocations: 62.25 kB / 0.9438 GB, free: 122.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=1429) (initialization): time 0.08606/2.942, allocations: 34.44 MB / 0.9774 GB, free: 118.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001917/2.942, allocations: 105.4 kB / 0.9775 GB, free: 118.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03058/2.972, allocations: 14.87 MB / 0.992 GB, free: 114.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04722/3.02, allocations: 13.83 MB / 1.006 GB, free: 112.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009178/3.029, allocations: 2.632 MB / 1.008 GB, free: 111.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0653/3.094, allocations: 52.61 MB / 1.059 GB, free: 70.57 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01374/3.108, allocations: 1.439 MB / 1.061 GB, free: 69.15 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002866/3.111, allocations: 0.6534 MB / 1.062 GB, free: 68.5 MB / 458.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 (1262): * Single equations (assignments): 1248 * 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 {1} * 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.004458/3.115, allocations: 0.9395 MB / 1.062 GB, free: 67.69 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002141/3.118, allocations: 0.6886 MB / 1.063 GB, free: 67.36 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0376/3.155, allocations: 11.86 MB / 1.075 GB, free: 55.49 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2764/3.432, allocations: 25.08 MB / 1.099 GB, free: 115.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.215e-05/3.432, allocations: 31.03 kB / 1.099 GB, free: 115.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.755e-05/3.432, allocations: 19.83 kB / 1.099 GB, free: 115.7 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1013/3.533, allocations: 47.11 MB / 1.145 GB, free: 113.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.109e-05/3.533, allocations: 3.75 kB / 1.145 GB, free: 113.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003789/3.537, allocations: 0.7231 MB / 1.146 GB, free: 113.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04375/3.581, allocations: 13.29 MB / 1.159 GB, free: 111.4 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001769/3.583, allocations: 115.1 kB / 1.159 GB, free: 111.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0617/3.644, allocations: 49.19 MB / 1.207 GB, free: 88.26 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001553/3.646, allocations: 2.946 MB / 1.21 GB, free: 85.18 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1153/3.761, allocations: 36.27 MB / 1.245 GB, free: 49.86 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00317/3.765, allocations: 0.7247 MB / 1.246 GB, free: 49.49 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003842/3.768, allocations: 87.62 kB / 1.246 GB, free: 49.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01203/3.78, allocations: 0.8238 MB / 1.247 GB, free: 48.59 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002785/3.783, allocations: 318 kB / 1.247 GB, free: 48.29 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001295/3.785, allocations: 127.9 kB / 1.247 GB, free: 48.16 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.01242/3.797, allocations: 4.569 MB / 1.252 GB, free: 43.63 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.72e-07/3.797, allocations: 0 / 1.252 GB, free: 43.63 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.02383/3.821, allocations: 2.937 MB / 1.255 GB, free: 40.7 MB / 458.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.002345/3.823, allocations: 236.5 kB / 1.255 GB, free: 40.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.3429/4.166, allocations: 18.5 MB / 1.273 GB, free: 117.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/4.166, allocations: 2.188 kB / 1.273 GB, free: 117.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01914/4.185, allocations: 8.417 MB / 1.281 GB, free: 117 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009547/4.195, allocations: 0.8682 MB / 1.282 GB, free: 117 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05638/4.251, allocations: 22.88 MB / 1.304 GB, free: 113.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01103/4.263, allocations: 6.326 MB / 1.311 GB, free: 112.6 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01092/4.274, allocations: 3.458 MB / 1.314 GB, free: 112.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00252/4.276, allocations: 439.3 kB / 1.314 GB, free: 112.3 MB / 458.7 MB Notification: Performance of SimCode: time 2.836e-06/4.276, allocations: 0 / 1.314 GB, free: 112.3 MB / 458.7 MB Notification: Performance of Templates: time 0.4529/4.729, allocations: 146.3 MB / 1.457 GB, free: 112.2 MB / 458.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.pipe 2>&1)