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.005764/0.005764, allocations: 104.3 kB / 15.74 MB, free: 6.441 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.00122/0.00122, allocations: 190.2 kB / 16.67 MB, free: 6.355 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.367/1.367, allocations: 205.1 MB / 222.5 MB, free: 4.48 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.001337/0.001337, allocations: 54.75 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1107, allocations: 46.62 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01203/0.1227, allocations: 10.46 MB / 383.6 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008146/0.1309, allocations: 3.828 MB / 387.5 MB, free: 2.957 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002156/0.1331, allocations: 59.81 kB / 387.5 MB, free: 2.898 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004593/0.1378, allocations: 2.313 MB / 389.8 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004697/0.1425, allocations: 1.731 MB / 391.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001645/0.1442, allocations: 0.6083 MB / 392.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005565/0.1498, allocations: 3.459 MB / 395.6 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004609/0.1544, allocations: 3.036 MB / 398.7 MB, free: 7.672 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003298/0.1577, allocations: 1.363 MB / 400 MB, free: 6.305 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003276/0.161, allocations: 1.803 MB / 401.8 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00123/0.1623, allocations: 288 kB / 402.1 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00334/0.1656, allocations: 1.139 MB / 403.3 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003065/0.1687, allocations: 1.714 MB / 405 MB, free: 1.355 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004563/0.1733, allocations: 1.965 MB / 406.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009116/0.1824, allocations: 6.233 MB / 413.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.159e-05/0.1825, allocations: 0 / 413.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.567e-06/0.1825, allocations: 0 / 413.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002142/0.1828, allocations: 0 / 413.2 MB, free: 9.125 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.00957/0.1923, allocations: 4.238 MB / 417.4 MB, free: 4.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.1924, allocations: 8.031 kB / 417.4 MB, free: 4.812 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006469/0.1989, allocations: 1.832 MB / 419.2 MB, free: 2.973 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003742/0.2026, allocations: 2.103 MB / 421.3 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001719/0.2028, allocations: 209.4 kB / 421.6 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009004/0.2037, allocations: 371.6 kB / 421.9 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01495/0.2187, allocations: 8.87 MB / 430.8 MB, free: 6.738 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.973e-05/0.2188, allocations: 39.59 kB / 430.8 MB, free: 6.699 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003702/0.2192, allocations: 135.9 kB / 431 MB, free: 6.566 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002545/0.2218, allocations: 1.641 MB / 432.6 MB, free: 4.926 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01439/0.2362, allocations: 7.502 MB / 440.1 MB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2979/0.5341, allocations: 35.01 MB / 475.1 MB, free: 45.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009658/0.5438, allocations: 3.442 MB / 478.6 MB, free: 43.85 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002407/0.5463, allocations: 1.45 MB / 480 MB, free: 43.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009498/0.5558, allocations: 6.808 MB / 486.8 MB, free: 39.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.5559, allocations: 49.09 kB / 486.9 MB, free: 39.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=132): time 5.17e-06/0.5559, allocations: 3.469 kB / 486.9 MB, free: 39.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=139): time 0.02559/0.5815, allocations: 11.12 MB / 498 MB, free: 32.86 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001047/0.5826, allocations: 1.699 MB / 499.7 MB, free: 31.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004324/0.5869, allocations: 3.552 MB / 0.4914 GB, free: 27.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000299/0.5873, allocations: 41.7 kB / 0.4915 GB, free: 27.72 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001175/0.5884, allocations: 2.796 MB / 0.4942 GB, free: 24.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005026/0.589, allocations: 0.5704 MB / 0.4948 GB, free: 24.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001084/0.59, allocations: 1.103 MB / 0.4958 GB, free: 23.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.487e-05/0.5901, allocations: 316.2 kB / 0.4961 GB, free: 22.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00213/0.5922, allocations: 1.916 MB / 0.498 GB, free: 21.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003439/0.5957, allocations: 5.364 MB / 0.5033 GB, free: 13.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00692/0.6026, allocations: 7.826 MB / 0.5109 GB, free: 4.406 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.43e-05/0.6027, allocations: 36 kB / 0.5109 GB, free: 4.371 MB / 382.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02204/0.6248, allocations: 8.754 MB / 0.5195 GB, free: 11.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001147/0.625, allocations: 60.03 kB / 0.5195 GB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01128/0.6363, allocations: 3.439 MB / 0.5229 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01126/0.6476, allocations: 2.238 MB / 0.5251 GB, free: 5.832 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004562/0.6522, allocations: 1.244 MB / 0.5263 GB, free: 4.586 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01058/0.6628, allocations: 7.426 MB / 0.5336 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005078/0.6679, allocations: 384.4 kB / 0.5339 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009382/0.6689, allocations: 340 kB / 0.5342 GB, free: 12.18 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.003238/0.6721, allocations: 1.845 MB / 0.536 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006164/0.6728, allocations: 312 kB / 0.5363 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005804/0.6786, allocations: 2.76 MB / 0.539 GB, free: 7.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004671/0.6833, allocations: 2.355 MB / 0.5413 GB, free: 4.859 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.479e-05/0.6833, allocations: 4 kB / 0.5413 GB, free: 4.855 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.52e-05/0.6834, allocations: 7.984 kB / 0.5413 GB, free: 4.848 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01651/0.6999, allocations: 7.85 MB / 0.549 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.521e-05/0.7, allocations: 4 kB / 0.549 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001268/0.7012, allocations: 227.6 kB / 0.5492 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003259/0.7045, allocations: 1.058 MB / 0.5503 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002152/0.7047, allocations: 31.98 kB / 0.5503 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006003/0.7108, allocations: 5.276 MB / 0.5555 GB, free: 6.039 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001059/0.7119, allocations: 1.557 MB / 0.557 GB, free: 4.332 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008113/0.72, allocations: 4.965 MB / 0.5618 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001194/0.7212, allocations: 369 kB / 0.5622 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004374/0.7217, allocations: 35.92 kB / 0.5622 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001477/0.7232, allocations: 122.3 kB / 0.5623 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003323/0.7235, allocations: 88.47 kB / 0.5624 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001362/0.7236, allocations: 40.86 kB / 0.5624 GB, free: 14.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004091/0.7277, allocations: 2.199 MB / 0.5646 GB, free: 12.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.7278, allocations: 0 / 0.5646 GB, free: 12.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005458/0.7332, allocations: 0.9751 MB / 0.5655 GB, free: 11.51 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.0005401/0.7338, allocations: 165.6 kB / 0.5657 GB, free: 11.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01005/0.7439, allocations: 5.234 MB / 0.5708 GB, free: 6.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.7439, allocations: 4.062 kB / 0.5708 GB, free: 6.066 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004182/0.7481, allocations: 2.021 MB / 0.5728 GB, free: 3.984 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003414/0.7516, allocations: 403.7 kB / 0.5732 GB, free: 3.598 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01758/0.7692, allocations: 8.429 MB / 0.5814 GB, free: 11.12 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003785/0.773, allocations: 2.902 MB / 0.5842 GB, free: 8.188 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004508/0.7775, allocations: 1.711 MB / 0.5859 GB, free: 6.473 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006611/0.7782, allocations: 211.4 kB / 0.5861 GB, free: 6.266 MB / 462.1 MB Notification: Performance of SimCode: time 1.152e-06/0.7782, allocations: 0 / 0.5861 GB, free: 6.266 MB / 462.1 MB Notification: Performance of Templates: time 0.06543/0.8437, allocations: 33.18 MB / 0.6185 GB, free: 5.121 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)