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.005792/0.005792, allocations: 165.3 kB / 15.11 MB, free: 5.973 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.246/1.246, allocations: 170.8 MB / 186.6 MB, free: 1.035 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.00165/0.00165, allocations: 109.4 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004551/0.000455, allocations: 19.98 kB / 274.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2735, allocations: 38.77 MB / 312.9 MB, free: 38.84 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1166/0.3901, allocations: 81.42 MB / 394.3 MB, free: 9.074 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/0.3905, allocations: 91.95 kB / 394.4 MB, free: 8.984 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8855/1.276, allocations: 184.2 MB / 0.565 GB, free: 39.12 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.558e-06/1.276, allocations: 1.219 kB / 0.565 GB, free: 39.12 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0007052/1.277, allocations: 161.4 kB / 0.5652 GB, free: 39.11 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.03889/1.316, allocations: 9.095 MB / 0.5741 GB, free: 35.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/1.316, allocations: 8.531 kB / 0.5741 GB, free: 35.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0273/1.343, allocations: 4.699 MB / 0.5787 GB, free: 35.1 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03233/1.375, allocations: 13.31 MB / 0.5917 GB, free: 34.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009237/1.376, allocations: 0.6274 MB / 0.5923 GB, free: 34.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005553/1.382, allocations: 0.8733 MB / 0.5931 GB, free: 34.04 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08201/1.464, allocations: 27.97 MB / 0.6204 GB, free: 27.12 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008146/1.465, allocations: 133 kB / 0.6206 GB, free: 27.1 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00456/1.469, allocations: 400.7 kB / 0.621 GB, free: 26.88 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004214/1.474, allocations: 2.137 MB / 0.623 GB, free: 25.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0661/1.54, allocations: 29.82 MB / 0.6522 GB, free: 1.852 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4214/1.961, allocations: 112.3 MB / 0.7619 GB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06668/2.028, allocations: 19.39 MB / 0.7808 GB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007819/2.029, allocations: 381.3 kB / 0.7812 GB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.891e-05/2.029, allocations: 66.03 kB / 0.7812 GB, free: 13.35 MB / 394.7 MB Notification: Performance of pre-optimization done (n=314): time 5.47e-06/2.029, allocations: 3.75 kB / 0.7812 GB, free: 13.35 MB / 394.7 MB Notification: Performance of matching and sorting (n=413): time 0.6312/2.66, allocations: 132 MB / 0.9101 GB, free: 67.53 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002632/2.663, allocations: 3.142 MB / 0.9132 GB, free: 64.2 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01559/2.678, allocations: 6.766 MB / 0.9198 GB, free: 58.71 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001664/2.68, allocations: 89.48 kB / 0.9199 GB, free: 58.62 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004396/2.685, allocations: 5.894 MB / 0.9256 GB, free: 53.77 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003094/2.688, allocations: 1.576 MB / 0.9272 GB, free: 52.37 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001645/2.689, allocations: 218.3 kB / 0.9274 GB, free: 52.16 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0005503/2.69, allocations: 0.7727 MB / 0.9281 GB, free: 51.52 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01101/2.701, allocations: 7.879 MB / 0.9358 GB, free: 44.85 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01516/2.716, allocations: 14.02 MB / 0.9495 GB, free: 29.49 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01467/2.731, allocations: 10.12 MB / 0.9594 GB, free: 20.7 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002397/2.731, allocations: 60 kB / 0.9595 GB, free: 20.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=1429) (initialization): time 0.3261/3.057, allocations: 35.02 MB / 0.9937 GB, free: 65.44 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001429/3.057, allocations: 98.75 kB / 0.9938 GB, free: 65.44 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03004/3.087, allocations: 14.95 MB / 1.008 GB, free: 65.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04758/3.135, allocations: 13.84 MB / 1.022 GB, free: 65.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009889/3.145, allocations: 2.64 MB / 1.024 GB, free: 64.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1175/3.263, allocations: 54.48 MB / 1.078 GB, free: 30.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02426/3.287, allocations: 1.441 MB / 1.079 GB, free: 29.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003924/3.291, allocations: 0.6509 MB / 1.08 GB, free: 29.13 MB / 394.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 (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.01546/3.306, allocations: 4.029 MB / 1.084 GB, free: 25.23 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003665/3.31, allocations: 0.6924 MB / 1.084 GB, free: 24.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06297/3.373, allocations: 11.91 MB / 1.096 GB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3366/3.71, allocations: 25.2 MB / 1.121 GB, free: 76.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002187/3.71, allocations: 28.41 kB / 1.121 GB, free: 76.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002178/3.71, allocations: 17.11 kB / 1.121 GB, free: 76.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1105/3.821, allocations: 47.22 MB / 1.167 GB, free: 73.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.949e-05/3.821, allocations: 3.938 kB / 1.167 GB, free: 73.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004032/3.825, allocations: 0.7238 MB / 1.167 GB, free: 73.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04455/3.87, allocations: 13.3 MB / 1.18 GB, free: 71.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001717/3.871, allocations: 119.2 kB / 1.181 GB, free: 71.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0729/3.944, allocations: 51 MB / 1.23 GB, free: 35.35 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001653/3.946, allocations: 2.973 MB / 1.233 GB, free: 32.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3375/4.283, allocations: 36.45 MB / 1.269 GB, free: 70.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003683/4.287, allocations: 0.7215 MB / 1.27 GB, free: 69.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003629/4.291, allocations: 87.67 kB / 1.27 GB, free: 69.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009623/4.301, allocations: 0.8283 MB / 1.27 GB, free: 69.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002451/4.303, allocations: 316.4 kB / 1.271 GB, free: 69.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001009/4.304, allocations: 129.1 kB / 1.271 GB, free: 69.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.01355/4.318, allocations: 4.828 MB / 1.276 GB, free: 69.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.91e-07/4.318, allocations: 0 / 1.276 GB, free: 69.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01841/4.336, allocations: 2.928 MB / 1.278 GB, free: 69.77 MB / 410.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.002222/4.338, allocations: 246.7 kB / 1.279 GB, free: 69.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.03316/4.371, allocations: 18.89 MB / 1.297 GB, free: 68.85 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/4.372, allocations: 0 / 1.297 GB, free: 68.85 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01331/4.385, allocations: 8.535 MB / 1.305 GB, free: 68.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007313/4.392, allocations: 0.873 MB / 1.306 GB, free: 67.92 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06466/4.457, allocations: 29.49 MB / 1.335 GB, free: 54.67 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01519/4.472, allocations: 6.335 MB / 1.341 GB, free: 52.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.01247/4.485, allocations: 3.454 MB / 1.345 GB, free: 52.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002692/4.487, allocations: 443.6 kB / 1.345 GB, free: 52.16 MB / 410.7 MB Notification: Performance of SimCode: time 1.633e-06/4.487, allocations: 0 / 1.345 GB, free: 52.16 MB / 410.7 MB Notification: Performance of Templates: time 0.443/4.93, allocations: 146.4 MB / 1.488 GB, free: 45.11 MB / 410.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)