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.001057/0.001056, allocations: 164.4 kB / 7.635 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.271/1.271, allocations: 170.7 MB / 178.7 MB, free: 15.57 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.00157/0.00157, allocations: 107.4 kB / 218 MB, free: 8.344 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.604e-05/1.606e-05, allocations: 4 kB / 262.2 MB, free: 26.37 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06589/0.06592, allocations: 38.77 MB / 301 MB, free: 3.613 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2884/0.3543, allocations: 80.67 MB / 381.7 MB, free: 3.871 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/0.3546, allocations: 88.25 kB / 381.8 MB, free: 3.824 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6409/0.9955, allocations: 180.4 MB / 0.549 GB, free: 40.11 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.9956, allocations: 0 / 0.549 GB, free: 40.11 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005586/0.9962, allocations: 159.4 kB / 0.5492 GB, free: 39.96 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.03527/1.031, allocations: 8.394 MB / 0.5574 GB, free: 31.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/1.032, allocations: 8.031 kB / 0.5574 GB, free: 31.49 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02714/1.059, allocations: 4.704 MB / 0.562 GB, free: 26.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0303/1.089, allocations: 13.26 MB / 0.5749 GB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007178/1.09, allocations: 272 kB / 0.5752 GB, free: 13.28 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005382/1.095, allocations: 0.5152 MB / 0.5757 GB, free: 12.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2878/1.383, allocations: 17.92 MB / 0.5932 GB, free: 42.11 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04898/1.432, allocations: 23.43 MB / 0.6161 GB, free: 37.51 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006798/1.433, allocations: 129.1 kB / 0.6162 GB, free: 37.51 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003569/1.436, allocations: 52.03 kB / 0.6162 GB, free: 37.51 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003941/1.44, allocations: 2.137 MB / 0.6183 GB, free: 37.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3822/1.823, allocations: 110.2 MB / 0.726 GB, free: 70.47 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01706/1.84, allocations: 10.35 MB / 0.7361 GB, free: 69.78 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01276/1.853, allocations: 9.222 MB / 0.7451 GB, free: 69.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008173/1.853, allocations: 385.6 kB / 0.7454 GB, free: 69.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.444e-05/1.853, allocations: 71.91 kB / 0.7455 GB, free: 69.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=314): time 7.985e-06/1.854, allocations: 0 / 0.7455 GB, free: 69.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=411): time 0.2413/2.095, allocations: 105.7 MB / 0.8488 GB, free: 10.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.787e-05/2.095, allocations: 193.5 kB / 0.849 GB, free: 10.22 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008639/2.104, allocations: 5.54 MB / 0.8544 GB, free: 5.512 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001797/2.105, allocations: 29.7 kB / 0.8544 GB, free: 5.477 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003771/2.109, allocations: 5.924 MB / 0.8602 GB, free: 244 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.2318/2.341, allocations: 1.518 MB / 0.8617 GB, free: 83.17 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002794/2.344, allocations: 1.094 kB / 0.8617 GB, free: 83.17 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.001559/2.345, allocations: 0.7752 MB / 0.8624 GB, free: 82.85 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01364/2.359, allocations: 7.395 MB / 0.8696 GB, free: 82.82 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01616/2.375, allocations: 13.61 MB / 0.8829 GB, free: 74.83 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01282/2.388, allocations: 9.681 MB / 0.8924 GB, free: 74.77 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002951/2.389, allocations: 63.38 kB / 0.8924 GB, free: 74.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=1451) (initialization): time 0.07828/2.467, allocations: 32.98 MB / 0.9247 GB, free: 68.76 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001565/2.467, allocations: 97.81 kB / 0.9247 GB, free: 68.76 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02773/2.495, allocations: 14.73 MB / 0.9391 GB, free: 64.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0448/2.54, allocations: 13.63 MB / 0.9524 GB, free: 60.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00974/2.549, allocations: 2.676 MB / 0.9551 GB, free: 57.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3307/2.88, allocations: 48.98 MB / 1.003 GB, free: 67.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01504/2.895, allocations: 1.234 MB / 1.004 GB, free: 67.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004423/2.9, allocations: 0.6642 MB / 1.005 GB, free: 67.1 MB / 394.7 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 (1284): * Single equations (assignments): 1270 * 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.004852/2.905, allocations: 0.6725 MB / 1.005 GB, free: 66.97 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00239/2.907, allocations: 0.6251 MB / 1.006 GB, free: 66.97 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03635/2.943, allocations: 11.61 MB / 1.017 GB, free: 66.82 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0604/3.004, allocations: 24.8 MB / 1.042 GB, free: 66.54 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.637e-05/3.004, allocations: 27.81 kB / 1.042 GB, free: 66.54 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001217/3.004, allocations: 18.8 kB / 1.042 GB, free: 66.54 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09415/3.098, allocations: 45.72 MB / 1.086 GB, free: 53.49 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.364e-05/3.098, allocations: 7.312 kB / 1.086 GB, free: 53.49 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00378/3.102, allocations: 0.7233 MB / 1.087 GB, free: 53.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04336/3.145, allocations: 13.12 MB / 1.1 GB, free: 41.44 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001428/3.147, allocations: 63.86 kB / 1.1 GB, free: 41.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2623/3.409, allocations: 45.98 MB / 1.145 GB, free: 65.08 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00172/3.411, allocations: 2.838 MB / 1.148 GB, free: 62.51 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07063/3.482, allocations: 35.74 MB / 1.182 GB, free: 61.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001959/3.484, allocations: 0.6474 MB / 1.183 GB, free: 61 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002477/3.486, allocations: 20.67 kB / 1.183 GB, free: 61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007561/3.494, allocations: 0.7599 MB / 1.184 GB, free: 61 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001737/3.495, allocations: 313.5 kB / 1.184 GB, free: 61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006469/3.496, allocations: 130.9 kB / 1.184 GB, free: 61 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00609/3.502, allocations: 3.738 MB / 1.188 GB, free: 60.78 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.1e-07/3.502, allocations: 2.969 kB / 1.188 GB, free: 60.78 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01222/3.514, allocations: 2.663 MB / 1.19 GB, free: 60.78 MB / 394.7 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.001247/3.516, allocations: 185.7 kB / 1.191 GB, free: 60.7 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.02185/3.538, allocations: 17.84 MB / 1.208 GB, free: 54.4 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/3.538, allocations: 0 / 1.208 GB, free: 54.4 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01107/3.549, allocations: 8.242 MB / 1.216 GB, free: 50.64 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005708/3.554, allocations: 0.667 MB / 1.217 GB, free: 50.37 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04516/3.6, allocations: 22.58 MB / 1.239 GB, free: 36.46 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009024/3.609, allocations: 6.321 MB / 1.245 GB, free: 31.86 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.009377/3.618, allocations: 3.429 MB / 1.248 GB, free: 29.58 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001711/3.62, allocations: 416.1 kB / 1.249 GB, free: 29.2 MB / 394.7 MB Notification: Performance of SimCode: time 6.51e-07/3.62, allocations: 2.625 kB / 1.249 GB, free: 29.2 MB / 394.7 MB Notification: Performance of Templates: time 0.3775/3.997, allocations: 133.7 MB / 1.379 GB, free: 27.07 MB / 394.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)