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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Rotational.Examples.RollingWheel") translateModel(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00804/0.00804, allocations: 100.1 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001833/0.001833, allocations: 196.6 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.588/1.588, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 50.67 kB / 326.5 MB, free: 14.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1424, allocations: 46.63 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.00412/0.1465, allocations: 2.101 MB / 375.3 MB, free: 15.21 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.1478, allocations: 0.5889 MB / 375.9 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000191/0.1481, allocations: 4 kB / 375.9 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002811/0.1484, allocations: 35.66 kB / 375.9 MB, free: 14.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001384/0.1485, allocations: 51.48 kB / 375.9 MB, free: 14.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002948/0.1488, allocations: 51.94 kB / 376 MB, free: 14.47 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003488/0.1492, allocations: 199.1 kB / 376.2 MB, free: 14.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002802/0.1495, allocations: 85.56 kB / 376.3 MB, free: 14.19 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.1496, allocations: 71.72 kB / 376.3 MB, free: 14.12 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002146/0.1498, allocations: 79.62 kB / 376.4 MB, free: 14.04 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.208e-05/0.1499, allocations: 20 kB / 376.4 MB, free: 14.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.357e-05/0.1499, allocations: 16 kB / 376.5 MB, free: 14.01 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.89e-05/0.15, allocations: 43.84 kB / 376.5 MB, free: 13.96 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001436/0.1502, allocations: 91.53 kB / 376.6 MB, free: 13.88 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003321/0.1505, allocations: 211.3 kB / 376.8 MB, free: 13.67 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1505, allocations: 0 / 376.8 MB, free: 13.67 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1505, allocations: 0 / 376.8 MB, free: 13.67 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.356e-05/0.1505, allocations: 0 / 376.8 MB, free: 13.67 MB / 318.1 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.0007563/0.1513, allocations: 470.9 kB / 377.3 MB, free: 13.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.1514, allocations: 8.031 kB / 377.3 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.327e-05/0.1514, allocations: 24.66 kB / 377.3 MB, free: 13.13 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.1518, allocations: 224 kB / 377.5 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.1518, allocations: 12.36 kB / 377.5 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.655e-05/0.1518, allocations: 24.28 kB / 377.5 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003228/0.1522, allocations: 157.5 kB / 377.7 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.1522, allocations: 3.938 kB / 377.7 MB, free: 12.67 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.1522, allocations: 8 kB / 377.7 MB, free: 12.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.1522, allocations: 7.938 kB / 377.7 MB, free: 12.66 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002204/0.1525, allocations: 103.9 kB / 377.8 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009668/0.1534, allocations: 0.5848 MB / 378.4 MB, free: 11.91 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002581/0.1537, allocations: 110.6 kB / 378.5 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.785e-05/0.1538, allocations: 45.09 kB / 378.6 MB, free: 11.75 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.1539, allocations: 4 kB / 378.6 MB, free: 11.75 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.433e-05/0.1539, allocations: 42.5 kB / 378.6 MB, free: 11.7 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.1539, allocations: 0 / 378.6 MB, free: 11.7 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.00164/0.1556, allocations: 0.8056 MB / 379.4 MB, free: 10.79 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.1556, allocations: 55.41 kB / 379.5 MB, free: 10.73 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.1558, allocations: 154.2 kB / 379.6 MB, free: 10.57 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.1558, allocations: 33.7 kB / 379.6 MB, free: 10.53 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.927e-05/0.1559, allocations: 128.3 kB / 379.8 MB, free: 10.4 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.636e-05/0.156, allocations: 59.02 kB / 379.8 MB, free: 10.34 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.273e-05/0.1561, allocations: 41.7 kB / 379.9 MB, free: 10.29 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1562, allocations: 330.8 kB / 380.2 MB, free: 9.961 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.1563, allocations: 39.98 kB / 380.2 MB, free: 9.922 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.1565, allocations: 83.27 kB / 380.3 MB, free: 9.828 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002294/0.1567, allocations: 131.5 kB / 380.4 MB, free: 9.688 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1567, allocations: 0 / 380.4 MB, free: 9.688 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003684/0.1571, allocations: 214 kB / 380.6 MB, free: 9.469 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.1571, allocations: 4 kB / 380.6 MB, free: 9.465 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1571, allocations: 0 / 380.6 MB, free: 9.465 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001872/0.1573, allocations: 44.84 kB / 380.7 MB, free: 9.418 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.1575, allocations: 31.97 kB / 380.7 MB, free: 9.387 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001686/0.1592, allocations: 1.536 MB / 382.3 MB, free: 7.711 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.689e-05/0.1593, allocations: 11.94 kB / 382.3 MB, free: 7.699 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.1593, allocations: 8 kB / 382.3 MB, free: 7.691 MB / 318.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001285/0.1594, allocations: 129.8 kB / 382.4 MB, free: 7.555 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.826e-05/0.1595, allocations: 15.81 kB / 382.4 MB, free: 7.539 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.038e-05/0.1595, allocations: 25.23 kB / 382.4 MB, free: 7.512 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1595, allocations: 4 kB / 382.4 MB, free: 7.508 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1596, allocations: 0 / 382.4 MB, free: 7.508 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1596, allocations: 3.938 kB / 382.5 MB, free: 7.504 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008553/0.1604, allocations: 0.58 MB / 383 MB, free: 6.855 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.1604, allocations: 0 / 383 MB, free: 6.855 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.1606, allocations: 31.92 kB / 383.1 MB, free: 6.824 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001115/0.1607, allocations: 36.83 kB / 383.1 MB, free: 6.785 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.1607, allocations: 4 kB / 383.1 MB, free: 6.781 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/0.1619, allocations: 1.481 MB / 384.6 MB, free: 5.156 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1619, allocations: 0 / 384.6 MB, free: 5.156 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004975/0.1624, allocations: 340 kB / 384.9 MB, free: 4.805 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.599e-05/0.1624, allocations: 93.08 kB / 385 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.1625, allocations: 0 / 385 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.573e-05/0.1626, allocations: 8 kB / 385 MB, free: 4.688 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.538e-05/0.1626, allocations: 15.97 kB / 385 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.1626, allocations: 4 kB / 385 MB, free: 4.668 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.286e-05/0.1627, allocations: 120.1 kB / 385.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1628, allocations: 0 / 385.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003005/0.1631, allocations: 40 kB / 385.2 MB, free: 4.512 MB / 318.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001345/0.1632, allocations: 107.2 kB / 385.3 MB, free: 4.398 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004987/0.1637, allocations: 258.4 kB / 385.5 MB, free: 4.133 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1637, allocations: 0 / 385.5 MB, free: 4.133 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002471/0.164, allocations: 187.1 kB / 385.7 MB, free: 3.938 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.1643, allocations: 32.42 kB / 385.8 MB, free: 3.906 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008882/0.1652, allocations: 0.4912 MB / 386.3 MB, free: 3.391 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.1656, allocations: 0.732 MB / 387 MB, free: 2.629 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.317e-05/0.1656, allocations: 17.55 kB / 387 MB, free: 2.613 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.213e-05/0.1657, allocations: 15.44 kB / 387 MB, free: 2.598 MB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1657, allocations: 0 / 387 MB, free: 2.598 MB / 318.1 MB Notification: Performance of Templates: time 0.004965/0.1707, allocations: 1.867 MB / 388.9 MB, free: 0.7305 MB / 318.1 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)