Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001553/0.001553, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002133/0.002133, allocations: 195.2 kB / 16.14 MB, free: 6.66 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.407/1.407, allocations: 205.1 MB / 222 MB, free: 4.746 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.001187/0.001187, allocations: 59.92 kB / 278.1 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.2628, allocations: 46.62 MB / 324.7 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.01393/0.2768, allocations: 13.97 MB / 338.6 MB, free: 6.145 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008922/0.2857, allocations: 4.301 MB / 342.9 MB, free: 1.832 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002485/0.2883, allocations: 55.81 kB / 343 MB, free: 1.777 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001617/0.29, allocations: 0.627 MB / 343.6 MB, free: 1.148 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002946/0.2929, allocations: 1.308 MB / 344.9 MB, free: 15.84 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000856/0.2938, allocations: 467.2 kB / 345.4 MB, free: 15.38 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004159/0.298, allocations: 4.143 MB / 349.5 MB, free: 11.23 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007312/0.2987, allocations: 427.1 kB / 350 MB, free: 10.79 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009788/0.2997, allocations: 0.6924 MB / 350.6 MB, free: 10.1 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001482/0.3012, allocations: 1.312 MB / 352 MB, free: 8.781 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002443/0.3015, allocations: 83.98 kB / 352 MB, free: 8.699 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001606/0.3031, allocations: 0.9592 MB / 353 MB, free: 7.738 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009534/0.304, allocations: 1.071 MB / 354.1 MB, free: 6.664 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001131/0.3052, allocations: 1.195 MB / 355.3 MB, free: 5.461 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003672/0.3089, allocations: 3.852 MB / 359.1 MB, free: 1.598 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3089, allocations: 0 / 359.1 MB, free: 1.598 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3089, allocations: 0 / 359.1 MB, free: 1.598 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.931e-05/0.309, allocations: 0 / 359.1 MB, free: 1.598 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.006461/0.3154, allocations: 3.205 MB / 362.3 MB, free: 14.33 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.3155, allocations: 8.031 kB / 362.3 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007766/0.3233, allocations: 1.893 MB / 364.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003502/0.3268, allocations: 1.727 MB / 366 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.3269, allocations: 122.6 kB / 366.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009661/0.3279, allocations: 303.5 kB / 366.4 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01544/0.3434, allocations: 8.223 MB / 374.6 MB, free: 1.449 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-05/0.3435, allocations: 31.75 kB / 374.6 MB, free: 1.418 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002842/0.3438, allocations: 79.89 kB / 374.7 MB, free: 1.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002057/0.3458, allocations: 1.401 MB / 376.1 MB, free: 15.93 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01759/0.3634, allocations: 9.538 MB / 385.6 MB, free: 6.387 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03307/0.3965, allocations: 30.62 MB / 416.3 MB, free: 6.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.011/0.4076, allocations: 4.38 MB / 420.6 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00262/0.4102, allocations: 2.12 MB / 422.8 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.947e-05/0.4103, allocations: 8 kB / 422.8 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.4103, allocations: 46.56 kB / 422.8 MB, free: 176 kB / 350.1 MB Notification: Performance of pre-optimization done (n=122): time 2.474e-06/0.4103, allocations: 3.938 kB / 422.8 MB, free: 172 kB / 350.1 MB Notification: Performance of matching and sorting (n=136): time 0.04569/0.456, allocations: 18.33 MB / 441.1 MB, free: 13.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002169/0.4582, allocations: 3.065 MB / 444.2 MB, free: 10.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004634/0.4629, allocations: 3.002 MB / 447.2 MB, free: 7.137 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005717/0.4635, allocations: 41.7 kB / 447.3 MB, free: 7.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001501/0.465, allocations: 2.079 MB / 449.3 MB, free: 4.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001056/0.4661, allocations: 0.571 MB / 449.9 MB, free: 4.402 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002526/0.4686, allocations: 1.011 MB / 450.9 MB, free: 3.379 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.4687, allocations: 305.1 kB / 451.2 MB, free: 3.078 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004391/0.4731, allocations: 2.633 MB / 453.8 MB, free: 448 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1815/0.6547, allocations: 5.58 MB / 459.4 MB, free: 108.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009882/0.6646, allocations: 8.626 MB / 468.1 MB, free: 102.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001209/0.6648, allocations: 31.09 kB / 468.1 MB, free: 102.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.02959/0.6944, allocations: 11.79 MB / 479.9 MB, free: 96.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.184e-05/0.6945, allocations: 48 kB / 479.9 MB, free: 96.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02013/0.7146, allocations: 7.009 MB / 486.9 MB, free: 89.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0196/0.7342, allocations: 4.546 MB / 491.5 MB, free: 85.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003929/0.7382, allocations: 1.24 MB / 492.7 MB, free: 83.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01246/0.7507, allocations: 11.48 MB / 0.4924 GB, free: 71.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004922/0.7557, allocations: 0.5775 MB / 0.4929 GB, free: 71.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006709/0.7564, allocations: 311.9 kB / 0.4932 GB, free: 70.95 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 (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.001906/0.7583, allocations: 1.426 MB / 0.4946 GB, free: 69.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004529/0.7587, allocations: 254.8 kB / 0.4949 GB, free: 69.47 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006333/0.7594, allocations: 415.2 kB / 0.4953 GB, free: 69.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009768/0.7691, allocations: 5.018 MB / 0.5002 GB, free: 64.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.237e-05/0.7692, allocations: 9.688 kB / 0.5002 GB, free: 64.01 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.358e-05/0.7693, allocations: 3.984 kB / 0.5002 GB, free: 64.01 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007825/0.7771, allocations: 5.362 MB / 0.5054 GB, free: 58.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.178e-06/0.7771, allocations: 4 kB / 0.5054 GB, free: 58.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001617/0.7788, allocations: 363.4 kB / 0.5058 GB, free: 58.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007448/0.7862, allocations: 2.387 MB / 0.5081 GB, free: 55.87 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003558/0.7866, allocations: 51.94 kB / 0.5081 GB, free: 55.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007178/0.7938, allocations: 8.816 MB / 0.5168 GB, free: 46.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001473/0.7953, allocations: 2.892 MB / 0.5196 GB, free: 43.37 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01494/0.8102, allocations: 8.765 MB / 0.5281 GB, free: 34.58 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008331/0.8111, allocations: 329.6 kB / 0.5285 GB, free: 34.24 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008755/0.812, allocations: 35.98 kB / 0.5285 GB, free: 34.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00253/0.8146, allocations: 319.4 kB / 0.5288 GB, free: 33.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006169/0.8152, allocations: 107.3 kB / 0.5289 GB, free: 33.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002448/0.8155, allocations: 55.95 kB / 0.5289 GB, free: 33.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003018/0.8185, allocations: 1.879 MB / 0.5308 GB, free: 31.85 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.8185, allocations: 0 / 0.5308 GB, free: 31.85 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.005199/0.8237, allocations: 1.013 MB / 0.5318 GB, free: 30.84 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 (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.0006138/0.8243, allocations: 176.9 kB / 0.5319 GB, free: 30.67 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01092/0.8353, allocations: 7.428 MB / 0.5392 GB, free: 23.13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/0.8353, allocations: 0 / 0.5392 GB, free: 23.13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005925/0.8413, allocations: 3.625 MB / 0.5427 GB, free: 19.37 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003626/0.8449, allocations: 297.7 kB / 0.543 GB, free: 19.08 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01508/0.86, allocations: 9.324 MB / 0.5521 GB, free: 9.715 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003428/0.8635, allocations: 2.302 MB / 0.5544 GB, free: 7.379 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.004799/0.8683, allocations: 1.663 MB / 0.556 GB, free: 5.707 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001241/0.8696, allocations: 199.3 kB / 0.5562 GB, free: 5.512 MB / 382.1 MB Notification: Performance of SimCode: time 1.082e-06/0.8696, allocations: 0 / 0.5562 GB, free: 5.512 MB / 382.1 MB Notification: Performance of Templates: time 0.07781/0.9474, allocations: 44.39 MB / 0.5995 GB, free: 9.117 MB / 430.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1)