Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6564/0.6564, allocations: 110.8 MB / 118.3 MB, free: 10.57 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001528/0.001528, allocations: 155.4 kB / 144 MB, free: 9.816 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.176e-05/1.177e-05, allocations: 0 / 173.9 MB, free: 11.88 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0417/0.04173, allocations: 25.17 MB / 199 MB, free: 2.664 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1508/0.1926, allocations: 46.62 MB / 245.7 MB, free: 9.359 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/0.1928, allocations: 73.09 kB / 245.7 MB, free: 9.289 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.511/1.704, allocations: 382.9 MB / 0.6139 GB, free: 12.91 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.204e-06/1.704, allocations: 0 / 0.6139 GB, free: 12.91 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0004829/1.704, allocations: 214.8 kB / 0.6141 GB, free: 12.91 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4074 * Number of variables: 4074 Notification: Performance of Generate backend data structure: time 0.05983/1.764, allocations: 15.09 MB / 0.6288 GB, free: 8.496 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/1.764, allocations: 15.59 kB / 0.6288 GB, free: 8.492 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4753/2.239, allocations: 45.44 MB / 0.6732 GB, free: 28.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04094/2.28, allocations: 17.1 MB / 0.6899 GB, free: 27.64 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001042/2.281, allocations: 390.7 kB / 0.6903 GB, free: 27.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01148/2.293, allocations: 0.68 MB / 0.691 GB, free: 27.62 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0623/2.355, allocations: 37.12 MB / 0.7272 GB, free: 18.76 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1138/2.469, allocations: 42.07 MB / 0.7683 GB, free: 6.223 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008287/2.47, allocations: 95.06 kB / 0.7684 GB, free: 6.164 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009001/2.479, allocations: 43.86 kB / 0.7684 GB, free: 6.125 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2596/2.739, allocations: 18.37 MB / 0.7864 GB, free: 39.14 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.309/4.048, allocations: 268.3 MB / 1.048 GB, free: 21.39 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01906/4.067, allocations: 16 MB / 1.064 GB, free: 19.69 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01499/4.082, allocations: 13.44 MB / 1.077 GB, free: 9.164 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009383/4.083, allocations: 434.6 kB / 1.078 GB, free: 8.738 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.108e-05/4.083, allocations: 108.7 kB / 1.078 GB, free: 8.625 MB / 298.7 MB Notification: Performance of pre-optimization done (n=701): time 1.57e-05/4.083, allocations: 0 / 1.078 GB, free: 8.625 MB / 298.7 MB Notification: Performance of matching and sorting (n=814): time 0.6506/4.734, allocations: 151.1 MB / 1.225 GB, free: 63.44 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001612/4.734, allocations: 409.9 kB / 1.226 GB, free: 63.02 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01675/4.751, allocations: 7.257 MB / 1.233 GB, free: 62.54 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.003008/4.754, allocations: 29.55 kB / 1.233 GB, free: 62.5 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00627/4.76, allocations: 7.458 MB / 1.24 GB, free: 58.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004923/4.765, allocations: 2.836 MB / 1.243 GB, free: 57.13 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003234/4.768, allocations: 4.594 kB / 1.243 GB, free: 57.13 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.001652/4.77, allocations: 1.01 MB / 1.244 GB, free: 56.79 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01821/4.788, allocations: 11.85 MB / 1.255 GB, free: 55.93 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0239/4.812, allocations: 20.06 MB / 1.275 GB, free: 40.35 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02013/4.832, allocations: 14.04 MB / 1.289 GB, free: 35.35 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005681/4.833, allocations: 79.91 kB / 1.289 GB, free: 35.35 MB / 314.7 MB Notification: Performance of matching and sorting (n=2188) (initialization): time 0.3053/5.138, allocations: 43.18 MB / 1.331 GB, free: 49.8 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002803/5.139, allocations: 129.4 kB / 1.331 GB, free: 49.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03699/5.176, allocations: 18.95 MB / 1.35 GB, free: 49.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04822/5.224, allocations: 13.71 MB / 1.363 GB, free: 48.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0169/5.241, allocations: 4.124 MB / 1.367 GB, free: 48.67 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06197/5.303, allocations: 49.09 MB / 1.415 GB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02977/5.333, allocations: 3.525 MB / 1.418 GB, free: 16.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005373/5.338, allocations: 1.242 MB / 1.42 GB, free: 14.98 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1314 * 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 (1943): * Single equations (assignments): 1890 * Array equations: 46 * 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%) 36,(3,100.0%) 3,(6,100.0%) 66} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.00634/5.344, allocations: 0.8588 MB / 1.42 GB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003304/5.348, allocations: 0.8273 MB / 1.421 GB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2411/5.589, allocations: 14.22 MB / 1.435 GB, free: 51.17 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.09682/5.686, allocations: 34.32 MB / 1.469 GB, free: 50.8 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001347/5.686, allocations: 33.08 kB / 1.469 GB, free: 50.8 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003126/5.686, allocations: 39.48 kB / 1.469 GB, free: 50.8 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4125/6.099, allocations: 81.25 MB / 1.548 GB, free: 42.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001843/6.099, allocations: 24.84 kB / 1.548 GB, free: 42.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007911/6.107, allocations: 1.218 MB / 1.549 GB, free: 42.78 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04819/6.155, allocations: 12.55 MB / 1.561 GB, free: 42.73 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003046/6.158, allocations: 207.9 kB / 1.562 GB, free: 42.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06592/6.224, allocations: 43.66 MB / 1.604 GB, free: 31.85 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001533/6.226, allocations: 2.879 MB / 1.607 GB, free: 29.13 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.323/6.549, allocations: 50.53 MB / 1.656 GB, free: 41.81 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004166/6.553, allocations: 1.055 MB / 1.657 GB, free: 41.72 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005651/6.559, allocations: 53.42 kB / 1.658 GB, free: 41.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02215/6.581, allocations: 2.537 MB / 1.66 GB, free: 41.72 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003602/6.585, allocations: 0.5818 MB / 1.661 GB, free: 41.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002908/6.587, allocations: 0.4947 MB / 1.661 GB, free: 41.71 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.01269/6.6, allocations: 4.865 MB / 1.666 GB, free: 41.46 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.31e-07/6.6, allocations: 0 / 1.666 GB, free: 41.46 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.02618/6.626, allocations: 3.521 MB / 1.669 GB, free: 41.46 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 107 * 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 (637): * Single equations (assignments): 613 * Array equations: 18 * 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.003723/6.63, allocations: 255 kB / 1.669 GB, free: 41.36 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0381/6.668, allocations: 26.62 MB / 1.695 GB, free: 35.96 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.349e-05/6.668, allocations: 5.875 kB / 1.695 GB, free: 35.96 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01676/6.685, allocations: 11.56 MB / 1.707 GB, free: 30.86 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01055/6.696, allocations: 0.7838 MB / 1.708 GB, free: 30.55 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08087/6.777, allocations: 30.31 MB / 1.737 GB, free: 12.7 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01866/6.795, allocations: 8.179 MB / 1.745 GB, free: 6.797 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.02433/6.82, allocations: 5.582 MB / 1.751 GB, free: 2.762 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008617/6.828, allocations: 1.188 MB / 1.752 GB, free: 1.871 MB / 314.7 MB Notification: Performance of SimCode: time 1.322e-06/6.828, allocations: 8 kB / 1.752 GB, free: 1.863 MB / 314.7 MB Notification: Performance of Templates: time 1.073/7.901, allocations: 215.4 MB / 1.962 GB, free: 18.41 MB / 330.8 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.pipe 2>&1)