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.6561/0.6561, allocations: 110.9 MB / 125.9 MB, free: 6.219 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.00166/0.00166, allocations: 143.3 kB / 151.9 MB, free: 4.996 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002573/0.0002573, allocations: 8 kB / 184.9 MB, free: 3.926 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.14, allocations: 25.15 MB / 210.1 MB, free: 29.77 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04956/0.1896, allocations: 42.11 MB / 252.2 MB, free: 7.719 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000201/0.1899, allocations: 81.39 kB / 252.2 MB, free: 7.641 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.447/0.6369, allocations: 130.2 MB / 382.5 MB, free: 3.801 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.637, allocations: 3.938 kB / 382.5 MB, free: 3.797 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0001831/0.6371, allocations: 71.94 kB / 382.5 MB, free: 3.727 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.1345/0.7717, allocations: 6.532 MB / 389.1 MB, free: 38.34 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.7717, allocations: 11.06 kB / 389.1 MB, free: 38.34 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08947/0.8612, allocations: 19.75 MB / 408.8 MB, free: 37.86 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01772/0.879, allocations: 6.44 MB / 415.3 MB, free: 37.57 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006978/0.8797, allocations: 273.9 kB / 415.5 MB, free: 37.56 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005118/0.8849, allocations: 346 kB / 415.9 MB, free: 37.55 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07264/0.9575, allocations: 24.1 MB / 440 MB, free: 28.71 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001583/0.9577, allocations: 31 kB / 440 MB, free: 28.69 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00192/0.9597, allocations: 161.5 kB / 440.2 MB, free: 28.57 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.03042/0.9901, allocations: 7.77 MB / 447.9 MB, free: 20.79 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07269/1.063, allocations: 28.26 MB / 476.2 MB, free: 8.652 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5783/1.641, allocations: 106.5 MB / 0.5691 GB, free: 31.92 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02745/1.669, allocations: 9.513 MB / 0.5784 GB, free: 31.06 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002171/1.669, allocations: 29 kB / 0.5784 GB, free: 31.06 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.556e-05/1.669, allocations: 64.98 kB / 0.5784 GB, free: 31.02 MB / 250.7 MB Notification: Performance of pre-optimization done (n=234): time 8.706e-06/1.669, allocations: 0 / 0.5784 GB, free: 31.02 MB / 250.7 MB Notification: Performance of matching and sorting (n=248): time 0.09132/1.76, allocations: 37.75 MB / 0.6153 GB, free: 22.8 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001638/1.762, allocations: 3.268 MB / 0.6185 GB, free: 19.66 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005754/1.768, allocations: 3.584 MB / 0.622 GB, free: 19.14 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001063/1.769, allocations: 55.08 kB / 0.6221 GB, free: 19.09 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001451/1.77, allocations: 2.727 MB / 0.6247 GB, free: 17.11 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001285/1.772, allocations: 0.9418 MB / 0.6256 GB, free: 16.42 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004579/1.772, allocations: 130.1 kB / 0.6258 GB, free: 16.32 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002908/1.772, allocations: 0.5857 MB / 0.6263 GB, free: 15.9 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01868/1.791, allocations: 7.016 MB / 0.6332 GB, free: 12.51 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02068/1.812, allocations: 10.67 MB / 0.6436 GB, free: 372 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01981/1.832, allocations: 7.3 MB / 0.6507 GB, free: 9.363 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001077/1.832, allocations: 37.22 kB / 0.6508 GB, free: 9.328 MB / 266.7 MB Notification: Performance of matching and sorting (n=863) (initialization): time 0.05358/1.885, allocations: 18.41 MB / 0.6688 GB, free: 7.039 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.85e-05/1.885, allocations: 60 kB / 0.6688 GB, free: 6.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01714/1.903, allocations: 6.502 MB / 0.6752 GB, free: 480 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1413/2.044, allocations: 2.219 MB / 0.6773 GB, free: 72.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006275/2.05, allocations: 1.666 MB / 0.679 GB, free: 72.62 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005053/2.055, allocations: 7.481 MB / 0.6863 GB, free: 67.53 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01298/2.068, allocations: 1.971 MB / 0.6882 GB, free: 67.53 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002043/2.07, allocations: 0.5619 MB / 0.6887 GB, free: 67.53 MB / 282.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 () * Number of clocked 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.004049/2.074, allocations: 1.903 MB / 0.6906 GB, free: 67.41 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009763/2.075, allocations: 338.9 kB / 0.6909 GB, free: 67.41 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/2.077, allocations: 0.5172 MB / 0.6914 GB, free: 67.38 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0284/2.105, allocations: 8.927 MB / 0.7001 GB, free: 67.25 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.49e-05/2.105, allocations: 9.094 kB / 0.7001 GB, free: 67.25 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.944e-05/2.105, allocations: 14 kB / 0.7002 GB, free: 67.25 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07519/2.18, allocations: 25.99 MB / 0.7255 GB, free: 64.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.495e-05/2.18, allocations: 10.94 kB / 0.7255 GB, free: 64.8 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002611/2.183, allocations: 439.2 kB / 0.726 GB, free: 64.79 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007577/2.191, allocations: 2.344 MB / 0.7283 GB, free: 64.5 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008932/2.192, allocations: 135.6 kB / 0.7284 GB, free: 64.47 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006984/2.199, allocations: 9.02 MB / 0.7372 GB, free: 57.32 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001324/2.2, allocations: 2.919 MB / 0.74 GB, free: 54.16 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05493/2.255, allocations: 21.7 MB / 0.7612 GB, free: 32.46 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001444/2.256, allocations: 0.4913 MB / 0.7617 GB, free: 31.96 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001156/2.258, allocations: 59.94 kB / 0.7618 GB, free: 31.9 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008564/2.266, allocations: 1.523 MB / 0.7633 GB, free: 30.39 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007013/2.267, allocations: 174.4 kB / 0.7634 GB, free: 30.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004465/2.267, allocations: 233.6 kB / 0.7636 GB, free: 30.01 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.004074/2.271, allocations: 2.536 MB / 0.7661 GB, free: 27.49 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.5e-07/2.271, allocations: 0 / 0.7661 GB, free: 27.49 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.007555/2.279, allocations: 1.314 MB / 0.7674 GB, free: 26.19 MB / 282.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 () * Number of clocked 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.0007586/2.28, allocations: 212.9 kB / 0.7676 GB, free: 26.02 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.03942/2.319, allocations: 15.87 MB / 0.7831 GB, free: 10.12 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/2.319, allocations: 4 kB / 0.7831 GB, free: 10.12 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1237/2.443, allocations: 7.747 MB / 0.7907 GB, free: 71.69 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003282/2.446, allocations: 333.3 kB / 0.791 GB, free: 71.68 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03662/2.483, allocations: 16.43 MB / 0.807 GB, free: 67.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00343/2.486, allocations: 3.114 MB / 0.8101 GB, free: 66.46 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.009006/2.495, allocations: 2.65 MB / 0.8127 GB, free: 66.12 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002798/2.498, allocations: 0.5774 MB / 0.8132 GB, free: 66.07 MB / 282.7 MB Notification: Performance of SimCode: time 1.412e-06/2.498, allocations: 1.781 kB / 0.8132 GB, free: 66.07 MB / 282.7 MB Notification: Performance of Templates: time 0.0956/2.594, allocations: 72.27 MB / 0.8838 GB, free: 21.68 MB / 282.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)