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.007661/0.007661, allocations: 165.5 kB / 15.11 MB, free: 5.973 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.153/1.153, allocations: 170.8 MB / 186.6 MB, free: 1.141 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.001549/0.001549, allocations: 107.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004632/0.0004632, allocations: 8 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1821, allocations: 38.77 MB / 312.9 MB, free: 38.69 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09281/0.275, allocations: 81.4 MB / 394.3 MB, free: 9.121 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/0.2753, allocations: 83.95 kB / 394.4 MB, free: 9.039 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2992/0.5745, allocations: 71.46 MB / 465.8 MB, free: 57.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.5745, allocations: 0 / 465.8 MB, free: 57.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001108/0.5746, allocations: 68 kB / 465.9 MB, free: 57.78 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: 1295 * Number of variables: 1295 Notification: Performance of Generate backend data structure: time 0.01106/0.5857, allocations: 3.996 MB / 469.9 MB, free: 53.71 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.605e-05/0.5858, allocations: 8.031 kB / 469.9 MB, free: 53.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009211/0.595, allocations: 2.137 MB / 472 MB, free: 51.56 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01026/0.6053, allocations: 4.445 MB / 476.5 MB, free: 47.05 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001872/0.6055, allocations: 271.2 kB / 476.7 MB, free: 46.79 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001309/0.6068, allocations: 367.8 kB / 477.1 MB, free: 46.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01413/0.621, allocations: 9.068 MB / 486.2 MB, free: 36.4 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000128/0.6212, allocations: 63.41 kB / 486.2 MB, free: 36.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004672/0.6216, allocations: 179.8 kB / 486.4 MB, free: 36.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008999/0.6225, allocations: 0.8724 MB / 487.3 MB, free: 35.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01163/0.6342, allocations: 7.351 MB / 494.6 MB, free: 27.93 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03933/0.6736, allocations: 43.17 MB / 0.5252 GB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007482/0.6811, allocations: 3.163 MB / 0.5283 GB, free: 12.01 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01008/0.6912, allocations: 6.043 MB / 0.5342 GB, free: 5.758 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/0.6913, allocations: 39.12 kB / 0.5342 GB, free: 5.711 MB / 346.7 MB Notification: Performance of pre-optimization done (n=118): time 6.683e-06/0.6913, allocations: 4 kB / 0.5342 GB, free: 5.707 MB / 346.7 MB Notification: Performance of matching and sorting (n=125): time 0.1675/0.8588, allocations: 10.91 MB / 0.5449 GB, free: 86.28 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009665/0.8598, allocations: 1.631 MB / 0.5465 GB, free: 84.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004678/0.8645, allocations: 3.145 MB / 0.5495 GB, free: 84.45 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002559/0.8648, allocations: 40.97 kB / 0.5496 GB, free: 84.41 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001281/0.8661, allocations: 2.772 MB / 0.5523 GB, free: 82.88 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005832/0.8667, allocations: 0.5226 MB / 0.5528 GB, free: 82.6 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002318/0.8669, allocations: 104.7 kB / 0.5529 GB, free: 82.6 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003055/0.8673, allocations: 0.5324 MB / 0.5534 GB, free: 82.28 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002501/0.8698, allocations: 1.855 MB / 0.5552 GB, free: 82.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003658/0.8734, allocations: 5.257 MB / 0.5604 GB, free: 77.83 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003847/0.8773, allocations: 3.06 MB / 0.5634 GB, free: 77.7 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.884e-05/0.8774, allocations: 35.38 kB / 0.5634 GB, free: 77.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01151/0.8889, allocations: 7.664 MB / 0.5709 GB, free: 75.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.706e-05/0.889, allocations: 58.81 kB / 0.5709 GB, free: 75.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003711/0.8927, allocations: 2.41 MB / 0.5733 GB, free: 74.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002675/0.8954, allocations: 1.125 MB / 0.5744 GB, free: 74.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003166/0.8986, allocations: 1.233 MB / 0.5756 GB, free: 73.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004128/0.9027, allocations: 4.768 MB / 0.5802 GB, free: 70.65 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004344/0.9071, allocations: 376.3 kB / 0.5806 GB, free: 70.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006604/0.9078, allocations: 329.7 kB / 0.5809 GB, free: 70.51 MB / 346.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 () * Number of clocked 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.002725/0.9105, allocations: 1.831 MB / 0.5827 GB, free: 69.63 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005857/0.9111, allocations: 295.2 kB / 0.583 GB, free: 69.47 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004802/0.9159, allocations: 2.66 MB / 0.5856 GB, free: 68.53 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003839/0.9198, allocations: 2.266 MB / 0.5878 GB, free: 67.78 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.779e-06/0.9198, allocations: 3.875 kB / 0.5878 GB, free: 67.78 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/0.9198, allocations: 5.812 kB / 0.5878 GB, free: 67.78 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005179/0.925, allocations: 3.347 MB / 0.5911 GB, free: 66.24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.9251, allocations: 11.56 kB / 0.5911 GB, free: 66.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000973/0.926, allocations: 203.2 kB / 0.5913 GB, free: 66.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00267/0.9287, allocations: 1.044 MB / 0.5923 GB, free: 65.37 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001149/0.9289, allocations: 31.92 kB / 0.5923 GB, free: 65.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004235/0.9331, allocations: 5.082 MB / 0.5973 GB, free: 60.63 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007621/0.9339, allocations: 1.489 MB / 0.5987 GB, free: 59.06 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006493/0.9404, allocations: 4.869 MB / 0.6035 GB, free: 54.85 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009028/0.9413, allocations: 363.8 kB / 0.6038 GB, free: 54.48 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003211/0.9416, allocations: 28.33 kB / 0.6039 GB, free: 54.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/0.9429, allocations: 126 kB / 0.604 GB, free: 54.38 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000194/0.9431, allocations: 80.23 kB / 0.6041 GB, free: 54.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.817e-05/0.9432, allocations: 36.2 kB / 0.6041 GB, free: 54.31 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00266/0.9459, allocations: 2.175 MB / 0.6062 GB, free: 52.52 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9459, allocations: 4 kB / 0.6062 GB, free: 52.52 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003956/0.9498, allocations: 0.9303 MB / 0.6071 GB, free: 51.6 MB / 346.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 () * Number of clocked 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.0003691/0.9502, allocations: 165 kB / 0.6073 GB, free: 51.45 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006847/0.9571, allocations: 5.064 MB / 0.6122 GB, free: 47.02 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.9571, allocations: 0 / 0.6122 GB, free: 47.02 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003086/0.9602, allocations: 1.995 MB / 0.6142 GB, free: 45.28 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00177/0.962, allocations: 357 kB / 0.6145 GB, free: 44.98 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01276/0.9748, allocations: 9.635 MB / 0.6239 GB, free: 36.24 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00241/0.9772, allocations: 2.931 MB / 0.6268 GB, free: 33.76 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.003689/0.9809, allocations: 1.665 MB / 0.6284 GB, free: 32.1 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005647/0.9815, allocations: 211.4 kB / 0.6286 GB, free: 31.89 MB / 346.7 MB Notification: Performance of SimCode: time 1.032e-06/0.9815, allocations: 3.5 kB / 0.6286 GB, free: 31.89 MB / 346.7 MB Notification: Performance of Templates: time 0.0491/1.031, allocations: 30.45 MB / 0.6584 GB, free: 1.812 MB / 346.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)