Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.Rotational.Examples.RollingWheel.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.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Rotational.Examples.RollingWheel") translateModel(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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/Modelica 3.1.0+maint.om/package.mo): time 0.6918/0.6918, allocations: 110.7 MB / 118 MB, free: 10.79 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.00182/0.00182, allocations: 159 kB / 143.7 MB, free: 9.93 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 8.936e-06/8.966e-06, allocations: 4 kB / 173.5 MB, free: 12.14 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06734/0.06736, allocations: 25.16 MB / 198.6 MB, free: 2.922 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1107/0.1782, allocations: 34.52 MB / 233.1 MB, free: 5.641 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000205/0.1784, allocations: 63.97 kB / 233.2 MB, free: 5.578 MB / 170.7 MB Notification: Performance of FrontEnd: time 0.006586/0.185, allocations: 2.547 MB / 235.8 MB, free: 3.09 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.1851, allocations: 4.75 kB / 235.8 MB, free: 3.086 MB / 170.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.0004016/0.1855, allocations: 436.6 kB / 236.2 MB, free: 2.617 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.1855, allocations: 11.97 kB / 236.2 MB, free: 2.605 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.438e-05/0.1856, allocations: 27.66 kB / 236.2 MB, free: 2.578 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.1857, allocations: 214.8 kB / 236.4 MB, free: 2.328 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.1858, allocations: 11.88 kB / 236.4 MB, free: 2.32 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/0.1858, allocations: 13.08 kB / 236.5 MB, free: 2.309 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001844/0.186, allocations: 75.98 kB / 236.5 MB, free: 2.234 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.1862, allocations: 126.7 kB / 236.7 MB, free: 2.105 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.1862, allocations: 0.7656 kB / 236.7 MB, free: 2.105 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.1862, allocations: 0 / 236.7 MB, free: 2.105 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.1862, allocations: 4 kB / 236.7 MB, free: 2.102 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006885/0.1869, allocations: 0.5518 MB / 237.2 MB, free: 1.504 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.1871, allocations: 85.73 kB / 237.3 MB, free: 1.414 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.838e-05/0.1871, allocations: 40.77 kB / 237.3 MB, free: 1.371 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.1872, allocations: 1.75 kB / 237.3 MB, free: 1.371 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.26e-05/0.1872, allocations: 30.56 kB / 237.4 MB, free: 1.332 MB / 170.7 MB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.1872, allocations: 0 / 237.4 MB, free: 1.332 MB / 170.7 MB Notification: Performance of matching and sorting (n=18): time 0.001029/0.1882, allocations: 0.6762 MB / 238 MB, free: 0.5625 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.604e-05/0.1882, allocations: 55.41 kB / 238.1 MB, free: 0.4961 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.114e-05/0.1883, allocations: 127.2 kB / 238.2 MB, free: 380 kB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.1883, allocations: 25.7 kB / 238.2 MB, free: 348 kB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.335e-05/0.1884, allocations: 124.3 kB / 238.4 MB, free: 220 kB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.1884, allocations: 63.09 kB / 238.4 MB, free: 156 kB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-06/0.1884, allocations: 0 / 238.4 MB, free: 156 kB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1885, allocations: 328.4 kB / 238.7 MB, free: 15.82 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.235e-05/0.1886, allocations: 32.19 kB / 238.8 MB, free: 15.79 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.67e-05/0.1887, allocations: 63.75 kB / 238.8 MB, free: 15.71 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.325e-05/0.1888, allocations: 48.33 kB / 238.9 MB, free: 15.67 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1888, allocations: 0 / 238.9 MB, free: 15.67 MB / 186.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003156/0.1891, allocations: 182.2 kB / 239.1 MB, free: 15.48 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.1892, allocations: 5.781 kB / 239.1 MB, free: 15.48 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.1892, allocations: 0 / 239.1 MB, free: 15.48 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001744/0.1893, allocations: 36.78 kB / 239.1 MB, free: 15.44 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.1896, allocations: 47.91 kB / 239.2 MB, free: 15.39 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/0.1909, allocations: 1.351 MB / 240.5 MB, free: 13.93 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.115e-05/0.191, allocations: 8.062 kB / 240.5 MB, free: 13.92 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.191, allocations: 4 kB / 240.5 MB, free: 13.91 MB / 186.7 MB Warning: Assuming fixed start value for the following 2 variables: mass.s:VARIABLE(start = 0.0 unit = "m" ) "Absolute position of center of component (s = flange_a.s + L/2 = flange_b.s - L/2)" type: Real mass.v:VARIABLE(start = 0.0 unit = "m/s" ) "absolute velocity of component" type: Real 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 0.0001284/0.1911, allocations: 108.3 kB / 240.6 MB, free: 13.8 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.1912, allocations: 15.81 kB / 240.6 MB, free: 13.79 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.299e-05/0.1912, allocations: 20.73 kB / 240.7 MB, free: 13.77 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1912, allocations: 0 / 240.7 MB, free: 13.77 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.1912, allocations: 4 kB / 240.7 MB, free: 13.77 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.1913, allocations: 4 kB / 240.7 MB, free: 13.76 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00078/0.192, allocations: 0.5136 MB / 241.2 MB, free: 13.19 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.1921, allocations: 5.594 kB / 241.2 MB, free: 13.19 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.1922, allocations: 31.98 kB / 241.2 MB, free: 13.16 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001181/0.1924, allocations: 36.83 kB / 241.3 MB, free: 13.12 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.1924, allocations: 4 kB / 241.3 MB, free: 13.11 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001033/0.1934, allocations: 1.307 MB / 242.6 MB, free: 11.69 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.1935, allocations: 0 / 242.6 MB, free: 11.69 MB / 186.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004617/0.1939, allocations: 347.9 kB / 242.9 MB, free: 11.3 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.379e-05/0.194, allocations: 93.08 kB / 243 MB, free: 11.2 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.194, allocations: 0 / 243 MB, free: 11.2 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.1941, allocations: 8.062 kB / 243 MB, free: 11.19 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.976e-05/0.1942, allocations: 11.92 kB / 243 MB, free: 11.18 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.1942, allocations: 15.89 kB / 243 MB, free: 11.16 MB / 186.7 MB Notification: Performance of sort global known variables: time 6.276e-05/0.1943, allocations: 100.7 kB / 243.1 MB, free: 11.06 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003097/0.1946, allocations: 40.25 kB / 243.2 MB, free: 11.02 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass.s,mass.v) * 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.0001237/0.1947, allocations: 99.02 kB / 243.3 MB, free: 10.92 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0003638/0.1951, allocations: 219.2 kB / 243.5 MB, free: 10.7 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1951, allocations: 5.156 kB / 243.5 MB, free: 10.7 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002015/0.1953, allocations: 169.5 kB / 243.6 MB, free: 10.52 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.1956, allocations: 12 kB / 243.7 MB, free: 10.51 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007174/0.1963, allocations: 367.7 kB / 244 MB, free: 10.12 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003163/0.1966, allocations: 0.7464 MB / 244.8 MB, free: 9.348 MB / 186.7 MB Notification: Performance of SimCode: time 2.6e-07/0.1966, allocations: 0 / 244.8 MB, free: 9.348 MB / 186.7 MB Notification: Performance of Templates: time 0.004371/0.201, allocations: 1.768 MB / 246.5 MB, free: 7.625 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_3.1_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1)