Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001028/0.001028, allocations: 102.5 kB / 17.74 MB, free: 5.309 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.0009985/0.0009985, allocations: 197.2 kB / 18.67 MB, free: 4.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00101/0.00101, allocations: 47.92 kB / 352 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2146, allocations: 49.44 MB / 401.4 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.007452/0.2221, allocations: 6.978 MB / 408.4 MB, free: 1.836 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004993/0.2271, allocations: 3.092 MB / 411.5 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006373/0.2278, allocations: 39.88 kB / 411.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001348/0.2291, allocations: 0.6497 MB / 412.2 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002591/0.2317, allocations: 1.421 MB / 413.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008238/0.2326, allocations: 0.4913 MB / 414.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003338/0.2359, allocations: 3.123 MB / 417.2 MB, free: 8.992 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007114/0.2366, allocations: 455.1 kB / 417.7 MB, free: 8.535 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001197/0.2378, allocations: 0.7939 MB / 418.5 MB, free: 7.738 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001516/0.2394, allocations: 1.211 MB / 419.7 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002623/0.2396, allocations: 132 kB / 419.8 MB, free: 6.395 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001493/0.2411, allocations: 0.9554 MB / 420.8 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008529/0.242, allocations: 1.079 MB / 421.8 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009808/0.243, allocations: 1.234 MB / 423.1 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003456/0.2465, allocations: 4.033 MB / 427.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.2465, allocations: 8 kB / 427.1 MB, free: 15.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2465, allocations: 0 / 427.1 MB, free: 15.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.401e-05/0.2465, allocations: 0 / 427.1 MB, free: 15.06 MB / 350.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.005708/0.2522, allocations: 3.201 MB / 430.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.2523, allocations: 12.03 kB / 430.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008276/0.2606, allocations: 1.892 MB / 432.2 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002927/0.2635, allocations: 1.648 MB / 433.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.369e-05/0.2636, allocations: 110.6 kB / 434 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008514/0.2645, allocations: 299.5 kB / 434.3 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01332/0.2778, allocations: 8.23 MB / 442.5 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.59e-05/0.2779, allocations: 27.75 kB / 442.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002731/0.2782, allocations: 87.88 kB / 442.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002177/0.2804, allocations: 1.401 MB / 444 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01698/0.2973, allocations: 9.53 MB / 453.5 MB, free: 3.934 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03235/0.3297, allocations: 30.55 MB / 484.1 MB, free: 4.531 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01207/0.3418, allocations: 4.375 MB / 488.5 MB, free: 16 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002594/0.3444, allocations: 2.113 MB / 490.6 MB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.908e-05/0.3445, allocations: 13.05 kB / 490.6 MB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.3445, allocations: 50.5 kB / 490.6 MB, free: 13.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=122): time 3.606e-06/0.3446, allocations: 0 / 490.6 MB, free: 13.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=124): time 0.04503/0.3896, allocations: 17.5 MB / 0.4962 GB, free: 12.02 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.086e-05/0.3897, allocations: 166.2 kB / 0.4964 GB, free: 11.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004055/0.3938, allocations: 2.994 MB / 0.4993 GB, free: 8.801 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002412/0.394, allocations: 41.7 kB / 0.4993 GB, free: 8.754 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001371/0.3954, allocations: 2.087 MB / 0.5014 GB, free: 6.637 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005793/0.396, allocations: 0.517 MB / 0.5019 GB, free: 6.113 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001435/0.3974, allocations: 0.9836 MB / 0.5029 GB, free: 5.117 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.505e-05/0.3975, allocations: 305.1 kB / 0.5031 GB, free: 4.816 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003532/0.4011, allocations: 2.434 MB / 0.5055 GB, free: 2.375 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005211/0.4063, allocations: 5.38 MB / 0.5108 GB, free: 11.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008898/0.4152, allocations: 8.295 MB / 0.5189 GB, free: 1.762 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-05/0.4153, allocations: 32 kB / 0.5189 GB, free: 1.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=626) (initialization): time 0.02991/0.4452, allocations: 11.34 MB / 0.53 GB, free: 6.355 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.386e-05/0.4453, allocations: 52.17 kB / 0.53 GB, free: 6.305 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1962/0.6415, allocations: 6.573 MB / 0.5364 GB, free: 126.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0245/0.666, allocations: 4.549 MB / 0.5409 GB, free: 126.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004016/0.6701, allocations: 1.217 MB / 0.5421 GB, free: 126.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01511/0.6852, allocations: 12.53 MB / 0.5543 GB, free: 120.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004096/0.6893, allocations: 475.9 kB / 0.5548 GB, free: 120.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004136/0.6897, allocations: 297.2 kB / 0.555 GB, free: 120.2 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.001637/0.6914, allocations: 1.415 MB / 0.5564 GB, free: 119.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003918/0.6918, allocations: 253.6 kB / 0.5567 GB, free: 119.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008112/0.6926, allocations: 408.7 kB / 0.5571 GB, free: 119.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.6926, allocations: 8.219 kB / 0.5571 GB, free: 119.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.6926, allocations: 0 / 0.5571 GB, free: 119.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003346/0.693, allocations: 307.3 kB / 0.5574 GB, free: 119.1 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003789/0.6934, allocations: 43.2 kB / 0.5574 GB, free: 119.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001765/0.6951, allocations: 267.2 kB / 0.5577 GB, free: 119.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003294/0.6955, allocations: 89.61 kB / 0.5577 GB, free: 119.1 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00735/0.7028, allocations: 4.933 MB / 0.5626 GB, free: 114.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00586/0.7087, allocations: 6.034 MB / 0.5685 GB, free: 109 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001592/0.7103, allocations: 1.625 MB / 0.57 GB, free: 107.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002036/0.7123, allocations: 1.863 MB / 0.5719 GB, free: 105.5 MB / 462.1 MB Notification: Performance of Backend: time 4.2e-07/0.7124, allocations: 6.844 kB / 0.5719 GB, free: 105.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009664/0.722, allocations: 5.693 MB / 0.5774 GB, free: 99.73 MB / 462.1 MB Notification: Performance of SimCode: time 0.007559/0.7296, allocations: 7.079 MB / 0.5843 GB, free: 92.64 MB / 462.1 MB Notification: Performance of Templates: time 0.06212/0.7917, allocations: 55.08 MB / 0.6381 GB, free: 37.66 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1)