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.007943/0.007943, 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.001481/0.00148, allocations: 197.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.622/1.622, allocations: 205.1 MB / 222.5 MB, free: 4.406 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.001192/0.001192, allocations: 54.78 kB / 326.5 MB, free: 14.49 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1086, allocations: 46.62 MB / 373.2 MB, free: 1.355 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003407/0.1121, allocations: 2.105 MB / 375.3 MB, free: 15.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009985/0.1131, allocations: 0.5928 MB / 375.9 MB, free: 14.63 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.1133, allocations: 7.938 kB / 375.9 MB, free: 14.62 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001893/0.1135, allocations: 27.72 kB / 375.9 MB, free: 14.6 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.1136, allocations: 55.48 kB / 375.9 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001886/0.1138, allocations: 47.95 kB / 376 MB, free: 14.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00026/0.1141, allocations: 203.1 kB / 376.2 MB, free: 14.3 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001989/0.1143, allocations: 77.58 kB / 376.3 MB, free: 14.22 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.1144, allocations: 83.59 kB / 376.3 MB, free: 14.14 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.1145, allocations: 87.61 kB / 376.4 MB, free: 14.05 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.564e-05/0.1146, allocations: 16 kB / 376.4 MB, free: 14.04 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.273e-05/0.1146, allocations: 16 kB / 376.5 MB, free: 14.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.305e-05/0.1147, allocations: 39.91 kB / 376.5 MB, free: 13.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.1148, allocations: 87.55 kB / 376.6 MB, free: 13.9 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002796/0.1151, allocations: 211.3 kB / 376.8 MB, free: 13.69 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1151, allocations: 0 / 376.8 MB, free: 13.69 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1151, allocations: 0 / 376.8 MB, free: 13.69 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.1151, allocations: 0 / 376.8 MB, free: 13.69 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.0007252/0.1158, allocations: 470.9 kB / 377.3 MB, free: 13.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.1159, allocations: 8.031 kB / 377.3 MB, free: 13.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.955e-05/0.116, allocations: 32.64 kB / 377.3 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003208/0.1163, allocations: 221.1 kB / 377.5 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.1163, allocations: 12.38 kB / 377.5 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.51e-05/0.1164, allocations: 20.28 kB / 377.5 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003296/0.1167, allocations: 165.4 kB / 377.7 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.1167, allocations: 0 / 377.7 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.371e-05/0.1168, allocations: 8 kB / 377.7 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.1168, allocations: 11.94 kB / 377.7 MB, free: 12.67 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002185/0.117, allocations: 99.94 kB / 377.8 MB, free: 12.57 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009184/0.1179, allocations: 0.5809 MB / 378.4 MB, free: 11.94 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/0.1182, allocations: 118.6 kB / 378.5 MB, free: 11.81 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.708e-05/0.1183, allocations: 49.09 kB / 378.6 MB, free: 11.76 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.1183, allocations: 0 / 378.6 MB, free: 11.76 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.1183, allocations: 34.56 kB / 378.6 MB, free: 11.72 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.1183, allocations: 0 / 378.6 MB, free: 11.72 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001592/0.1199, allocations: 0.8017 MB / 379.4 MB, free: 10.82 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.12, allocations: 55.41 kB / 379.5 MB, free: 10.75 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.1201, allocations: 154.2 kB / 379.6 MB, free: 10.59 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.1202, allocations: 33.7 kB / 379.6 MB, free: 10.55 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.14e-05/0.1203, allocations: 124.3 kB / 379.8 MB, free: 10.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.352e-05/0.1203, allocations: 70.98 kB / 379.8 MB, free: 10.36 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.945e-05/0.1204, allocations: 41.66 kB / 379.9 MB, free: 10.31 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.1205, allocations: 334.8 kB / 380.2 MB, free: 9.977 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.1207, allocations: 39.98 kB / 380.2 MB, free: 9.938 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.1208, allocations: 79.34 kB / 380.3 MB, free: 9.848 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.121, allocations: 135.4 kB / 380.4 MB, free: 9.703 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.121, allocations: 3.938 kB / 380.4 MB, free: 9.699 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003569/0.1214, allocations: 210.1 kB / 380.7 MB, free: 9.484 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.1214, allocations: 4 kB / 380.7 MB, free: 9.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.1214, allocations: 0 / 380.7 MB, free: 9.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001831/0.1216, allocations: 44.89 kB / 380.7 MB, free: 9.434 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.1218, allocations: 32.03 kB / 380.7 MB, free: 9.402 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0013/0.1231, allocations: 1.528 MB / 382.3 MB, free: 7.734 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.304e-05/0.1232, allocations: 16.11 kB / 382.3 MB, free: 7.719 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.1232, allocations: 8 kB / 382.3 MB, free: 7.711 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.0001212/0.1233, allocations: 129.8 kB / 382.4 MB, free: 7.574 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.798e-05/0.1234, allocations: 15.81 kB / 382.4 MB, free: 7.559 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.755e-05/0.1234, allocations: 25.25 kB / 382.4 MB, free: 7.531 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1234, allocations: 0 / 382.4 MB, free: 7.531 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.1234, allocations: 3.984 kB / 382.5 MB, free: 7.527 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.1235, allocations: 3.938 kB / 382.5 MB, free: 7.523 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009062/0.1244, allocations: 0.5838 MB / 383 MB, free: 6.871 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1244, allocations: 0 / 383 MB, free: 6.871 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.1245, allocations: 31.98 kB / 383.1 MB, free: 6.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001052/0.1246, allocations: 32.83 kB / 383.1 MB, free: 6.805 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.1247, allocations: 8 kB / 383.1 MB, free: 6.797 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00113/0.1258, allocations: 1.477 MB / 384.6 MB, free: 5.176 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1258, allocations: 0 / 384.6 MB, free: 5.176 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004746/0.1263, allocations: 331.9 kB / 384.9 MB, free: 4.832 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.1264, allocations: 97.06 kB / 385 MB, free: 4.719 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.1264, allocations: 0 / 385 MB, free: 4.719 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.415e-05/0.1265, allocations: 8 kB / 385 MB, free: 4.711 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.1265, allocations: 15.98 kB / 385 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.1266, allocations: 0 / 385 MB, free: 4.695 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.138e-05/0.1267, allocations: 120.1 kB / 385.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1267, allocations: 0 / 385.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003024/0.127, allocations: 48 kB / 385.2 MB, free: 4.531 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.000128/0.1271, allocations: 107.1 kB / 385.3 MB, free: 4.418 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005028/0.1276, allocations: 250.5 kB / 385.5 MB, free: 4.16 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1276, allocations: 0 / 385.5 MB, free: 4.16 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002545/0.1279, allocations: 191.1 kB / 385.7 MB, free: 3.961 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.1282, allocations: 32.42 kB / 385.8 MB, free: 3.93 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009251/0.1292, allocations: 0.4951 MB / 386.3 MB, free: 3.41 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.1295, allocations: 0.7359 MB / 387 MB, free: 2.645 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.2e-05/0.1296, allocations: 13.55 kB / 387 MB, free: 2.633 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.383e-05/0.1297, allocations: 19.44 kB / 387 MB, free: 2.613 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1297, allocations: 0 / 387 MB, free: 2.613 MB / 318.1 MB Notification: Performance of Templates: time 0.005062/0.1347, allocations: 1.859 MB / 388.9 MB, free: 0.7539 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)