Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.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.PointGravityWithPointMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001383/0.001383, allocations: 179.2 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.163/1.163, 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.001522/0.001522, allocations: 109.2 kB / 256.9 MB, free: 4.352 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003465/0.0003466, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08182/0.08218, allocations: 44.49 MB / 355.1 MB, free: 2.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2655/0.3478, allocations: 80.74 MB / 435.8 MB, free: 8.973 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/0.3481, allocations: 90.2 kB / 435.9 MB, free: 8.926 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1217/0.4698, allocations: 51.2 MB / 487.1 MB, free: 7.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4698, allocations: 0 / 487.1 MB, free: 7.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001056/0.4699, allocations: 52 kB / 487.1 MB, free: 7.789 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1094 * Number of variables: 1094 Notification: Performance of Generate backend data structure: time 0.006356/0.4763, allocations: 2.481 MB / 489.6 MB, free: 5.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.4764, allocations: 12.03 kB / 489.6 MB, free: 5.238 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008594/0.485, allocations: 1.946 MB / 491.6 MB, free: 3.285 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004004/0.489, allocations: 1.38 MB / 493 MB, free: 1.859 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002457/0.4893, allocations: 225.8 kB / 493.2 MB, free: 1.637 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0012/0.4905, allocations: 299.8 kB / 493.5 MB, free: 1.344 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02223/0.5127, allocations: 8.893 MB / 0.4906 GB, free: 7.508 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002843/0.5131, allocations: 55.47 kB / 0.4906 GB, free: 7.453 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001331/0.5144, allocations: 155.9 kB / 0.4908 GB, free: 7.301 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001604/0.516, allocations: 0.7812 MB / 0.4916 GB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01705/0.5331, allocations: 7.141 MB / 0.4985 GB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2205/0.7537, allocations: 38.04 MB / 0.5357 GB, free: 71.99 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01794/0.7716, allocations: 5.233 MB / 0.5408 GB, free: 71.26 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005219/0.7769, allocations: 3.334 MB / 0.544 GB, free: 69.75 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.777, allocations: 51.64 kB / 0.5441 GB, free: 69.71 MB / 394.7 MB Notification: Performance of pre-optimization done (n=104): time 3.817e-06/0.777, allocations: 0 / 0.5441 GB, free: 69.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=104): time 0.04191/0.8189, allocations: 9.851 MB / 0.5537 GB, free: 68.88 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/0.819, allocations: 198.5 kB / 0.5539 GB, free: 68.65 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003971/0.823, allocations: 2.681 MB / 0.5565 GB, free: 68.36 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000157/0.8232, allocations: 40.83 kB / 0.5566 GB, free: 68.32 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001296/0.8245, allocations: 2.395 MB / 0.5589 GB, free: 67.02 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004858/0.825, allocations: 479.5 kB / 0.5593 GB, free: 66.78 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001749/0.8251, allocations: 102.2 kB / 0.5594 GB, free: 66.78 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003047/0.8255, allocations: 0.5865 MB / 0.56 GB, free: 66.46 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002114/0.8276, allocations: 1.476 MB / 0.5615 GB, free: 66.45 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003089/0.8307, allocations: 5.004 MB / 0.5663 GB, free: 61.84 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002804/0.8335, allocations: 2.689 MB / 0.569 GB, free: 61.73 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.235e-05/0.8335, allocations: 37.97 kB / 0.569 GB, free: 61.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.007851/0.8414, allocations: 6.162 MB / 0.575 GB, free: 60.44 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.738e-05/0.8415, allocations: 62.27 kB / 0.5751 GB, free: 60.44 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000115/0.8416, allocations: 129.1 kB / 0.5752 GB, free: 60.44 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001384/0.8418, allocations: 184.4 kB / 0.5754 GB, free: 60.44 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004333/0.8461, allocations: 1.501 MB / 0.5769 GB, free: 60.28 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001319/0.8463, allocations: 250.1 kB / 0.5771 GB, free: 60.22 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003209/0.8495, allocations: 0.7495 MB / 0.5778 GB, free: 59.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004083/0.8499, allocations: 342.6 kB / 0.5781 GB, free: 59.71 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 577 * Number of states: 0 () * Number of discrete variables: 27 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body4.sphereColor[3],body4.sphereColor[2],body4.sphereColor[1],body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],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 (671): * Single equations (assignments): 668 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001954/0.8519, allocations: 1.552 MB / 0.5797 GB, free: 58.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003427/0.8522, allocations: 243.2 kB / 0.5799 GB, free: 58.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009897/0.8532, allocations: 0.7119 MB / 0.5806 GB, free: 58.49 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.079e-05/0.8532, allocations: 11.81 kB / 0.5806 GB, free: 58.49 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/0.8533, allocations: 5.156 kB / 0.5806 GB, free: 58.49 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.587e-06/0.8533, allocations: 3.797 kB / 0.5806 GB, free: 58.49 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003164/0.8564, allocations: 2.271 MB / 0.5828 GB, free: 57.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.8565, allocations: 3.844 kB / 0.5828 GB, free: 57.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002385/0.8589, allocations: 466.8 kB / 0.5833 GB, free: 57.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.417e-05/0.8589, allocations: 4.125 kB / 0.5833 GB, free: 57.62 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.956e-05/0.859, allocations: 40.81 kB / 0.5833 GB, free: 57.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.859, allocations: 3.75 kB / 0.5833 GB, free: 57.61 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.859, allocations: 7.891 kB / 0.5833 GB, free: 57.6 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002458/0.8615, allocations: 2.597 MB / 0.5859 GB, free: 56.21 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005639/0.8621, allocations: 300.7 kB / 0.5862 GB, free: 55.96 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002107/0.8623, allocations: 29.97 kB / 0.5862 GB, free: 55.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008544/0.8631, allocations: 49.45 kB / 0.5862 GB, free: 55.94 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.73e-05/0.8633, allocations: 57.81 kB / 0.5863 GB, free: 55.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.05e-05/0.8633, allocations: 39.33 kB / 0.5863 GB, free: 55.92 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002382/0.8657, allocations: 1.811 MB / 0.5881 GB, free: 55.28 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.8657, allocations: 1.125 kB / 0.5881 GB, free: 55.28 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004203/0.8699, allocations: 0.821 MB / 0.5889 GB, free: 55.09 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 24 (body3.r_0[1],body3.r_0[2],body3.r_0[3],body3.v_0[1],body3.v_0[2],body3.v_0[3],body4.r_0[1],body4.r_0[2],body4.r_0[3],body4.v_0[1],body4.v_0[2],body4.v_0[3],body2.r_0[1],body2.r_0[2],body2.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body1.r_0[1],body1.r_0[2],body1.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[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 (81): * Single equations (assignments): 78 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003857/0.8704, allocations: 161.6 kB / 0.589 GB, free: 54.98 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004679/0.875, allocations: 3.352 MB / 0.5923 GB, free: 52.43 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.8751, allocations: 1.938 kB / 0.5923 GB, free: 52.43 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006333/0.8757, allocations: 0.6035 MB / 0.5929 GB, free: 51.9 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/0.8771, allocations: 232.8 kB / 0.5931 GB, free: 51.69 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/0.8887, allocations: 8.33 MB / 0.6013 GB, free: 44.23 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001722/0.8904, allocations: 2.426 MB / 0.6036 GB, free: 42.33 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003595/0.894, allocations: 1.628 MB / 0.6052 GB, free: 41.04 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003941/0.8944, allocations: 183.4 kB / 0.6054 GB, free: 40.86 MB / 394.7 MB Notification: Performance of SimCode: time 1.242e-06/0.8944, allocations: 0 / 0.6054 GB, free: 40.86 MB / 394.7 MB Notification: Performance of Templates: time 0.03285/0.9273, allocations: 19.89 MB / 0.6248 GB, free: 21.28 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe 2>&1)