Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.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.UserDefinedGravityField,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") [: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.001945/0.001945, allocations: 189.2 kB / 8.135 MB, free: 2.215 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.758 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.001848/0.001848, allocations: 120.6 kB / 247.7 MB, free: 6.301 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 8.035e-06/8.065e-06, allocations: 4 kB / 297.6 MB, free: 8 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07147/0.0715, allocations: 44.48 MB / 342.1 MB, free: 11.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.197/0.2685, allocations: 85.97 MB / 428 MB, free: 9.367 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.2688, allocations: 89.88 kB / 428.1 MB, free: 9.32 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.1571/0.4259, allocations: 55.77 MB / 483.9 MB, free: 8.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.787e-05/0.4261, allocations: 47.94 kB / 483.9 MB, free: 8.793 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: 948 * Number of variables: 948 Notification: Performance of Generate backend data structure: time 0.005893/0.432, allocations: 2.576 MB / 486.5 MB, free: 6.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.432, allocations: 12.03 kB / 486.5 MB, free: 6.148 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008104/0.4401, allocations: 1.599 MB / 488.1 MB, free: 4.543 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008718/0.4489, allocations: 3.444 MB / 491.6 MB, free: 1.051 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.449, allocations: 76 kB / 491.6 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006399/0.4497, allocations: 143.9 kB / 491.8 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006306/0.456, allocations: 4.178 MB / 496 MB, free: 12.65 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007986/0.464, allocations: 6.268 MB / 0.4905 GB, free: 5.688 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.585e-05/0.4641, allocations: 39.59 kB / 0.4905 GB, free: 5.648 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004105/0.4645, allocations: 20 kB / 0.4905 GB, free: 5.629 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009414/0.4654, allocations: 0.7654 MB / 0.4913 GB, free: 4.867 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1194/0.5849, allocations: 30.64 MB / 0.5212 GB, free: 118.4 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002015/0.5869, allocations: 2.172 MB / 0.5233 GB, free: 117.7 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001126/0.5881, allocations: 1.159 MB / 0.5244 GB, free: 117.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007265/0.5888, allocations: 365.8 kB / 0.5248 GB, free: 117.4 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.5888, allocations: 50 kB / 0.5248 GB, free: 117.4 MB / 394.7 MB Notification: Performance of pre-optimization done (n=106): time 3.306e-06/0.5888, allocations: 0 / 0.5248 GB, free: 117.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=114): time 0.01838/0.6072, allocations: 9.559 MB / 0.5342 GB, free: 115.6 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.6073, allocations: 138.1 kB / 0.5343 GB, free: 115.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00239/0.6097, allocations: 2.078 MB / 0.5363 GB, free: 115.2 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000128/0.6099, allocations: 29.36 kB / 0.5364 GB, free: 115.2 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007136/0.6106, allocations: 1.963 MB / 0.5383 GB, free: 114.1 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003078/0.6109, allocations: 455.4 kB / 0.5387 GB, free: 113.9 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.6111, allocations: 3.875 kB / 0.5387 GB, free: 113.9 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002134/0.6113, allocations: 0.5361 MB / 0.5392 GB, free: 113.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001612/0.6129, allocations: 1.432 MB / 0.5406 GB, free: 113.5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00231/0.6152, allocations: 4.088 MB / 0.5446 GB, free: 110 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003257/0.6185, allocations: 2.538 MB / 0.5471 GB, free: 110 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-05/0.6185, allocations: 25.62 kB / 0.5471 GB, free: 110 MB / 394.7 MB Notification: Performance of matching and sorting (n=556) (initialization): time 0.009133/0.6277, allocations: 5.624 MB / 0.5526 GB, free: 109.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.6277, allocations: 3.625 kB / 0.5526 GB, free: 109.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.834e-05/0.6278, allocations: 97 kB / 0.5527 GB, free: 109.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00236/0.6301, allocations: 0.7938 MB / 0.5535 GB, free: 109.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003008/0.6332, allocations: 0.9725 MB / 0.5544 GB, free: 109.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005346/0.6385, allocations: 4.206 MB / 0.5585 GB, free: 107.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002927/0.6415, allocations: 179.2 kB / 0.5587 GB, free: 107.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003685/0.6419, allocations: 273.3 kB / 0.559 GB, free: 107.1 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 438 * Number of states: 0 () * Number of discrete variables: 18 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[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 (520): * Single equations (assignments): 516 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005352/0.6424, allocations: 342.5 kB / 0.5593 GB, free: 106.9 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003267/0.6427, allocations: 207.3 kB / 0.5595 GB, free: 106.7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004824/0.6476, allocations: 2.194 MB / 0.5616 GB, free: 106.1 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.481e-05/0.6476, allocations: 10.78 kB / 0.5617 GB, free: 106.1 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.6476, allocations: 5.562 kB / 0.5617 GB, free: 106.1 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.6477, allocations: 3.422 kB / 0.5617 GB, free: 106.1 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009122/0.6568, allocations: 5.117 MB / 0.5667 GB, free: 104.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.6568, allocations: 3.844 kB / 0.5667 GB, free: 104.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000773/0.6576, allocations: 156.4 kB / 0.5668 GB, free: 104.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002171/0.6598, allocations: 0.622 MB / 0.5674 GB, free: 104.3 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.002e-05/0.6599, allocations: 7.766 kB / 0.5674 GB, free: 104.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004318/0.6642, allocations: 3.678 MB / 0.571 GB, free: 102.4 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.6642, allocations: 7 kB / 0.571 GB, free: 102.4 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006473/0.6707, allocations: 4.409 MB / 0.5753 GB, free: 100.6 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008484/0.6716, allocations: 442.5 kB / 0.5758 GB, free: 100.3 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003281/0.6719, allocations: 7 kB / 0.5758 GB, free: 100.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.673, allocations: 50.23 kB / 0.5758 GB, free: 100.3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/0.6731, allocations: 51.36 kB / 0.5759 GB, free: 100.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.854e-05/0.6733, allocations: 33.52 kB / 0.5759 GB, free: 100.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001725/0.675, allocations: 1.385 MB / 0.5772 GB, free: 99.8 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003256/0.6782, allocations: 0.5852 MB / 0.5778 GB, free: 99.79 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 79 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003739/0.6786, allocations: 182.5 kB / 0.578 GB, free: 99.68 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004103/0.6827, allocations: 3.401 MB / 0.5813 GB, free: 98.54 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.6828, allocations: 0 / 0.5813 GB, free: 98.54 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001179/0.684, allocations: 1.056 MB / 0.5823 GB, free: 98.11 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009955/0.685, allocations: 187.3 kB / 0.5825 GB, free: 98.02 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007435/0.6924, allocations: 4.671 MB / 0.5871 GB, free: 94.06 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002514/0.6949, allocations: 2.461 MB / 0.5895 GB, free: 92.07 MB / 394.7 MB Notification: Performance of SimCode: time 5.41e-07/0.695, allocations: 0 / 0.5895 GB, free: 92.07 MB / 394.7 MB Notification: Performance of Templates: time 0.03787/0.7328, allocations: 23.66 MB / 0.6126 GB, free: 73.67 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1)