Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.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.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.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/Modelica 3.1.0+maint.om/package.mo): time 0.6689/0.6689, allocations: 110.8 MB / 118 MB, free: 14.55 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.002313/0.002313, allocations: 148 kB / 143.7 MB, free: 4.891 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 6.612e-06/6.632e-06, allocations: 0 / 173.5 MB, free: 23.04 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.03626/0.03628, allocations: 25.17 MB / 198.6 MB, free: 13.93 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1423/0.1786, allocations: 45.84 MB / 244.5 MB, free: 3.293 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001881/0.1789, allocations: 77.61 kB / 244.5 MB, free: 3.281 MB / 170.7 MB Notification: Performance of FrontEnd: time 0.5409/0.7198, allocations: 142.5 MB / 387.1 MB, free: 32.19 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.000158/0.72, allocations: 95.94 kB / 387.2 MB, free: 32.09 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1770 * Number of variables: 1770 Notification: Performance of Generate backend data structure: time 0.02476/0.7448, allocations: 6.284 MB / 393.5 MB, free: 25.74 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.7448, allocations: 12.03 kB / 393.5 MB, free: 25.73 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1019/0.8468, allocations: 17.75 MB / 411.2 MB, free: 7.945 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01562/0.8624, allocations: 6.127 MB / 417.3 MB, free: 1.762 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002892/0.8628, allocations: 175.9 kB / 417.5 MB, free: 1.59 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003495/0.8663, allocations: 283.9 kB / 417.8 MB, free: 1.312 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1041/0.9704, allocations: 14.11 MB / 431.9 MB, free: 55 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03251/1.003, allocations: 15.66 MB / 447.6 MB, free: 51.46 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002457/1.003, allocations: 36.06 kB / 447.6 MB, free: 51.46 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003431/1.007, allocations: 15.84 kB / 447.6 MB, free: 51.46 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.03687/1.044, allocations: 7.143 MB / 454.8 MB, free: 51.26 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4974/1.541, allocations: 99.64 MB / 0.5414 GB, free: 35.16 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004998/1.546, allocations: 4.033 MB / 0.5453 GB, free: 34.31 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003647/1.55, allocations: 2.812 MB / 0.5481 GB, free: 34.21 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07414/1.624, allocations: 18.8 MB / 0.5664 GB, free: 31.55 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/1.624, allocations: 50.97 kB / 0.5665 GB, free: 31.52 MB / 234.7 MB Notification: Performance of pre-optimization done (n=184): time 7.063e-06/1.624, allocations: 10.91 kB / 0.5665 GB, free: 31.51 MB / 234.7 MB Notification: Performance of matching and sorting (n=191): time 0.0211/1.645, allocations: 11.23 MB / 0.5775 GB, free: 24.1 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/1.645, allocations: 141.2 kB / 0.5776 GB, free: 23.93 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005237/1.65, allocations: 3.557 MB / 0.5811 GB, free: 20.92 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006958/1.651, allocations: 25.7 kB / 0.5811 GB, free: 20.89 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001584/1.653, allocations: 3.429 MB / 0.5845 GB, free: 17.8 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001078/1.654, allocations: 0.7477 MB / 0.5852 GB, free: 17.14 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005251/1.654, allocations: 0 / 0.5852 GB, free: 17.14 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0003076/1.655, allocations: 0.6114 MB / 0.5858 GB, free: 16.61 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003888/1.659, allocations: 3.252 MB / 0.589 GB, free: 13.77 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004961/1.663, allocations: 7.724 MB / 0.5965 GB, free: 4.41 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004417/1.668, allocations: 4.233 MB / 0.6006 GB, free: 0.5312 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.269e-05/1.668, allocations: 48 kB / 0.6007 GB, free: 496 kB / 234.7 MB Notification: Performance of matching and sorting (n=940) (initialization): time 0.1074/1.775, allocations: 10.15 MB / 0.6106 GB, free: 41.85 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/1.775, allocations: 5.031 kB / 0.6106 GB, free: 41.85 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005336/1.781, allocations: 2.744 MB / 0.6133 GB, free: 41.8 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003603/1.784, allocations: 1.106 MB / 0.6144 GB, free: 41.77 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006388/1.791, allocations: 1.686 MB / 0.616 GB, free: 41.62 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004606/1.796, allocations: 4.462 MB / 0.6204 GB, free: 39.18 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01241/1.808, allocations: 1.257 MB / 0.6216 GB, free: 39.18 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001799/1.81, allocations: 0.6165 MB / 0.6222 GB, free: 39.18 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 734 * 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 (884): * Single equations (assignments): 866 * Array equations: 14 * 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 {(4,100.0%),(3,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.001301/1.811, allocations: 497.5 kB / 0.6227 GB, free: 38.93 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008471/1.812, allocations: 332.7 kB / 0.623 GB, free: 38.93 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005559/1.818, allocations: 2.999 MB / 0.6259 GB, free: 38.81 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01612/1.834, allocations: 4.428 MB / 0.6302 GB, free: 38.73 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.567e-05/1.834, allocations: 0 / 0.6302 GB, free: 38.73 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.821e-05/1.834, allocations: 15.14 kB / 0.6303 GB, free: 38.73 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04078/1.875, allocations: 9.649 MB / 0.6397 GB, free: 38.53 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.367e-05/1.875, allocations: 0 / 0.6397 GB, free: 38.53 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001836/1.876, allocations: 282.4 kB / 0.6399 GB, free: 38.52 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002966/1.879, allocations: 0.9677 MB / 0.6409 GB, free: 38.48 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006242/1.88, allocations: 99.16 kB / 0.641 GB, free: 38.48 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004765/1.885, allocations: 4.744 MB / 0.6456 GB, free: 35.9 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006925/1.886, allocations: 1.376 MB / 0.647 GB, free: 34.56 MB / 234.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01328/1.899, allocations: 8.604 MB / 0.6554 GB, free: 31.49 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001344/1.9, allocations: 458.7 kB / 0.6558 GB, free: 31.16 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001196/1.902, allocations: 15.33 kB / 0.6558 GB, free: 31.16 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00886/1.91, allocations: 1.038 MB / 0.6568 GB, free: 31.16 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006747/1.911, allocations: 81.16 kB / 0.6569 GB, free: 31.15 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005491/1.912, allocations: 210.3 kB / 0.6571 GB, free: 31.13 MB / 234.7 MB Notification: Performance of sort global known variables: time 0.004416/1.916, allocations: 2.353 MB / 0.6594 GB, free: 30.29 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.00825/1.924, allocations: 1.148 MB / 0.6605 GB, free: 29.32 MB / 234.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 (141): * Single equations (assignments): 125 * Array equations: 12 * 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.0009755/1.925, allocations: 162.2 kB / 0.6607 GB, free: 29.17 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.01918/1.945, allocations: 8.684 MB / 0.6692 GB, free: 21.77 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/1.945, allocations: 0 / 0.6692 GB, free: 21.77 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01102/1.956, allocations: 3.863 MB / 0.6729 GB, free: 18.58 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003524/1.959, allocations: 326.2 kB / 0.6732 GB, free: 18.29 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02236/1.982, allocations: 9.755 MB / 0.6828 GB, free: 9.699 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1004/2.082, allocations: 4.539 MB / 0.6872 GB, free: 37.57 MB / 234.7 MB Notification: Performance of SimCode: time 1.322e-06/2.082, allocations: 0 / 0.6872 GB, free: 37.57 MB / 234.7 MB Notification: Performance of Templates: time 0.1052/2.187, allocations: 67.2 MB / 0.7528 GB, free: 16.41 MB / 234.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1)