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/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.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/Modelica 3.1.0+maint.om/package.mo): time 0.7984/0.7984, allocations: 110.8 MB / 123.3 MB, free: 10.75 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001699/0.001699, allocations: 147.5 kB / 149.1 MB, free: 0.9609 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.322e-05/2.349e-05, allocations: 4 kB / 180.2 MB, free: 17.56 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04572/0.04576, allocations: 25.18 MB / 205.4 MB, free: 8.422 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.155/0.2008, allocations: 42 MB / 247.4 MB, free: 41.75 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/0.2011, allocations: 72.97 kB / 247.5 MB, free: 41.75 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4988/0.6999, allocations: 130.1 MB / 377.6 MB, free: 50.22 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.7, allocations: 0 / 377.6 MB, free: 50.22 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0001497/0.7001, allocations: 68.47 kB / 377.6 MB, free: 50.21 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1358 * Number of variables: 1358 Notification: Performance of Generate backend data structure: time 0.03975/0.7399, allocations: 6.386 MB / 384 MB, free: 48.53 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/0.74, allocations: 8.688 kB / 384 MB, free: 48.53 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1097/0.8496, allocations: 19.71 MB / 403.7 MB, free: 29.6 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01747/0.8672, allocations: 6.425 MB / 410.2 MB, free: 23.61 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003927/0.8676, allocations: 274.7 kB / 410.4 MB, free: 23.38 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003996/0.8716, allocations: 349.3 kB / 410.8 MB, free: 23.07 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03705/0.9087, allocations: 15.54 MB / 426.3 MB, free: 7.094 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002216/0.909, allocations: 31.66 kB / 426.3 MB, free: 7.062 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002541/0.9115, allocations: 163.7 kB / 426.5 MB, free: 6.934 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1816/1.093, allocations: 7.768 MB / 434.3 MB, free: 43.36 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03689/1.13, allocations: 18.79 MB / 453.1 MB, free: 42.64 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.524/1.654, allocations: 106.5 MB / 0.5465 GB, free: 41.24 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01311/1.667, allocations: 6.035 MB / 0.5523 GB, free: 40.36 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004921/1.672, allocations: 3.649 MB / 0.5559 GB, free: 40.26 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001338/1.672, allocations: 35.48 kB / 0.5559 GB, free: 40.25 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/1.672, allocations: 61.8 kB / 0.556 GB, free: 40.21 MB / 250.7 MB Notification: Performance of pre-optimization done (n=234): time 6.472e-06/1.673, allocations: 7.781 kB / 0.556 GB, free: 40.21 MB / 250.7 MB Notification: Performance of matching and sorting (n=248): time 0.0488/1.721, allocations: 22.55 MB / 0.578 GB, free: 27.03 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001705/1.723, allocations: 3.235 MB / 0.5812 GB, free: 23.45 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005428/1.729, allocations: 3.483 MB / 0.5846 GB, free: 20.05 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001201/1.73, allocations: 47.5 kB / 0.5846 GB, free: 20 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001734/1.731, allocations: 2.727 MB / 0.5873 GB, free: 17.52 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001812/1.733, allocations: 0.9442 MB / 0.5882 GB, free: 16.59 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008973/1.734, allocations: 123.8 kB / 0.5883 GB, free: 16.47 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003524/1.735, allocations: 0.5869 MB / 0.5889 GB, free: 15.88 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005859/1.74, allocations: 3.932 MB / 0.5928 GB, free: 11.94 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008183/1.749, allocations: 7.596 MB / 0.6002 GB, free: 2.586 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007745/1.756, allocations: 4.736 MB / 0.6048 GB, free: 13.94 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001095/1.757, allocations: 40 kB / 0.6048 GB, free: 13.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=863) (initialization): time 0.02989/1.786, allocations: 12.72 MB / 0.6173 GB, free: 1.168 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001902/1.787, allocations: 60 kB / 0.6173 GB, free: 1.109 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1643/1.951, allocations: 5.616 MB / 0.6228 GB, free: 62.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00801/1.959, allocations: 2.228 MB / 0.625 GB, free: 62.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006132/1.965, allocations: 1.662 MB / 0.6266 GB, free: 62.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005443/1.971, allocations: 7.417 MB / 0.6338 GB, free: 57.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01295/1.984, allocations: 1.967 MB / 0.6358 GB, free: 57.13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001798/1.986, allocations: 0.5597 MB / 0.6363 GB, free: 57.13 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 587 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (795): * Single equations (assignments): 769 * Array equations: 18 * 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 {1,1} * 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.001479/1.987, allocations: 0.5603 MB / 0.6369 GB, free: 57.03 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001027/1.988, allocations: 342.1 kB / 0.6372 GB, free: 57.03 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/1.989, allocations: 0.5134 MB / 0.6377 GB, free: 56.99 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02177/2.011, allocations: 8.052 MB / 0.6455 GB, free: 56.86 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.12e-05/2.011, allocations: 3.781 kB / 0.6455 GB, free: 56.86 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.778e-05/2.011, allocations: 15.67 kB / 0.6456 GB, free: 56.86 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05925/2.071, allocations: 23.14 MB / 0.6682 GB, free: 53.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.582e-05/2.071, allocations: 7.812 kB / 0.6682 GB, free: 53.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002179/2.073, allocations: 435 kB / 0.6686 GB, free: 53.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007755/2.081, allocations: 2.345 MB / 0.6709 GB, free: 52.62 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001052/2.082, allocations: 137 kB / 0.671 GB, free: 52.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007117/2.089, allocations: 8.844 MB / 0.6796 GB, free: 43.26 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001304/2.09, allocations: 2.9 MB / 0.6825 GB, free: 40.11 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01974/2.11, allocations: 13.26 MB / 0.6954 GB, free: 26.73 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001266/2.111, allocations: 497.7 kB / 0.6959 GB, free: 26.23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001003/2.112, allocations: 61.42 kB / 0.6959 GB, free: 26.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008464/2.121, allocations: 1.519 MB / 0.6974 GB, free: 24.67 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006648/2.121, allocations: 181.3 kB / 0.6976 GB, free: 24.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004939/2.122, allocations: 230 kB / 0.6978 GB, free: 24.28 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.003778/2.126, allocations: 2.425 MB / 0.7002 GB, free: 21.86 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.7e-07/2.126, allocations: 0 / 0.7002 GB, free: 21.86 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.006555/2.132, allocations: 1.322 MB / 0.7015 GB, free: 20.56 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (186): * Single equations (assignments): 166 * Array equations: 12 * 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.0005764/2.133, allocations: 206.6 kB / 0.7017 GB, free: 20.37 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.01315/2.146, allocations: 9.806 MB / 0.7113 GB, free: 10.53 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/2.146, allocations: 0 / 0.7113 GB, free: 10.53 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00701/2.153, allocations: 4.763 MB / 0.7159 GB, free: 5.645 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002162/2.155, allocations: 333.8 kB / 0.7162 GB, free: 5.328 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1474/2.303, allocations: 10.55 MB / 0.7265 GB, free: 57.95 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003228/2.306, allocations: 3.125 MB / 0.7296 GB, free: 57.17 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.008492/2.314, allocations: 2.653 MB / 0.7322 GB, free: 57.12 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003195/2.318, allocations: 0.58 MB / 0.7327 GB, free: 57.12 MB / 266.7 MB Notification: Performance of SimCode: time 1.183e-06/2.318, allocations: 2.062 kB / 0.7327 GB, free: 57.12 MB / 266.7 MB Notification: Performance of Templates: time 0.09443/2.412, allocations: 72.29 MB / 0.8033 GB, free: 16.82 MB / 266.7 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)