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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001586/0.001586, allocations: 182 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.52/1.521, allocations: 194.3 MB / 208.4 MB, free: 6.715 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.002414/0.002414, allocations: 124.7 kB / 253.5 MB, free: 9.59 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.06e-05/3.062e-05, allocations: 3.984 kB / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09312/0.09316, allocations: 44.5 MB / 349.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3837/0.4769, allocations: 73.15 MB / 422.6 MB, free: 11.04 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/0.4773, allocations: 66.55 kB / 422.7 MB, free: 11.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007462/0.4847, allocations: 3.018 MB / 425.7 MB, free: 10.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.4848, allocations: 0 / 425.7 MB, free: 10.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.478e-05/0.4848, allocations: 3.844 kB / 425.7 MB, free: 10.38 MB / 298.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.0004514/0.4853, allocations: 424.1 kB / 426.1 MB, free: 9.988 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.4853, allocations: 15.47 kB / 426.1 MB, free: 9.984 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.041e-05/0.4854, allocations: 19.41 kB / 426.1 MB, free: 9.973 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.4856, allocations: 220 kB / 426.3 MB, free: 9.746 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.4856, allocations: 14.84 kB / 426.4 MB, free: 9.746 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.65e-05/0.4856, allocations: 19.61 kB / 426.4 MB, free: 9.742 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.4859, allocations: 142.2 kB / 426.5 MB, free: 9.695 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.4859, allocations: 0 / 426.5 MB, free: 9.695 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.486, allocations: 7.875 kB / 426.5 MB, free: 9.691 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.486, allocations: 5.016 kB / 426.5 MB, free: 9.691 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.4861, allocations: 90.86 kB / 426.6 MB, free: 9.688 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007505/0.4869, allocations: 0.6 MB / 427.2 MB, free: 9.262 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.4871, allocations: 109.1 kB / 427.3 MB, free: 9.227 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.663e-05/0.4872, allocations: 35.05 kB / 427.4 MB, free: 9.219 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.4872, allocations: 7.781 kB / 427.4 MB, free: 9.215 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.4872, allocations: 38.64 kB / 427.4 MB, free: 9.172 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.4872, allocations: 0 / 427.4 MB, free: 9.172 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.001232/0.4885, allocations: 0.7329 MB / 428.1 MB, free: 8.641 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.4885, allocations: 51.41 kB / 428.2 MB, free: 8.578 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.4886, allocations: 147.4 kB / 428.3 MB, free: 8.477 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.4887, allocations: 29.14 kB / 428.4 MB, free: 8.445 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.207e-05/0.4887, allocations: 135.8 kB / 428.5 MB, free: 8.332 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.427e-05/0.4888, allocations: 71.52 kB / 428.6 MB, free: 8.281 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.245e-06/0.4888, allocations: 3.438 kB / 428.6 MB, free: 8.281 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.822e-05/0.4889, allocations: 329.3 kB / 428.9 MB, free: 7.961 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.355e-05/0.489, allocations: 35.44 kB / 428.9 MB, free: 7.957 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.978e-05/0.4891, allocations: 76.45 kB / 429 MB, free: 7.918 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.517e-05/0.4891, allocations: 49.72 kB / 429 MB, free: 7.906 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.4891, allocations: 0 / 429 MB, free: 7.906 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002734/0.4894, allocations: 193.5 kB / 429.2 MB, free: 7.832 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.4895, allocations: 7.688 kB / 429.2 MB, free: 7.832 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.4895, allocations: 0 / 429.2 MB, free: 7.832 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000168/0.4896, allocations: 39.27 kB / 429.3 MB, free: 7.816 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.4898, allocations: 42.31 kB / 429.3 MB, free: 7.805 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009676/0.4908, allocations: 1.415 MB / 430.7 MB, free: 6.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.012e-05/0.4909, allocations: 11.75 kB / 430.7 MB, free: 6.496 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.4909, allocations: 3.5 kB / 430.7 MB, free: 6.496 MB / 298.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 7.466e-05/0.491, allocations: 123.9 kB / 430.9 MB, free: 6.379 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.354e-05/0.491, allocations: 15.5 kB / 430.9 MB, free: 6.371 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.265e-05/0.4911, allocations: 14.75 kB / 430.9 MB, free: 6.371 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.4911, allocations: 7.828 kB / 430.9 MB, free: 6.367 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.726e-06/0.4911, allocations: 0 / 430.9 MB, free: 6.367 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.4911, allocations: 0 / 430.9 MB, free: 6.367 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006277/0.4917, allocations: 0.5823 MB / 431.5 MB, free: 5.945 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.4917, allocations: 3.844 kB / 431.5 MB, free: 5.945 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.4919, allocations: 26.92 kB / 431.5 MB, free: 5.941 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.496e-05/0.492, allocations: 35.25 kB / 431.5 MB, free: 5.926 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.492, allocations: 3.688 kB / 431.6 MB, free: 5.926 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007648/0.4928, allocations: 1.363 MB / 432.9 MB, free: 4.617 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4928, allocations: 7.906 kB / 432.9 MB, free: 4.613 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003301/0.4931, allocations: 322 kB / 433.2 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.457e-05/0.4932, allocations: 88.77 kB / 433.3 MB, free: 4.336 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.4932, allocations: 7.516 kB / 433.3 MB, free: 4.332 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.483e-05/0.4933, allocations: 7.594 kB / 433.3 MB, free: 4.332 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.4934, allocations: 19.69 kB / 433.4 MB, free: 4.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.986e-06/0.4934, allocations: 7.875 kB / 433.4 MB, free: 4.316 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.921e-05/0.4934, allocations: 117.3 kB / 433.5 MB, free: 4.238 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4935, allocations: 0 / 433.5 MB, free: 4.238 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002509/0.4937, allocations: 46.47 kB / 433.5 MB, free: 4.238 MB / 298.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.0001287/0.4938, allocations: 98.72 kB / 433.6 MB, free: 4.148 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003709/0.4942, allocations: 238.9 kB / 433.9 MB, free: 4.02 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4942, allocations: 3.875 kB / 433.9 MB, free: 4.02 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001894/0.4944, allocations: 181.8 kB / 434 MB, free: 3.898 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.4947, allocations: 23.92 kB / 434.1 MB, free: 3.891 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006044/0.4953, allocations: 344.2 kB / 434.4 MB, free: 3.652 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.4956, allocations: 0.7349 MB / 435.1 MB, free: 2.93 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.087e-05/0.4956, allocations: 13.02 kB / 435.1 MB, free: 2.922 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.588e-05/0.4957, allocations: 19.14 kB / 435.2 MB, free: 2.91 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4957, allocations: 0 / 435.2 MB, free: 2.91 MB / 298.7 MB Notification: Performance of Templates: time 0.004088/0.4998, allocations: 1.662 MB / 436.8 MB, free: 2.102 MB / 298.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)