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.008343/0.008343, allocations: 106.3 kB / 15.74 MB, free: 6.004 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.00176/0.001761, allocations: 196.5 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.552/1.552, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.001167/0.001167, allocations: 53.28 kB / 326.5 MB, free: 14.55 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1377, allocations: 46.62 MB / 373.2 MB, free: 1.457 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003394/0.1411, allocations: 2.094 MB / 375.3 MB, free: 15.35 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.1424, allocations: 0.5967 MB / 375.9 MB, free: 14.74 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.1426, allocations: 11.88 kB / 375.9 MB, free: 14.73 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002033/0.1428, allocations: 27.72 kB / 375.9 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.1429, allocations: 51.5 kB / 375.9 MB, free: 14.65 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.1432, allocations: 51.92 kB / 376 MB, free: 14.6 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002672/0.1434, allocations: 199.1 kB / 376.2 MB, free: 14.41 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002668/0.1437, allocations: 85.56 kB / 376.3 MB, free: 14.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.1438, allocations: 75.7 kB / 376.3 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.144, allocations: 91.56 kB / 376.4 MB, free: 14.16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.405e-05/0.1441, allocations: 16 kB / 376.4 MB, free: 14.14 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.298e-05/0.1441, allocations: 16 kB / 376.5 MB, free: 14.13 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.378e-05/0.1442, allocations: 31.92 kB / 376.5 MB, free: 14.1 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.1443, allocations: 95.53 kB / 376.6 MB, free: 14 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002985/0.1446, allocations: 207.3 kB / 376.8 MB, free: 13.8 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1446, allocations: 0 / 376.8 MB, free: 13.8 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1446, allocations: 4 kB / 376.8 MB, free: 13.8 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.1446, allocations: 0 / 376.8 MB, free: 13.8 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.0008413/0.1455, allocations: 466.9 kB / 377.2 MB, free: 13.29 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.1455, allocations: 8.031 kB / 377.3 MB, free: 13.29 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.017e-05/0.1456, allocations: 24.66 kB / 377.3 MB, free: 13.26 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004165/0.146, allocations: 224 kB / 377.5 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.146, allocations: 16.38 kB / 377.5 MB, free: 12.99 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.257e-05/0.1461, allocations: 24.28 kB / 377.5 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003667/0.1465, allocations: 157.4 kB / 377.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.1465, allocations: 0 / 377.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/0.1465, allocations: 19.92 kB / 377.7 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.1465, allocations: 4 kB / 377.7 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000226/0.1468, allocations: 99.88 kB / 377.8 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009311/0.1477, allocations: 0.5849 MB / 378.4 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002436/0.148, allocations: 110.6 kB / 378.5 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.129e-05/0.1481, allocations: 45.03 kB / 378.6 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.1481, allocations: 3.984 kB / 378.6 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.1481, allocations: 38.56 kB / 378.6 MB, free: 11.83 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.714e-06/0.1481, allocations: 0 / 378.6 MB, free: 11.83 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001664/0.1498, allocations: 0.8017 MB / 379.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.1499, allocations: 59.41 kB / 379.5 MB, free: 10.86 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.15, allocations: 158.2 kB / 379.6 MB, free: 10.7 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.1501, allocations: 29.7 kB / 379.6 MB, free: 10.66 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.1502, allocations: 128.3 kB / 379.8 MB, free: 10.53 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.738e-05/0.1502, allocations: 63.02 kB / 379.8 MB, free: 10.47 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.254e-05/0.1503, allocations: 37.7 kB / 379.9 MB, free: 10.43 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.1505, allocations: 326.8 kB / 380.2 MB, free: 10.1 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.1507, allocations: 51.91 kB / 380.2 MB, free: 10.05 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.1508, allocations: 79.34 kB / 380.3 MB, free: 9.957 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002377/0.151, allocations: 131.4 kB / 380.4 MB, free: 9.816 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.151, allocations: 0 / 380.4 MB, free: 9.816 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005025/0.1516, allocations: 218.1 kB / 380.6 MB, free: 9.594 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.1516, allocations: 4 kB / 380.7 MB, free: 9.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.1516, allocations: 3.938 kB / 380.7 MB, free: 9.586 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001898/0.1518, allocations: 36.83 kB / 380.7 MB, free: 9.547 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.152, allocations: 35.98 kB / 380.7 MB, free: 9.512 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001482/0.1535, allocations: 1.524 MB / 382.3 MB, free: 7.848 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.238e-05/0.1536, allocations: 16.03 kB / 382.3 MB, free: 7.832 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.1536, allocations: 4.188 kB / 382.3 MB, free: 7.828 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.0001334/0.1537, allocations: 129.8 kB / 382.4 MB, free: 7.691 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.125e-05/0.1538, allocations: 19.8 kB / 382.4 MB, free: 7.672 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.475e-05/0.1538, allocations: 21.19 kB / 382.4 MB, free: 7.648 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.1538, allocations: 4 kB / 382.4 MB, free: 7.645 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1538, allocations: 0 / 382.4 MB, free: 7.645 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.1538, allocations: 3.938 kB / 382.4 MB, free: 7.641 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008412/0.1547, allocations: 0.5877 MB / 383 MB, free: 6.984 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.1547, allocations: 3.984 kB / 383 MB, free: 6.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.1549, allocations: 27.98 kB / 383.1 MB, free: 6.953 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001121/0.155, allocations: 36.78 kB / 383.1 MB, free: 6.914 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.155, allocations: 0 / 383.1 MB, free: 6.914 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001224/0.1562, allocations: 1.481 MB / 384.6 MB, free: 5.289 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.1563, allocations: 4.062 kB / 384.6 MB, free: 5.285 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005294/0.1568, allocations: 335.9 kB / 384.9 MB, free: 4.938 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.72e-05/0.1569, allocations: 88.95 kB / 385 MB, free: 4.832 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.1569, allocations: 0 / 385 MB, free: 4.832 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.157, allocations: 11.98 kB / 385 MB, free: 4.82 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-05/0.1571, allocations: 16.05 kB / 385 MB, free: 4.805 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.1571, allocations: 4 kB / 385 MB, free: 4.801 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001006/0.1572, allocations: 120.1 kB / 385.1 MB, free: 4.684 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1572, allocations: 0 / 385.1 MB, free: 4.684 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003342/0.1576, allocations: 44 kB / 385.2 MB, free: 4.641 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.0001864/0.1578, allocations: 103.1 kB / 385.3 MB, free: 4.531 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006619/0.1584, allocations: 258.5 kB / 385.5 MB, free: 4.266 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.1584, allocations: 0 / 385.5 MB, free: 4.266 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003072/0.1588, allocations: 191.1 kB / 385.7 MB, free: 4.066 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004378/0.1592, allocations: 36.22 kB / 385.8 MB, free: 4.031 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.1604, allocations: 499.1 kB / 386.3 MB, free: 3.52 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005354/0.1609, allocations: 0.7398 MB / 387 MB, free: 2.75 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001027/0.161, allocations: 13.55 kB / 387 MB, free: 2.738 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.891e-05/0.1611, allocations: 19.44 kB / 387 MB, free: 2.719 MB / 318.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1611, allocations: 0 / 387 MB, free: 2.719 MB / 318.1 MB Notification: Performance of Templates: time 0.005721/0.1668, allocations: 1.855 MB / 388.9 MB, free: 0.8633 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)