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.001284/0.001284, allocations: 107.8 kB / 17.06 MB, free: 6.137 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.001107/0.001107, allocations: 188 kB / 18 MB, free: 5.219 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.416/1.416, 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.001106/0.001106, allocations: 55.92 kB / 327.9 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0875/0.08861, allocations: 46.61 MB / 374.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.178/0.2666, allocations: 6.993 MB / 381.5 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005628/0.2723, allocations: 3.089 MB / 384.6 MB, free: 8.348 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001241/0.2736, allocations: 36.62 kB / 384.6 MB, free: 8.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001957/0.2756, allocations: 0.6711 MB / 385.3 MB, free: 8.098 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004678/0.2803, allocations: 1.383 MB / 386.7 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.2816, allocations: 0.4978 MB / 387.2 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005441/0.2871, allocations: 3.133 MB / 390.3 MB, free: 6.344 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001116/0.2882, allocations: 456.6 kB / 390.7 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001637/0.2899, allocations: 0.7967 MB / 391.5 MB, free: 5.852 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001709/0.2916, allocations: 1.221 MB / 392.8 MB, free: 5.438 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003975/0.292, allocations: 130.4 kB / 392.9 MB, free: 5.438 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002596/0.2946, allocations: 0.9414 MB / 393.8 MB, free: 5.219 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001373/0.296, allocations: 1.095 MB / 394.9 MB, free: 4.863 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001403/0.2974, allocations: 1.224 MB / 396.1 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005103/0.3025, allocations: 4.045 MB / 400.2 MB, free: 1.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.3025, allocations: 0 / 400.2 MB, free: 1.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3025, allocations: 0 / 400.2 MB, free: 1.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.515e-05/0.3026, allocations: 1.031 kB / 400.2 MB, free: 1.57 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.007344/0.31, allocations: 3.217 MB / 403.4 MB, free: 15.33 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.31, allocations: 9.781 kB / 403.4 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008329/0.3184, allocations: 1.885 MB / 405.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003917/0.3223, allocations: 1.755 MB / 407.1 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/0.3224, allocations: 119.3 kB / 407.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009332/0.3234, allocations: 298.2 kB / 407.5 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01547/0.3389, allocations: 8.226 MB / 415.7 MB, free: 5.637 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.796e-05/0.339, allocations: 39.64 kB / 415.7 MB, free: 5.598 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002888/0.3393, allocations: 79.89 kB / 415.8 MB, free: 5.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002178/0.3415, allocations: 1.397 MB / 417.2 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01895/0.3604, allocations: 9.538 MB / 426.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03887/0.3993, allocations: 30.54 MB / 457.3 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01217/0.4116, allocations: 4.392 MB / 461.7 MB, free: 6.633 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003047/0.4146, allocations: 2.109 MB / 463.8 MB, free: 4.508 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.244e-05/0.4148, allocations: 15.98 kB / 463.8 MB, free: 4.492 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.4148, allocations: 46.5 kB / 463.8 MB, free: 4.438 MB / 382.1 MB Notification: Performance of pre-optimization done (n=122): time 3.186e-06/0.4148, allocations: 0 / 463.8 MB, free: 4.438 MB / 382.1 MB Notification: Performance of matching and sorting (n=136): time 0.05013/0.4649, allocations: 18.33 MB / 482.2 MB, free: 1.816 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002333/0.4673, allocations: 3.24 MB / 485.4 MB, free: 14.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004394/0.4717, allocations: 3.002 MB / 488.4 MB, free: 11.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007405/0.4725, allocations: 45.69 kB / 488.5 MB, free: 11.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00145/0.474, allocations: 2.079 MB / 490.5 MB, free: 9.059 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009545/0.4749, allocations: 0.5671 MB / 491.1 MB, free: 8.484 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00146/0.4764, allocations: 1.008 MB / 492.1 MB, free: 7.465 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.039e-05/0.4765, allocations: 305.2 kB / 492.4 MB, free: 7.164 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003965/0.4805, allocations: 2.637 MB / 495 MB, free: 4.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00551/0.486, allocations: 5.581 MB / 0.4889 GB, free: 13.46 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01047/0.4965, allocations: 8.623 MB / 0.4973 GB, free: 3.375 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.056e-05/0.4966, allocations: 36 kB / 0.4974 GB, free: 3.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.04272/0.5393, allocations: 11.77 MB / 0.5088 GB, free: 7.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.174e-05/0.5395, allocations: 63.83 kB / 0.5089 GB, free: 7.457 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02408/0.5636, allocations: 7.002 MB / 0.5157 GB, free: 436 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02346/0.5871, allocations: 4.542 MB / 0.5202 GB, free: 11.85 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005113/0.5922, allocations: 1.247 MB / 0.5214 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01774/0.61, allocations: 12.55 MB / 0.5337 GB, free: 13.49 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005584/0.6156, allocations: 0.5732 MB / 0.5342 GB, free: 12.92 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007928/0.6164, allocations: 319.9 kB / 0.5345 GB, free: 12.61 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.002438/0.6189, allocations: 1.415 MB / 0.5359 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006091/0.6195, allocations: 256.7 kB / 0.5361 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009813/0.6205, allocations: 411.2 kB / 0.5365 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01239/0.6329, allocations: 5.018 MB / 0.5414 GB, free: 5.465 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.636e-05/0.6329, allocations: 4 kB / 0.5414 GB, free: 5.461 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.693e-05/0.633, allocations: 7.922 kB / 0.5414 GB, free: 5.453 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009482/0.6425, allocations: 5.351 MB / 0.5467 GB, free: 20 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.926e-06/0.6425, allocations: 3.938 kB / 0.5467 GB, free: 16 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2295/0.872, allocations: 367 kB / 0.547 GB, free: 151.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009614/0.8816, allocations: 2.38 MB / 0.5494 GB, free: 151.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005592/0.8822, allocations: 47.8 kB / 0.5494 GB, free: 151.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01005/0.8923, allocations: 9.442 MB / 0.5586 GB, free: 146 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001669/0.894, allocations: 3.072 MB / 0.5616 GB, free: 143.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01892/0.9129, allocations: 8.774 MB / 0.5702 GB, free: 140.6 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/0.914, allocations: 329.1 kB / 0.5705 GB, free: 140.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006454/0.9147, allocations: 35.53 kB / 0.5705 GB, free: 140.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002263/0.917, allocations: 320.8 kB / 0.5708 GB, free: 140.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004884/0.9175, allocations: 111.2 kB / 0.5709 GB, free: 140.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001898/0.9177, allocations: 54.58 kB / 0.571 GB, free: 140.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002789/0.9205, allocations: 1.877 MB / 0.5728 GB, free: 139.9 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.522e-06/0.9205, allocations: 0 / 0.5728 GB, free: 139.9 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005108/0.9256, allocations: 1.008 MB / 0.5738 GB, free: 139.8 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.0005461/0.9262, allocations: 170.1 kB / 0.574 GB, free: 139.6 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0141/0.9403, allocations: 7.461 MB / 0.5813 GB, free: 136.8 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.9403, allocations: 0 / 0.5813 GB, free: 136.8 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006114/0.9464, allocations: 3.646 MB / 0.5848 GB, free: 135.2 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002702/0.9492, allocations: 309.3 kB / 0.5851 GB, free: 135.1 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/0.9596, allocations: 8.123 MB / 0.5931 GB, free: 128 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00171/0.9614, allocations: 2.305 MB / 0.5953 GB, free: 125.7 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003425/0.9648, allocations: 1.663 MB / 0.5969 GB, free: 124 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007616/0.9656, allocations: 199.3 kB / 0.5971 GB, free: 123.8 MB / 478.1 MB Notification: Performance of SimCode: time 1.112e-06/0.9656, allocations: 0 / 0.5971 GB, free: 123.8 MB / 478.1 MB Notification: Performance of Templates: time 0.05785/1.023, allocations: 43.41 MB / 0.6395 GB, free: 80.41 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)