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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.006279/0.006279, allocations: 178.3 kB / 7.451 MB, free: 2.234 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.417/1.417, allocations: 170.6 MB / 178.4 MB, free: 15.38 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00175/0.00175, allocations: 109 kB / 217.7 MB, free: 8.152 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 7.294e-06/7.334e-06, allocations: 4 kB / 261.8 MB, free: 26.64 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07998/0.08, allocations: 38.75 MB / 300.5 MB, free: 3.887 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2571/0.3371, allocations: 80.57 MB / 381.1 MB, free: 4.398 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000212/0.3374, allocations: 81.95 kB / 381.2 MB, free: 4.355 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.1806/0.518, allocations: 68.9 MB / 450.1 MB, free: 5.051 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001933/0.5182, allocations: 72 kB / 450.1 MB, free: 4.98 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1295 * Number of variables: 1295 Notification: Performance of Generate backend data structure: time 0.01613/0.5343, allocations: 3.667 MB / 453.8 MB, free: 1.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.5344, allocations: 8.031 kB / 453.8 MB, free: 1.242 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009819/0.5442, allocations: 1.738 MB / 455.5 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01439/0.5587, allocations: 4.474 MB / 460 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002419/0.559, allocations: 120 kB / 460.1 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001907/0.5609, allocations: 215.9 kB / 460.3 MB, free: 10.63 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01128/0.5722, allocations: 5.339 MB / 465.7 MB, free: 5.285 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1573/0.7296, allocations: 8.244 MB / 473.9 MB, free: 110.7 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001389/0.7297, allocations: 50.81 kB / 474 MB, free: 110.7 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004546/0.7302, allocations: 31.34 kB / 474 MB, free: 110.7 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001186/0.7314, allocations: 0.9289 MB / 474.9 MB, free: 110.7 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03972/0.7711, allocations: 42.85 MB / 0.5057 GB, free: 83.57 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002534/0.7737, allocations: 2.32 MB / 0.5079 GB, free: 82.92 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/0.7752, allocations: 1.45 MB / 0.5093 GB, free: 82.89 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006269/0.7814, allocations: 4.377 MB / 0.5136 GB, free: 81.54 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/0.7815, allocations: 51.25 kB / 0.5137 GB, free: 81.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=118): time 3.356e-06/0.7815, allocations: 0 / 0.5137 GB, free: 81.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=125): time 0.01546/0.797, allocations: 8.388 MB / 0.5219 GB, free: 77.89 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.7971, allocations: 142.9 kB / 0.522 GB, free: 77.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003802/0.8009, allocations: 2.809 MB / 0.5247 GB, free: 76.69 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002232/0.8011, allocations: 25.7 kB / 0.5248 GB, free: 76.66 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001137/0.8023, allocations: 2.644 MB / 0.5273 GB, free: 74.61 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005094/0.8028, allocations: 0.5098 MB / 0.5278 GB, free: 74.25 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001715/0.803, allocations: 3.906 kB / 0.5278 GB, free: 74.25 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002546/0.8032, allocations: 0.5392 MB / 0.5284 GB, free: 73.85 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002021/0.8052, allocations: 1.801 MB / 0.5301 GB, free: 73.23 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003205/0.8085, allocations: 5.316 MB / 0.5353 GB, free: 67.75 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003558/0.812, allocations: 3.092 MB / 0.5383 GB, free: 66.61 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.665e-05/0.8121, allocations: 36.25 kB / 0.5384 GB, free: 66.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.01212/0.8242, allocations: 7.01 MB / 0.5452 GB, free: 64.26 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.8243, allocations: 5.438 kB / 0.5452 GB, free: 64.26 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004717/0.829, allocations: 2.332 MB / 0.5475 GB, free: 63.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003129/0.8322, allocations: 1.069 MB / 0.5485 GB, free: 62.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004051/0.8363, allocations: 1.251 MB / 0.5498 GB, free: 61.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004254/0.8405, allocations: 4.45 MB / 0.5541 GB, free: 57.53 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004667/0.8452, allocations: 215.7 kB / 0.5543 GB, free: 57.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008544/0.8461, allocations: 350.8 kB / 0.5547 GB, free: 57.02 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 580 * Number of states: 0 () * Number of discrete variables: 33 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (681): * Single equations (assignments): 672 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.0009609/0.8471, allocations: 430.2 kB / 0.5551 GB, free: 56.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008182/0.8479, allocations: 276.1 kB / 0.5553 GB, free: 56.32 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005523/0.8534, allocations: 2.55 MB / 0.5578 GB, free: 54.26 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003727/0.8572, allocations: 2.177 MB / 0.5599 GB, free: 52.49 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/0.8572, allocations: 7 kB / 0.5599 GB, free: 52.49 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/0.8572, allocations: 3.75 kB / 0.56 GB, free: 52.49 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004075/0.8613, allocations: 2.714 MB / 0.5626 GB, free: 50.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.8613, allocations: 2.625 kB / 0.5626 GB, free: 50.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009981/0.8623, allocations: 187.3 kB / 0.5628 GB, free: 50.24 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002778/0.8651, allocations: 0.9726 MB / 0.5637 GB, free: 49.55 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001318/0.8653, allocations: 23.8 kB / 0.5638 GB, free: 49.53 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004618/0.8699, allocations: 4.802 MB / 0.5684 GB, free: 45.08 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006294/0.8705, allocations: 1.383 MB / 0.5698 GB, free: 43.61 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006463/0.877, allocations: 4.811 MB / 0.5745 GB, free: 39.38 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/0.8781, allocations: 341.2 kB / 0.5748 GB, free: 39.03 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004143/0.8785, allocations: 11.33 kB / 0.5748 GB, free: 39.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001287/0.8798, allocations: 61.73 kB / 0.5749 GB, free: 38.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/0.88, allocations: 61.39 kB / 0.5749 GB, free: 38.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.8801, allocations: 35.61 kB / 0.575 GB, free: 38.92 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.002971/0.8831, allocations: 1.868 MB / 0.5768 GB, free: 37.29 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005431/0.8885, allocations: 0.8307 MB / 0.5776 GB, free: 36.46 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 86 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004776/0.889, allocations: 151.1 kB / 0.5778 GB, free: 36.32 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007645/0.8967, allocations: 4.847 MB / 0.5825 GB, free: 31.93 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.8967, allocations: 0 / 0.5825 GB, free: 31.93 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003232/0.9, allocations: 1.873 MB / 0.5843 GB, free: 30.23 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001707/0.9017, allocations: 294.4 kB / 0.5846 GB, free: 29.98 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01366/0.9154, allocations: 6.859 MB / 0.5913 GB, free: 23.21 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003471/0.9189, allocations: 3.163 MB / 0.5944 GB, free: 20.05 MB / 346.7 MB Notification: Performance of SimCode: time 1.202e-06/0.9189, allocations: 0 / 0.5944 GB, free: 20.05 MB / 346.7 MB Notification: Performance of Templates: time 0.2204/1.139, allocations: 31.47 MB / 0.6251 GB, free: 98.1 MB / 346.7 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)