Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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.2_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.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 111.8 kB / 17.06 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 198.9 kB / 18 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.459/1.459, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 47.94 kB / 327.9 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09241/0.09375, allocations: 46.61 MB / 374.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.2032/0.297, allocations: 6.998 MB / 381.5 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00567/0.3028, allocations: 3.086 MB / 384.6 MB, free: 8.344 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001039/0.3038, allocations: 34.88 kB / 384.6 MB, free: 8.336 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001547/0.3054, allocations: 0.6719 MB / 385.3 MB, free: 8.09 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003747/0.3092, allocations: 1.388 MB / 386.7 MB, free: 7.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.3103, allocations: 0.492 MB / 387.2 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004541/0.3149, allocations: 3.141 MB / 390.3 MB, free: 6.332 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000909/0.3158, allocations: 449.2 kB / 390.7 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00158/0.3174, allocations: 0.8058 MB / 391.5 MB, free: 5.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001801/0.3192, allocations: 1.218 MB / 392.8 MB, free: 5.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000372/0.3196, allocations: 129.6 kB / 392.9 MB, free: 5.43 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002185/0.3218, allocations: 0.9403 MB / 393.8 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001282/0.3231, allocations: 1.098 MB / 394.9 MB, free: 4.852 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001512/0.3246, allocations: 1.223 MB / 396.1 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00652/0.3311, allocations: 4.05 MB / 400.2 MB, free: 1.559 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.3312, allocations: 0 / 400.2 MB, free: 1.559 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.3312, allocations: 1 kB / 400.2 MB, free: 1.559 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001571/0.3313, allocations: 0 / 400.2 MB, free: 1.559 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 911 * Number of variables: 911 Notification: Performance of Generate backend data structure: time 0.008636/0.34, allocations: 3.214 MB / 403.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.34, allocations: 9.625 kB / 403.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00911/0.3492, allocations: 1.889 MB / 405.3 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007232/0.3564, allocations: 1.747 MB / 407.1 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001924/0.3567, allocations: 121.5 kB / 407.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001594/0.3583, allocations: 299.1 kB / 407.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02371/0.382, allocations: 8.232 MB / 415.7 MB, free: 5.605 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-05/0.3821, allocations: 31.66 kB / 415.7 MB, free: 5.574 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003967/0.3826, allocations: 75.89 kB / 415.8 MB, free: 5.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003277/0.3859, allocations: 1.401 MB / 417.2 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02684/0.4127, allocations: 9.544 MB / 426.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05133/0.4641, allocations: 30.53 MB / 457.3 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01868/0.4828, allocations: 4.387 MB / 461.7 MB, free: 6.621 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004792/0.4877, allocations: 2.11 MB / 463.8 MB, free: 4.496 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001413/0.4878, allocations: 23.91 kB / 463.8 MB, free: 4.473 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.392e-05/0.4879, allocations: 42.56 kB / 463.8 MB, free: 4.422 MB / 382.1 MB Notification: Performance of pre-optimization done (n=122): time 4.83e-06/0.4879, allocations: 0 / 463.8 MB, free: 4.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=136): time 0.05543/0.5433, allocations: 18.33 MB / 482.2 MB, free: 1.801 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002525/0.5459, allocations: 3.238 MB / 485.4 MB, free: 14.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004481/0.5504, allocations: 3.002 MB / 488.4 MB, free: 11.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008437/0.5513, allocations: 45.61 kB / 488.5 MB, free: 11.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001517/0.5528, allocations: 2.075 MB / 490.5 MB, free: 9.051 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001039/0.5539, allocations: 0.571 MB / 491.1 MB, free: 8.473 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001642/0.5555, allocations: 1.015 MB / 492.1 MB, free: 7.445 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.286e-05/0.5556, allocations: 301.1 kB / 492.4 MB, free: 7.148 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003965/0.5596, allocations: 2.637 MB / 495.1 MB, free: 4.504 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006435/0.566, allocations: 5.581 MB / 0.4889 GB, free: 13.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01135/0.5774, allocations: 8.627 MB / 0.4973 GB, free: 3.355 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.434e-05/0.5775, allocations: 32 kB / 0.4974 GB, free: 3.324 MB / 430.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.03491/0.6124, allocations: 11.78 MB / 0.5089 GB, free: 7.504 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.492e-05/0.6126, allocations: 56 kB / 0.5089 GB, free: 7.449 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02428/0.6368, allocations: 7.002 MB / 0.5157 GB, free: 428 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02353/0.6604, allocations: 4.546 MB / 0.5202 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004733/0.6652, allocations: 1.248 MB / 0.5214 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0174/0.6826, allocations: 12.54 MB / 0.5337 GB, free: 13.48 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005737/0.6884, allocations: 0.581 MB / 0.5342 GB, free: 12.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001228/0.6896, allocations: 312 kB / 0.5345 GB, free: 12.59 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 475 * Number of states: 0 () * Number of discrete variables: 18 (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.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (592): * Single equations (assignments): 577 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003881/0.6935, allocations: 1.422 MB / 0.5359 GB, free: 11.16 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009808/0.6945, allocations: 248.7 kB / 0.5361 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/0.6957, allocations: 415.2 kB / 0.5365 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01359/0.7093, allocations: 5.014 MB / 0.5414 GB, free: 5.453 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.916e-05/0.7095, allocations: 4 kB / 0.5414 GB, free: 5.449 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.545e-05/0.7096, allocations: 11.92 kB / 0.5415 GB, free: 5.438 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01636/0.7259, allocations: 5.346 MB / 0.5467 GB, free: 8 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-05/0.726, allocations: 3.938 kB / 0.5467 GB, free: 4 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2402/0.9662, allocations: 366.6 kB / 0.547 GB, free: 151.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01016/0.9764, allocations: 2.384 MB / 0.5494 GB, free: 151.7 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008602/0.9773, allocations: 46.14 kB / 0.5494 GB, free: 151.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01043/0.9877, allocations: 9.438 MB / 0.5586 GB, free: 146.2 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001661/0.9894, allocations: 3.079 MB / 0.5616 GB, free: 143.3 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01925/1.009, allocations: 8.771 MB / 0.5702 GB, free: 140.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001075/1.01, allocations: 328.4 kB / 0.5705 GB, free: 140.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005664/1.01, allocations: 37.19 kB / 0.5705 GB, free: 140.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002269/1.013, allocations: 317.9 kB / 0.5708 GB, free: 140.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005065/1.013, allocations: 113.6 kB / 0.5709 GB, free: 140.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002164/1.013, allocations: 52.83 kB / 0.571 GB, free: 140.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003043/1.016, allocations: 1.88 MB / 0.5728 GB, free: 140 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.3e-07/1.016, allocations: 0 / 0.5728 GB, free: 140 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005613/1.022, allocations: 1.007 MB / 0.5738 GB, free: 139.9 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.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],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.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 () * Number of clocked 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 (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(3,100.0%), (4,100.0%), (3,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005243/1.023, allocations: 166.3 kB / 0.574 GB, free: 139.8 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0113/1.034, allocations: 7.468 MB / 0.5813 GB, free: 137 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/1.034, allocations: 0 / 0.5813 GB, free: 137 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005961/1.04, allocations: 3.634 MB / 0.5848 GB, free: 135.4 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002697/1.043, allocations: 321.5 kB / 0.5851 GB, free: 135.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/1.054, allocations: 8.125 MB / 0.5931 GB, free: 128 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001924/1.056, allocations: 2.309 MB / 0.5953 GB, free: 125.6 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003332/1.06, allocations: 1.66 MB / 0.5969 GB, free: 124 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007328/1.06, allocations: 203.3 kB / 0.5971 GB, free: 123.8 MB / 478.1 MB Notification: Performance of SimCode: time 2.615e-06/1.06, allocations: 0 / 0.5971 GB, free: 123.8 MB / 478.1 MB Notification: Performance of Templates: time 0.05885/1.119, allocations: 43.84 MB / 0.6399 GB, free: 80.01 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1)