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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 111.8 kB / 16.63 MB, free: 6.953 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.001239/0.001239, allocations: 193.8 kB / 17.55 MB, free: 6.043 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.65/1.65, allocations: 205.1 MB / 223.4 MB, free: 12.44 MB / 190.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.001275/0.001275, allocations: 55.92 kB / 279.5 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1045, allocations: 46.62 MB / 326.1 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.004332/0.1089, allocations: 2.166 MB / 328.3 MB, free: 2.613 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.1103, allocations: 0.5775 MB / 328.9 MB, free: 2.027 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002582/0.1106, allocations: 4 kB / 328.9 MB, free: 2.023 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002235/0.1109, allocations: 27.78 kB / 328.9 MB, free: 1.996 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001219/0.111, allocations: 39.69 kB / 328.9 MB, free: 1.957 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.1112, allocations: 43.89 kB / 329 MB, free: 1.914 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002476/0.1115, allocations: 203.1 kB / 329.2 MB, free: 1.715 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.1117, allocations: 73.64 kB / 329.3 MB, free: 1.641 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.1118, allocations: 75.72 kB / 329.3 MB, free: 1.566 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.1119, allocations: 79.62 kB / 329.4 MB, free: 1.488 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.605e-05/0.112, allocations: 16 kB / 329.4 MB, free: 1.473 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.384e-05/0.112, allocations: 20 kB / 329.4 MB, free: 1.453 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.718e-05/0.1121, allocations: 39.84 kB / 329.5 MB, free: 1.414 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.481e-05/0.1122, allocations: 87.55 kB / 329.6 MB, free: 1.328 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.1124, allocations: 211.5 kB / 329.8 MB, free: 1.121 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1124, allocations: 4 kB / 329.8 MB, free: 1.117 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1124, allocations: 0 / 329.8 MB, free: 1.117 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.1124, allocations: 0 / 329.8 MB, free: 1.117 MB / 270.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.0007297/0.1132, allocations: 482.5 kB / 330.3 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.1132, allocations: 8.031 kB / 330.3 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.169e-05/0.1133, allocations: 24.75 kB / 330.3 MB, free: 0.5664 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.1135, allocations: 227.9 kB / 330.5 MB, free: 312 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.1136, allocations: 12.38 kB / 330.5 MB, free: 300 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.166e-05/0.1136, allocations: 20.38 kB / 330.5 MB, free: 280 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00033/0.1139, allocations: 157.7 kB / 330.7 MB, free: 116 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.114, allocations: 0 / 330.7 MB, free: 116 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.114, allocations: 8 kB / 330.7 MB, free: 108 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.114, allocations: 4 kB / 330.7 MB, free: 104 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002284/0.1142, allocations: 103.7 kB / 330.8 MB, free: 0 / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008747/0.1151, allocations: 0.5926 MB / 331.4 MB, free: 15.35 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002338/0.1154, allocations: 122.6 kB / 331.5 MB, free: 15.22 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.064e-05/0.1155, allocations: 41.09 kB / 331.6 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.1155, allocations: 0 / 331.6 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.1155, allocations: 38.56 kB / 331.6 MB, free: 15.13 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 9.71e-07/0.1155, allocations: 0 / 331.6 MB, free: 15.13 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.001473/0.117, allocations: 0.7943 MB / 332.4 MB, free: 14.24 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.1171, allocations: 59.39 kB / 332.4 MB, free: 14.17 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.1172, allocations: 158.1 kB / 332.6 MB, free: 14.01 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.1173, allocations: 33.69 kB / 332.6 MB, free: 13.97 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.365e-05/0.1173, allocations: 132.3 kB / 332.8 MB, free: 13.84 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.014e-05/0.1174, allocations: 67.08 kB / 332.8 MB, free: 13.77 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.469e-05/0.1175, allocations: 33.72 kB / 332.9 MB, free: 13.73 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.1176, allocations: 330.8 kB / 333.2 MB, free: 13.4 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.1177, allocations: 43.97 kB / 333.2 MB, free: 13.36 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.1178, allocations: 71.41 kB / 333.3 MB, free: 13.27 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002047/0.118, allocations: 132.6 kB / 333.4 MB, free: 13.13 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.073e-06/0.118, allocations: 0 / 333.4 MB, free: 13.13 MB / 286.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003628/0.1184, allocations: 214 kB / 333.6 MB, free: 12.91 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.1184, allocations: 4.062 kB / 333.6 MB, free: 12.91 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.1185, allocations: 8 kB / 333.6 MB, free: 12.9 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001747/0.1186, allocations: 40.83 kB / 333.7 MB, free: 12.86 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.1188, allocations: 31.92 kB / 333.7 MB, free: 12.83 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001254/0.1201, allocations: 1.531 MB / 335.3 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.414e-05/0.1202, allocations: 11.97 kB / 335.3 MB, free: 11.14 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.1202, allocations: 7.984 kB / 335.3 MB, free: 11.14 MB / 286.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.0001226/0.1203, allocations: 129.9 kB / 335.4 MB, free: 11 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.628e-05/0.1203, allocations: 11.91 kB / 335.4 MB, free: 10.99 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.692e-05/0.1204, allocations: 21.19 kB / 335.4 MB, free: 10.96 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.1204, allocations: 0 / 335.4 MB, free: 10.96 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.1204, allocations: 7.938 kB / 335.4 MB, free: 10.96 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.1204, allocations: 7.922 kB / 335.4 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007745/0.1212, allocations: 0.5839 MB / 336 MB, free: 10.3 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1212, allocations: 0 / 336 MB, free: 10.3 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.1214, allocations: 32.17 kB / 336.1 MB, free: 10.27 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001104/0.1215, allocations: 44.8 kB / 336.1 MB, free: 10.22 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.1215, allocations: 8 kB / 336.1 MB, free: 10.21 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00114/0.1227, allocations: 1.469 MB / 337.6 MB, free: 8.605 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1227, allocations: 0 / 337.6 MB, free: 8.605 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004881/0.1232, allocations: 343.4 kB / 337.9 MB, free: 8.254 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.449e-05/0.1232, allocations: 89.17 kB / 338 MB, free: 8.148 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.1233, allocations: 3.984 kB / 338 MB, free: 8.145 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.1234, allocations: 8 kB / 338 MB, free: 8.137 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.52e-05/0.1234, allocations: 15.92 kB / 338 MB, free: 8.121 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.1235, allocations: 4 kB / 338 MB, free: 8.117 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.648e-05/0.1236, allocations: 119.2 kB / 338.2 MB, free: 8 MB / 286.1 MB Notification: Performance of sort global known variables: time 4e-07/0.1236, allocations: 0 / 338.2 MB, free: 8 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003024/0.1239, allocations: 44 kB / 338.2 MB, free: 7.957 MB / 286.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.0001261/0.124, allocations: 107.1 kB / 338.3 MB, free: 7.844 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004727/0.1245, allocations: 259.1 kB / 338.6 MB, free: 7.578 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1245, allocations: 0 / 338.6 MB, free: 7.578 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002424/0.1247, allocations: 190.5 kB / 338.7 MB, free: 7.379 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004299/0.1252, allocations: 28.11 kB / 338.8 MB, free: 7.352 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009162/0.1261, allocations: 0.554 MB / 339.3 MB, free: 6.77 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.1264, allocations: 0.732 MB / 340.1 MB, free: 6.012 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.828e-05/0.1265, allocations: 13.55 kB / 340.1 MB, free: 5.996 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.154e-05/0.1265, allocations: 19.44 kB / 340.1 MB, free: 5.977 MB / 286.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1265, allocations: 0 / 340.1 MB, free: 5.977 MB / 286.1 MB Notification: Performance of Templates: time 0.005298/0.1318, allocations: 1.817 MB / 341.9 MB, free: 4.16 MB / 286.1 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)