Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Friction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.Friction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Friction") translateModel(Modelica.Mechanics.Rotational.Examples.Friction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Friction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001048/0.001048, allocations: 179.6 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.157/1.157, allocations: 194.5 MB / 211.6 MB, free: 3.039 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001632/0.001632, allocations: 116 kB / 256.9 MB, free: 4.375 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003111/0.0003111, allocations: 8 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0854/0.08573, allocations: 44.51 MB / 355.1 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2248/0.3105, allocations: 76.1 MB / 431.2 MB, free: 13.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001791/0.3108, allocations: 75.72 kB / 431.2 MB, free: 13.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01778/0.3285, allocations: 7.522 MB / 438.8 MB, free: 7.066 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3286, allocations: 0 / 438.8 MB, free: 7.066 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.801e-05/0.3286, allocations: 16 kB / 438.8 MB, free: 7.051 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001037/0.3297, allocations: 0.7263 MB / 439.5 MB, free: 6.305 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.3297, allocations: 12.03 kB / 439.5 MB, free: 6.293 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.631e-05/0.3298, allocations: 51.47 kB / 439.6 MB, free: 6.246 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003008/0.3301, allocations: 308 kB / 439.9 MB, free: 5.934 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.3301, allocations: 27.06 kB / 439.9 MB, free: 5.918 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.713e-05/0.3302, allocations: 41.97 kB / 439.9 MB, free: 5.891 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006777/0.3309, allocations: 463 kB / 440.4 MB, free: 5.566 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.3309, allocations: 0 / 440.4 MB, free: 5.566 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.984e-05/0.331, allocations: 16.81 kB / 440.4 MB, free: 5.562 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.331, allocations: 8 kB / 440.4 MB, free: 5.555 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000721/0.3317, allocations: 448.8 kB / 440.8 MB, free: 5.242 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001844/0.3336, allocations: 1.16 MB / 442 MB, free: 4.262 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006519/0.3342, allocations: 401.1 kB / 442.4 MB, free: 3.984 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.792e-05/0.3343, allocations: 8.438 kB / 442.4 MB, free: 3.977 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.466e-05/0.3343, allocations: 38.64 kB / 442.4 MB, free: 3.934 MB / 314.7 MB Notification: Performance of pre-optimization done (n=52): time 1.603e-06/0.3343, allocations: 4 kB / 442.4 MB, free: 3.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=58): time 0.004028/0.3384, allocations: 2.348 MB / 444.8 MB, free: 1.922 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.3384, allocations: 55.97 kB / 444.8 MB, free: 1.855 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.3386, allocations: 238.1 kB / 445.1 MB, free: 1.66 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.068e-05/0.3387, allocations: 48.31 kB / 445.1 MB, free: 1.617 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.59e-05/0.3388, allocations: 170.9 kB / 445.3 MB, free: 1.477 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.3389, allocations: 202 kB / 445.5 MB, free: 1.309 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.951e-05/0.3389, allocations: 17.19 kB / 445.5 MB, free: 1.301 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.854e-05/0.339, allocations: 344.2 kB / 445.8 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003572/0.3394, allocations: 223 kB / 446.1 MB, free: 0.832 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003778/0.3398, allocations: 283.6 kB / 446.3 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003059/0.3401, allocations: 179.2 kB / 446.5 MB, free: 436 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3401, allocations: 0 / 446.5 MB, free: 436 kB / 314.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001423/0.3415, allocations: 0.7327 MB / 447.2 MB, free: 15.68 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.3415, allocations: 4 kB / 447.3 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.3416, allocations: 7.984 kB / 447.3 MB, free: 15.67 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007385/0.3423, allocations: 397.4 kB / 447.6 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003228/0.3426, allocations: 91.83 kB / 447.7 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001038/0.3437, allocations: 1.329 MB / 449.1 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004477/0.3441, allocations: 100 kB / 449.2 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.501e-05/0.3442, allocations: 23.98 kB / 449.2 MB, free: 13.68 MB / 330.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002296/0.3445, allocations: 165.8 kB / 449.3 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.49e-05/0.3446, allocations: 48.17 kB / 449.4 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001501/0.3461, allocations: 0.7477 MB / 450.1 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.3461, allocations: 4 kB / 450.1 MB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/0.3461, allocations: 0 / 450.1 MB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.3461, allocations: 7.922 kB / 450.2 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002456/0.3486, allocations: 1.393 MB / 451.5 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.3486, allocations: 4 kB / 451.6 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003595/0.349, allocations: 85.41 kB / 451.6 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007037/0.3497, allocations: 377.4 kB / 452 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.214e-05/0.3497, allocations: 27.97 kB / 452 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001035/0.3508, allocations: 1.294 MB / 453.3 MB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.89e-05/0.3508, allocations: 3.953 kB / 453.3 MB, free: 9.379 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001872/0.3527, allocations: 1.089 MB / 454.4 MB, free: 8.219 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002022/0.3529, allocations: 168.6 kB / 454.6 MB, free: 8.035 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.586e-05/0.353, allocations: 16 kB / 454.6 MB, free: 8.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004235/0.3534, allocations: 79.92 kB / 454.7 MB, free: 7.941 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001939/0.3536, allocations: 108.2 kB / 454.8 MB, free: 7.836 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.021e-05/0.3537, allocations: 31.97 kB / 454.8 MB, free: 7.805 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001724/0.3539, allocations: 193.9 kB / 455 MB, free: 7.617 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3539, allocations: 0 / 455 MB, free: 7.617 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004658/0.3543, allocations: 132.8 kB / 455.1 MB, free: 7.488 MB / 330.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 41 * 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.000222/0.3546, allocations: 157.9 kB / 455.3 MB, free: 7.328 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001163/0.3557, allocations: 0.6127 MB / 455.9 MB, free: 6.699 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3557, allocations: 0 / 455.9 MB, free: 6.699 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006451/0.3564, allocations: 338.6 kB / 456.2 MB, free: 6.371 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004257/0.3568, allocations: 62.8 kB / 456.3 MB, free: 6.312 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003739/0.3606, allocations: 1.765 MB / 458.1 MB, free: 4.523 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004226/0.361, allocations: 0.8287 MB / 458.9 MB, free: 3.668 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001781/0.3612, allocations: 39.27 kB / 458.9 MB, free: 3.629 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.453e-05/0.3613, allocations: 31.42 kB / 459 MB, free: 3.602 MB / 330.7 MB Notification: Performance of SimCode: time 4.61e-07/0.3613, allocations: 0 / 459 MB, free: 3.602 MB / 330.7 MB Notification: Performance of Templates: time 0.01289/0.3742, allocations: 8.427 MB / 467.4 MB, free: 11.24 MB / 346.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Friction.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Friction.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Friction.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Friction.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Friction.sim & ./Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Friction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Friction.pipe 2>&1)