Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=5000,variableFilter="time|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.|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.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.|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.",fileNamePrefix="Modelica_3.2.3_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.00127/0.00127, allocations: 106.3 kB / 18.4 MB, free: 4.664 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.001224/0.001224, allocations: 188.3 kB / 19.34 MB, free: 3.742 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.238/1.238, allocations: 205.1 MB / 225.2 MB, free: 12.27 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.001182/0.001182, allocations: 47.94 kB / 329.2 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07351/0.0747, allocations: 46.62 MB / 375.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.1525/0.2272, allocations: 6.993 MB / 382.8 MB, free: 9.629 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004401/0.2316, allocations: 3.087 MB / 385.9 MB, free: 8.324 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003522/0.232, allocations: 35.84 kB / 385.9 MB, free: 8.316 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001215/0.2333, allocations: 0.6671 MB / 386.6 MB, free: 8.078 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002214/0.2355, allocations: 1.392 MB / 388 MB, free: 7.504 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007948/0.2363, allocations: 0.4948 MB / 388.5 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002997/0.2393, allocations: 3.132 MB / 391.6 MB, free: 6.32 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005543/0.2399, allocations: 458 kB / 392.1 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008127/0.2407, allocations: 0.8003 MB / 392.9 MB, free: 5.828 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0013/0.242, allocations: 1.219 MB / 394.1 MB, free: 5.418 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002723/0.2423, allocations: 129.5 kB / 394.2 MB, free: 5.418 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001575/0.2439, allocations: 0.9494 MB / 395.2 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009049/0.2448, allocations: 1.093 MB / 396.3 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008236/0.2456, allocations: 1.227 MB / 397.5 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002996/0.2486, allocations: 4.042 MB / 401.5 MB, free: 1.543 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2486, allocations: 1.25 kB / 401.5 MB, free: 1.543 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2486, allocations: 0 / 401.5 MB, free: 1.543 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.127e-05/0.2487, allocations: 3.938 kB / 401.5 MB, free: 1.539 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.005478/0.2542, allocations: 3.213 MB / 404.8 MB, free: 15.3 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.2542, allocations: 9.312 kB / 404.8 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007918/0.2621, allocations: 1.889 MB / 406.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002897/0.2651, allocations: 1.75 MB / 408.4 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-05/0.2652, allocations: 118.2 kB / 408.5 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008631/0.266, allocations: 305.2 kB / 408.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01352/0.2796, allocations: 8.22 MB / 417 MB, free: 5.605 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.214e-05/0.2796, allocations: 35.66 kB / 417.1 MB, free: 5.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002641/0.2799, allocations: 83.89 kB / 417.2 MB, free: 5.488 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002185/0.2821, allocations: 1.393 MB / 418.5 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01683/0.299, allocations: 9.544 MB / 428.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03114/0.3301, allocations: 30.53 MB / 458.6 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01184/0.342, allocations: 4.384 MB / 463 MB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002702/0.3447, allocations: 2.115 MB / 465.1 MB, free: 4.484 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.629e-05/0.3448, allocations: 15.98 kB / 465.1 MB, free: 4.469 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.3448, allocations: 50.55 kB / 465.2 MB, free: 4.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=122): time 3.607e-06/0.3448, allocations: 4 kB / 465.2 MB, free: 4.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=124): time 0.0439/0.3887, allocations: 17.54 MB / 482.7 MB, free: 2.582 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.612e-05/0.3888, allocations: 170.2 kB / 482.9 MB, free: 2.379 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003738/0.3926, allocations: 3.002 MB / 485.9 MB, free: 15.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001757/0.3928, allocations: 45.69 kB / 485.9 MB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00125/0.394, allocations: 2.075 MB / 488 MB, free: 13.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000489/0.3945, allocations: 0.5363 MB / 488.6 MB, free: 12.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001348/0.3959, allocations: 0.9758 MB / 489.5 MB, free: 11.67 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.708e-05/0.396, allocations: 309.1 kB / 489.8 MB, free: 11.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003414/0.3994, allocations: 2.43 MB / 492.3 MB, free: 8.926 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005159/0.4046, allocations: 5.384 MB / 497.7 MB, free: 2.066 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009029/0.4136, allocations: 8.287 MB / 0.4941 GB, free: 8.312 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-05/0.4137, allocations: 32 kB / 0.4941 GB, free: 8.281 MB / 430.1 MB Notification: Performance of matching and sorting (n=626) (initialization): time 0.03009/0.4438, allocations: 11.34 MB / 0.5052 GB, free: 12.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.899e-05/0.4438, allocations: 48.22 kB / 0.5052 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02235/0.4662, allocations: 6.581 MB / 0.5117 GB, free: 6.242 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02272/0.4889, allocations: 4.542 MB / 0.5161 GB, free: 1.668 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004134/0.4931, allocations: 1.22 MB / 0.5173 GB, free: 456 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0171/0.5102, allocations: 12.54 MB / 0.5295 GB, free: 3.348 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004689/0.5149, allocations: 475.2 kB / 0.53 GB, free: 2.883 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009318/0.5159, allocations: 300 kB / 0.5303 GB, free: 2.59 MB / 462.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 (582): * Single equations (assignments): 571 * 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 {(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.002772/0.5186, allocations: 1.408 MB / 0.5316 GB, free: 1.168 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005881/0.5192, allocations: 252.7 kB / 0.5319 GB, free: 0.918 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009658/0.5202, allocations: 415.2 kB / 0.5323 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.5202, allocations: 11.92 kB / 0.5323 GB, free: 0.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.5202, allocations: 0 / 0.5323 GB, free: 0.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004944/0.5207, allocations: 313.7 kB / 0.5326 GB, free: 176 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004501/0.5212, allocations: 35.98 kB / 0.5326 GB, free: 140 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001895/0.5231, allocations: 263.5 kB / 0.5329 GB, free: 15.88 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003526/0.5235, allocations: 87.8 kB / 0.533 GB, free: 15.79 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008642/0.5321, allocations: 4.942 MB / 0.5378 GB, free: 10.81 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007467/0.5396, allocations: 6.033 MB / 0.5437 GB, free: 4.746 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002018/0.5416, allocations: 1.625 MB / 0.5453 GB, free: 3.121 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00285/0.5445, allocations: 1.886 MB / 0.5471 GB, free: 1.23 MB / 478.1 MB Notification: Performance of Backend: time 1.543e-06/0.5445, allocations: 0 / 0.5471 GB, free: 1.23 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.1663/0.7109, allocations: 5.682 MB / 0.5527 GB, free: 149.1 MB / 478.1 MB Notification: Performance of SimCode: time 0.009638/0.7205, allocations: 7.11 MB / 0.5596 GB, free: 146.3 MB / 478.1 MB Notification: Performance of Templates: time 0.06585/0.7864, allocations: 55.93 MB / 0.6142 GB, free: 104.1 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1)