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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.0009871/0.0009871, allocations: 180 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.168/1.168, allocations: 194.5 MB / 211.6 MB, free: 3.051 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001548/0.001548, allocations: 116 kB / 256.9 MB, free: 4.363 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003196/0.0003196, allocations: 12 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07195/0.07228, allocations: 44.5 MB / 355.1 MB, free: 2.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2185/0.2908, allocations: 81.4 MB / 436.5 MB, free: 8.324 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001922/0.291, allocations: 88.28 kB / 436.6 MB, free: 8.277 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1423/0.4333, allocations: 59.18 MB / 495.7 MB, free: 15.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4333, allocations: 0 / 495.7 MB, free: 15.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.384e-05/0.4334, allocations: 40 kB / 495.8 MB, free: 15.14 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 908 * Number of variables: 908 Notification: Performance of Generate backend data structure: time 0.01473/0.4482, allocations: 3.607 MB / 499.4 MB, free: 11.47 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.4482, allocations: 16.03 kB / 499.4 MB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01094/0.4592, allocations: 2.34 MB / 0.49 GB, free: 9.109 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01212/0.4713, allocations: 4.859 MB / 0.4947 GB, free: 4.199 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001752/0.4716, allocations: 164.4 kB / 0.4949 GB, free: 4.035 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009539/0.4725, allocations: 239.7 kB / 0.4951 GB, free: 3.801 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01609/0.4886, allocations: 8.58 MB / 0.5035 GB, free: 10.37 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001231/0.4888, allocations: 55.45 kB / 0.5035 GB, free: 10.31 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000377/0.4892, allocations: 115.9 kB / 0.5037 GB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009816/0.4902, allocations: 0.726 MB / 0.5044 GB, free: 9.477 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1892/0.6793, allocations: 9.66 MB / 0.5138 GB, free: 94.9 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03309/0.7125, allocations: 37.73 MB / 0.5506 GB, free: 71.06 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01128/0.7238, allocations: 4.042 MB / 0.5546 GB, free: 70.38 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001071/0.724, allocations: 17.05 kB / 0.5546 GB, free: 70.37 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/0.724, allocations: 53.14 kB / 0.5547 GB, free: 70.33 MB / 394.7 MB Notification: Performance of pre-optimization done (n=122): time 5.5e-06/0.724, allocations: 0 / 0.5547 GB, free: 70.33 MB / 394.7 MB Notification: Performance of matching and sorting (n=136): time 0.0436/0.7676, allocations: 17.74 MB / 0.572 GB, free: 65.54 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001478/0.7691, allocations: 3.076 MB / 0.575 GB, free: 62.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0034/0.7726, allocations: 2.697 MB / 0.5776 GB, free: 61.58 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004354/0.773, allocations: 48.41 kB / 0.5777 GB, free: 61.54 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008675/0.7739, allocations: 2.075 MB / 0.5797 GB, free: 60.09 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004782/0.7744, allocations: 0.5644 MB / 0.5802 GB, free: 59.69 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002125/0.7746, allocations: 93.84 kB / 0.5803 GB, free: 59.61 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.7748, allocations: 0.5034 MB / 0.5808 GB, free: 59.23 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002825/0.7776, allocations: 2.389 MB / 0.5832 GB, free: 58.49 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003982/0.7816, allocations: 5.274 MB / 0.5883 GB, free: 53.88 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004032/0.7856, allocations: 3.433 MB / 0.5917 GB, free: 52.71 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.75e-05/0.7857, allocations: 26.19 kB / 0.5917 GB, free: 52.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01743/0.8031, allocations: 9.433 MB / 0.6009 GB, free: 49.82 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.675e-05/0.8032, allocations: 48.12 kB / 0.6009 GB, free: 49.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009769/0.813, allocations: 4.676 MB / 0.6055 GB, free: 47.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008017/0.8211, allocations: 2.35 MB / 0.6078 GB, free: 45.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003901/0.825, allocations: 1.165 MB / 0.6089 GB, free: 44.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00635/0.8314, allocations: 8.267 MB / 0.617 GB, free: 36.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004823/0.8362, allocations: 0.5691 MB / 0.6176 GB, free: 35.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006519/0.8369, allocations: 300 kB / 0.6179 GB, free: 35.5 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 15 (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.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 (575): * Single equations (assignments): 560 * 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 {(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 prepare postOptimizeDAE: time 0.00191/0.8388, allocations: 1.417 MB / 0.6192 GB, free: 34.08 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004468/0.8393, allocations: 256.6 kB / 0.6195 GB, free: 33.83 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007455/0.84, allocations: 415.2 kB / 0.6199 GB, free: 33.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009068/0.8491, allocations: 4.577 MB / 0.6243 GB, free: 28.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.34e-05/0.8492, allocations: 14.8 kB / 0.6244 GB, free: 28.79 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.066e-05/0.8492, allocations: 3.984 kB / 0.6244 GB, free: 28.79 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0075/0.8567, allocations: 5.322 MB / 0.6296 GB, free: 23.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.8567, allocations: 4 kB / 0.6296 GB, free: 23.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001347/0.8581, allocations: 287.5 kB / 0.6298 GB, free: 23.13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007536/0.8656, allocations: 2.366 MB / 0.6322 GB, free: 20.73 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005397/0.8662, allocations: 44.94 kB / 0.6322 GB, free: 20.69 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007124/0.8734, allocations: 9.012 MB / 0.641 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001271/0.8747, allocations: 2.911 MB / 0.6438 GB, free: 7.977 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01307/0.8878, allocations: 8.136 MB / 0.6518 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009774/0.8888, allocations: 341.6 kB / 0.6521 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003697/0.8891, allocations: 31.98 kB / 0.6521 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001972/0.8911, allocations: 267.5 kB / 0.6524 GB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003756/0.8915, allocations: 103.8 kB / 0.6525 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001589/0.8917, allocations: 47.25 kB / 0.6525 GB, free: 14.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003249/0.8949, allocations: 1.902 MB / 0.6544 GB, free: 13.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.8949, allocations: 0 / 0.6544 GB, free: 13.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003675/0.8986, allocations: 0.9336 MB / 0.6553 GB, free: 12.12 MB / 410.7 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.0004544/0.8991, allocations: 185.2 kB / 0.6555 GB, free: 11.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01106/0.9102, allocations: 6.792 MB / 0.6621 GB, free: 5.031 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.9102, allocations: 4.062 kB / 0.6621 GB, free: 5.027 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005848/0.9161, allocations: 3.409 MB / 0.6655 GB, free: 1.477 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/0.9181, allocations: 282.4 kB / 0.6657 GB, free: 1.211 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1791/1.097, allocations: 9.503 MB / 0.675 GB, free: 100.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001831/1.099, allocations: 2.343 MB / 0.6773 GB, free: 99.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003816/1.103, allocations: 1.624 MB / 0.6789 GB, free: 99.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006636/1.104, allocations: 188.4 kB / 0.6791 GB, free: 99.29 MB / 410.7 MB Notification: Performance of SimCode: time 1.172e-06/1.104, allocations: 0 / 0.6791 GB, free: 99.29 MB / 410.7 MB Notification: Performance of Templates: time 0.06381/1.167, allocations: 36 MB / 0.7142 GB, free: 95.26 MB / 410.7 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)