Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Mechanics.Rotational.Examples.RollingWheel") translateModel(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.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.00644/0.00644, allocations: 100.5 kB / 15.73 MB, free: 5.988 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.001051/0.001051, allocations: 192.5 kB / 16.67 MB, free: 5.91 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.543/1.543, allocations: 205.1 MB / 222.6 MB, free: 4.375 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.001445/0.001445, allocations: 54.02 kB / 326.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1125, allocations: 46.62 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003445/0.116, allocations: 2.097 MB / 375.3 MB, free: 15.2 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009817/0.117, allocations: 0.5967 MB / 375.9 MB, free: 14.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.1171, allocations: 4 kB / 375.9 MB, free: 14.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001719/0.1173, allocations: 35.64 kB / 375.9 MB, free: 14.55 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.1174, allocations: 51.5 kB / 375.9 MB, free: 14.5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001978/0.1176, allocations: 47.94 kB / 376 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002403/0.1179, allocations: 203.1 kB / 376.2 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001865/0.1181, allocations: 85.56 kB / 376.3 MB, free: 14.17 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.811e-05/0.1182, allocations: 71.72 kB / 376.3 MB, free: 14.1 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.1183, allocations: 83.61 kB / 376.4 MB, free: 14.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.249e-05/0.1184, allocations: 20 kB / 376.4 MB, free: 14 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.181e-05/0.1184, allocations: 16 kB / 376.5 MB, free: 13.98 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.28e-05/0.1185, allocations: 31.92 kB / 376.5 MB, free: 13.95 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.1186, allocations: 95.47 kB / 376.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002516/0.1188, allocations: 211.3 kB / 376.8 MB, free: 13.65 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1189, allocations: 8 kB / 376.8 MB, free: 13.64 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1189, allocations: 0 / 376.8 MB, free: 13.64 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.1189, allocations: 0 / 376.8 MB, free: 13.64 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.0006948/0.1196, allocations: 462.9 kB / 377.2 MB, free: 13.14 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.1196, allocations: 12.02 kB / 377.3 MB, free: 13.13 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.063e-05/0.1197, allocations: 20.66 kB / 377.3 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.12, allocations: 237.1 kB / 377.5 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.12, allocations: 12.38 kB / 377.5 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.753e-05/0.1201, allocations: 16.28 kB / 377.5 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000315/0.1204, allocations: 165.5 kB / 377.7 MB, free: 12.65 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.1204, allocations: 0 / 377.7 MB, free: 12.65 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.1204, allocations: 4 kB / 377.7 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.1204, allocations: 7.938 kB / 377.7 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002318/0.1207, allocations: 107.9 kB / 377.8 MB, free: 12.53 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008991/0.1216, allocations: 0.5888 MB / 378.4 MB, free: 11.89 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.1218, allocations: 110.6 kB / 378.5 MB, free: 11.77 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.756e-05/0.1219, allocations: 45.09 kB / 378.6 MB, free: 11.72 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.122, allocations: 0 / 378.6 MB, free: 11.72 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.122, allocations: 46.5 kB / 378.6 MB, free: 11.67 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.122, allocations: 0 / 378.6 MB, free: 11.67 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001621/0.1236, allocations: 0.7939 MB / 379.4 MB, free: 10.78 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.1237, allocations: 55.41 kB / 379.5 MB, free: 10.71 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.1239, allocations: 158.2 kB / 379.6 MB, free: 10.55 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.1239, allocations: 29.7 kB / 379.6 MB, free: 10.51 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.124, allocations: 128.3 kB / 379.8 MB, free: 10.38 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.451e-05/0.1241, allocations: 70.98 kB / 379.8 MB, free: 10.31 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.166e-05/0.1242, allocations: 29.72 kB / 379.9 MB, free: 10.28 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1243, allocations: 330.8 kB / 380.2 MB, free: 9.945 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.1245, allocations: 47.97 kB / 380.2 MB, free: 9.898 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.1246, allocations: 87.28 kB / 380.3 MB, free: 9.801 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.1248, allocations: 127.5 kB / 380.4 MB, free: 9.664 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1248, allocations: 4 kB / 380.4 MB, free: 9.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003682/0.1252, allocations: 210 kB / 380.6 MB, free: 9.445 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.1252, allocations: 4 kB / 380.6 MB, free: 9.441 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1252, allocations: 0 / 380.6 MB, free: 9.441 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000179/0.1254, allocations: 40.83 kB / 380.7 MB, free: 9.398 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.1256, allocations: 35.92 kB / 380.7 MB, free: 9.363 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0013/0.1269, allocations: 1.528 MB / 382.3 MB, free: 7.695 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.31e-05/0.127, allocations: 12 kB / 382.3 MB, free: 7.684 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.127, allocations: 8 kB / 382.3 MB, free: 7.676 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.0001321/0.1272, allocations: 137.8 kB / 382.4 MB, free: 7.531 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.758e-05/0.1272, allocations: 15.81 kB / 382.4 MB, free: 7.516 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.358e-05/0.1272, allocations: 13.19 kB / 382.4 MB, free: 7.5 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.1273, allocations: 4 kB / 382.4 MB, free: 7.496 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.1273, allocations: 3.938 kB / 382.4 MB, free: 7.492 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.1273, allocations: 11.92 kB / 382.5 MB, free: 7.48 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007525/0.128, allocations: 0.5839 MB / 383 MB, free: 6.828 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.128, allocations: 0 / 383 MB, free: 6.828 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.1282, allocations: 27.92 kB / 383.1 MB, free: 6.801 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001068/0.1283, allocations: 28.84 kB / 383.1 MB, free: 6.77 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.1283, allocations: 15.98 kB / 383.1 MB, free: 6.754 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001255/0.1296, allocations: 1.473 MB / 384.6 MB, free: 5.137 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1296, allocations: 4.031 kB / 384.6 MB, free: 5.133 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005084/0.1301, allocations: 335.9 kB / 384.9 MB, free: 4.785 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.1303, allocations: 88.95 kB / 385 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.994e-05/0.1303, allocations: 7.984 kB / 385 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.911e-05/0.1305, allocations: 8.125 kB / 385 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.29e-05/0.1305, allocations: 11.98 kB / 385 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-06/0.1305, allocations: 4 kB / 385 MB, free: 4.648 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.47e-05/0.1306, allocations: 120.1 kB / 385.1 MB, free: 4.531 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1306, allocations: 0 / 385.1 MB, free: 4.531 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002916/0.1309, allocations: 44 kB / 385.2 MB, free: 4.488 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.0001172/0.131, allocations: 103.2 kB / 385.3 MB, free: 4.379 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004925/0.1315, allocations: 254.5 kB / 385.5 MB, free: 4.117 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.1316, allocations: 0 / 385.5 MB, free: 4.117 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002475/0.1318, allocations: 191.1 kB / 385.7 MB, free: 3.918 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.1322, allocations: 28.3 kB / 385.8 MB, free: 3.891 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008617/0.133, allocations: 499.2 kB / 386.2 MB, free: 3.379 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.1334, allocations: 0.7397 MB / 387 MB, free: 2.609 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.357e-05/0.1334, allocations: 13.55 kB / 387 MB, free: 2.598 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.176e-05/0.1335, allocations: 15.44 kB / 387 MB, free: 2.582 MB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1335, allocations: 0 / 387 MB, free: 2.582 MB / 318.1 MB Notification: Performance of Templates: time 0.005372/0.1389, allocations: 1.867 MB / 388.9 MB, free: 0.7148 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1)