Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.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.PointGravity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001023/0.001023, allocations: 165.9 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.297/1.297, allocations: 170.7 MB / 178.7 MB, free: 15.58 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.00159/0.00159, allocations: 111.5 kB / 218 MB, free: 8.355 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.697e-05/1.698e-05, allocations: 4 kB / 262.2 MB, free: 26.4 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08426/0.08429, allocations: 38.78 MB / 301 MB, free: 3.637 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2852/0.3695, allocations: 75.02 MB / 376 MB, free: 9.508 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003229/0.3699, allocations: 81.45 kB / 376.1 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.156/0.5259, allocations: 58.26 MB / 434.3 MB, free: 4.984 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5259, allocations: 0 / 434.3 MB, free: 4.984 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.811e-05/0.526, allocations: 40 kB / 434.4 MB, free: 4.945 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 908 * Number of variables: 908 Notification: Performance of Generate backend data structure: time 0.01461/0.5406, allocations: 3.445 MB / 437.8 MB, free: 1.441 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.5407, allocations: 12.03 kB / 437.8 MB, free: 1.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01168/0.5524, allocations: 2.321 MB / 440.2 MB, free: 15.1 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01289/0.5653, allocations: 4.824 MB / 445 MB, free: 10.22 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/0.5655, allocations: 72 kB / 445.1 MB, free: 10.15 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001031/0.5665, allocations: 139.9 kB / 445.2 MB, free: 10.01 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007949/0.5745, allocations: 5.525 MB / 450.7 MB, free: 4.48 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009545/0.5841, allocations: 7.815 MB / 458.5 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.911e-05/0.5842, allocations: 47.53 kB / 458.6 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003047/0.5845, allocations: 24 kB / 458.6 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001038/0.5855, allocations: 0.7301 MB / 459.3 MB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2293/0.8149, allocations: 36.56 MB / 495.9 MB, free: 65.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00427/0.8192, allocations: 3.158 MB / 499.1 MB, free: 64.63 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002364/0.8216, allocations: 2.167 MB / 0.4895 GB, free: 64.59 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.634e-05/0.8217, allocations: 13.08 kB / 0.4895 GB, free: 64.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.8217, allocations: 50.08 kB / 0.4895 GB, free: 64.55 MB / 346.7 MB Notification: Performance of pre-optimization done (n=122): time 4.058e-06/0.8217, allocations: 0 / 0.4895 GB, free: 64.55 MB / 346.7 MB Notification: Performance of matching and sorting (n=136): time 0.02805/0.8498, allocations: 13.55 MB / 0.5028 GB, free: 62.24 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.8498, allocations: 174.8 kB / 0.5029 GB, free: 62.05 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002835/0.8527, allocations: 2.288 MB / 0.5052 GB, free: 61.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001866/0.8529, allocations: 25.7 kB / 0.5052 GB, free: 61.21 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009968/0.8539, allocations: 2.113 MB / 0.5073 GB, free: 59.81 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004858/0.8544, allocations: 0.5625 MB / 0.5078 GB, free: 59.43 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002164/0.8546, allocations: 0 / 0.5078 GB, free: 59.43 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002214/0.8548, allocations: 0.5161 MB / 0.5083 GB, free: 59.04 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002372/0.8572, allocations: 2.226 MB / 0.5105 GB, free: 58.29 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003431/0.8607, allocations: 5.208 MB / 0.5156 GB, free: 53.52 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003503/0.8642, allocations: 3.324 MB / 0.5188 GB, free: 52.55 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.894e-05/0.8642, allocations: 29.53 kB / 0.5188 GB, free: 52.55 MB / 346.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01508/0.8793, allocations: 8.516 MB / 0.5272 GB, free: 50.16 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.953e-05/0.8794, allocations: 57.44 kB / 0.5272 GB, free: 50.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009526/0.8889, allocations: 4.432 MB / 0.5315 GB, free: 47.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007456/0.8964, allocations: 2.161 MB / 0.5337 GB, free: 46.24 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00423/0.9007, allocations: 1.229 MB / 0.5349 GB, free: 45.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004713/0.9054, allocations: 7.127 MB / 0.5418 GB, free: 38.24 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005302/0.9107, allocations: 482.5 kB / 0.5423 GB, free: 37.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006548/0.9114, allocations: 318.8 kB / 0.5426 GB, free: 37.64 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 487 * Number of states: 0 () * Number of discrete variables: 15 (body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (602): * Single equations (assignments): 587 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007379/0.9121, allocations: 372.6 kB / 0.5429 GB, free: 37.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004005/0.9125, allocations: 238.8 kB / 0.5432 GB, free: 37.04 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007946/0.9133, allocations: 384.9 kB / 0.5435 GB, free: 36.69 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009703/0.9231, allocations: 4.519 MB / 0.5479 GB, free: 33.37 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.128e-05/0.9231, allocations: 4 kB / 0.5479 GB, free: 33.37 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.419e-05/0.9231, allocations: 3.609 kB / 0.548 GB, free: 33.37 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008377/0.9315, allocations: 5.005 MB / 0.5528 GB, free: 29.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.9316, allocations: 4 kB / 0.5528 GB, free: 29.15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001412/0.933, allocations: 283.5 kB / 0.5531 GB, free: 28.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007944/0.9409, allocations: 2.335 MB / 0.5554 GB, free: 26.52 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000323/0.9413, allocations: 31.94 kB / 0.5554 GB, free: 26.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006937/0.9482, allocations: 8.619 MB / 0.5638 GB, free: 17.42 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00125/0.9495, allocations: 2.778 MB / 0.5666 GB, free: 14.4 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01356/0.9631, allocations: 7.981 MB / 0.5743 GB, free: 6.336 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008588/0.964, allocations: 317.8 kB / 0.5747 GB, free: 6.004 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000725/0.9647, allocations: 15.98 kB / 0.5747 GB, free: 5.988 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002337/0.9671, allocations: 251.5 kB / 0.5749 GB, free: 5.742 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003301/0.9674, allocations: 103.8 kB / 0.575 GB, free: 5.641 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001438/0.9676, allocations: 43.97 kB / 0.575 GB, free: 5.598 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002014/0.9696, allocations: 1.522 MB / 0.5765 GB, free: 4.066 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.9696, allocations: 0 / 0.5765 GB, free: 4.066 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00403/0.9736, allocations: 0.8558 MB / 0.5774 GB, free: 3.215 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3],$STATESET0.x[3],$STATESET0.x[2],$STATESET0.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,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 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000424/0.9741, allocations: 153.4 kB / 0.5775 GB, free: 3.062 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.009615/0.9837, allocations: 6.207 MB / 0.5836 GB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.9837, allocations: 192 / 0.5836 GB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00619/0.9899, allocations: 3.331 MB / 0.5868 GB, free: 9.312 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002139/0.9921, allocations: 233.2 kB / 0.5871 GB, free: 9.086 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01519/1.007, allocations: 7.33 MB / 0.5942 GB, free: 1.801 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1911/1.198, allocations: 2.332 MB / 0.5965 GB, free: 92.17 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.005514/1.204, allocations: 1.67 MB / 0.5981 GB, free: 92.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007884/1.205, allocations: 183.9 kB / 0.5983 GB, free: 92.14 MB / 362.7 MB Notification: Performance of SimCode: time 8.51e-07/1.205, allocations: 0 / 0.5983 GB, free: 92.14 MB / 362.7 MB Notification: Performance of Templates: time 0.05056/1.255, allocations: 31.8 MB / 0.6294 GB, free: 90.34 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1)