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.0009591/0.0009592, allocations: 179.6 kB / 16.38 MB, free: 5.762 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.2/1.2, allocations: 194.5 MB / 211.6 MB, free: 3.043 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.001527/0.001527, allocations: 111.5 kB / 256.9 MB, free: 4.375 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002959/0.000296, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07319/0.0735, allocations: 44.49 MB / 355.1 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2437/0.3172, allocations: 87.12 MB / 442.2 MB, free: 2.699 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/0.3175, allocations: 92.16 kB / 442.3 MB, free: 2.648 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.557/0.8746, allocations: 184.4 MB / 0.612 GB, free: 49.37 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.945e-06/0.8746, allocations: 4 kB / 0.612 GB, free: 49.37 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000389/0.875, allocations: 159.9 kB / 0.6121 GB, free: 49.21 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.0289/0.9039, allocations: 9.087 MB / 0.621 GB, free: 40.03 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.904, allocations: 12.03 kB / 0.621 GB, free: 40.02 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02451/0.9285, allocations: 4.715 MB / 0.6256 GB, free: 35.28 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02512/0.9537, allocations: 13.33 MB / 0.6386 GB, free: 21.87 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006666/0.9544, allocations: 0.6258 MB / 0.6392 GB, free: 21.24 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004721/0.9591, allocations: 0.8588 MB / 0.6401 GB, free: 20.38 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2535/1.213, allocations: 27.97 MB / 0.6674 GB, free: 45.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004075/1.213, allocations: 128.1 kB / 0.6675 GB, free: 45.18 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001844/1.215, allocations: 400.2 kB / 0.6679 GB, free: 45.18 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00306/1.218, allocations: 2.134 MB / 0.67 GB, free: 45.17 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06665/1.285, allocations: 29.83 MB / 0.6991 GB, free: 45.09 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1225/1.407, allocations: 112 MB / 0.8085 GB, free: 1.789 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2698/1.677, allocations: 21.13 MB / 0.8291 GB, free: 84.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005774/1.678, allocations: 392.2 kB / 0.8295 GB, free: 83.99 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/1.678, allocations: 74.12 kB / 0.8296 GB, free: 83.95 MB / 426.7 MB Notification: Performance of pre-optimization done (n=314): time 6.341e-06/1.678, allocations: 1.828 kB / 0.8296 GB, free: 83.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=413): time 0.381/2.059, allocations: 131.3 MB / 0.9578 GB, free: 18.26 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001639/2.06, allocations: 3.146 MB / 0.9609 GB, free: 14.82 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01201/2.072, allocations: 6.76 MB / 0.9675 GB, free: 8.234 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001456/2.074, allocations: 85.7 kB / 0.9676 GB, free: 8.145 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1873/2.261, allocations: 5.897 MB / 0.9733 GB, free: 73.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002383/2.264, allocations: 1.575 MB / 0.9749 GB, free: 72.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00129/2.265, allocations: 220.9 kB / 0.9751 GB, free: 72.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004564/2.265, allocations: 0.7614 MB / 0.9758 GB, free: 72.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01091/2.276, allocations: 7.889 MB / 0.9835 GB, free: 72.49 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0144/2.291, allocations: 14.02 MB / 0.9972 GB, free: 64.67 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01621/2.307, allocations: 10.13 MB / 1.007 GB, free: 64.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004496/2.308, allocations: 61.59 kB / 1.007 GB, free: 64.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=1429) (initialization): time 0.08697/2.395, allocations: 35.12 MB / 1.041 GB, free: 56.43 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003226/2.395, allocations: 102.4 kB / 1.042 GB, free: 56.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02953/2.424, allocations: 15.02 MB / 1.056 GB, free: 51.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04492/2.469, allocations: 13.92 MB / 1.07 GB, free: 49.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008929/2.478, allocations: 2.622 MB / 1.072 GB, free: 47.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0652/2.544, allocations: 54.99 MB / 1.126 GB, free: 14.85 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2176/2.761, allocations: 1.443 MB / 1.128 GB, free: 75.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004148/2.766, allocations: 0.6484 MB / 1.128 GB, free: 75.57 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 () * Number of clocked 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.01218/2.778, allocations: 4.041 MB / 1.132 GB, free: 75.44 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002634/2.78, allocations: 0.6827 MB / 1.133 GB, free: 75.44 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03645/2.817, allocations: 11.92 MB / 1.144 GB, free: 75.29 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06838/2.885, allocations: 25.2 MB / 1.169 GB, free: 75.01 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001322/2.885, allocations: 27.38 kB / 1.169 GB, free: 75.01 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001156/2.886, allocations: 17.77 kB / 1.169 GB, free: 75.01 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1005/2.986, allocations: 47.21 MB / 1.215 GB, free: 62.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.201e-05/2.986, allocations: 6.781 kB / 1.215 GB, free: 62.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00357/2.99, allocations: 0.7264 MB / 1.216 GB, free: 62.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04198/3.032, allocations: 13.3 MB / 1.229 GB, free: 59.34 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001418/3.033, allocations: 111.9 kB / 1.229 GB, free: 59.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05991/3.093, allocations: 51.01 MB / 1.279 GB, free: 8.047 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001974/3.095, allocations: 2.969 MB / 1.282 GB, free: 4.848 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2851/3.38, allocations: 36.47 MB / 1.317 GB, free: 85.83 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003085/3.383, allocations: 0.7275 MB / 1.318 GB, free: 85.73 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003615/3.387, allocations: 82.61 kB / 1.318 GB, free: 85.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00839/3.395, allocations: 0.8245 MB / 1.319 GB, free: 85.73 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002042/3.397, allocations: 316.8 kB / 1.319 GB, free: 85.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007667/3.398, allocations: 134.8 kB / 1.319 GB, free: 85.73 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.01184/3.41, allocations: 4.826 MB / 1.324 GB, free: 85.52 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.72e-07/3.41, allocations: 0 / 1.324 GB, free: 85.52 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01552/3.426, allocations: 2.933 MB / 1.327 GB, free: 85.52 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 () * Number of clocked 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.001478/3.427, allocations: 249.5 kB / 1.327 GB, free: 85.43 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02621/3.453, allocations: 19.05 MB / 1.346 GB, free: 83.44 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/3.453, allocations: 0 / 1.346 GB, free: 83.44 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01106/3.465, allocations: 8.525 MB / 1.354 GB, free: 79.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006829/3.471, allocations: 0.8638 MB / 1.355 GB, free: 79.25 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05418/3.526, allocations: 29.52 MB / 1.384 GB, free: 66.15 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01022/3.536, allocations: 6.327 MB / 1.39 GB, free: 63.39 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0099/3.546, allocations: 3.45 MB / 1.393 GB, free: 61.09 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002093/3.548, allocations: 443 kB / 1.394 GB, free: 60.69 MB / 458.7 MB Notification: Performance of SimCode: time 1.172e-06/3.548, allocations: 0 / 1.394 GB, free: 60.69 MB / 458.7 MB Notification: Performance of Templates: time 0.4215/3.969, allocations: 147.1 MB / 1.537 GB, free: 67.15 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)