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.874/0.874, allocations: 110.8 MB / 118.3 MB, free: 14.47 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001691/0.001691, allocations: 167.3 kB / 144 MB, free: 4.785 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.639e-05/1.663e-05, allocations: 3.984 kB / 173.8 MB, free: 22.79 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04658/0.04661, allocations: 25.18 MB / 199 MB, free: 13.69 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05156/0.09823, allocations: 34.99 MB / 234 MB, free: 10.64 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000192/0.09846, allocations: 63.97 kB / 234.1 MB, free: 10.58 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02425/0.1227, allocations: 8.202 MB / 242.3 MB, free: 2.363 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1228, allocations: 4 kB / 242.3 MB, free: 2.359 MB / 186.7 MB Notification: Performance of Transformations before backend: time 3.676e-05/0.1228, allocations: 8 kB / 242.3 MB, free: 2.352 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.001998/0.1248, allocations: 0.756 MB / 243 MB, free: 1.551 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.1249, allocations: 11.97 kB / 243.1 MB, free: 1.539 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002311/0.1251, allocations: 55.34 kB / 243.1 MB, free: 1.484 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005843/0.1257, allocations: 331.7 kB / 243.4 MB, free: 1.117 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.1258, allocations: 16 kB / 243.5 MB, free: 1.102 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.819e-05/0.1259, allocations: 24 kB / 243.5 MB, free: 1.078 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009119/0.1268, allocations: 0.5141 MB / 244 MB, free: 0.5625 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009088/0.1277, allocations: 0.5273 MB / 244.5 MB, free: 24 kB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.915e-05/0.1277, allocations: 11.84 kB / 244.5 MB, free: 12 kB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.663e-05/0.1278, allocations: 4 kB / 244.5 MB, free: 8 kB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1143/0.2421, allocations: 13.86 kB / 244.5 MB, free: 41.02 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003925/0.2461, allocations: 1.24 MB / 245.8 MB, free: 40.68 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008565/0.247, allocations: 386.2 kB / 246.2 MB, free: 40.65 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000429/0.2474, allocations: 258 kB / 246.4 MB, free: 40.64 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.44e-05/0.2475, allocations: 9.672 kB / 246.4 MB, free: 40.64 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.2475, allocations: 44.31 kB / 246.5 MB, free: 40.61 MB / 186.7 MB Notification: Performance of pre-optimization done (n=55): time 2.905e-06/0.2475, allocations: 0 / 246.5 MB, free: 40.61 MB / 186.7 MB Notification: Performance of matching and sorting (n=61): time 0.004204/0.2518, allocations: 1.868 MB / 248.3 MB, free: 40.03 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.2518, allocations: 58.09 kB / 248.4 MB, free: 39.97 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003146/0.2521, allocations: 253.8 kB / 248.6 MB, free: 39.87 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 7.474e-05/0.2522, allocations: 37.8 kB / 248.7 MB, free: 39.84 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.2524, allocations: 198.1 kB / 248.9 MB, free: 39.73 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001702/0.2525, allocations: 208.5 kB / 249.1 MB, free: 39.61 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.304e-05/0.2526, allocations: 2.688 kB / 249.1 MB, free: 39.61 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 9.12e-05/0.2527, allocations: 361.6 kB / 249.4 MB, free: 39.3 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004438/0.2531, allocations: 267.7 kB / 249.7 MB, free: 39.27 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000441/0.2536, allocations: 325.4 kB / 250 MB, free: 39.13 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004945/0.2541, allocations: 218.1 kB / 250.2 MB, free: 39.06 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.2541, allocations: 3.406 kB / 250.2 MB, free: 39.06 MB / 186.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001624/0.2557, allocations: 0.8056 MB / 251 MB, free: 38.76 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.95e-05/0.2558, allocations: 9.438 kB / 251 MB, free: 38.76 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.2558, allocations: 5.422 kB / 251 MB, free: 38.76 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001321/0.2571, allocations: 0.7466 MB / 251.8 MB, free: 38.61 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003829/0.2575, allocations: 102.6 kB / 251.9 MB, free: 38.6 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/0.2589, allocations: 1.161 MB / 253.1 MB, free: 37.84 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007047/0.2596, allocations: 138.5 kB / 253.2 MB, free: 37.84 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-05/0.2597, allocations: 29.73 kB / 253.2 MB, free: 37.83 MB / 186.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: clutch3.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real clutch2.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real clutch1.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real 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.0002188/0.2599, allocations: 134.1 kB / 253.4 MB, free: 37.72 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.26, allocations: 52.23 kB / 253.4 MB, free: 37.7 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001467/0.2602, allocations: 60.14 kB / 253.5 MB, free: 37.65 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.2602, allocations: 5.5 kB / 253.5 MB, free: 37.65 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.2602, allocations: 0 / 253.5 MB, free: 37.65 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.2602, allocations: 5.031 kB / 253.5 MB, free: 37.65 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002126/0.2624, allocations: 1.367 MB / 254.8 MB, free: 37.01 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.2624, allocations: 0 / 254.8 MB, free: 37.01 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003822/0.2628, allocations: 85.42 kB / 254.9 MB, free: 37 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009593/0.2637, allocations: 0.7279 MB / 255.6 MB, free: 36.85 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.568e-05/0.2638, allocations: 19.03 kB / 255.7 MB, free: 36.84 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001119/0.2649, allocations: 1.134 MB / 256.8 MB, free: 36.09 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.2649, allocations: 0 / 256.8 MB, free: 36.09 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/0.2664, allocations: 1.145 MB / 257.9 MB, free: 35.57 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000212/0.2666, allocations: 187.4 kB / 258.1 MB, free: 35.43 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.2668, allocations: 14.22 kB / 258.1 MB, free: 35.43 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006025/0.2674, allocations: 132 kB / 258.3 MB, free: 35.42 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002682/0.2676, allocations: 147.1 kB / 258.4 MB, free: 35.4 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.441e-05/0.2677, allocations: 32.34 kB / 258.4 MB, free: 35.39 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001677/0.2679, allocations: 194.3 kB / 258.6 MB, free: 35.28 MB / 186.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.2679, allocations: 4 kB / 258.6 MB, free: 35.28 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005921/0.2685, allocations: 124.6 kB / 258.8 MB, free: 35.28 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.0002339/0.2687, allocations: 133.7 kB / 258.9 MB, free: 35.18 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0009104/0.2697, allocations: 0.6514 MB / 259.5 MB, free: 34.94 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2697, allocations: 4.062 kB / 259.5 MB, free: 34.94 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000501/0.2702, allocations: 361 kB / 259.9 MB, free: 34.82 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004979/0.2707, allocations: 65.52 kB / 260 MB, free: 34.79 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.2725, allocations: 1.18 MB / 261.1 MB, free: 33.96 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.2727, allocations: 0.8517 MB / 262 MB, free: 33.16 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0001772/0.2729, allocations: 42.73 kB / 262 MB, free: 33.12 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.527e-05/0.273, allocations: 34.98 kB / 262.1 MB, free: 33.09 MB / 186.7 MB Notification: Performance of SimCode: time 2.31e-07/0.273, allocations: 0 / 262.1 MB, free: 33.09 MB / 186.7 MB Notification: Performance of Templates: time 0.01408/0.2871, allocations: 10.36 MB / 272.4 MB, free: 23.18 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)