Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.00107/0.001069, allocations: 108.2 kB / 16.92 MB, free: 5.754 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.001018/0.001018, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.361/1.361, allocations: 205.1 MB / 223.7 MB, free: 12.35 MB / 190.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.001363/0.001363, allocations: 51.92 kB / 280 MB, free: 3.184 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09324/0.09461, allocations: 46.63 MB / 326.6 MB, free: 4.48 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01175/0.1064, allocations: 10.46 MB / 337.1 MB, free: 9.961 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007353/0.1138, allocations: 3.817 MB / 340.9 MB, free: 6.133 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00152/0.1154, allocations: 59.81 kB / 341 MB, free: 6.074 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004068/0.1195, allocations: 2.313 MB / 343.3 MB, free: 3.754 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004152/0.1237, allocations: 1.689 MB / 345 MB, free: 2.059 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001337/0.125, allocations: 0.6122 MB / 345.6 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004155/0.1292, allocations: 3.463 MB / 349 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003188/0.1324, allocations: 3.029 MB / 352.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00184/0.1342, allocations: 1.382 MB / 353.4 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002393/0.1366, allocations: 1.795 MB / 355.2 MB, free: 7.707 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005651/0.1372, allocations: 292 kB / 355.5 MB, free: 7.422 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002149/0.1394, allocations: 1.123 MB / 356.7 MB, free: 6.297 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001508/0.1409, allocations: 1.683 MB / 358.3 MB, free: 4.609 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001928/0.1428, allocations: 1.965 MB / 360.3 MB, free: 2.633 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006207/0.1491, allocations: 6.024 MB / 366.3 MB, free: 12.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.877e-05/0.1491, allocations: 4 kB / 366.3 MB, free: 12.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.1491, allocations: 0 / 366.3 MB, free: 12.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001281/0.1492, allocations: 3.938 kB / 366.3 MB, free: 12.58 MB / 318.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.00726/0.1565, allocations: 4.23 MB / 370.6 MB, free: 8.285 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.1566, allocations: 12.03 kB / 370.6 MB, free: 8.273 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006573/0.1631, allocations: 1.832 MB / 372.4 MB, free: 6.434 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003874/0.167, allocations: 2.064 MB / 374.5 MB, free: 4.309 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000156/0.1672, allocations: 213.4 kB / 374.7 MB, free: 4.098 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008419/0.1681, allocations: 367.7 kB / 375 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1879/0.356, allocations: 8.868 MB / 383.9 MB, free: 47.25 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000139/0.3562, allocations: 41.97 kB / 383.9 MB, free: 47.22 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004173/0.3566, allocations: 131.5 kB / 384.1 MB, free: 47.16 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003122/0.3597, allocations: 1.637 MB / 385.7 MB, free: 46.86 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.017/0.3767, allocations: 7.506 MB / 393.2 MB, free: 44.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03868/0.4155, allocations: 35.17 MB / 428.4 MB, free: 11.48 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00778/0.4233, allocations: 3.46 MB / 431.8 MB, free: 7.879 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001599/0.4249, allocations: 1.44 MB / 433.3 MB, free: 6.426 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00855/0.4335, allocations: 6.807 MB / 440.1 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.626e-05/0.4336, allocations: 47.22 kB / 440.1 MB, free: 15.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=132): time 5.67e-06/0.4336, allocations: 5.062 kB / 440.1 MB, free: 15.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=139): time 0.02993/0.4636, allocations: 11.11 MB / 451.3 MB, free: 3.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001523/0.4651, allocations: 1.711 MB / 453 MB, free: 2.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005947/0.4711, allocations: 3.551 MB / 456.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003786/0.4715, allocations: 41.7 kB / 456.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002044/0.4736, allocations: 2.786 MB / 459.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008303/0.4744, allocations: 0.5711 MB / 459.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001467/0.4759, allocations: 1.107 MB / 461 MB, free: 9.973 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.476, allocations: 305.1 kB / 461.3 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003029/0.479, allocations: 1.924 MB / 463.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005705/0.4848, allocations: 5.361 MB / 468.6 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009164/0.4939, allocations: 7.832 MB / 476.4 MB, free: 7.098 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.601e-05/0.494, allocations: 36 kB / 476.5 MB, free: 7.062 MB / 366.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02985/0.5239, allocations: 8.757 MB / 485.2 MB, free: 14.29 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002707/0.5242, allocations: 56 kB / 485.3 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02062/0.5449, allocations: 3.437 MB / 488.7 MB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0195/0.5644, allocations: 2.242 MB / 491 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007935/0.5724, allocations: 1.255 MB / 492.2 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01968/0.5922, allocations: 7.429 MB / 499.6 MB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008606/0.6008, allocations: 379.3 kB / 0.4883 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001429/0.6023, allocations: 344 kB / 0.4886 GB, free: 14.84 MB / 398.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.005185/0.6075, allocations: 1.85 MB / 0.4904 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001006/0.6085, allocations: 304 kB / 0.4907 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009704/0.6183, allocations: 2.765 MB / 0.4934 GB, free: 9.895 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007916/0.6262, allocations: 2.359 MB / 0.4957 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.484e-05/0.6263, allocations: 8 kB / 0.4957 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.318e-05/0.6263, allocations: 3.984 kB / 0.4957 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01599/0.6423, allocations: 7.855 MB / 0.5034 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/0.6423, allocations: 0 / 0.5034 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/0.6434, allocations: 227.7 kB / 0.5036 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003173/0.6466, allocations: 1.064 MB / 0.5047 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001916/0.6468, allocations: 31.98 kB / 0.5047 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006192/0.653, allocations: 5.282 MB / 0.5099 GB, free: 8.645 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001136/0.6542, allocations: 1.561 MB / 0.5114 GB, free: 6.934 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008205/0.6624, allocations: 4.957 MB / 0.5162 GB, free: 1.922 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008717/0.6633, allocations: 361.1 kB / 0.5166 GB, free: 1.547 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006068/0.664, allocations: 31.98 kB / 0.5166 GB, free: 1.516 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00167/0.6656, allocations: 123.8 kB / 0.5167 GB, free: 1.395 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000277/0.6659, allocations: 92.41 kB / 0.5168 GB, free: 1.305 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001192/0.6661, allocations: 39.97 kB / 0.5168 GB, free: 1.266 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003892/0.67, allocations: 2.199 MB / 0.519 GB, free: 15.08 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.67, allocations: 0 / 0.519 GB, free: 15.08 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004362/0.6743, allocations: 0.9674 MB / 0.5199 GB, free: 14.11 MB / 430.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.0004355/0.6748, allocations: 176.4 kB / 0.5201 GB, free: 13.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.009784/0.6846, allocations: 5.713 MB / 0.5257 GB, free: 8.195 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.6846, allocations: 4 kB / 0.5257 GB, free: 8.191 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003907/0.6885, allocations: 2.013 MB / 0.5276 GB, free: 6.105 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002687/0.6912, allocations: 401.1 kB / 0.528 GB, free: 5.715 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1707/0.8619, allocations: 8.501 MB / 0.5363 GB, free: 142.9 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004982/0.867, allocations: 2.914 MB / 0.5392 GB, free: 142.2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.005431/0.8724, allocations: 1.709 MB / 0.5408 GB, free: 142.1 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007414/0.8732, allocations: 210.5 kB / 0.541 GB, free: 142.1 MB / 430.1 MB Notification: Performance of SimCode: time 1.072e-06/0.8732, allocations: 0 / 0.541 GB, free: 142.1 MB / 430.1 MB Notification: Performance of Templates: time 0.05906/0.9323, allocations: 36.09 MB / 0.5763 GB, free: 120.2 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1)