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.0009514/0.0009514, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.007132/0.007132, allocations: 169.2 kB / 16.26 MB, free: 6.648 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.368/1.368, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0004445/0.0004446, allocations: 16.38 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.211, allocations: 47.58 MB / 327 MB, free: 1.621 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.0347/0.2457, allocations: 37.35 MB / 364.4 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01813/0.2639, allocations: 8.462 MB / 372.8 MB, free: 5.562 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005819/0.2697, allocations: 163.6 kB / 373 MB, free: 5.402 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001235/0.271, allocations: 378.1 kB / 373.4 MB, free: 5.031 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004668/0.2757, allocations: 1.6 MB / 375 MB, free: 3.426 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001429/0.2771, allocations: 0.5578 MB / 375.5 MB, free: 2.867 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005834/0.283, allocations: 4.984 MB / 380.5 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006149/0.2892, allocations: 4.071 MB / 384.6 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002189/0.2914, allocations: 1.035 MB / 385.6 MB, free: 8.672 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002622/0.294, allocations: 1.674 MB / 387.3 MB, free: 6.992 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006186/0.2946, allocations: 124 kB / 387.4 MB, free: 6.871 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002127/0.2968, allocations: 1.018 MB / 388.4 MB, free: 5.852 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001714/0.2985, allocations: 1.507 MB / 389.9 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0017/0.3002, allocations: 1.764 MB / 391.7 MB, free: 2.559 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005601/0.3058, allocations: 5.796 MB / 397.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.3059, allocations: 3.938 kB / 397.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3059, allocations: 0 / 397.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001631/0.3061, allocations: 4 kB / 397.5 MB, free: 12.73 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.006342/0.3124, allocations: 3.474 MB / 401 MB, free: 9.195 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.3125, allocations: 8.031 kB / 401 MB, free: 9.188 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006421/0.3189, allocations: 1.883 MB / 402.9 MB, free: 7.297 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003368/0.3223, allocations: 2.068 MB / 404.9 MB, free: 5.168 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001438/0.3224, allocations: 213.4 kB / 405.1 MB, free: 4.957 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007907/0.3232, allocations: 367.7 kB / 405.5 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01362/0.3369, allocations: 8.881 MB / 414.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.569e-05/0.337, allocations: 39.59 kB / 414.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003737/0.3374, allocations: 139.8 kB / 414.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002422/0.3398, allocations: 1.637 MB / 416.2 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01417/0.354, allocations: 7.506 MB / 423.7 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2052/0.5592, allocations: 35.16 MB / 458.9 MB, free: 105.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007753/0.567, allocations: 3.46 MB / 462.3 MB, free: 104.4 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001414/0.5685, allocations: 1.444 MB / 463.8 MB, free: 104.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00715/0.5756, allocations: 6.813 MB / 470.6 MB, free: 101.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.5757, allocations: 49.66 kB / 470.6 MB, free: 101.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=132): time 2.865e-06/0.5757, allocations: 0 / 470.6 MB, free: 101.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=139): time 0.02263/0.5983, allocations: 11.13 MB / 481.8 MB, free: 95.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009351/0.5993, allocations: 1.621 MB / 483.4 MB, free: 93.92 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003637/0.6029, allocations: 3.544 MB / 486.9 MB, free: 90.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001934/0.6031, allocations: 44.5 kB / 487 MB, free: 90.33 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001043/0.6042, allocations: 2.786 MB / 489.7 MB, free: 87.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003762/0.6046, allocations: 0.576 MB / 490.3 MB, free: 86.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004261/0.605, allocations: 483.1 kB / 490.8 MB, free: 86.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.342e-05/0.6051, allocations: 301.1 kB / 491.1 MB, free: 86.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002001/0.6071, allocations: 1.923 MB / 493 MB, free: 84.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002978/0.61, allocations: 5.36 MB / 498.4 MB, free: 77.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00562/0.6157, allocations: 7.839 MB / 0.4943 GB, free: 67.87 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.057e-05/0.6157, allocations: 36 kB / 0.4944 GB, free: 67.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01701/0.6328, allocations: 8.753 MB / 0.5029 GB, free: 59.06 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.794e-05/0.6329, allocations: 60 kB / 0.503 GB, free: 59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009584/0.6425, allocations: 3.44 MB / 0.5063 GB, free: 55.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009846/0.6523, allocations: 2.234 MB / 0.5085 GB, free: 53.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003443/0.6558, allocations: 1.252 MB / 0.5098 GB, free: 52.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007572/0.6634, allocations: 6.81 MB / 0.5164 GB, free: 44.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004177/0.6676, allocations: 380.6 kB / 0.5168 GB, free: 44.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005252/0.6681, allocations: 344 kB / 0.5171 GB, free: 44.27 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.002414/0.6706, allocations: 1.851 MB / 0.5189 GB, free: 42.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004058/0.671, allocations: 300.1 kB / 0.5192 GB, free: 42.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004758/0.6757, allocations: 2.776 MB / 0.5219 GB, free: 39.31 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00388/0.6796, allocations: 2.36 MB / 0.5242 GB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.166e-05/0.6797, allocations: 0 / 0.5242 GB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.071e-05/0.6797, allocations: 11.97 kB / 0.5242 GB, free: 36.92 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01144/0.6912, allocations: 7.845 MB / 0.5319 GB, free: 28.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.6912, allocations: 0 / 0.5319 GB, free: 28.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009849/0.6922, allocations: 231.6 kB / 0.5321 GB, free: 28.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002825/0.695, allocations: 1.053 MB / 0.5331 GB, free: 27.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/0.6951, allocations: 36.91 kB / 0.5332 GB, free: 27.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004394/0.6995, allocations: 4.964 MB / 0.538 GB, free: 22.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007243/0.7003, allocations: 1.482 MB / 0.5395 GB, free: 20.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006521/0.7068, allocations: 4.955 MB / 0.5443 GB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008988/0.7077, allocations: 369 kB / 0.5446 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000306/0.7081, allocations: 27.98 kB / 0.5447 GB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001315/0.7094, allocations: 128.6 kB / 0.5448 GB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002687/0.7097, allocations: 92.41 kB / 0.5449 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/0.7098, allocations: 53 kB / 0.5449 GB, free: 15.13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002618/0.7124, allocations: 2.195 MB / 0.5471 GB, free: 12.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.7124, allocations: 0 / 0.5471 GB, free: 12.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004212/0.7166, allocations: 0.971 MB / 0.548 GB, free: 11.98 MB / 382.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.0003678/0.717, allocations: 173.1 kB / 0.5482 GB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007655/0.7247, allocations: 5.2 MB / 0.5533 GB, free: 6.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.7247, allocations: 0 / 0.5533 GB, free: 6.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003458/0.7282, allocations: 2.009 MB / 0.5552 GB, free: 4.484 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003111/0.7313, allocations: 377.2 kB / 0.5556 GB, free: 4.117 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01432/0.7456, allocations: 10.38 MB / 0.5657 GB, free: 9.68 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00324/0.7489, allocations: 2.906 MB / 0.5686 GB, free: 6.742 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.004395/0.7533, allocations: 1.703 MB / 0.5702 GB, free: 5.035 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006167/0.754, allocations: 211.4 kB / 0.5704 GB, free: 4.828 MB / 398.1 MB Notification: Performance of SimCode: time 9.82e-07/0.754, allocations: 0 / 0.5704 GB, free: 4.828 MB / 398.1 MB Notification: Performance of Templates: time 0.06295/0.8169, allocations: 34.5 MB / 0.6041 GB, free: 2.332 MB / 430.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)