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.001137/0.001137, allocations: 187.8 kB / 8.351 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.488/1.488, allocations: 194.3 MB / 203.1 MB, free: 9.324 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001866/0.001866, allocations: 115.6 kB / 248.1 MB, free: 6.332 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.644e-05/1.647e-05, allocations: 8 kB / 298.1 MB, free: 8.238 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1037, allocations: 44.5 MB / 342.6 MB, free: 11.63 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3403/0.4441, allocations: 86.37 MB / 429 MB, free: 9.668 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001892/0.4443, allocations: 88.7 kB / 429 MB, free: 9.621 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.6702/1.115, allocations: 180.6 MB / 0.5954 GB, free: 57.42 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.816e-06/1.115, allocations: 0 / 0.5954 GB, free: 57.42 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0004872/1.115, allocations: 166.8 kB / 0.5955 GB, free: 57.41 MB / 395.1 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.03089/1.146, allocations: 8.385 MB / 0.6037 GB, free: 52.14 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/1.146, allocations: 11.33 kB / 0.6037 GB, free: 52.13 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.026/1.172, allocations: 4.719 MB / 0.6083 GB, free: 50.03 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02893/1.201, allocations: 13.26 MB / 0.6213 GB, free: 39.73 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006489/1.202, allocations: 272 kB / 0.6216 GB, free: 39.46 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005298/1.207, allocations: 0.5191 MB / 0.6221 GB, free: 38.95 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02857/1.236, allocations: 17.93 MB / 0.6396 GB, free: 21.04 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2941/1.53, allocations: 23.43 MB / 0.6624 GB, free: 45.18 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007779/1.531, allocations: 132.5 kB / 0.6626 GB, free: 45.18 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003787/1.534, allocations: 50.97 kB / 0.6626 GB, free: 45.18 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003792/1.538, allocations: 2.135 MB / 0.6647 GB, free: 45.17 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1402/1.678, allocations: 109.4 MB / 0.7716 GB, free: 14.46 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01332/1.692, allocations: 10.35 MB / 0.7817 GB, free: 9.602 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01008/1.702, allocations: 9.232 MB / 0.7907 GB, free: 5.512 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000794/1.703, allocations: 391 kB / 0.7911 GB, free: 5.207 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.852e-05/1.703, allocations: 64.06 kB / 0.7911 GB, free: 5.145 MB / 427.1 MB Notification: Performance of pre-optimization done (n=314): time 7.384e-06/1.703, allocations: 1.938 kB / 0.7911 GB, free: 5.145 MB / 427.1 MB Notification: Performance of matching and sorting (n=411): time 0.5243/2.227, allocations: 106.3 MB / 0.895 GB, free: 95.59 MB / 443.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.229e-05/2.227, allocations: 196.9 kB / 0.8951 GB, free: 95.41 MB / 443.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008292/2.236, allocations: 5.547 MB / 0.9006 GB, free: 93.4 MB / 443.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001513/2.237, allocations: 28.11 kB / 0.9006 GB, free: 93.37 MB / 443.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003343/2.241, allocations: 5.916 MB / 0.9064 GB, free: 88.95 MB / 443.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002486/2.243, allocations: 1.52 MB / 0.9078 GB, free: 87.81 MB / 443.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001203/2.244, allocations: 0 / 0.9078 GB, free: 87.81 MB / 443.1 MB Notification: Performance of setup shared object (initialization): time 0.0004552/2.245, allocations: 0.7815 MB / 0.9086 GB, free: 87.3 MB / 443.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008404/2.253, allocations: 7.393 MB / 0.9158 GB, free: 84.41 MB / 443.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01161/2.265, allocations: 13.61 MB / 0.9291 GB, free: 71.17 MB / 443.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01176/2.277, allocations: 9.686 MB / 0.9386 GB, free: 63.2 MB / 443.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001704/2.277, allocations: 64 kB / 0.9386 GB, free: 63.14 MB / 443.1 MB Notification: Performance of matching and sorting (n=1451) (initialization): time 0.07751/2.354, allocations: 33.08 MB / 0.9709 GB, free: 33.97 MB / 443.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001353/2.355, allocations: 104.9 kB / 0.971 GB, free: 33.87 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2561/2.611, allocations: 14.81 MB / 0.9855 GB, free: 85.92 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04531/2.656, allocations: 13.71 MB / 0.9989 GB, free: 85.85 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00981/2.666, allocations: 2.661 MB / 1.001 GB, free: 85.85 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08818/2.754, allocations: 49.42 MB / 1.05 GB, free: 72.68 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01887/2.773, allocations: 1.233 MB / 1.051 GB, free: 72.68 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003263/2.776, allocations: 0.6625 MB / 1.052 GB, free: 72.6 MB / 443.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1009 * 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 (1281): * Single equations (assignments): 1267 * 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.003683/2.78, allocations: 0.6781 MB / 1.052 GB, free: 72.41 MB / 443.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002218/2.782, allocations: 0.6245 MB / 1.053 GB, free: 72.41 MB / 443.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05216/2.834, allocations: 11.61 MB / 1.064 GB, free: 69.64 MB / 443.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.09803/2.932, allocations: 24.8 MB / 1.088 GB, free: 58.47 MB / 443.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001248/2.933, allocations: 28 kB / 1.088 GB, free: 58.44 MB / 443.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001647/2.933, allocations: 19.92 kB / 1.088 GB, free: 58.42 MB / 443.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1533/3.086, allocations: 45.72 MB / 1.133 GB, free: 13.16 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.421e-05/3.086, allocations: 4 kB / 1.133 GB, free: 13.16 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006342/3.093, allocations: 0.7279 MB / 1.134 GB, free: 12.46 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.3157/3.408, allocations: 13.12 MB / 1.147 GB, free: 82.02 MB / 443.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001435/3.41, allocations: 64.98 kB / 1.147 GB, free: 82.02 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06344/3.473, allocations: 45.98 MB / 1.192 GB, free: 73.68 MB / 443.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001525/3.475, allocations: 2.825 MB / 1.194 GB, free: 70.98 MB / 443.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07367/3.548, allocations: 35.75 MB / 1.229 GB, free: 59.86 MB / 443.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002364/3.551, allocations: 0.6497 MB / 1.23 GB, free: 59.73 MB / 443.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002734/3.554, allocations: 19.75 kB / 1.23 GB, free: 59.72 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008165/3.562, allocations: 0.7592 MB / 1.231 GB, free: 59.72 MB / 443.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002379/3.564, allocations: 313.9 kB / 1.231 GB, free: 59.68 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008897/3.565, allocations: 133.3 kB / 1.231 GB, free: 59.66 MB / 443.1 MB Notification: Performance of sorting global known variables: time 0.005926/3.571, allocations: 3.734 MB / 1.235 GB, free: 58.29 MB / 443.1 MB Notification: Performance of sort global known variables: time 2.31e-07/3.571, allocations: 0.6562 kB / 1.235 GB, free: 58.29 MB / 443.1 MB Notification: Performance of remove unused functions: time 0.01235/3.583, allocations: 2.671 MB / 1.237 GB, free: 58.29 MB / 443.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 24 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.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],$STATESET0.x[3],$STATESET0.x[2],$STATESET0.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 (264): * Single equations (assignments): 255 * 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.0009894/3.584, allocations: 184.6 kB / 1.238 GB, free: 58.2 MB / 443.1 MB Notification: Performance of simCode: created initialization part: time 0.02145/3.606, allocations: 17.97 MB / 1.255 GB, free: 43.71 MB / 443.1 MB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/3.606, allocations: 1.859 kB / 1.255 GB, free: 43.71 MB / 443.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009373/3.615, allocations: 8.244 MB / 1.263 GB, free: 36.37 MB / 443.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005597/3.621, allocations: 0.6604 MB / 1.264 GB, free: 35.82 MB / 443.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04736/3.668, allocations: 22.59 MB / 1.286 GB, free: 15.7 MB / 443.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01098/3.679, allocations: 6.322 MB / 1.292 GB, free: 9.367 MB / 443.1 MB Notification: Performance of simCode: alias equations: time 0.2458/3.925, allocations: 3.432 MB / 1.295 GB, free: 72.34 MB / 443.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002201/3.928, allocations: 406.9 kB / 1.296 GB, free: 72.33 MB / 443.1 MB Notification: Performance of SimCode: time 1.032e-06/3.928, allocations: 0 / 1.296 GB, free: 72.33 MB / 443.1 MB Notification: Performance of Templates: time 0.1886/4.116, allocations: 134.4 MB / 1.427 GB, free: 12.58 MB / 443.1 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)