Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.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.UserDefinedGravityField,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1_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.1+maint.om/package.mo): time 0.004848/0.004848, allocations: 171.7 kB / 7.445 MB, free: 2.508 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.356/1.356, allocations: 170.6 MB / 178.4 MB, free: 15.39 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.001743/0.001743, allocations: 120.3 kB / 217.7 MB, free: 8.16 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 9.698e-06/9.808e-06, allocations: 4 kB / 261.8 MB, free: 26.66 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08784/0.08787, allocations: 38.75 MB / 300.5 MB, free: 3.898 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2953/0.3832, allocations: 80.22 MB / 380.7 MB, free: 4.695 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/0.3835, allocations: 86.83 kB / 380.8 MB, free: 4.652 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.1564/0.5399, allocations: 55.77 MB / 436.6 MB, free: 2.57 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001401/0.5401, allocations: 44 kB / 436.6 MB, free: 2.527 MB / 314.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.00928/0.5494, allocations: 2.572 MB / 439.2 MB, free: 15.9 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.5494, allocations: 8.031 kB / 439.2 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008838/0.5583, allocations: 1.603 MB / 440.8 MB, free: 14.28 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01048/0.5688, allocations: 3.436 MB / 444.3 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002706/0.5691, allocations: 76 kB / 444.3 MB, free: 10.72 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00199/0.5712, allocations: 147.9 kB / 444.5 MB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01058/0.5818, allocations: 4.174 MB / 448.6 MB, free: 6.395 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01874/0.6006, allocations: 6.271 MB / 454.9 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002269/0.6008, allocations: 47.61 kB / 455 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001258/0.6021, allocations: 24 kB / 455 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001352/0.6035, allocations: 0.7575 MB / 455.7 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2257/0.8293, allocations: 30.63 MB / 486.4 MB, free: 106 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002849/0.8322, allocations: 2.175 MB / 488.6 MB, free: 105.3 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001289/0.8335, allocations: 1.163 MB / 489.7 MB, free: 105.3 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007234/0.8343, allocations: 358.3 kB / 490.1 MB, free: 105 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.8343, allocations: 46.81 kB / 490.1 MB, free: 105 MB / 346.7 MB Notification: Performance of pre-optimization done (n=106): time 5.991e-06/0.8343, allocations: 0 / 490.1 MB, free: 105 MB / 346.7 MB Notification: Performance of matching and sorting (n=114): time 0.02105/0.8554, allocations: 9.554 MB / 499.7 MB, free: 103.1 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.467e-05/0.8555, allocations: 142.9 kB / 499.8 MB, free: 102.9 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003457/0.859, allocations: 2.081 MB / 0.4901 GB, free: 102.7 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002841/0.8593, allocations: 25.7 kB / 0.4901 GB, free: 102.6 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001371/0.8607, allocations: 1.973 MB / 0.4921 GB, free: 101.6 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000596/0.8613, allocations: 450.2 kB / 0.4925 GB, free: 101.3 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.8615, allocations: 0 / 0.4925 GB, free: 101.3 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003369/0.8618, allocations: 0.5377 MB / 0.493 GB, free: 101 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001887/0.8637, allocations: 1.429 MB / 0.4944 GB, free: 101 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003204/0.8669, allocations: 4.091 MB / 0.4984 GB, free: 97.5 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004148/0.8711, allocations: 2.54 MB / 0.5009 GB, free: 97.38 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.746e-05/0.8712, allocations: 25.81 kB / 0.5009 GB, free: 97.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=556) (initialization): time 0.01269/0.8839, allocations: 5.624 MB / 0.5064 GB, free: 95.92 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.518e-05/0.8839, allocations: 11.81 kB / 0.5064 GB, free: 95.92 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002852/0.8842, allocations: 92.62 kB / 0.5065 GB, free: 95.92 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002644/0.8869, allocations: 0.7994 MB / 0.5073 GB, free: 95.83 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003968/0.8909, allocations: 0.9639 MB / 0.5082 GB, free: 95.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006219/0.8971, allocations: 4.212 MB / 0.5123 GB, free: 93.6 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00472/0.9019, allocations: 172.8 kB / 0.5125 GB, free: 93.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001537/0.9035, allocations: 269.9 kB / 0.5128 GB, free: 93.55 MB / 346.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.001913/0.9054, allocations: 350.4 kB / 0.5131 GB, free: 93.26 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008116/0.9062, allocations: 207.1 kB / 0.5133 GB, free: 93.14 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006233/0.9125, allocations: 2.194 MB / 0.5154 GB, free: 92.34 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.659e-05/0.9126, allocations: 8 kB / 0.5155 GB, free: 92.33 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.353e-05/0.9126, allocations: 7.5 kB / 0.5155 GB, free: 92.33 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.011e-05/0.9126, allocations: 7.844 kB / 0.5155 GB, free: 92.32 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01301/0.9256, allocations: 5.116 MB / 0.5205 GB, free: 88.24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.566e-05/0.9257, allocations: 4 kB / 0.5205 GB, free: 88.24 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000861/0.9266, allocations: 148.7 kB / 0.5206 GB, free: 88.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002076/0.9287, allocations: 0.6242 MB / 0.5212 GB, free: 87.7 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000175/0.9289, allocations: 6.953 kB / 0.5212 GB, free: 87.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004649/0.9335, allocations: 3.673 MB / 0.5248 GB, free: 84.4 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.097e-06/0.9336, allocations: 8.062 kB / 0.5248 GB, free: 84.39 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007298/0.9409, allocations: 4.4 MB / 0.5291 GB, free: 80.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001297/0.9422, allocations: 442.9 kB / 0.5295 GB, free: 80.14 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007194/0.943, allocations: 9.578 kB / 0.5295 GB, free: 80.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00153/0.9445, allocations: 45.58 kB / 0.5296 GB, free: 80.11 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/0.9447, allocations: 57.45 kB / 0.5296 GB, free: 80.08 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/0.9448, allocations: 32 kB / 0.5297 GB, free: 80.05 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.003598/0.9484, allocations: 1.39 MB / 0.531 GB, free: 78.82 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006742/0.9552, allocations: 0.5877 MB / 0.5316 GB, free: 78.24 MB / 346.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.0009872/0.9562, allocations: 176.8 kB / 0.5318 GB, free: 78.09 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00615/0.9624, allocations: 3.404 MB / 0.5351 GB, free: 75.02 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.9624, allocations: 0 / 0.5351 GB, free: 75.02 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001405/0.9639, allocations: 1.051 MB / 0.5361 GB, free: 74.07 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001822/0.9657, allocations: 193.4 kB / 0.5363 GB, free: 73.89 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01223/0.9779, allocations: 4.659 MB / 0.5409 GB, free: 69.68 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005422/0.9834, allocations: 2.472 MB / 0.5433 GB, free: 67.69 MB / 346.7 MB Notification: Performance of SimCode: time 2.074e-06/0.9835, allocations: 0 / 0.5433 GB, free: 67.69 MB / 346.7 MB Notification: Performance of Templates: time 0.05142/1.035, allocations: 23.66 MB / 0.5664 GB, free: 46.78 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1)