Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.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.1_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.0009464/0.0009462, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001124/0.001124, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.506/1.506, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.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.0004577/0.0004578, allocations: 12 kB / 278.9 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2215, allocations: 47.58 MB / 326.5 MB, free: 1.438 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.01344/0.235, allocations: 12.53 MB / 339 MB, free: 6.934 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009562/0.2446, allocations: 3.963 MB / 343 MB, free: 2.961 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002329/0.247, allocations: 51.88 kB / 343 MB, free: 2.91 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001809/0.2488, allocations: 0.5949 MB / 343.6 MB, free: 2.312 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00598/0.2548, allocations: 2.219 MB / 345.8 MB, free: 88 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.2562, allocations: 431.3 kB / 346.3 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006098/0.2623, allocations: 3.269 MB / 349.5 MB, free: 12.39 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001839/0.2642, allocations: 0.5272 MB / 350 MB, free: 11.81 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002935/0.2671, allocations: 0.7745 MB / 350.8 MB, free: 11.04 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003336/0.2705, allocations: 1.309 MB / 352.1 MB, free: 9.723 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009622/0.2715, allocations: 80 kB / 352.2 MB, free: 9.645 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00352/0.275, allocations: 0.8191 MB / 353 MB, free: 8.824 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002026/0.277, allocations: 1.056 MB / 354.1 MB, free: 7.766 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001404/0.2785, allocations: 0.4961 MB / 354.6 MB, free: 7.262 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005333/0.2838, allocations: 2.994 MB / 357.6 MB, free: 4.262 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/0.2838, allocations: 0 / 357.6 MB, free: 4.262 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2839, allocations: 3.938 kB / 357.6 MB, free: 4.258 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001334/0.284, allocations: 0 / 357.6 MB, free: 4.258 MB / 286.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.008514/0.2925, allocations: 2.741 MB / 360.3 MB, free: 1.457 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.2926, allocations: 11.97 kB / 360.3 MB, free: 1.445 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01098/0.3036, allocations: 1.935 MB / 362.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004657/0.3083, allocations: 1.699 MB / 364 MB, free: 13.76 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001656/0.3084, allocations: 106.6 kB / 364.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001451/0.3099, allocations: 307.5 kB / 364.4 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01547/0.3254, allocations: 8.231 MB / 372.6 MB, free: 4.559 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001229/0.3256, allocations: 47.58 kB / 372.6 MB, free: 4.512 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004732/0.326, allocations: 75.89 kB / 372.7 MB, free: 4.438 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002231/0.3283, allocations: 1.393 MB / 374.1 MB, free: 3.043 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01888/0.3472, allocations: 9.514 MB / 383.6 MB, free: 9.523 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03778/0.385, allocations: 30.59 MB / 414.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01146/0.3965, allocations: 4.418 MB / 418.6 MB, free: 5.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003244/0.3998, allocations: 2.11 MB / 420.7 MB, free: 3.375 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00015/0.4, allocations: 19.91 kB / 420.8 MB, free: 3.355 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.103e-05/0.4, allocations: 50.55 kB / 420.8 MB, free: 3.297 MB / 350.1 MB Notification: Performance of pre-optimization done (n=122): time 5.07e-06/0.4001, allocations: 0 / 420.8 MB, free: 3.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=136): time 0.04437/0.4444, allocations: 18.44 MB / 439.2 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002135/0.4466, allocations: 3.054 MB / 442.3 MB, free: 13.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003821/0.4504, allocations: 2.983 MB / 445.3 MB, free: 10.19 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003958/0.4508, allocations: 45.69 kB / 445.3 MB, free: 10.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001398/0.4522, allocations: 2.087 MB / 447.4 MB, free: 8.023 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006751/0.4529, allocations: 0.571 MB / 448 MB, free: 7.445 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002731/0.4532, allocations: 92 kB / 448.1 MB, free: 7.355 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000313/0.4535, allocations: 0.5128 MB / 448.6 MB, free: 6.836 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004288/0.4578, allocations: 2.617 MB / 451.2 MB, free: 4.211 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1886/0.6465, allocations: 5.554 MB / 456.8 MB, free: 107.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006857/0.6534, allocations: 3.682 MB / 460.4 MB, free: 106.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.831e-05/0.6535, allocations: 30 kB / 460.5 MB, free: 106.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.02858/0.6821, allocations: 11.74 MB / 472.2 MB, free: 103.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001555/0.6823, allocations: 50.59 kB / 472.3 MB, free: 103.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.019/0.7013, allocations: 7.003 MB / 479.3 MB, free: 97.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01805/0.7194, allocations: 4.559 MB / 483.8 MB, free: 93.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004086/0.7235, allocations: 1.248 MB / 485.1 MB, free: 92.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01225/0.7358, allocations: 11.45 MB / 496.5 MB, free: 80.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004942/0.7408, allocations: 0.5794 MB / 497.1 MB, free: 79.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007457/0.7416, allocations: 317.1 kB / 497.4 MB, free: 79.33 MB / 382.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 (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 {(4,100.0%),(3,100.0%),(4,100.0%),(3,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 prepare postOptimizeDAE: time 0.001854/0.7434, allocations: 1.413 MB / 498.8 MB, free: 77.97 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004086/0.7438, allocations: 257.5 kB / 499.1 MB, free: 77.85 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000767/0.7446, allocations: 415.2 kB / 499.5 MB, free: 77.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009115/0.7537, allocations: 5.012 MB / 0.4927 GB, free: 72.4 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.468e-05/0.7538, allocations: 4 kB / 0.4927 GB, free: 72.4 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.918e-05/0.7538, allocations: 11.97 kB / 0.4927 GB, free: 72.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007106/0.761, allocations: 5.343 MB / 0.4979 GB, free: 67.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.761, allocations: 4.141 kB / 0.4979 GB, free: 67.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001479/0.7625, allocations: 363.4 kB / 0.4982 GB, free: 66.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006699/0.7692, allocations: 2.39 MB / 0.5006 GB, free: 64.26 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003734/0.7696, allocations: 44.89 kB / 0.5006 GB, free: 64.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006833/0.7764, allocations: 8.845 MB / 0.5093 GB, free: 54.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00128/0.7777, allocations: 2.897 MB / 0.5121 GB, free: 51.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01355/0.7913, allocations: 8.766 MB / 0.5207 GB, free: 42.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007018/0.792, allocations: 329.7 kB / 0.521 GB, free: 42.58 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005079/0.7925, allocations: 33.16 kB / 0.521 GB, free: 42.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001884/0.7944, allocations: 331.3 kB / 0.5213 GB, free: 42.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003494/0.7948, allocations: 99.81 kB / 0.5214 GB, free: 42.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001591/0.795, allocations: 48.67 kB / 0.5215 GB, free: 42.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002368/0.7973, allocations: 1.867 MB / 0.5233 GB, free: 40.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7974, allocations: 0 / 0.5233 GB, free: 40.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004363/0.8017, allocations: 1.005 MB / 0.5243 GB, free: 39.21 MB / 382.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 (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.0004408/0.8022, allocations: 173.8 kB / 0.5244 GB, free: 39.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01093/0.8131, allocations: 7.377 MB / 0.5316 GB, free: 31.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.8132, allocations: 0 / 0.5316 GB, free: 31.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00541/0.8186, allocations: 3.616 MB / 0.5352 GB, free: 27.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002211/0.8208, allocations: 304.5 kB / 0.5355 GB, free: 27.49 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/0.8314, allocations: 9.345 MB / 0.5446 GB, free: 18.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001651/0.8331, allocations: 2.306 MB / 0.5468 GB, free: 15.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003693/0.8368, allocations: 1.66 MB / 0.5484 GB, free: 14.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007029/0.8375, allocations: 203.3 kB / 0.5486 GB, free: 13.88 MB / 382.1 MB Notification: Performance of SimCode: time 8.31e-07/0.8375, allocations: 3.938 kB / 0.5486 GB, free: 13.88 MB / 382.1 MB Notification: Performance of Templates: time 0.06146/0.899, allocations: 42.97 MB / 0.5906 GB, free: 2.898 MB / 414.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1)