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.001095/0.001096, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001319/0.001319, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.632/1.632, allocations: 205.4 MB / 222.1 MB, free: 5.883 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.0004913/0.0004914, allocations: 14.66 kB / 278.9 MB, free: 13.05 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2856, allocations: 47.59 MB / 326.5 MB, free: 1.367 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002451/0.2881, allocations: 1.749 MB / 328.2 MB, free: 15.99 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.2892, allocations: 0.5532 MB / 328.8 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.2893, allocations: 7.312 kB / 328.8 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001393/0.2895, allocations: 24.09 kB / 328.8 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.289e-05/0.2896, allocations: 45.62 kB / 328.9 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001873/0.2898, allocations: 34.3 kB / 328.9 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002759/0.2901, allocations: 183 kB / 329.1 MB, free: 15.35 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002053/0.2903, allocations: 51.73 kB / 329.1 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.2904, allocations: 62.12 kB / 329.2 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.2906, allocations: 76.23 kB / 329.3 MB, free: 15.23 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.862e-05/0.2906, allocations: 8.656 kB / 329.3 MB, free: 15.23 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.165e-05/0.2907, allocations: 8.562 kB / 329.3 MB, free: 15.23 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.025e-05/0.2907, allocations: 29.38 kB / 329.3 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.053e-05/0.2908, allocations: 57.86 kB / 329.4 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.291, allocations: 161.5 kB / 329.5 MB, free: 15.04 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.291, allocations: 0 / 329.5 MB, free: 15.04 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.291, allocations: 0 / 329.5 MB, free: 15.04 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.291, allocations: 1.156 kB / 329.5 MB, free: 15.04 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.0007208/0.2917, allocations: 447.1 kB / 329.9 MB, free: 14.61 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.2918, allocations: 8.969 kB / 330 MB, free: 14.61 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.719e-05/0.2919, allocations: 17.19 kB / 330 MB, free: 14.61 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002599/0.2921, allocations: 226.5 kB / 330.2 MB, free: 14.36 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.2922, allocations: 10.5 kB / 330.2 MB, free: 14.36 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.18e-05/0.2922, allocations: 15.78 kB / 330.2 MB, free: 14.35 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000376/0.2926, allocations: 167.5 kB / 330.4 MB, free: 14.24 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.2926, allocations: 5.031 kB / 330.4 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.2926, allocations: 5.312 kB / 330.4 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.2927, allocations: 4.375 kB / 330.4 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002923/0.293, allocations: 108.3 kB / 330.5 MB, free: 14.18 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009731/0.2939, allocations: 0.5889 MB / 331.1 MB, free: 13.65 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002637/0.2942, allocations: 114.4 kB / 331.2 MB, free: 13.59 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.2943, allocations: 43.44 kB / 331.2 MB, free: 13.56 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.2944, allocations: 5.25 kB / 331.3 MB, free: 13.56 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.2944, allocations: 36.12 kB / 331.3 MB, free: 13.52 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.2944, allocations: 0 / 331.3 MB, free: 13.52 MB / 270.1 MB Notification: Performance of matching and sorting (n=18): time 0.001582/0.296, allocations: 0.8046 MB / 332.1 MB, free: 12.85 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.2961, allocations: 60.59 kB / 332.2 MB, free: 12.78 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.2962, allocations: 160.9 kB / 332.3 MB, free: 12.65 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.2963, allocations: 25.7 kB / 332.3 MB, free: 12.62 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.2964, allocations: 129.6 kB / 332.5 MB, free: 12.5 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.258e-05/0.2964, allocations: 66.2 kB / 332.5 MB, free: 12.44 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.798e-06/0.2965, allocations: 5.188 kB / 332.5 MB, free: 12.43 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.2966, allocations: 330.2 kB / 332.9 MB, free: 12.11 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.2967, allocations: 44.39 kB / 332.9 MB, free: 12.09 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.2969, allocations: 86.73 kB / 333 MB, free: 12.02 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.297, allocations: 52.75 kB / 333 MB, free: 12 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.297, allocations: 0 / 333 MB, free: 12 MB / 270.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000418/0.2974, allocations: 208.5 kB / 333.2 MB, free: 11.88 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.2975, allocations: 9.422 kB / 333.2 MB, free: 11.87 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.2975, allocations: 1.094 kB / 333.2 MB, free: 11.87 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001941/0.2977, allocations: 35.5 kB / 333.3 MB, free: 11.85 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.2979, allocations: 34.22 kB / 333.3 MB, free: 11.84 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00136/0.2992, allocations: 1.419 MB / 334.7 MB, free: 10.42 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.173e-05/0.2993, allocations: 16.83 kB / 334.8 MB, free: 10.41 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.2994, allocations: 9.438 kB / 334.8 MB, free: 10.41 MB / 270.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001393/0.2995, allocations: 134.1 kB / 334.9 MB, free: 10.27 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.554e-05/0.2996, allocations: 18.11 kB / 334.9 MB, free: 10.26 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.939e-05/0.2996, allocations: 19.81 kB / 334.9 MB, free: 10.24 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.2996, allocations: 6.328 kB / 334.9 MB, free: 10.24 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2996, allocations: 1.062 kB / 334.9 MB, free: 10.24 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2997, allocations: 1.094 kB / 334.9 MB, free: 10.24 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009644/0.3006, allocations: 0.593 MB / 335.5 MB, free: 9.715 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.3006, allocations: 0 / 335.5 MB, free: 9.715 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/0.3008, allocations: 27.55 kB / 335.6 MB, free: 9.711 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000123/0.3009, allocations: 36.52 kB / 335.6 MB, free: 9.688 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.301, allocations: 5.375 kB / 335.6 MB, free: 9.684 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001212/0.3022, allocations: 1.372 MB / 337 MB, free: 8.289 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3022, allocations: 0.9688 kB / 337 MB, free: 8.289 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004938/0.3027, allocations: 344.3 kB / 337.3 MB, free: 7.977 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.379e-05/0.3028, allocations: 97.08 kB / 337.4 MB, free: 7.863 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.3028, allocations: 0 / 337.4 MB, free: 7.863 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.997e-05/0.3029, allocations: 11.98 kB / 337.4 MB, free: 7.852 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.295e-05/0.303, allocations: 11.98 kB / 337.4 MB, free: 7.84 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.303, allocations: 8 kB / 337.4 MB, free: 7.832 MB / 270.1 MB Notification: Performance of sorting global known variables: time 9.485e-05/0.3031, allocations: 119.2 kB / 337.5 MB, free: 7.715 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.393e-06/0.3031, allocations: 0 / 337.5 MB, free: 7.715 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002963/0.3034, allocations: 47.94 kB / 337.6 MB, free: 7.668 MB / 270.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001176/0.3035, allocations: 103.2 kB / 337.7 MB, free: 7.559 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004557/0.304, allocations: 254.5 kB / 337.9 MB, free: 7.297 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.304, allocations: 0 / 337.9 MB, free: 7.297 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002484/0.3042, allocations: 198.6 kB / 338.1 MB, free: 7.09 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.3046, allocations: 28.55 kB / 338.2 MB, free: 7.062 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.3057, allocations: 0.5968 MB / 338.8 MB, free: 6.441 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.3061, allocations: 0.7284 MB / 339.5 MB, free: 5.688 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.307e-05/0.3061, allocations: 17.55 kB / 339.5 MB, free: 5.672 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.466e-05/0.3062, allocations: 15.44 kB / 339.5 MB, free: 5.656 MB / 270.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3062, allocations: 0 / 339.5 MB, free: 5.656 MB / 270.1 MB Notification: Performance of Templates: time 0.00496/0.3112, allocations: 1.672 MB / 341.2 MB, free: 3.984 MB / 270.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)