Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Friction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.Friction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Friction") translateModel(Modelica.Mechanics.Rotational.Examples.Friction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Friction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7199/0.7199, allocations: 110.8 MB / 123.3 MB, free: 10.76 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001621/0.001621, allocations: 147.4 kB / 149.1 MB, free: 0.9727 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 5.217e-05/5.22e-05, allocations: 0 / 180.2 MB, free: 17.57 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04874/0.04881, allocations: 25.17 MB / 205.4 MB, free: 8.441 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06537/0.1142, allocations: 36.91 MB / 242.3 MB, free: 3.469 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/0.1145, allocations: 63.97 kB / 242.4 MB, free: 3.406 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1401/0.2546, allocations: 6.81 MB / 249.2 MB, free: 41.32 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2547, allocations: 0 / 249.2 MB, free: 41.32 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.231e-05/0.2547, allocations: 7.812 kB / 249.2 MB, free: 41.32 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.00116/0.2559, allocations: 0.6827 MB / 249.9 MB, free: 40.86 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.2559, allocations: 14.33 kB / 249.9 MB, free: 40.85 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001378/0.2561, allocations: 46.81 kB / 249.9 MB, free: 40.83 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003678/0.2564, allocations: 307 kB / 250.2 MB, free: 40.59 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.318e-05/0.2565, allocations: 25.84 kB / 250.2 MB, free: 40.59 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.672e-05/0.2566, allocations: 39.75 kB / 250.3 MB, free: 40.59 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000734/0.2573, allocations: 429.6 kB / 250.7 MB, free: 40.48 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.2573, allocations: 5.438 kB / 250.7 MB, free: 40.47 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.648e-05/0.2574, allocations: 15.28 kB / 250.7 MB, free: 40.46 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.2574, allocations: 17.3 kB / 250.7 MB, free: 40.45 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008281/0.2583, allocations: 423 kB / 251.2 MB, free: 40.32 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00214/0.2604, allocations: 1.124 MB / 252.3 MB, free: 39.75 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000628/0.2611, allocations: 329.2 kB / 252.6 MB, free: 39.61 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003803/0.2614, allocations: 231.5 kB / 252.8 MB, free: 39.52 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.229e-05/0.2615, allocations: 12.67 kB / 252.8 MB, free: 39.52 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/0.2615, allocations: 41.31 kB / 252.9 MB, free: 39.47 MB / 186.7 MB Notification: Performance of pre-optimization done (n=45): time 2.224e-06/0.2615, allocations: 0 / 252.9 MB, free: 39.47 MB / 186.7 MB Notification: Performance of matching and sorting (n=51): time 0.002934/0.2645, allocations: 1.629 MB / 254.5 MB, free: 38.57 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.2645, allocations: 61.62 kB / 254.6 MB, free: 38.5 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/0.2648, allocations: 241.6 kB / 254.8 MB, free: 38.36 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 4.849e-05/0.2648, allocations: 41.11 kB / 254.8 MB, free: 38.32 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.568e-05/0.2649, allocations: 176.8 kB / 255 MB, free: 38.17 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.2651, allocations: 183.7 kB / 255.2 MB, free: 38.04 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.2651, allocations: 11.56 kB / 255.2 MB, free: 38.03 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 9.513e-05/0.2652, allocations: 347.1 kB / 255.5 MB, free: 37.7 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002948/0.2655, allocations: 212.1 kB / 255.8 MB, free: 37.62 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003105/0.2658, allocations: 254.7 kB / 256 MB, free: 37.51 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002413/0.2661, allocations: 169 kB / 256.2 MB, free: 37.45 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.2661, allocations: 0 / 256.2 MB, free: 37.45 MB / 186.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001067/0.2671, allocations: 0.6966 MB / 256.9 MB, free: 37.18 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.2672, allocations: 10.59 kB / 256.9 MB, free: 37.18 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.2672, allocations: 0 / 256.9 MB, free: 37.18 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007731/0.268, allocations: 0.5156 MB / 257.4 MB, free: 37.04 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003267/0.2683, allocations: 91.56 kB / 257.5 MB, free: 37.02 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009298/0.2693, allocations: 1.395 MB / 258.9 MB, free: 35.84 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004613/0.2697, allocations: 104.5 kB / 259 MB, free: 35.81 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.806e-05/0.2698, allocations: 23.2 kB / 259 MB, free: 35.8 MB / 186.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 16 (clutch.free,$PRE.clutch.startForward,clutch.startForward,$PRE.clutch.startBackward,clutch.startBackward,clutch.locked,$PRE.clutch.mode,clutch.mode,brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 50 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 8,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001221/0.2699, allocations: 128.5 kB / 259.1 MB, free: 35.68 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.428e-05/0.27, allocations: 38.64 kB / 259.2 MB, free: 35.66 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000132/0.2701, allocations: 58.25 kB / 259.2 MB, free: 35.61 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.2702, allocations: 3.375 kB / 259.2 MB, free: 35.61 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.2702, allocations: 0 / 259.2 MB, free: 35.61 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.2702, allocations: 7.984 kB / 259.2 MB, free: 35.6 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00204/0.2722, allocations: 1.356 MB / 260.6 MB, free: 34.23 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.2722, allocations: 7.922 kB / 260.6 MB, free: 34.22 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000304/0.2726, allocations: 75.91 kB / 260.7 MB, free: 34.15 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006325/0.2732, allocations: 0.4978 MB / 261.2 MB, free: 33.65 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.321e-05/0.2732, allocations: 23.98 kB / 261.2 MB, free: 33.62 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008152/0.2741, allocations: 1.357 MB / 262.5 MB, free: 32.22 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.2741, allocations: 3.938 kB / 262.5 MB, free: 32.21 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/0.2754, allocations: 1.032 MB / 263.6 MB, free: 31.12 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001957/0.2756, allocations: 160.6 kB / 263.7 MB, free: 30.94 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.831e-05/0.2757, allocations: 23.95 kB / 263.8 MB, free: 30.92 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004197/0.2761, allocations: 79.94 kB / 263.8 MB, free: 30.84 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001812/0.2763, allocations: 111.7 kB / 263.9 MB, free: 30.73 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.524e-05/0.2764, allocations: 32.09 kB / 264 MB, free: 30.7 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001463/0.2765, allocations: 191.1 kB / 264.2 MB, free: 30.51 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2765, allocations: 0 / 264.2 MB, free: 30.51 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004577/0.277, allocations: 131.9 kB / 264.3 MB, free: 30.38 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (clutch.phi_rel,clutch.w_rel,spring.phi_rel,spring.w_rel,inertia1.phi,inertia1.w) * Number of discrete variables: 10 (clutch.startForward,clutch.startBackward,clutch.locked,clutch.mode,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,clutch.free) * Number of discrete states: 6 (brake.mode,brake.startBackward,brake.startForward,clutch.mode,clutch.startForward,clutch.startBackward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 36 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 7,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.000201/0.2772, allocations: 130 kB / 264.4 MB, free: 30.25 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0008399/0.2781, allocations: 0.506 MB / 264.9 MB, free: 29.74 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2781, allocations: 0 / 264.9 MB, free: 29.74 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004629/0.2785, allocations: 299.5 kB / 265.2 MB, free: 29.45 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004251/0.279, allocations: 53.27 kB / 265.3 MB, free: 29.39 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00297/0.282, allocations: 1.31 MB / 266.6 MB, free: 28.05 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.2822, allocations: 0.8192 MB / 267.4 MB, free: 27.2 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0001847/0.2824, allocations: 39.27 kB / 267.4 MB, free: 27.16 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.319e-05/0.2825, allocations: 35.42 kB / 267.5 MB, free: 27.13 MB / 186.7 MB Notification: Performance of SimCode: time 1.052e-06/0.2825, allocations: 4 kB / 267.5 MB, free: 27.13 MB / 186.7 MB Notification: Performance of Templates: time 0.01157/0.2941, allocations: 7.913 MB / 275.4 MB, free: 19.22 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Friction.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Friction.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Friction.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Friction.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Friction.sim & ./Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Friction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Rotational.Examples.Friction.pipe 2>&1)