Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.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.PointGravity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") [: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.001659/0.001659, allocations: 191.6 kB / 8.135 MB, free: 2.199 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.155/1.155, allocations: 194.2 MB / 202.8 MB, free: 8.66 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.001721/0.001721, allocations: 121.8 kB / 247.7 MB, free: 6.383 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.673e-06/6.703e-06, allocations: 0 / 297.6 MB, free: 7.984 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07293/0.07295, allocations: 44.5 MB / 342.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2063/0.2793, allocations: 80.58 MB / 422.6 MB, free: 14.64 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002005/0.2795, allocations: 81.64 kB / 422.7 MB, free: 14.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.1634/0.4429, allocations: 57.3 MB / 480 MB, free: 12.65 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000127/0.4431, allocations: 44 kB / 480.1 MB, free: 12.61 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 908 * Number of variables: 908 Notification: Performance of Generate backend data structure: time 0.01663/0.4597, allocations: 3.195 MB / 483.3 MB, free: 9.355 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.4598, allocations: 12.03 kB / 483.3 MB, free: 9.344 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01078/0.4706, allocations: 1.822 MB / 485.1 MB, free: 7.516 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0135/0.4841, allocations: 4.805 MB / 489.9 MB, free: 2.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001707/0.4843, allocations: 72 kB / 490 MB, free: 2.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001314/0.4856, allocations: 139.9 kB / 490.1 MB, free: 2.453 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007586/0.4932, allocations: 4.182 MB / 494.3 MB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01094/0.5042, allocations: 6.441 MB / 0.489 GB, free: 6.977 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000124/0.5043, allocations: 51.56 kB / 0.489 GB, free: 6.926 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007018/0.5051, allocations: 24 kB / 0.4891 GB, free: 6.902 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001255/0.5063, allocations: 0.7725 MB / 0.4898 GB, free: 6.133 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1341/0.6404, allocations: 33.39 MB / 0.5224 GB, free: 116 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002697/0.6432, allocations: 2.26 MB / 0.5246 GB, free: 115.4 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0015/0.6447, allocations: 1.352 MB / 0.5259 GB, free: 115.3 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001009/0.6457, allocations: 0.6303 MB / 0.5266 GB, free: 114.8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.6458, allocations: 54.17 kB / 0.5266 GB, free: 114.7 MB / 394.7 MB Notification: Performance of pre-optimization done (n=122): time 3.717e-06/0.6458, allocations: 3.609 kB / 0.5266 GB, free: 114.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=136): time 0.05591/0.7017, allocations: 22.84 MB / 0.5489 GB, free: 112.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.7018, allocations: 169.7 kB / 0.5491 GB, free: 112.3 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004759/0.7066, allocations: 2.329 MB / 0.5514 GB, free: 112.1 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003488/0.7069, allocations: 26.61 kB / 0.5514 GB, free: 112 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001253/0.7082, allocations: 1.989 MB / 0.5533 GB, free: 110.8 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008395/0.709, allocations: 0.5555 MB / 0.5539 GB, free: 110.4 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005194/0.7096, allocations: 0 / 0.5539 GB, free: 110.4 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003719/0.7099, allocations: 0.5097 MB / 0.5544 GB, free: 110 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003286/0.7132, allocations: 2.084 MB / 0.5564 GB, free: 109.3 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003976/0.7172, allocations: 5.063 MB / 0.5613 GB, free: 104.6 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01572/0.733, allocations: 6.988 MB / 0.5682 GB, free: 103 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001007/0.7331, allocations: 33.75 kB / 0.5682 GB, free: 103 MB / 394.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.03114/0.7643, allocations: 11.88 MB / 0.5798 GB, free: 100.2 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.7643, allocations: 4.516 kB / 0.5798 GB, free: 100.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02171/0.786, allocations: 7.754 MB / 0.5874 GB, free: 94.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009077/0.7951, allocations: 2.05 MB / 0.5894 GB, free: 92.76 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004153/0.7993, allocations: 1.135 MB / 0.5905 GB, free: 91.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006896/0.8063, allocations: 7.651 MB / 0.598 GB, free: 84.37 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00521/0.8115, allocations: 356.7 kB / 0.5983 GB, free: 84.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001028/0.8125, allocations: 316 kB / 0.5986 GB, free: 83.81 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 487 * Number of states: 0 () * Number of discrete variables: 15 (body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (596): * Single equations (assignments): 581 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001415/0.814, allocations: 358.2 kB / 0.5989 GB, free: 83.45 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000726/0.8147, allocations: 240 kB / 0.5992 GB, free: 83.22 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008907/0.8156, allocations: 347.7 kB / 0.5995 GB, free: 82.91 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02083/0.8364, allocations: 7.609 MB / 0.6069 GB, free: 76.12 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.472e-05/0.8365, allocations: 4 kB / 0.6069 GB, free: 76.12 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-05/0.8365, allocations: 3.984 kB / 0.6069 GB, free: 76.12 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008734/0.8453, allocations: 4.652 MB / 0.6115 GB, free: 71.47 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.8453, allocations: 0 / 0.6115 GB, free: 71.47 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001369/0.8467, allocations: 215.7 kB / 0.6117 GB, free: 71.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009292/0.856, allocations: 2.062 MB / 0.6137 GB, free: 69.17 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003965/0.8564, allocations: 35.95 kB / 0.6137 GB, free: 69.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007826/0.8643, allocations: 8.411 MB / 0.622 GB, free: 60.28 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001235/0.8655, allocations: 2.714 MB / 0.6246 GB, free: 57.33 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02516/0.8907, allocations: 10.86 MB / 0.6352 GB, free: 46.39 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007377/0.8915, allocations: 313.8 kB / 0.6355 GB, free: 46.07 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008214/0.8923, allocations: 19.98 kB / 0.6355 GB, free: 46.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002303/0.8947, allocations: 135.8 kB / 0.6357 GB, free: 45.91 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003254/0.895, allocations: 67.83 kB / 0.6357 GB, free: 45.85 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002068/0.8952, allocations: 51.95 kB / 0.6358 GB, free: 45.8 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.002725/0.898, allocations: 1.553 MB / 0.6373 GB, free: 44.23 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004813/0.9028, allocations: 0.8334 MB / 0.6381 GB, free: 43.41 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 ($STATESET140312992323992.x[3],$STATESET140312992323992.x[2],$STATESET140312992323992.x[1],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3],$STATESET140312992323991.x[3],$STATESET140312992323991.x[2],$STATESET140312992323991.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005393/0.9033, allocations: 175.7 kB / 0.6383 GB, free: 43.24 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009977/0.9133, allocations: 6.091 MB / 0.6442 GB, free: 37.04 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.9134, allocations: 4 kB / 0.6442 GB, free: 37.04 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005191/0.9186, allocations: 2.977 MB / 0.6471 GB, free: 33.93 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001835/0.9204, allocations: 230.2 kB / 0.6474 GB, free: 33.71 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01294/0.9334, allocations: 6.789 MB / 0.654 GB, free: 26.94 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003135/0.9365, allocations: 2.567 MB / 0.6565 GB, free: 24.36 MB / 394.7 MB Notification: Performance of SimCode: time 5.62e-07/0.9366, allocations: 0 / 0.6565 GB, free: 24.36 MB / 394.7 MB Notification: Performance of Templates: time 0.1575/1.094, allocations: 35.71 MB / 0.6914 GB, free: 119.8 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1)