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.7549/0.7549, allocations: 110.8 MB / 118.3 MB, free: 10.52 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001691/0.001691, allocations: 155.4 kB / 144 MB, free: 9.805 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.768e-05/1.769e-05, allocations: 3.984 kB / 173.9 MB, free: 11.88 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05085/0.05089, allocations: 25.17 MB / 199 MB, free: 2.668 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1372/0.1881, allocations: 34.6 MB / 233.6 MB, free: 5.379 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001658/0.1883, allocations: 66.11 kB / 233.7 MB, free: 5.316 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006447/0.1948, allocations: 2.84 MB / 236.5 MB, free: 2.527 MB / 170.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1948, allocations: 0 / 236.5 MB, free: 2.527 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.1948, allocations: 7.984 kB / 236.5 MB, free: 2.52 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.0004171/0.1953, allocations: 428.3 kB / 237 MB, free: 2.062 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.1953, allocations: 12.03 kB / 237 MB, free: 2.051 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.105e-05/0.1954, allocations: 25.25 kB / 237 MB, free: 2.031 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.1956, allocations: 214.9 kB / 237.2 MB, free: 1.781 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.1956, allocations: 6.391 kB / 237.2 MB, free: 1.777 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/0.1956, allocations: 12.56 kB / 237.2 MB, free: 1.766 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001672/0.1958, allocations: 87.92 kB / 237.3 MB, free: 1.68 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.196, allocations: 113.4 kB / 237.4 MB, free: 1.562 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.196, allocations: 0 / 237.4 MB, free: 1.562 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.196, allocations: 8.703 kB / 237.4 MB, free: 1.555 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.196, allocations: 4 kB / 237.4 MB, free: 1.551 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000653/0.1967, allocations: 0.5566 MB / 238 MB, free: 0.9492 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.1968, allocations: 98.66 kB / 238.1 MB, free: 0.8438 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.921e-05/0.1969, allocations: 32.8 kB / 238.1 MB, free: 0.8086 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.1969, allocations: 4 kB / 238.1 MB, free: 0.8047 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.246e-05/0.1969, allocations: 38.52 kB / 238.2 MB, free: 0.7578 MB / 170.7 MB Notification: Performance of pre-optimization done (n=13): time 2.966e-06/0.197, allocations: 1.078 kB / 238.2 MB, free: 0.7578 MB / 170.7 MB Notification: Performance of matching and sorting (n=18): time 0.001019/0.198, allocations: 0.6824 MB / 238.8 MB, free: 15.98 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.198, allocations: 55.36 kB / 238.9 MB, free: 15.92 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.1981, allocations: 117.9 kB / 239 MB, free: 15.8 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.1982, allocations: 25.7 kB / 239 MB, free: 15.77 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.943e-05/0.1983, allocations: 137.8 kB / 239.2 MB, free: 15.63 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.144e-05/0.1983, allocations: 67 kB / 239.2 MB, free: 15.56 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.664e-06/0.1983, allocations: 0 / 239.2 MB, free: 15.56 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1985, allocations: 326.8 kB / 239.5 MB, free: 15.23 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.458e-05/0.1985, allocations: 28.19 kB / 239.6 MB, free: 15.2 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.829e-05/0.1986, allocations: 59.81 kB / 239.6 MB, free: 15.13 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.222e-05/0.1987, allocations: 46.12 kB / 239.7 MB, free: 15.09 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.1987, allocations: 0 / 239.7 MB, free: 15.09 MB / 186.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003114/0.1991, allocations: 180.5 kB / 239.9 MB, free: 14.91 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.1991, allocations: 4 kB / 239.9 MB, free: 14.9 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1991, allocations: 0.5 kB / 239.9 MB, free: 14.9 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001686/0.1993, allocations: 36.83 kB / 239.9 MB, free: 14.86 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.1995, allocations: 49.55 kB / 239.9 MB, free: 14.82 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001136/0.2006, allocations: 1.357 MB / 241.3 MB, free: 13.35 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.126e-05/0.2007, allocations: 8.094 kB / 241.3 MB, free: 13.34 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.2008, allocations: 4 kB / 241.3 MB, free: 13.34 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.0001343/0.2009, allocations: 120.8 kB / 241.4 MB, free: 13.21 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.446e-05/0.2009, allocations: 11.83 kB / 241.4 MB, free: 13.2 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.984e-05/0.201, allocations: 18.34 kB / 241.5 MB, free: 13.19 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.201, allocations: 4 kB / 241.5 MB, free: 13.19 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.201, allocations: 5.625 kB / 241.5 MB, free: 13.18 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.201, allocations: 3.984 kB / 241.5 MB, free: 13.18 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007342/0.2017, allocations: 0.515 MB / 242 MB, free: 12.61 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.2018, allocations: 0 / 242 MB, free: 12.61 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/0.2019, allocations: 43.91 kB / 242 MB, free: 12.57 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001084/0.2021, allocations: 32.84 kB / 242.1 MB, free: 12.53 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.2021, allocations: 0 / 242.1 MB, free: 12.53 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009878/0.2031, allocations: 1.316 MB / 243.4 MB, free: 11.1 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.2031, allocations: 2.344 kB / 243.4 MB, free: 11.1 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004039/0.2035, allocations: 359.5 kB / 243.7 MB, free: 10.7 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.874e-05/0.2036, allocations: 85.05 kB / 243.8 MB, free: 10.6 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.2036, allocations: 4 kB / 243.8 MB, free: 10.6 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.2037, allocations: 4.5 kB / 243.8 MB, free: 10.59 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/0.2038, allocations: 27.98 kB / 243.9 MB, free: 10.57 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.2038, allocations: 4 kB / 243.9 MB, free: 10.56 MB / 186.7 MB Notification: Performance of sorting global known variables: time 6.603e-05/0.2038, allocations: 102.8 kB / 244 MB, free: 10.46 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2038, allocations: 0 / 244 MB, free: 10.46 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0002988/0.2042, allocations: 40 kB / 244 MB, free: 10.43 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.0001343/0.2043, allocations: 103 kB / 244.1 MB, free: 10.32 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0003637/0.2047, allocations: 225.5 kB / 244.3 MB, free: 10.09 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.2047, allocations: 0 / 244.3 MB, free: 10.09 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002127/0.2049, allocations: 174.5 kB / 244.5 MB, free: 9.906 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.2052, allocations: 15.98 kB / 244.5 MB, free: 9.891 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006538/0.2058, allocations: 369.7 kB / 244.9 MB, free: 9.504 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.2061, allocations: 0.7397 MB / 245.6 MB, free: 8.738 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 6.736e-05/0.2062, allocations: 9.219 kB / 245.6 MB, free: 8.727 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.558e-05/0.2063, allocations: 23.42 kB / 245.6 MB, free: 8.703 MB / 186.7 MB Notification: Performance of SimCode: time 2.51e-07/0.2063, allocations: 0 / 245.6 MB, free: 8.703 MB / 186.7 MB Notification: Performance of Templates: time 0.003979/0.2102, allocations: 1.559 MB / 247.2 MB, free: 7.184 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)