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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005936/0.005937, allocations: 102.8 kB / 15.73 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 195.2 kB / 16.67 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.327/1.327, allocations: 205.1 MB / 222.5 MB, free: 4.465 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 51.16 kB / 326.6 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.116, allocations: 46.63 MB / 373.2 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01227/0.1283, allocations: 10.45 MB / 383.6 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008494/0.1369, allocations: 3.821 MB / 387.5 MB, free: 2.953 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001438/0.1384, allocations: 59.81 kB / 387.5 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004099/0.1425, allocations: 2.313 MB / 389.8 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004152/0.1467, allocations: 1.692 MB / 391.5 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.148, allocations: 0.6044 MB / 392.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004071/0.1521, allocations: 3.463 MB / 395.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003119/0.1553, allocations: 3.032 MB / 398.6 MB, free: 7.711 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001845/0.1571, allocations: 1.359 MB / 400 MB, free: 6.348 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002423/0.1596, allocations: 1.799 MB / 401.8 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005948/0.1602, allocations: 292 kB / 402.1 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002477/0.1627, allocations: 1.147 MB / 403.2 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001636/0.1643, allocations: 1.71 MB / 404.9 MB, free: 1.395 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001916/0.1662, allocations: 1.961 MB / 406.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006504/0.1727, allocations: 6.24 MB / 413.1 MB, free: 9.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.1728, allocations: 0 / 413.1 MB, free: 9.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1728, allocations: 0 / 413.1 MB, free: 9.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001287/0.1729, allocations: 0 / 413.1 MB, free: 9.16 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1330 * Number of variables: 1330 Notification: Performance of Generate backend data structure: time 0.008115/0.181, allocations: 4.23 MB / 417.4 MB, free: 4.863 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.1811, allocations: 12.03 kB / 417.4 MB, free: 4.852 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006762/0.1879, allocations: 1.832 MB / 419.2 MB, free: 3.012 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005292/0.1932, allocations: 2.103 MB / 421.3 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001697/0.1934, allocations: 213.4 kB / 421.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009883/0.1944, allocations: 363.6 kB / 421.9 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01576/0.2102, allocations: 8.87 MB / 430.7 MB, free: 6.781 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001055/0.2103, allocations: 39.59 kB / 430.8 MB, free: 6.742 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004024/0.2107, allocations: 139.9 kB / 430.9 MB, free: 6.605 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002472/0.2132, allocations: 1.641 MB / 432.5 MB, free: 4.965 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01373/0.227, allocations: 7.502 MB / 440.1 MB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3071/0.5341, allocations: 35.01 MB / 475.1 MB, free: 45.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008878/0.543, allocations: 3.452 MB / 478.5 MB, free: 43.87 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002093/0.5452, allocations: 1.449 MB / 480 MB, free: 43.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01031/0.5555, allocations: 6.803 MB / 486.8 MB, free: 39.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.5556, allocations: 50.06 kB / 486.8 MB, free: 39.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=132): time 6.382e-06/0.5556, allocations: 0 / 486.8 MB, free: 39.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=139): time 0.02439/0.58, allocations: 11.13 MB / 497.9 MB, free: 32.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00104/0.581, allocations: 1.701 MB / 499.6 MB, free: 31.15 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004007/0.5851, allocations: 3.55 MB / 0.4914 GB, free: 27.76 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003105/0.5854, allocations: 45.7 kB / 0.4914 GB, free: 27.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001515/0.5869, allocations: 2.793 MB / 0.4942 GB, free: 24.92 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006347/0.5876, allocations: 0.5659 MB / 0.4947 GB, free: 24.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001246/0.5888, allocations: 1.11 MB / 0.4958 GB, free: 23.24 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.625e-05/0.5889, allocations: 306.1 kB / 0.4961 GB, free: 22.94 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002283/0.5912, allocations: 1.916 MB / 0.498 GB, free: 21.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00363/0.5949, allocations: 5.371 MB / 0.5032 GB, free: 13.94 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007222/0.6021, allocations: 7.829 MB / 0.5109 GB, free: 4.398 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001036/0.6022, allocations: 36 kB / 0.5109 GB, free: 4.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02103/0.6233, allocations: 8.749 MB / 0.5194 GB, free: 11.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000174/0.6235, allocations: 60 kB / 0.5195 GB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01146/0.635, allocations: 3.44 MB / 0.5229 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01109/0.6461, allocations: 2.23 MB / 0.525 GB, free: 5.828 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004624/0.6508, allocations: 1.253 MB / 0.5263 GB, free: 4.574 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01096/0.6618, allocations: 7.425 MB / 0.5335 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005706/0.6675, allocations: 383.4 kB / 0.5339 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001188/0.6687, allocations: 340 kB / 0.5342 GB, free: 12.17 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * Number of states: 0 () * Number of discrete variables: 36 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (676): * Single equations (assignments): 667 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004744/0.6735, allocations: 1.853 MB / 0.536 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001273/0.6748, allocations: 300.1 kB / 0.5363 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007005/0.6818, allocations: 2.757 MB / 0.539 GB, free: 7.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004814/0.6867, allocations: 2.359 MB / 0.5413 GB, free: 4.852 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.706e-05/0.6867, allocations: 3.891 kB / 0.5413 GB, free: 4.852 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.249e-05/0.6867, allocations: 7.984 kB / 0.5413 GB, free: 4.844 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01967/0.7064, allocations: 7.845 MB / 0.549 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.63e-05/0.7065, allocations: 8.094 kB / 0.549 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001194/0.7077, allocations: 219.7 kB / 0.5492 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003242/0.711, allocations: 1.064 MB / 0.5502 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002343/0.7112, allocations: 39.52 kB / 0.5503 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006439/0.7177, allocations: 5.271 MB / 0.5554 GB, free: 6.031 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001264/0.719, allocations: 1.561 MB / 0.5569 GB, free: 4.32 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008831/0.7278, allocations: 4.962 MB / 0.5618 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001374/0.7292, allocations: 365 kB / 0.5621 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008737/0.7301, allocations: 39.81 kB / 0.5622 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001956/0.7321, allocations: 127.7 kB / 0.5623 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003021/0.7324, allocations: 80.47 kB / 0.5624 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001416/0.7326, allocations: 47.59 kB / 0.5624 GB, free: 14.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004692/0.7373, allocations: 2.199 MB / 0.5646 GB, free: 12.47 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.7373, allocations: 4 kB / 0.5646 GB, free: 12.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005953/0.7433, allocations: 0.9636 MB / 0.5655 GB, free: 11.5 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (105): * Single equations (assignments): 98 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007118/0.744, allocations: 172.1 kB / 0.5657 GB, free: 11.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01038/0.7544, allocations: 5.234 MB / 0.5708 GB, free: 6.059 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/0.7545, allocations: 192 / 0.5708 GB, free: 6.059 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004088/0.7586, allocations: 2.023 MB / 0.5728 GB, free: 3.973 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003457/0.762, allocations: 402.2 kB / 0.5731 GB, free: 3.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01811/0.7802, allocations: 8.432 MB / 0.5814 GB, free: 11.12 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00513/0.7854, allocations: 2.905 MB / 0.5842 GB, free: 8.18 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004479/0.7899, allocations: 1.707 MB / 0.5859 GB, free: 6.469 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000911/0.7908, allocations: 211.4 kB / 0.5861 GB, free: 6.262 MB / 462.1 MB Notification: Performance of SimCode: time 9.72e-07/0.7908, allocations: 0 / 0.5861 GB, free: 6.262 MB / 462.1 MB Notification: Performance of Templates: time 0.06838/0.8592, allocations: 33.11 MB / 0.6184 GB, free: 5.172 MB / 494.1 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)