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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.8997/0.8997, allocations: 110.8 MB / 123.3 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.001805/0.001805, allocations: 151.5 kB / 149.1 MB, free: 1 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.165e-05/2.165e-05, allocations: 0 / 180.2 MB, free: 17.58 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05305/0.05309, allocations: 25.18 MB / 205.4 MB, free: 8.453 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05029/0.1034, allocations: 35.25 MB / 240.6 MB, free: 5.141 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/0.1037, allocations: 63.97 kB / 240.7 MB, free: 5.078 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007699/0.1114, allocations: 2.881 MB / 243.6 MB, free: 2.184 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1115, allocations: 0 / 243.6 MB, free: 2.184 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.627e-05/0.1115, allocations: 12 kB / 243.6 MB, free: 2.172 MB / 186.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.0005947/0.1121, allocations: 424.5 kB / 244 MB, free: 1.715 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.1122, allocations: 12.03 kB / 244 MB, free: 1.703 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.857e-05/0.1123, allocations: 23.67 kB / 244 MB, free: 1.68 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.1126, allocations: 219 kB / 244.3 MB, free: 1.426 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.111e-05/0.1126, allocations: 16 kB / 244.3 MB, free: 1.41 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.976e-05/0.1127, allocations: 23.94 kB / 244.3 MB, free: 1.387 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003125/0.113, allocations: 145.2 kB / 244.4 MB, free: 1.238 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.113, allocations: 3.984 kB / 244.4 MB, free: 1.234 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.849e-05/0.113, allocations: 8 kB / 244.5 MB, free: 1.227 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.113, allocations: 7.953 kB / 244.5 MB, free: 1.219 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001801/0.1132, allocations: 87.92 kB / 244.5 MB, free: 1.133 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008713/0.1141, allocations: 0.5849 MB / 245.1 MB, free: 500 kB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.1143, allocations: 110.7 kB / 245.2 MB, free: 380 kB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.376e-05/0.1144, allocations: 44.81 kB / 245.3 MB, free: 332 kB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.1144, allocations: 0 / 245.3 MB, free: 332 kB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.1144, allocations: 38.75 kB / 245.3 MB, free: 284 kB / 186.7 MB Notification: Performance of pre-optimization done (n=13): time 1.022e-06/0.1144, allocations: 0 / 245.3 MB, free: 284 kB / 186.7 MB Notification: Performance of matching and sorting (n=18): time 0.1279/0.2423, allocations: 0.7291 MB / 246.1 MB, free: 41.48 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.2424, allocations: 54.2 kB / 246.1 MB, free: 41.41 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.2426, allocations: 140.1 kB / 246.2 MB, free: 41.32 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.2426, allocations: 29.52 kB / 246.3 MB, free: 41.29 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.764e-05/0.2427, allocations: 129.7 kB / 246.4 MB, free: 41.2 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.831e-05/0.2428, allocations: 68.39 kB / 246.5 MB, free: 41.16 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-06/0.2428, allocations: 5.531 kB / 246.5 MB, free: 41.16 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 7.832e-05/0.2429, allocations: 329.9 kB / 246.8 MB, free: 40.84 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.042e-05/0.2429, allocations: 31.56 kB / 246.8 MB, free: 40.84 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.405e-05/0.243, allocations: 73.55 kB / 246.9 MB, free: 40.81 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.418e-05/0.2431, allocations: 42.39 kB / 246.9 MB, free: 40.81 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.2431, allocations: 0 / 246.9 MB, free: 40.81 MB / 186.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003347/0.2435, allocations: 196.8 kB / 247.1 MB, free: 40.76 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.2435, allocations: 4.75 kB / 247.1 MB, free: 40.76 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.2435, allocations: 1.094 kB / 247.1 MB, free: 40.76 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001676/0.2437, allocations: 42.41 kB / 247.2 MB, free: 40.75 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/0.2439, allocations: 39.36 kB / 247.2 MB, free: 40.75 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009656/0.2449, allocations: 1.423 MB / 248.6 MB, free: 39.5 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.724e-05/0.245, allocations: 9.219 kB / 248.6 MB, free: 39.5 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.245, allocations: 4.719 kB / 248.6 MB, free: 39.5 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.0001366/0.2451, allocations: 128.3 kB / 248.8 MB, free: 39.39 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/0.2452, allocations: 14.56 kB / 248.8 MB, free: 39.38 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.469e-05/0.2452, allocations: 22.98 kB / 248.8 MB, free: 39.38 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.2452, allocations: 4.578 kB / 248.8 MB, free: 39.38 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2453, allocations: 0 / 248.8 MB, free: 39.38 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.2453, allocations: 3.172 kB / 248.8 MB, free: 39.38 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007546/0.246, allocations: 0.565 MB / 249.4 MB, free: 39.04 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.246, allocations: 5.469 kB / 249.4 MB, free: 39.04 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/0.2462, allocations: 36.45 kB / 249.4 MB, free: 39.04 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000112/0.2463, allocations: 35.16 kB / 249.5 MB, free: 39.03 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.2464, allocations: 6.469 kB / 249.5 MB, free: 39.03 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007758/0.2471, allocations: 1.363 MB / 250.8 MB, free: 37.76 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.2472, allocations: 5.391 kB / 250.8 MB, free: 37.76 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004047/0.2476, allocations: 380.5 kB / 251.2 MB, free: 37.48 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.216e-05/0.2476, allocations: 90 kB / 251.3 MB, free: 37.38 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.2477, allocations: 10.39 kB / 251.3 MB, free: 37.38 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.2478, allocations: 6.656 kB / 251.3 MB, free: 37.38 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.697e-05/0.2478, allocations: 21.03 kB / 251.3 MB, free: 37.37 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.2479, allocations: 8.312 kB / 251.3 MB, free: 37.37 MB / 186.7 MB Notification: Performance of sorting global known variables: time 8.869e-05/0.248, allocations: 123.5 kB / 251.5 MB, free: 37.27 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.248, allocations: 1.219 kB / 251.5 MB, free: 37.27 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0002957/0.2483, allocations: 46.06 kB / 251.5 MB, free: 37.27 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.0001091/0.2484, allocations: 102.2 kB / 251.6 MB, free: 37.17 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0003977/0.2488, allocations: 235.6 kB / 251.8 MB, free: 37.02 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2488, allocations: 4.125 kB / 251.8 MB, free: 37.02 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002023/0.249, allocations: 191.2 kB / 252 MB, free: 36.88 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.2493, allocations: 22.58 kB / 252 MB, free: 36.87 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000646/0.2499, allocations: 377 kB / 252.4 MB, free: 36.62 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001907/0.2501, allocations: 0.7334 MB / 253.1 MB, free: 35.92 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 7.356e-05/0.2502, allocations: 13.53 kB / 253.2 MB, free: 35.92 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.654e-05/0.2503, allocations: 18.31 kB / 253.2 MB, free: 35.91 MB / 186.7 MB Notification: Performance of SimCode: time 9.41e-07/0.2503, allocations: 1.375 kB / 253.2 MB, free: 35.91 MB / 186.7 MB Notification: Performance of Templates: time 0.004496/0.2548, allocations: 1.725 MB / 254.9 MB, free: 35.77 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)