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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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") [: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.2+maint.om/package.mo): time 0.001058/0.001058, allocations: 191.7 kB / 8.136 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.109/1.109, allocations: 194.2 MB / 202.8 MB, free: 8.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001948/0.001948, allocations: 118.4 kB / 247.7 MB, free: 6.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.053e-06/7.084e-06, allocations: 0 / 297.6 MB, free: 7.992 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07991/0.07994, allocations: 44.5 MB / 342.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2511/0.3311, allocations: 86.19 MB / 428.3 MB, free: 9.156 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/0.3315, allocations: 85.16 kB / 428.3 MB, free: 9.113 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.2971/0.6286, allocations: 69.05 MB / 497.4 MB, free: 11.24 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002928/0.629, allocations: 71.98 kB / 497.5 MB, free: 11.17 MB / 378.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.02179/0.6508, allocations: 3.674 MB / 0.4894 GB, free: 7.438 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/0.6508, allocations: 12.03 kB / 0.4894 GB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01665/0.6675, allocations: 1.754 MB / 0.4911 GB, free: 5.664 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.019/0.6865, allocations: 4.471 MB / 0.4955 GB, free: 1.125 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002178/0.6868, allocations: 119.9 kB / 0.4956 GB, free: 1.008 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001478/0.6883, allocations: 216 kB / 0.4958 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01307/0.7014, allocations: 5.339 MB / 0.501 GB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01777/0.7191, allocations: 8.253 MB / 0.5091 GB, free: 2.246 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002322/0.7194, allocations: 55.5 kB / 0.5091 GB, free: 2.191 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007994/0.7203, allocations: 28 kB / 0.5092 GB, free: 2.164 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001788/0.7221, allocations: 0.9307 MB / 0.5101 GB, free: 1.234 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1753/0.8974, allocations: 42.87 MB / 0.5519 GB, free: 99.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002277/0.8997, allocations: 2.325 MB / 0.5542 GB, free: 98.7 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001424/0.9011, allocations: 1.451 MB / 0.5556 GB, free: 98.66 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005829/0.907, allocations: 4.386 MB / 0.5599 GB, free: 97.55 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.907, allocations: 46.41 kB / 0.5599 GB, free: 97.51 MB / 394.7 MB Notification: Performance of pre-optimization done (n=118): time 3.156e-06/0.907, allocations: 0 / 0.5599 GB, free: 97.51 MB / 394.7 MB Notification: Performance of matching and sorting (n=125): time 0.01556/0.9226, allocations: 8.385 MB / 0.5681 GB, free: 94.74 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.9226, allocations: 146.8 kB / 0.5683 GB, free: 94.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003184/0.9258, allocations: 2.801 MB / 0.571 GB, free: 93.56 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001229/0.926, allocations: 25.7 kB / 0.571 GB, free: 93.53 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009531/0.9269, allocations: 2.654 MB / 0.5736 GB, free: 91.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003909/0.9273, allocations: 0.5081 MB / 0.5741 GB, free: 91.16 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002036/0.9275, allocations: 0 / 0.5741 GB, free: 91.16 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002202/0.9278, allocations: 0.5343 MB / 0.5746 GB, free: 90.76 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002024/0.9298, allocations: 1.814 MB / 0.5764 GB, free: 90.13 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00312/0.9329, allocations: 5.34 MB / 0.5816 GB, free: 84.7 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003613/0.9366, allocations: 3.112 MB / 0.5847 GB, free: 83.75 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.439e-05/0.9366, allocations: 36.97 kB / 0.5847 GB, free: 83.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.01644/0.9531, allocations: 7.448 MB / 0.592 GB, free: 81.42 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.9531, allocations: 3.844 kB / 0.592 GB, free: 81.42 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008993/0.9621, allocations: 2.783 MB / 0.5947 GB, free: 80.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009152/0.9713, allocations: 1.584 MB / 0.5962 GB, free: 80.49 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003461/0.9748, allocations: 1.25 MB / 0.5975 GB, free: 80.33 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006761/0.9815, allocations: 5.32 MB / 0.6027 GB, free: 77.01 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003821/0.9854, allocations: 220.7 kB / 0.6029 GB, free: 76.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004282/0.9858, allocations: 351.5 kB / 0.6032 GB, free: 76.94 MB / 394.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): 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 prepare postOptimizeDAE: time 0.0005711/0.9864, allocations: 429.7 kB / 0.6036 GB, free: 76.59 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003836/0.9868, allocations: 275.8 kB / 0.6039 GB, free: 76.44 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004951/0.9917, allocations: 2.558 MB / 0.6064 GB, free: 75.58 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00402/0.9958, allocations: 2.171 MB / 0.6085 GB, free: 74.89 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.9958, allocations: 3.375 kB / 0.6085 GB, free: 74.89 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.9958, allocations: 7.359 kB / 0.6085 GB, free: 74.89 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003941/0.9998, allocations: 2.736 MB / 0.6112 GB, free: 73.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.9998, allocations: 0 / 0.6112 GB, free: 73.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/1.001, allocations: 186 kB / 0.6114 GB, free: 73.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003078/1.004, allocations: 0.9718 MB / 0.6123 GB, free: 73.51 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001168/1.004, allocations: 19.03 kB / 0.6123 GB, free: 73.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005005/1.009, allocations: 4.814 MB / 0.617 GB, free: 69.02 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006571/1.01, allocations: 1.37 MB / 0.6184 GB, free: 67.57 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006957/1.017, allocations: 4.802 MB / 0.623 GB, free: 63.35 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005989/1.017, allocations: 340.7 kB / 0.6234 GB, free: 63 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004078/1.018, allocations: 9.969 kB / 0.6234 GB, free: 63 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001331/1.019, allocations: 66.91 kB / 0.6234 GB, free: 62.96 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/1.019, allocations: 56.45 kB / 0.6235 GB, free: 62.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/1.019, allocations: 35.89 kB / 0.6235 GB, free: 62.89 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.002384/1.022, allocations: 1.873 MB / 0.6254 GB, free: 61.26 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004085/1.026, allocations: 0.8373 MB / 0.6262 GB, free: 60.43 MB / 394.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.0003568/1.026, allocations: 153.8 kB / 0.6263 GB, free: 60.29 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007005/1.033, allocations: 4.878 MB / 0.6311 GB, free: 55.86 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/1.033, allocations: 0 / 0.6311 GB, free: 55.86 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003312/1.037, allocations: 1.878 MB / 0.6329 GB, free: 54.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/1.038, allocations: 288.5 kB / 0.6332 GB, free: 53.91 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/1.049, allocations: 6.854 MB / 0.6399 GB, free: 47.81 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003262/1.053, allocations: 3.17 MB / 0.643 GB, free: 45.34 MB / 394.7 MB Notification: Performance of SimCode: time 1.353e-06/1.053, allocations: 0 / 0.643 GB, free: 45.34 MB / 394.7 MB Notification: Performance of Templates: time 0.05205/1.105, allocations: 33.07 MB / 0.6753 GB, free: 14.11 MB / 394.7 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)