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.001582/0.001582, allocations: 107.3 kB / 15.33 MB, free: 0.5039 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.00185/0.00185, allocations: 199 kB / 16.26 MB, free: 6.629 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.315/1.315, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.001144/0.001145, allocations: 55.92 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2029, allocations: 46.63 MB / 324.9 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.03406/0.237, allocations: 38.41 MB / 363.3 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01959/0.2566, allocations: 8.438 MB / 371.7 MB, free: 5.086 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006818/0.2635, allocations: 163.6 kB / 371.9 MB, free: 4.926 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004186/0.2677, allocations: 2.22 MB / 374.1 MB, free: 2.699 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00384/0.2716, allocations: 1.569 MB / 375.7 MB, free: 1.125 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001268/0.2729, allocations: 0.5695 MB / 376.2 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004347/0.2773, allocations: 3.502 MB / 379.7 MB, free: 13.04 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004012/0.2813, allocations: 3.198 MB / 382.9 MB, free: 9.793 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001972/0.2833, allocations: 1.398 MB / 384.3 MB, free: 8.391 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002187/0.2855, allocations: 2.009 MB / 386.3 MB, free: 6.375 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004292/0.2859, allocations: 292 kB / 386.6 MB, free: 6.09 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001861/0.2878, allocations: 1.143 MB / 387.8 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001362/0.2892, allocations: 1.703 MB / 389.5 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001633/0.2908, allocations: 1.989 MB / 391.4 MB, free: 1.238 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005143/0.2959, allocations: 6.075 MB / 397.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.296, allocations: 0 / 397.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.296, allocations: 0 / 397.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.418e-05/0.2961, allocations: 0 / 397.5 MB, free: 11.14 MB / 334.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.006269/0.3023, allocations: 4.226 MB / 401.8 MB, free: 6.852 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.3024, allocations: 12.03 kB / 401.8 MB, free: 6.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005798/0.3082, allocations: 1.832 MB / 403.6 MB, free: 5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003042/0.3113, allocations: 2.08 MB / 405.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001469/0.3114, allocations: 217.4 kB / 405.9 MB, free: 2.645 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007213/0.3121, allocations: 363.7 kB / 406.2 MB, free: 2.289 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01284/0.325, allocations: 8.87 MB / 415.1 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.624e-05/0.3251, allocations: 35.73 kB / 415.1 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003494/0.3255, allocations: 135.9 kB / 415.3 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002201/0.3277, allocations: 1.645 MB / 416.9 MB, free: 6.973 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01285/0.3406, allocations: 7.502 MB / 424.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.198/0.5385, allocations: 35.17 MB / 459.6 MB, free: 91.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007654/0.5463, allocations: 3.461 MB / 463.1 MB, free: 90.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001423/0.5477, allocations: 1.445 MB / 464.5 MB, free: 90.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007/0.5547, allocations: 6.807 MB / 471.3 MB, free: 87.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.5548, allocations: 42.78 kB / 471.3 MB, free: 87.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=132): time 3.456e-06/0.5548, allocations: 0 / 471.3 MB, free: 87.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=139): time 0.02196/0.5767, allocations: 11.13 MB / 482.5 MB, free: 81.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008807/0.5776, allocations: 1.704 MB / 484.2 MB, free: 79.26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003357/0.581, allocations: 3.551 MB / 487.7 MB, free: 75.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001817/0.5812, allocations: 45.7 kB / 487.8 MB, free: 75.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001082/0.5823, allocations: 2.784 MB / 490.6 MB, free: 72.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004152/0.5827, allocations: 0.5664 MB / 491.1 MB, free: 72.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001059/0.5838, allocations: 1.117 MB / 492.2 MB, free: 71.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.838e-05/0.5838, allocations: 305.1 kB / 492.5 MB, free: 70.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001989/0.5858, allocations: 1.92 MB / 494.5 MB, free: 68.97 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003119/0.589, allocations: 5.364 MB / 499.8 MB, free: 62.03 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005545/0.5945, allocations: 7.832 MB / 0.4958 GB, free: 52.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.268e-05/0.5946, allocations: 36 kB / 0.4958 GB, free: 52.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.016/0.6106, allocations: 8.757 MB / 0.5043 GB, free: 43.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.89e-05/0.6107, allocations: 60 kB / 0.5044 GB, free: 43.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009192/0.6199, allocations: 3.437 MB / 0.5078 GB, free: 40.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009442/0.6294, allocations: 2.235 MB / 0.5099 GB, free: 38.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003359/0.6328, allocations: 1.259 MB / 0.5112 GB, free: 36.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008005/0.6408, allocations: 7.42 MB / 0.5184 GB, free: 29.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004129/0.645, allocations: 387.4 kB / 0.5188 GB, free: 28.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005408/0.6455, allocations: 337 kB / 0.5191 GB, free: 28.43 MB / 382.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.002182/0.6477, allocations: 1.853 MB / 0.5209 GB, free: 26.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000467/0.6482, allocations: 308 kB / 0.5212 GB, free: 26.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004406/0.6526, allocations: 2.761 MB / 0.5239 GB, free: 23.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003574/0.6562, allocations: 2.355 MB / 0.5262 GB, free: 21.1 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.6562, allocations: 4 kB / 0.5262 GB, free: 21.1 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.606e-05/0.6562, allocations: 8.438 kB / 0.5262 GB, free: 21.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01062/0.6669, allocations: 7.855 MB / 0.5339 GB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.769e-06/0.6669, allocations: 3.984 kB / 0.5339 GB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009402/0.6678, allocations: 219.7 kB / 0.5341 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002566/0.6704, allocations: 1.064 MB / 0.5351 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001222/0.6705, allocations: 35.97 kB / 0.5352 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004111/0.6747, allocations: 5.277 MB / 0.5403 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007207/0.6754, allocations: 1.564 MB / 0.5419 GB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006288/0.6817, allocations: 4.958 MB / 0.5467 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008688/0.6826, allocations: 357.1 kB / 0.547 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003493/0.683, allocations: 35.83 kB / 0.5471 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/0.6842, allocations: 127.7 kB / 0.5472 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002604/0.6845, allocations: 88.47 kB / 0.5473 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/0.6846, allocations: 43.97 kB / 0.5473 GB, free: 14.89 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003066/0.6877, allocations: 2.199 MB / 0.5495 GB, free: 12.71 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6877, allocations: 0 / 0.5495 GB, free: 12.71 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004345/0.692, allocations: 0.9672 MB / 0.5504 GB, free: 11.75 MB / 398.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.0004036/0.6925, allocations: 164.6 kB / 0.5506 GB, free: 11.58 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.009218/0.7017, allocations: 5.715 MB / 0.5562 GB, free: 5.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.7017, allocations: 0 / 0.5562 GB, free: 5.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003694/0.7054, allocations: 2.024 MB / 0.5581 GB, free: 3.742 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002403/0.7079, allocations: 390.1 kB / 0.5585 GB, free: 3.359 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01468/0.7226, allocations: 10.21 MB / 0.5685 GB, free: 9.105 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002784/0.7254, allocations: 2.916 MB / 0.5713 GB, free: 6.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.003841/0.7292, allocations: 1.707 MB / 0.573 GB, free: 4.449 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005386/0.7298, allocations: 211.4 kB / 0.5732 GB, free: 4.242 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.7298, allocations: 0 / 0.5732 GB, free: 4.242 MB / 414.1 MB Notification: Performance of Templates: time 0.1977/0.9275, allocations: 36.3 MB / 0.6086 GB, free: 162 MB / 446.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)