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.0009829/0.000983, allocations: 179.4 kB / 16.38 MB, free: 5.766 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.142/1.142, allocations: 194.5 MB / 211.6 MB, free: 3.047 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.001611/0.001611, allocations: 110.2 kB / 256.9 MB, free: 4.355 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002937/0.0002937, allocations: 15.98 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07239/0.0727, allocations: 44.5 MB / 355.1 MB, free: 2.348 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2027/0.2755, allocations: 73.22 MB / 428.3 MB, free: 16.34 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002084/0.2757, allocations: 79.42 kB / 428.4 MB, free: 16.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006716/0.2824, allocations: 3.021 MB / 431.4 MB, free: 13.83 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2825, allocations: 0 / 431.4 MB, free: 13.83 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.2825, allocations: 4 kB / 431.4 MB, free: 13.83 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.0003935/0.2829, allocations: 452.2 kB / 431.8 MB, free: 13.36 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.965e-05/0.2829, allocations: 8.031 kB / 431.8 MB, free: 13.35 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.106e-05/0.283, allocations: 22.53 kB / 431.9 MB, free: 13.33 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.2831, allocations: 215.2 kB / 432.1 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.2832, allocations: 14.06 kB / 432.1 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.2832, allocations: 19.31 kB / 432.1 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.2834, allocations: 156.8 kB / 432.2 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.2835, allocations: 7.906 kB / 432.3 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.2835, allocations: 9.625 kB / 432.3 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2835, allocations: 4 kB / 432.3 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001878/0.2837, allocations: 100 kB / 432.4 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006556/0.2844, allocations: 0.5925 MB / 433 MB, free: 12.33 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.2845, allocations: 118.2 kB / 433.1 MB, free: 12.24 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.2846, allocations: 8 kB / 433.1 MB, free: 12.23 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.341e-05/0.2846, allocations: 30.56 kB / 433.1 MB, free: 12.19 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.2846, allocations: 0 / 433.1 MB, free: 12.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=18): time 0.001148/0.2858, allocations: 0.8079 MB / 433.9 MB, free: 11.42 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.691e-05/0.2858, allocations: 51.41 kB / 434 MB, free: 11.36 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.537e-05/0.2859, allocations: 153 kB / 434.1 MB, free: 11.22 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.2859, allocations: 25.7 kB / 434.1 MB, free: 11.19 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.681e-05/0.2859, allocations: 133.7 kB / 434.3 MB, free: 11.07 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.286, allocations: 66.08 kB / 434.3 MB, free: 11.01 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-06/0.286, allocations: 3.938 kB / 434.3 MB, free: 11.01 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.062e-05/0.286, allocations: 336.3 kB / 434.7 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.467e-05/0.2861, allocations: 41.2 kB / 434.7 MB, free: 10.65 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.224e-05/0.2862, allocations: 86.02 kB / 434.8 MB, free: 10.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.023e-05/0.2863, allocations: 50.75 kB / 434.8 MB, free: 10.55 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.2863, allocations: 0 / 434.8 MB, free: 10.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002972/0.2866, allocations: 215.6 kB / 435.1 MB, free: 10.37 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.2866, allocations: 4 kB / 435.1 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.2867, allocations: 0 / 435.1 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001387/0.2868, allocations: 36.16 kB / 435.1 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.287, allocations: 39.91 kB / 435.1 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008027/0.2878, allocations: 1.442 MB / 436.6 MB, free: 8.852 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.964e-05/0.2879, allocations: 4 kB / 436.6 MB, free: 8.848 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.2879, allocations: 6.875 kB / 436.6 MB, free: 8.844 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 () * Number of clocked 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.738e-05/0.288, allocations: 131.8 kB / 436.7 MB, free: 8.719 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.288, allocations: 15.81 kB / 436.7 MB, free: 8.703 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.554e-05/0.288, allocations: 24.48 kB / 436.8 MB, free: 8.691 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.288, allocations: 0 / 436.8 MB, free: 8.691 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.288, allocations: 3.953 kB / 436.8 MB, free: 8.688 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.2881, allocations: 0 / 436.8 MB, free: 8.688 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005828/0.2886, allocations: 0.5961 MB / 437.4 MB, free: 8.129 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2887, allocations: 0.5625 kB / 437.4 MB, free: 8.129 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.2888, allocations: 29.11 kB / 437.4 MB, free: 8.102 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.543e-05/0.2889, allocations: 40.14 kB / 437.4 MB, free: 8.066 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.2889, allocations: 0 / 437.4 MB, free: 8.066 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006336/0.2896, allocations: 1.378 MB / 438.8 MB, free: 6.645 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2896, allocations: 3.938 kB / 438.8 MB, free: 6.641 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003711/0.29, allocations: 343.5 kB / 439.1 MB, free: 6.352 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.654e-05/0.29, allocations: 92.83 kB / 439.2 MB, free: 6.246 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.29, allocations: 7.953 kB / 439.2 MB, free: 6.238 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.455e-05/0.2901, allocations: 3.5 kB / 439.2 MB, free: 6.238 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.308e-05/0.2902, allocations: 19.98 kB / 439.3 MB, free: 6.219 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.2902, allocations: 7.75 kB / 439.3 MB, free: 6.215 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.11e-05/0.2902, allocations: 113.3 kB / 439.4 MB, free: 6.113 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2902, allocations: 0 / 439.4 MB, free: 6.113 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002524/0.2905, allocations: 47.31 kB / 439.4 MB, free: 6.074 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 () * Number of clocked 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 9.744e-05/0.2906, allocations: 104.8 kB / 439.5 MB, free: 5.965 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000375/0.291, allocations: 262.2 kB / 439.8 MB, free: 5.738 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.291, allocations: 0 / 439.8 MB, free: 5.738 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.2912, allocations: 195 kB / 440 MB, free: 5.555 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.2914, allocations: 11.56 kB / 440 MB, free: 5.547 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00064/0.2921, allocations: 0.594 MB / 440.6 MB, free: 4.965 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.2922, allocations: 0.7362 MB / 441.3 MB, free: 4.199 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.115e-05/0.2923, allocations: 14.86 kB / 441.3 MB, free: 4.188 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.039e-05/0.2923, allocations: 21.5 kB / 441.4 MB, free: 4.172 MB / 314.7 MB Notification: Performance of SimCode: time 3e-07/0.2924, allocations: 0 / 441.4 MB, free: 4.172 MB / 314.7 MB Notification: Performance of Templates: time 0.003377/0.2957, allocations: 1.664 MB / 443 MB, free: 2.562 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)