Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.Rotational.Examples.CoupledClutches.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.CoupledClutches,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Rotational.Examples.CoupledClutches") translateModel(Modelica.Mechanics.Rotational.Examples.CoupledClutches,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Rotational.Examples.CoupledClutches") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.8622/0.8622, allocations: 110.8 MB / 123.3 MB, free: 10.77 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001721/0.001721, allocations: 147.5 kB / 149.1 MB, free: 0.9844 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.437e-05/2.439e-05, allocations: 0 / 180.2 MB, free: 17.56 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04777/0.04781, allocations: 25.18 MB / 205.4 MB, free: 8.43 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04997/0.09786, allocations: 35.65 MB / 241 MB, free: 4.719 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001911/0.0981, allocations: 63.97 kB / 241.1 MB, free: 4.656 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1462/0.2443, allocations: 8.253 MB / 249.4 MB, free: 40.82 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2444, allocations: 0 / 249.4 MB, free: 40.82 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.965e-05/0.2444, allocations: 9.625 kB / 249.4 MB, free: 40.82 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.00138/0.2458, allocations: 0.7704 MB / 250.1 MB, free: 40.33 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.2458, allocations: 9.375 kB / 250.1 MB, free: 40.33 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.246, allocations: 54.97 kB / 250.2 MB, free: 40.3 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004459/0.2464, allocations: 328.5 kB / 250.5 MB, free: 40.07 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.894e-05/0.2465, allocations: 33 kB / 250.6 MB, free: 40.07 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.2466, allocations: 47.31 kB / 250.6 MB, free: 40.07 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009482/0.2476, allocations: 0.5808 MB / 251.2 MB, free: 39.92 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.2476, allocations: 6.5 kB / 251.2 MB, free: 39.91 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.539e-05/0.2476, allocations: 20.14 kB / 251.2 MB, free: 39.9 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.2477, allocations: 9.688 kB / 251.2 MB, free: 39.9 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008796/0.2486, allocations: 0.5344 MB / 251.7 MB, free: 39.73 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002414/0.251, allocations: 1.333 MB / 253.1 MB, free: 39.04 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009356/0.2519, allocations: 403.8 kB / 253.5 MB, free: 38.89 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004872/0.2524, allocations: 276.1 kB / 253.7 MB, free: 38.77 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.754e-05/0.2525, allocations: 7.859 kB / 253.8 MB, free: 38.77 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.2525, allocations: 42.34 kB / 253.8 MB, free: 38.72 MB / 186.7 MB Notification: Performance of pre-optimization done (n=55): time 3.517e-06/0.2526, allocations: 0 / 253.8 MB, free: 38.72 MB / 186.7 MB Notification: Performance of matching and sorting (n=61): time 0.003746/0.2563, allocations: 1.984 MB / 255.8 MB, free: 37.69 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.2564, allocations: 58.47 kB / 255.8 MB, free: 37.63 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/0.2566, allocations: 277.8 kB / 256.1 MB, free: 37.47 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 6.372e-05/0.2567, allocations: 42.83 kB / 256.1 MB, free: 37.43 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.2568, allocations: 194.3 kB / 256.3 MB, free: 37.27 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.257, allocations: 212.4 kB / 256.5 MB, free: 37.12 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.859e-05/0.257, allocations: 15.06 kB / 256.6 MB, free: 37.11 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 8.787e-05/0.2571, allocations: 354.7 kB / 256.9 MB, free: 36.77 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003897/0.2575, allocations: 282.9 kB / 257.2 MB, free: 36.67 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004209/0.2579, allocations: 342 kB / 257.5 MB, free: 36.52 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003297/0.2583, allocations: 221.4 kB / 257.7 MB, free: 36.45 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.2583, allocations: 0 / 257.7 MB, free: 36.45 MB / 186.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001196/0.2595, allocations: 0.8641 MB / 258.6 MB, free: 36.08 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.2595, allocations: 15.52 kB / 258.6 MB, free: 36.07 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.475e-06/0.2595, allocations: 0 / 258.6 MB, free: 36.07 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001047/0.2606, allocations: 0.7481 MB / 259.4 MB, free: 35.45 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003545/0.2609, allocations: 102.6 kB / 259.5 MB, free: 35.35 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001059/0.262, allocations: 1.077 MB / 260.5 MB, free: 34.25 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006508/0.2627, allocations: 143.9 kB / 260.7 MB, free: 34.11 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.592e-05/0.2628, allocations: 35.91 kB / 260.7 MB, free: 34.07 MB / 186.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 (clutch1.free,$PRE.clutch1.startForward,clutch1.startForward,$PRE.clutch1.startBackward,clutch1.startBackward,clutch1.locked,$PRE.clutch1.mode,clutch1.mode,clutch2.free,$PRE.clutch2.startForward,clutch2.startForward,$PRE.clutch2.startBackward,clutch2.startBackward,clutch2.locked,$PRE.clutch2.mode,clutch2.mode,clutch3.free,$PRE.clutch3.startForward,clutch3.startForward,$PRE.clutch3.startBackward,clutch3.startBackward,clutch3.locked,$PRE.clutch3.mode,clutch3.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * 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: 0 * Non-linear torn systems: 1 {3 19} Notification: Performance of prepare postOptimizeDAE: time 0.0001576/0.2629, allocations: 151.2 kB / 260.9 MB, free: 33.92 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.356e-05/0.263, allocations: 43.44 kB / 260.9 MB, free: 33.88 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001652/0.2632, allocations: 72.72 kB / 261 MB, free: 33.8 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.2632, allocations: 4 kB / 261 MB, free: 33.8 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.2632, allocations: 0 / 261 MB, free: 33.8 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.2632, allocations: 3.984 kB / 261 MB, free: 33.79 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001897/0.2651, allocations: 1.473 MB / 262.5 MB, free: 32.27 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.2652, allocations: 0 / 262.5 MB, free: 32.27 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000366/0.2655, allocations: 83.89 kB / 262.5 MB, free: 32.19 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009428/0.2665, allocations: 0.7268 MB / 263.3 MB, free: 31.46 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.009e-05/0.2666, allocations: 31.95 kB / 263.3 MB, free: 31.43 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009856/0.2675, allocations: 1.048 MB / 264.3 MB, free: 30.35 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2676, allocations: 0 / 264.3 MB, free: 30.35 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001575/0.2691, allocations: 1.175 MB / 265.5 MB, free: 29.16 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002524/0.2694, allocations: 192.4 kB / 265.7 MB, free: 28.95 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.2695, allocations: 27.98 kB / 265.7 MB, free: 28.92 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006029/0.2701, allocations: 135.9 kB / 265.9 MB, free: 28.79 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000258/0.2704, allocations: 148.2 kB / 266 MB, free: 28.64 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.469e-05/0.2705, allocations: 38.83 kB / 266 MB, free: 28.61 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001914/0.2707, allocations: 214.2 kB / 266.3 MB, free: 28.4 MB / 186.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.2707, allocations: 0 / 266.3 MB, free: 28.4 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005505/0.2712, allocations: 155.9 kB / 266.4 MB, free: 28.25 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (J1.phi,J1.w,clutch1.phi_rel,clutch1.w_rel,clutch2.phi_rel,clutch2.w_rel,clutch3.phi_rel,clutch3.w_rel) * Number of discrete variables: 15 (clutch1.free,clutch1.startForward,clutch1.startBackward,clutch1.locked,clutch1.mode,clutch2.free,clutch2.startForward,clutch2.startBackward,clutch2.locked,clutch2.mode,clutch3.free,clutch3.startForward,clutch3.startBackward,clutch3.locked,clutch3.mode) * Number of discrete states: 9 (clutch3.mode,clutch3.startForward,clutch1.mode,clutch1.startForward,clutch1.startBackward,clutch2.mode,clutch2.startForward,clutch2.startBackward,clutch3.startBackward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 39 * 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: 0 * Non-linear torn systems: 1 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002395/0.2715, allocations: 143.1 kB / 266.6 MB, free: 28.1 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.00108/0.2726, allocations: 0.6794 MB / 267.2 MB, free: 27.43 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2726, allocations: 0 / 267.2 MB, free: 27.43 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005741/0.2732, allocations: 385.8 kB / 267.6 MB, free: 27.05 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004913/0.2737, allocations: 74.91 kB / 267.7 MB, free: 26.97 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.2755, allocations: 1.228 MB / 268.9 MB, free: 25.72 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.2758, allocations: 0.8476 MB / 269.8 MB, free: 24.85 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0001809/0.276, allocations: 43.34 kB / 269.8 MB, free: 24.8 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.2761, allocations: 39.42 kB / 269.8 MB, free: 24.77 MB / 186.7 MB Notification: Performance of SimCode: time 4.31e-07/0.2761, allocations: 0 / 269.8 MB, free: 24.77 MB / 186.7 MB Notification: Performance of Templates: time 0.01401/0.2901, allocations: 10.81 MB / 280.6 MB, free: 13.96 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.CoupledClutches.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.CoupledClutches.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Rotational.Examples.CoupledClutches.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Rotational.Examples.CoupledClutches.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Rotational.Examples.CoupledClutches.sim & ./Modelica_3.1_Modelica.Mechanics.Rotational.Examples.CoupledClutches -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Rotational.Examples.CoupledClutches.pipe 2>&1)