Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.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.FreeBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001353/0.001352, allocations: 169.8 kB / 12.72 MB, free: 2.594 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.231/1.231, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.002123/0.002123, allocations: 103.5 kB / 223.2 MB, free: 4.043 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.623e-05/2.625e-05, allocations: 4 kB / 268.9 MB, free: 20.91 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06951/0.06955, allocations: 38.77 MB / 307.6 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2622/0.3318, allocations: 81.31 MB / 389 MB, free: 11.09 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/0.3321, allocations: 83.83 kB / 389 MB, free: 11.05 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2017/0.5338, allocations: 71.48 MB / 460.5 MB, free: 8.961 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.5338, allocations: 0 / 460.5 MB, free: 8.961 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002658/0.5341, allocations: 76 kB / 460.6 MB, free: 8.887 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1295 * Number of variables: 1295 Notification: Performance of Generate backend data structure: time 0.02085/0.555, allocations: 3.784 MB / 464.4 MB, free: 5.043 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.555, allocations: 8.031 kB / 464.4 MB, free: 5.035 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0162/0.5713, allocations: 2.125 MB / 466.5 MB, free: 2.902 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2684/0.8398, allocations: 4.431 MB / 470.9 MB, free: 73.92 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003295/0.8401, allocations: 272.8 kB / 471.2 MB, free: 73.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002077/0.8422, allocations: 360.7 kB / 471.6 MB, free: 73.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02078/0.863, allocations: 9.013 MB / 480.6 MB, free: 71.36 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002682/0.8633, allocations: 56.81 kB / 480.6 MB, free: 71.36 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001566/0.8649, allocations: 182.8 kB / 480.8 MB, free: 71.36 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001593/0.8665, allocations: 0.8713 MB / 481.7 MB, free: 71.35 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01465/0.8812, allocations: 7.244 MB / 488.9 MB, free: 71.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0395/0.9207, allocations: 43.16 MB / 0.5196 GB, free: 40.52 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007051/0.9278, allocations: 3.155 MB / 0.5227 GB, free: 39.18 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001851/0.9297, allocations: 1.359 MB / 0.524 GB, free: 38.59 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009769/0.9395, allocations: 6.048 MB / 0.5299 GB, free: 35.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.9396, allocations: 46.78 kB / 0.53 GB, free: 35.23 MB / 346.7 MB Notification: Performance of pre-optimization done (n=118): time 5.099e-06/0.9397, allocations: 3.375 kB / 0.53 GB, free: 35.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=125): time 0.02423/0.9639, allocations: 8.93 MB / 0.5387 GB, free: 31.58 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001126/0.9651, allocations: 1.617 MB / 0.5403 GB, free: 29.96 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006152/0.9713, allocations: 3.116 MB / 0.5433 GB, free: 28.79 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003574/0.9717, allocations: 45.31 kB / 0.5433 GB, free: 28.74 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001904/0.9736, allocations: 2.772 MB / 0.5461 GB, free: 26.51 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000785/0.9744, allocations: 0.5238 MB / 0.5466 GB, free: 26.06 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006364/0.975, allocations: 104 kB / 0.5467 GB, free: 25.96 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004868/0.9755, allocations: 0.525 MB / 0.5472 GB, free: 25.49 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002895/0.9784, allocations: 1.812 MB / 0.5489 GB, free: 23.86 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004486/0.9829, allocations: 5.215 MB / 0.554 GB, free: 17.2 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004436/0.9874, allocations: 3.052 MB / 0.557 GB, free: 14.57 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001191/0.9876, allocations: 39.8 kB / 0.5571 GB, free: 14.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01519/1.003, allocations: 7.573 MB / 0.5645 GB, free: 7.969 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001541/1.003, allocations: 56.78 kB / 0.5645 GB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004608/1.008, allocations: 2.388 MB / 0.5668 GB, free: 5.977 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003137/1.011, allocations: 1.124 MB / 0.5679 GB, free: 5.145 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004118/1.015, allocations: 1.222 MB / 0.5691 GB, free: 4.074 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004838/1.02, allocations: 4.712 MB / 0.5737 GB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005097/1.025, allocations: 369 kB / 0.5741 GB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001416/1.026, allocations: 338.2 kB / 0.5744 GB, free: 14.99 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 556 * Number of states: 0 () * Number of discrete variables: 33 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (657): * Single equations (assignments): 648 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.001946/1.028, allocations: 0.519 MB / 0.5749 GB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009691/1.029, allocations: 296.1 kB / 0.5752 GB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006475/1.036, allocations: 2.659 MB / 0.5778 GB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004546/1.04, allocations: 2.241 MB / 0.58 GB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-05/1.04, allocations: 4 kB / 0.58 GB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-05/1.04, allocations: 10.7 kB / 0.58 GB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008588/1.049, allocations: 3.357 MB / 0.5833 GB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.426e-05/1.049, allocations: 3.562 kB / 0.5833 GB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001229/1.05, allocations: 196.6 kB / 0.5835 GB, free: 7.477 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003283/1.054, allocations: 1.038 MB / 0.5845 GB, free: 6.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003581/1.054, allocations: 35.88 kB / 0.5845 GB, free: 6.742 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005897/1.06, allocations: 4.989 MB / 0.5894 GB, free: 1.883 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001109/1.061, allocations: 1.477 MB / 0.5908 GB, free: 276 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2009/1.262, allocations: 4.836 MB / 0.5956 GB, free: 79.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00113/1.263, allocations: 365.6 kB / 0.5959 GB, free: 79.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007737/1.264, allocations: 24.69 kB / 0.5959 GB, free: 79.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002011/1.266, allocations: 125.5 kB / 0.596 GB, free: 79.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003486/1.266, allocations: 82.06 kB / 0.5961 GB, free: 79.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001816/1.267, allocations: 37.33 kB / 0.5962 GB, free: 79.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0058/1.272, allocations: 2.145 MB / 0.5983 GB, free: 79.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.3e-07/1.272, allocations: 0 / 0.5983 GB, free: 79.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005493/1.278, allocations: 0.9279 MB / 0.5992 GB, free: 79.04 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 86 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005327/1.278, allocations: 167.7 kB / 0.5993 GB, free: 78.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.008659/1.287, allocations: 4.999 MB / 0.6042 GB, free: 78.51 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/1.287, allocations: 0 / 0.6042 GB, free: 78.51 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003512/1.291, allocations: 1.983 MB / 0.6061 GB, free: 78.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002373/1.293, allocations: 348.8 kB / 0.6065 GB, free: 78.06 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0139/1.307, allocations: 6.811 MB / 0.6131 GB, free: 76.62 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003933/1.311, allocations: 2.933 MB / 0.616 GB, free: 75.85 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.004445/1.316, allocations: 1.665 MB / 0.6176 GB, free: 75.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009245/1.316, allocations: 209.9 kB / 0.6178 GB, free: 75.82 MB / 362.7 MB Notification: Performance of SimCode: time 1.363e-06/1.316, allocations: 0 / 0.6178 GB, free: 75.82 MB / 362.7 MB Notification: Performance of Templates: time 0.05719/1.374, allocations: 30.39 MB / 0.6475 GB, free: 71.88 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1)