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.6294/0.6294, allocations: 110.9 MB / 125.9 MB, free: 6.215 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001629/0.001629, allocations: 146.6 kB / 151.8 MB, free: 5 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.0003748, allocations: 12 kB / 184.9 MB, free: 3.934 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1518, allocations: 25.15 MB / 210 MB, free: 29.72 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.03925/0.1911, allocations: 35.76 MB / 245.8 MB, free: 14.08 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001495/0.1913, allocations: 63.97 kB / 245.9 MB, free: 14.02 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02244/0.2137, allocations: 8.257 MB / 254.1 MB, free: 5.781 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.2138, allocations: 0 / 254.1 MB, free: 5.781 MB / 186.7 MB Notification: Performance of Transformations before backend: time 3.039e-05/0.2138, allocations: 16 kB / 254.1 MB, free: 5.766 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.001617/0.2154, allocations: 0.8103 MB / 254.9 MB, free: 4.91 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.2155, allocations: 8.031 kB / 255 MB, free: 4.902 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.2156, allocations: 55.34 kB / 255 MB, free: 4.848 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000447/0.2161, allocations: 334.7 kB / 255.3 MB, free: 4.477 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.712e-05/0.2161, allocations: 40.94 kB / 255.4 MB, free: 4.441 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.2e-05/0.2162, allocations: 44 kB / 255.4 MB, free: 4.398 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.2173, allocations: 0.6073 MB / 256 MB, free: 3.777 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.2173, allocations: 3.906 kB / 256 MB, free: 3.773 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.703e-05/0.2174, allocations: 23.94 kB / 256.1 MB, free: 3.75 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.2174, allocations: 16 kB / 256.1 MB, free: 3.734 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.2186, allocations: 0.5972 MB / 256.7 MB, free: 3.137 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00221/0.2208, allocations: 1.325 MB / 258 MB, free: 1.754 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008536/0.2217, allocations: 452.5 kB / 258.4 MB, free: 1.301 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.249e-05/0.2217, allocations: 8.547 kB / 258.4 MB, free: 1.293 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.2217, allocations: 39.12 kB / 258.5 MB, free: 1.246 MB / 186.7 MB Notification: Performance of pre-optimization done (n=55): time 1.874e-06/0.2218, allocations: 0 / 258.5 MB, free: 1.246 MB / 186.7 MB Notification: Performance of matching and sorting (n=61): time 0.006059/0.2278, allocations: 2.975 MB / 261.5 MB, free: 14.12 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.2279, allocations: 67.91 kB / 261.5 MB, free: 14.05 MB / 202.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002709/0.2282, allocations: 284.7 kB / 261.8 MB, free: 13.76 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 6.392e-05/0.2282, allocations: 45.7 kB / 261.8 MB, free: 13.71 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.2283, allocations: 193.3 kB / 262 MB, free: 13.52 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/0.2285, allocations: 221 kB / 262.2 MB, free: 13.3 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.122e-05/0.2286, allocations: 12 kB / 262.3 MB, free: 13.29 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.2287, allocations: 354.8 kB / 262.6 MB, free: 12.93 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005762/0.2293, allocations: 317.2 kB / 262.9 MB, free: 12.62 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005876/0.2299, allocations: 373.6 kB / 263.3 MB, free: 12.25 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004643/0.2303, allocations: 247.1 kB / 263.5 MB, free: 12.01 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2304, allocations: 0 / 263.5 MB, free: 12.01 MB / 202.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001618/0.232, allocations: 0.9199 MB / 264.4 MB, free: 11.08 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.232, allocations: 8 kB / 264.4 MB, free: 11.07 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.232, allocations: 7.984 kB / 264.5 MB, free: 11.07 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001193/0.2332, allocations: 0.7639 MB / 265.2 MB, free: 10.3 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003603/0.2336, allocations: 107.8 kB / 265.3 MB, free: 10.2 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001255/0.2349, allocations: 1.068 MB / 266.4 MB, free: 9.102 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006135/0.2355, allocations: 143.9 kB / 266.5 MB, free: 8.961 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.317e-05/0.2356, allocations: 35.98 kB / 266.6 MB, free: 8.926 MB / 202.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 () * Number of clocked 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.0002469/0.2358, allocations: 190.9 kB / 266.8 MB, free: 8.73 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.934e-05/0.2359, allocations: 47.44 kB / 266.8 MB, free: 8.684 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/0.2361, allocations: 68.72 kB / 266.9 MB, free: 8.617 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.2361, allocations: 8 kB / 266.9 MB, free: 8.609 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2361, allocations: 0 / 266.9 MB, free: 8.609 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.2361, allocations: 3.984 kB / 266.9 MB, free: 8.605 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00244/0.2385, allocations: 1.528 MB / 268.4 MB, free: 7.02 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.2386, allocations: 0 / 268.4 MB, free: 7.02 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003821/0.239, allocations: 83.89 kB / 268.5 MB, free: 6.938 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001103/0.2401, allocations: 0.744 MB / 269.2 MB, free: 6.191 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.08e-05/0.2401, allocations: 27.95 kB / 269.3 MB, free: 6.164 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001199/0.2413, allocations: 1.05 MB / 270.3 MB, free: 5.09 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.2414, allocations: 0 / 270.3 MB, free: 5.09 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002168/0.2435, allocations: 1.296 MB / 271.6 MB, free: 3.773 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002502/0.2438, allocations: 180.5 kB / 271.8 MB, free: 3.578 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.861e-05/0.2439, allocations: 24 kB / 271.8 MB, free: 3.555 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005894/0.2445, allocations: 143.9 kB / 271.9 MB, free: 3.414 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002656/0.2448, allocations: 152.2 kB / 272.1 MB, free: 3.266 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.44e-05/0.2448, allocations: 30.53 kB / 272.1 MB, free: 3.238 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0002261/0.2451, allocations: 223.2 kB / 272.3 MB, free: 3.02 MB / 202.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2451, allocations: 0 / 272.3 MB, free: 3.02 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0005103/0.2456, allocations: 148 kB / 272.5 MB, free: 2.875 MB / 202.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) * Number of clocked states: 0 () * 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.0002718/0.2459, allocations: 155.4 kB / 272.6 MB, free: 2.715 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.001423/0.2473, allocations: 0.7461 MB / 273.4 MB, free: 1.969 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2473, allocations: 0 / 273.4 MB, free: 1.969 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007422/0.2481, allocations: 409.9 kB / 273.8 MB, free: 1.57 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004692/0.2486, allocations: 82.28 kB / 273.9 MB, free: 1.492 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002924/0.2515, allocations: 1.637 MB / 275.5 MB, free: 15.84 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005448/0.2521, allocations: 0.8517 MB / 276.4 MB, free: 14.96 MB / 218.7 MB Notification: Performance of simCode: alias equations: time 0.000243/0.2523, allocations: 43.34 kB / 276.4 MB, free: 14.92 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.2524, allocations: 35.42 kB / 276.4 MB, free: 14.88 MB / 218.7 MB Notification: Performance of SimCode: time 1.122e-06/0.2525, allocations: 4 kB / 276.4 MB, free: 14.88 MB / 218.7 MB Notification: Performance of Templates: time 0.01684/0.2693, allocations: 10.81 MB / 287.2 MB, free: 4.094 MB / 218.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)