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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.008286/0.008286, allocations: 164.5 kB / 15.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.288/1.288, allocations: 170.8 MB / 186.6 MB, free: 1.137 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001676/0.001676, allocations: 106.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003214/0.0003209, allocations: 8 kB / 274.1 MB, free: 10.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2705, allocations: 38.76 MB / 312.9 MB, free: 38.79 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1067/0.3773, allocations: 75.79 MB / 388.7 MB, free: 14.73 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/0.3776, allocations: 83.95 kB / 388.8 MB, free: 14.65 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3637/0.7413, allocations: 59.01 MB / 447.8 MB, free: 73.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.03e-06/0.7413, allocations: 0 / 447.8 MB, free: 73.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.134e-05/0.7414, allocations: 47.22 kB / 447.8 MB, free: 73.98 MB / 314.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.01592/0.7573, allocations: 3.595 MB / 451.4 MB, free: 71.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.7574, allocations: 8.031 kB / 451.4 MB, free: 71.1 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01102/0.7684, allocations: 2.324 MB / 453.7 MB, free: 68.77 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01218/0.7807, allocations: 4.843 MB / 458.6 MB, free: 63.94 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001912/0.7809, allocations: 179.1 kB / 458.8 MB, free: 63.79 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001421/0.7823, allocations: 229.2 kB / 459 MB, free: 63.58 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01911/0.8014, allocations: 8.578 MB / 467.6 MB, free: 54.21 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000113/0.8016, allocations: 51.53 kB / 467.6 MB, free: 54.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004187/0.802, allocations: 114.8 kB / 467.7 MB, free: 54.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009095/0.803, allocations: 0.7249 MB / 468.4 MB, free: 53.35 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01917/0.8221, allocations: 9.664 MB / 478.1 MB, free: 43.69 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03916/0.8614, allocations: 37.73 MB / 0.5038 GB, free: 4.855 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01099/0.8724, allocations: 4.051 MB / 0.5077 GB, free: 0.6484 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001455/0.8726, allocations: 11.98 kB / 0.5077 GB, free: 0.6367 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.8727, allocations: 46.5 kB / 0.5078 GB, free: 0.582 MB / 314.7 MB Notification: Performance of pre-optimization done (n=122): time 6.172e-06/0.8727, allocations: 4 kB / 0.5078 GB, free: 0.5781 MB / 314.7 MB Notification: Performance of matching and sorting (n=136): time 0.04834/0.921, allocations: 17.74 MB / 0.5251 GB, free: 14.49 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002903/0.924, allocations: 3.075 MB / 0.5281 GB, free: 11.09 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005234/0.9293, allocations: 2.708 MB / 0.5307 GB, free: 8.371 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007379/0.93, allocations: 45.69 kB / 0.5308 GB, free: 8.32 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001948/0.932, allocations: 2.076 MB / 0.5328 GB, free: 6.215 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00119/0.9332, allocations: 0.5632 MB / 0.5334 GB, free: 5.645 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002694/0.9335, allocations: 92 kB / 0.5334 GB, free: 5.555 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003883/0.9339, allocations: 0.5007 MB / 0.5339 GB, free: 5.047 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004033/0.9379, allocations: 2.387 MB / 0.5363 GB, free: 2.652 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2504/1.188, allocations: 5.253 MB / 0.5414 GB, free: 91.08 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007712/1.196, allocations: 3.427 MB / 0.5447 GB, free: 91.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001587/1.196, allocations: 28.84 kB / 0.5448 GB, free: 91.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.02786/1.224, allocations: 9.232 MB / 0.5538 GB, free: 90.43 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001129/1.224, allocations: 48.5 kB / 0.5538 GB, free: 90.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01005/1.234, allocations: 4.511 MB / 0.5582 GB, free: 89.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007552/1.242, allocations: 2.184 MB / 0.5604 GB, free: 89.28 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004877/1.247, allocations: 1.195 MB / 0.5615 GB, free: 89.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006028/1.253, allocations: 7.465 MB / 0.5688 GB, free: 83.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006249/1.259, allocations: 0.5619 MB / 0.5694 GB, free: 83.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001298/1.261, allocations: 303.6 kB / 0.5697 GB, free: 83.28 MB / 346.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 (581): * Single equations (assignments): 566 * 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 {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.003082/1.264, allocations: 1.407 MB / 0.571 GB, free: 82.66 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007651/1.264, allocations: 253.9 kB / 0.5713 GB, free: 82.66 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009032/1.265, allocations: 418.2 kB / 0.5717 GB, free: 82.4 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009821/1.275, allocations: 4.586 MB / 0.5762 GB, free: 81.25 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-05/1.275, allocations: 3.969 kB / 0.5762 GB, free: 81.25 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.191e-05/1.275, allocations: 10.27 kB / 0.5762 GB, free: 81.25 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009954/1.285, allocations: 5.335 MB / 0.5814 GB, free: 79.22 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-05/1.285, allocations: 0 / 0.5814 GB, free: 79.22 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001506/1.287, allocations: 282.2 kB / 0.5817 GB, free: 79.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007841/1.295, allocations: 2.374 MB / 0.584 GB, free: 77.63 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000379/1.295, allocations: 40.89 kB / 0.584 GB, free: 77.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007675/1.303, allocations: 9.011 MB / 0.5928 GB, free: 69.23 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001563/1.304, allocations: 2.908 MB / 0.5956 GB, free: 66.16 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01346/1.318, allocations: 8.134 MB / 0.6036 GB, free: 58.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001305/1.319, allocations: 339.7 kB / 0.6039 GB, free: 57.67 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003595/1.32, allocations: 31.98 kB / 0.6039 GB, free: 57.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001846/1.321, allocations: 267.5 kB / 0.6042 GB, free: 57.38 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003869/1.322, allocations: 108 kB / 0.6043 GB, free: 57.28 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001552/1.322, allocations: 43.97 kB / 0.6043 GB, free: 57.23 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003188/1.325, allocations: 1.902 MB / 0.6062 GB, free: 55.33 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.325, allocations: 0 / 0.6062 GB, free: 55.33 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0045/1.33, allocations: 0.9287 MB / 0.6071 GB, free: 54.41 MB / 346.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.0005362/1.33, allocations: 172.4 kB / 0.6073 GB, free: 54.23 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00989/1.34, allocations: 6.508 MB / 0.6136 GB, free: 47.65 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/1.34, allocations: 8 kB / 0.6136 GB, free: 47.64 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005211/1.345, allocations: 3.405 MB / 0.617 GB, free: 44.09 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001966/1.347, allocations: 281.5 kB / 0.6172 GB, free: 43.82 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01605/1.363, allocations: 9.473 MB / 0.6265 GB, free: 34.43 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001848/1.365, allocations: 2.348 MB / 0.6288 GB, free: 32.07 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.004134/1.369, allocations: 1.627 MB / 0.6304 GB, free: 30.44 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006924/1.37, allocations: 191.4 kB / 0.6305 GB, free: 30.25 MB / 346.7 MB Notification: Performance of SimCode: time 1.042e-06/1.37, allocations: 0 / 0.6305 GB, free: 30.25 MB / 346.7 MB Notification: Performance of Templates: time 0.05816/1.428, allocations: 34.76 MB / 0.6645 GB, free: 11.63 MB / 362.7 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)