Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.RollingWheel.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.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.RollingWheel") translateModel(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.RollingWheel") [: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.001558/0.001558, 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.097/1.097, 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.001802/0.001802, allocations: 118.8 kB / 247.7 MB, free: 6.395 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 8.025e-06/8.045e-06, allocations: 3.938 kB / 297.6 MB, free: 7.98 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07251/0.07254, allocations: 44.49 MB / 342.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1948/0.2673, allocations: 72.41 MB / 414.5 MB, free: 22.64 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001614/0.2675, allocations: 68.47 kB / 414.5 MB, free: 22.6 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.007216/0.2748, allocations: 2.688 MB / 417.2 MB, free: 20.49 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.2748, allocations: 4 kB / 417.2 MB, free: 20.49 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0003893/0.2752, allocations: 429 kB / 417.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.2753, allocations: 8.031 kB / 417.6 MB, free: 20.03 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.356e-05/0.2753, allocations: 23.72 kB / 417.7 MB, free: 20 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.2755, allocations: 216.5 kB / 417.9 MB, free: 19.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.2755, allocations: 4 kB / 417.9 MB, free: 19.76 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.143e-05/0.2756, allocations: 19.89 kB / 417.9 MB, free: 19.74 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002023/0.2758, allocations: 79.67 kB / 418 MB, free: 19.7 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.276, allocations: 126.9 kB / 418.1 MB, free: 19.59 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.276, allocations: 0 / 418.1 MB, free: 19.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.276, allocations: 6.5 kB / 418.1 MB, free: 19.59 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.2761, allocations: 7.938 kB / 418.1 MB, free: 19.58 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006918/0.2768, allocations: 0.5473 MB / 418.7 MB, free: 19.08 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.2769, allocations: 81.42 kB / 418.7 MB, free: 19.02 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.588e-05/0.2769, allocations: 35.3 kB / 418.8 MB, free: 18.99 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.277, allocations: 4 kB / 418.8 MB, free: 18.99 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.239e-05/0.277, allocations: 30.56 kB / 418.8 MB, free: 18.95 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.277, allocations: 0 / 418.8 MB, free: 18.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=18): time 0.001057/0.2781, allocations: 0.6898 MB / 419.5 MB, free: 18.25 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.234e-05/0.2781, allocations: 55.41 kB / 419.6 MB, free: 18.18 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.121e-05/0.2782, allocations: 124.8 kB / 419.7 MB, free: 18.06 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.2782, allocations: 25.7 kB / 419.7 MB, free: 18.03 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.116e-05/0.2782, allocations: 127.3 kB / 419.8 MB, free: 17.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.2783, allocations: 64.89 kB / 419.9 MB, free: 17.86 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-06/0.2783, allocations: 0 / 419.9 MB, free: 17.86 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.133e-05/0.2783, allocations: 318.2 kB / 420.2 MB, free: 17.54 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.95e-05/0.2784, allocations: 34.25 kB / 420.2 MB, free: 17.52 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.965e-05/0.2785, allocations: 69.55 kB / 420.3 MB, free: 17.45 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.267e-05/0.2786, allocations: 49.61 kB / 420.4 MB, free: 17.42 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.2786, allocations: 0 / 420.4 MB, free: 17.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002795/0.2788, allocations: 162.1 kB / 420.5 MB, free: 17.29 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.2789, allocations: 12.06 kB / 420.5 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.2789, allocations: 4.531 kB / 420.5 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001555/0.279, allocations: 36.72 kB / 420.6 MB, free: 17.24 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.2792, allocations: 31.92 kB / 420.6 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008758/0.2801, allocations: 1.352 MB / 421.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.341e-05/0.2802, allocations: 9.906 kB / 422 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.2803, allocations: 13.78 kB / 422 MB, free: 15.82 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.955e-05/0.2803, allocations: 109 kB / 422.1 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.983e-05/0.2804, allocations: 23.73 kB / 422.1 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.407e-05/0.2804, allocations: 12.44 kB / 422.1 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.2804, allocations: 4 kB / 422.1 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2804, allocations: 0 / 422.1 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2804, allocations: 0 / 422.1 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005745/0.281, allocations: 0.5281 MB / 422.6 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.281, allocations: 0 / 422.6 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000181/0.2812, allocations: 34.8 kB / 422.7 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001102/0.2813, allocations: 32.58 kB / 422.7 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.2814, allocations: 4 kB / 422.7 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006827/0.2821, allocations: 1.305 MB / 424 MB, free: 13.76 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2821, allocations: 0 / 424 MB, free: 13.76 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003266/0.2824, allocations: 312.7 kB / 424.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.248e-05/0.2824, allocations: 92.64 kB / 424.4 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.2825, allocations: 0 / 424.4 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.2826, allocations: 5.812 kB / 424.4 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.2826, allocations: 7.984 kB / 424.4 MB, free: 13.37 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.2826, allocations: 0 / 424.4 MB, free: 13.37 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.743e-05/0.2827, allocations: 112.1 kB / 424.5 MB, free: 13.27 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002884/0.283, allocations: 36 kB / 424.6 MB, free: 13.24 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001007/0.2831, allocations: 99.23 kB / 424.7 MB, free: 13.13 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003094/0.2834, allocations: 208.9 kB / 424.9 MB, free: 12.95 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.2834, allocations: 0 / 424.9 MB, free: 12.95 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001762/0.2836, allocations: 168.8 kB / 425 MB, free: 12.79 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.2839, allocations: 19.41 kB / 425.1 MB, free: 12.78 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000596/0.2845, allocations: 342.7 kB / 425.4 MB, free: 12.45 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.2846, allocations: 0.7464 MB / 426.1 MB, free: 11.67 MB / 314.7 MB Notification: Performance of SimCode: time 2.6e-07/0.2846, allocations: 4 kB / 426.1 MB, free: 11.67 MB / 314.7 MB Notification: Performance of Templates: time 0.003747/0.2884, allocations: 1.751 MB / 427.9 MB, free: 9.965 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1)