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.001433/0.001432, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001668/0.001668, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.647/1.647, allocations: 205.1 MB / 222 MB, free: 5.02 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.00141/0.00141, allocations: 51.92 kB / 278 MB, free: 13.01 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3182, allocations: 46.62 MB / 324.7 MB, free: 1.812 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003815/0.3221, allocations: 2.164 MB / 326.8 MB, free: 116 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.3231, allocations: 0.5723 MB / 327.4 MB, free: 15.65 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001473/0.3233, allocations: 8.562 kB / 327.4 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001956/0.3235, allocations: 23.94 kB / 327.4 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.3236, allocations: 49.3 kB / 327.5 MB, free: 15.58 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.3239, allocations: 38.5 kB / 327.5 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002853/0.3241, allocations: 199.2 kB / 327.7 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002412/0.3244, allocations: 63.67 kB / 327.8 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.3245, allocations: 57.7 kB / 327.8 MB, free: 15.37 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.3247, allocations: 84.31 kB / 327.9 MB, free: 15.31 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.037e-05/0.3247, allocations: 10.91 kB / 327.9 MB, free: 15.31 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.78e-05/0.3248, allocations: 11.97 kB / 327.9 MB, free: 15.31 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.566e-05/0.3248, allocations: 36.86 kB / 328 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.3249, allocations: 85.02 kB / 328.1 MB, free: 15.22 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002614/0.3252, allocations: 201.3 kB / 328.3 MB, free: 15.07 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.3252, allocations: 4 kB / 328.3 MB, free: 15.07 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.3252, allocations: 0 / 328.3 MB, free: 15.07 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.3252, allocations: 0 / 328.3 MB, free: 15.07 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.0008648/0.3261, allocations: 480.8 kB / 328.7 MB, free: 14.61 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.3262, allocations: 9.344 kB / 328.7 MB, free: 14.61 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.363e-05/0.3262, allocations: 18.97 kB / 328.8 MB, free: 14.61 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.3265, allocations: 220.5 kB / 329 MB, free: 14.37 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/0.3266, allocations: 18.16 kB / 329 MB, free: 14.36 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.792e-05/0.3267, allocations: 20.23 kB / 329 MB, free: 14.35 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003878/0.327, allocations: 158.9 kB / 329.2 MB, free: 14.24 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.3271, allocations: 1.094 kB / 329.2 MB, free: 14.24 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.3271, allocations: 5 kB / 329.2 MB, free: 14.24 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.3271, allocations: 8.078 kB / 329.2 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002671/0.3274, allocations: 98.64 kB / 329.3 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.3285, allocations: 0.6007 MB / 329.9 MB, free: 13.65 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.3287, allocations: 110.3 kB / 330 MB, free: 13.59 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.3288, allocations: 49.34 kB / 330 MB, free: 13.55 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.3289, allocations: 1.188 kB / 330 MB, free: 13.55 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.3289, allocations: 35.73 kB / 330.1 MB, free: 13.51 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.173e-06/0.3289, allocations: 1.031 kB / 330.1 MB, free: 13.51 MB / 270.1 MB Notification: Performance of matching and sorting (n=18): time 0.001722/0.3306, allocations: 0.7916 MB / 330.9 MB, free: 12.85 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.3307, allocations: 53.75 kB / 330.9 MB, free: 12.79 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.3309, allocations: 161.1 kB / 331.1 MB, free: 12.66 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.3309, allocations: 26.8 kB / 331.1 MB, free: 12.62 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.017e-05/0.331, allocations: 136 kB / 331.2 MB, free: 12.5 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.276e-05/0.3311, allocations: 66.73 kB / 331.3 MB, free: 12.44 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.811e-05/0.3311, allocations: 37.45 kB / 331.3 MB, free: 12.41 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.3313, allocations: 331.5 kB / 331.7 MB, free: 12.08 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.3314, allocations: 42.5 kB / 331.7 MB, free: 12.06 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.3316, allocations: 80.59 kB / 331.8 MB, free: 12 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002593/0.3318, allocations: 131.9 kB / 331.9 MB, free: 11.91 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.3319, allocations: 0 / 331.9 MB, free: 11.91 MB / 270.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004571/0.3323, allocations: 209.9 kB / 332.1 MB, free: 11.79 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/0.3324, allocations: 5.75 kB / 332.1 MB, free: 11.79 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.3324, allocations: 5.453 kB / 332.1 MB, free: 11.78 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002132/0.3326, allocations: 48.38 kB / 332.2 MB, free: 11.75 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.3328, allocations: 33.38 kB / 332.2 MB, free: 11.74 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001323/0.3341, allocations: 1.42 MB / 333.6 MB, free: 10.32 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.071e-05/0.3342, allocations: 6.188 kB / 333.6 MB, free: 10.32 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.3342, allocations: 5.594 kB / 333.6 MB, free: 10.32 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 (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.0001471/0.3344, allocations: 138.5 kB / 333.8 MB, free: 10.18 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.257e-05/0.3344, allocations: 14.84 kB / 333.8 MB, free: 10.17 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.148e-05/0.3345, allocations: 19.61 kB / 333.8 MB, free: 10.15 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.3345, allocations: 6.188 kB / 333.8 MB, free: 10.15 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.3345, allocations: 1.125 kB / 333.8 MB, free: 10.15 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.3345, allocations: 1.219 kB / 333.8 MB, free: 10.15 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009574/0.3355, allocations: 0.5818 MB / 334.4 MB, free: 9.633 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3355, allocations: 192 / 334.4 MB, free: 9.633 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.3357, allocations: 39.2 kB / 334.4 MB, free: 9.617 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001361/0.3358, allocations: 36.89 kB / 334.5 MB, free: 9.594 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.3359, allocations: 5.094 kB / 334.5 MB, free: 9.59 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001236/0.3371, allocations: 1.369 MB / 335.8 MB, free: 8.199 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3371, allocations: 0 / 335.8 MB, free: 8.199 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006533/0.3378, allocations: 340.6 kB / 336.2 MB, free: 7.957 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.268e-05/0.3378, allocations: 97.27 kB / 336.3 MB, free: 7.844 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.48e-05/0.3379, allocations: 11.92 kB / 336.3 MB, free: 7.832 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.338, allocations: 4 kB / 336.3 MB, free: 7.828 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.945e-05/0.3381, allocations: 11.98 kB / 336.3 MB, free: 7.816 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.3381, allocations: 8 kB / 336.3 MB, free: 7.809 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001845/0.3383, allocations: 115.2 kB / 336.4 MB, free: 7.695 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3383, allocations: 0 / 336.4 MB, free: 7.695 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003222/0.3386, allocations: 44 kB / 336.5 MB, free: 7.652 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 (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.000183/0.3388, allocations: 103.2 kB / 336.6 MB, free: 7.543 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005708/0.3394, allocations: 250.5 kB / 336.8 MB, free: 7.285 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3394, allocations: 3.938 kB / 336.8 MB, free: 7.281 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000261/0.3397, allocations: 186.7 kB / 337 MB, free: 7.086 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005138/0.3402, allocations: 33.67 kB / 337 MB, free: 7.055 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.3413, allocations: 0.5682 MB / 337.6 MB, free: 6.461 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.3416, allocations: 0.7284 MB / 338.3 MB, free: 5.707 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.72e-05/0.3417, allocations: 13.55 kB / 338.3 MB, free: 5.691 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.927e-05/0.3418, allocations: 15.44 kB / 338.3 MB, free: 5.676 MB / 270.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3418, allocations: 4 kB / 338.4 MB, free: 5.672 MB / 270.1 MB Notification: Performance of Templates: time 0.005316/0.3471, allocations: 1.73 MB / 340.1 MB, free: 3.941 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)