Running command: translateModel(Modelica.Mechanics.Rotational.Examples.CoupledClutches,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.CoupledClutches") Notification: Performance of loadModel(Modelica): time 1.949/1.949, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.939e-05/2.957e-05, allocations: 5.5 kB / 292.1 MB, free: 8.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08847/0.08853, allocations: 50.42 MB / 342.5 MB, free: 6.406 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3589/0.4474, allocations: 79.96 MB / 422.5 MB, free: 14.21 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003241/0.4478, allocations: 64.91 kB / 422.6 MB, free: 14.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0405/0.4884, allocations: 9.272 MB / 431.8 MB, free: 6.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.207e-06/0.4884, allocations: 0 / 431.8 MB, free: 6.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.914e-05/0.4885, allocations: 12 kB / 431.9 MB, free: 6.148 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001895/0.4904, allocations: 0.77 MB / 432.6 MB, free: 5.359 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.4904, allocations: 8.031 kB / 432.6 MB, free: 5.352 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001777/0.4906, allocations: 63.33 kB / 432.7 MB, free: 5.289 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006036/0.4912, allocations: 334.2 kB / 433 MB, free: 4.957 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.927e-05/0.4913, allocations: 36.44 kB / 433.1 MB, free: 4.934 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.4914, allocations: 46.69 kB / 433.1 MB, free: 4.902 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.4927, allocations: 0.5482 MB / 433.7 MB, free: 4.516 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.794e-05/0.4928, allocations: 11.89 kB / 433.7 MB, free: 4.504 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-05/0.4929, allocations: 22.02 kB / 433.7 MB, free: 4.496 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/0.4929, allocations: 8 kB / 433.7 MB, free: 4.488 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.4942, allocations: 497.9 kB / 434.2 MB, free: 4.16 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003383/0.4976, allocations: 1.344 MB / 435.5 MB, free: 3.012 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/0.4988, allocations: 436.2 kB / 435.9 MB, free: 2.719 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006003/0.4994, allocations: 271.8 kB / 436.2 MB, free: 2.559 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.603e-05/0.4995, allocations: 16.42 kB / 436.2 MB, free: 2.547 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/0.4996, allocations: 42.38 kB / 436.3 MB, free: 2.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=61): time 4.85e-06/0.4996, allocations: 0 / 436.3 MB, free: 2.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=67): time 0.005134/0.5047, allocations: 1.922 MB / 438.2 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.5048, allocations: 59.91 kB / 438.3 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003951/0.5052, allocations: 259.9 kB / 438.5 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.5054, allocations: 47.02 kB / 438.6 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.5056, allocations: 243 kB / 438.8 MB, free: 400 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002652/0.5058, allocations: 232.6 kB / 439 MB, free: 200 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.008e-05/0.5059, allocations: 10.75 kB / 439 MB, free: 200 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.5061, allocations: 335.9 kB / 439.4 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006442/0.5068, allocations: 259.3 kB / 439.6 MB, free: 15.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006923/0.5075, allocations: 315.3 kB / 439.9 MB, free: 15.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005368/0.508, allocations: 193.2 kB / 440.1 MB, free: 15.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.935e-06/0.5081, allocations: 4 kB / 440.1 MB, free: 15.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001993/0.5101, allocations: 0.7737 MB / 440.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.924e-05/0.5101, allocations: 11.95 kB / 440.9 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.604e-05/0.5102, allocations: 4 kB / 440.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00146/0.5116, allocations: 0.5456 MB / 441.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005978/0.5123, allocations: 111 kB / 441.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001822/0.5141, allocations: 0.9794 MB / 442.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009922/0.5151, allocations: 145.7 kB / 442.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/0.5153, allocations: 30.8 kB / 442.7 MB, free: 13.32 MB / 362.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 (64): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.000272/0.5156, allocations: 148.7 kB / 442.8 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/0.5157, allocations: 47.44 kB / 442.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002353/0.5181, allocations: 0.8623 MB / 443.8 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.5182, allocations: 8 kB / 443.8 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.5182, allocations: 0 / 443.8 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/0.5182, allocations: 3.984 kB / 443.8 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003395/0.5216, allocations: 1.423 MB / 445.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.5217, allocations: 0 / 445.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006745/0.5224, allocations: 99.12 kB / 445.3 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00137/0.5237, allocations: 0.5267 MB / 445.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/0.5239, allocations: 31.33 kB / 445.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001706/0.5256, allocations: 0.9468 MB / 446.8 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-06/0.5256, allocations: 4 kB / 446.8 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002846/0.5285, allocations: 1.123 MB / 447.9 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004238/0.529, allocations: 184.9 kB / 448.1 MB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001567/0.5291, allocations: 27.02 kB / 448.1 MB, free: 9.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008691/0.53, allocations: 144 kB / 448.3 MB, free: 8.938 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003972/0.5304, allocations: 150.2 kB / 448.4 MB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/0.5306, allocations: 31.95 kB / 448.4 MB, free: 8.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003428/0.5309, allocations: 210.2 kB / 448.7 MB, free: 8.562 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.026e-06/0.5309, allocations: 0 / 448.7 MB, free: 8.562 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007737/0.5317, allocations: 160 kB / 448.8 MB, free: 8.406 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (clutch1.phi_rel,clutch1.w_rel,clutch2.phi_rel,clutch2.w_rel,J3.phi,J3.w,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,clutch2.mode,clutch1.mode,clutch1.startForward,clutch1.startBackward,clutch2.startForward,clutch2.startBackward,clutch3.startBackward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 42 * 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.0003775/0.5321, allocations: 164.9 kB / 449 MB, free: 8.234 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001937/0.5341, allocations: 0.7442 MB / 449.7 MB, free: 7.477 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.161e-06/0.5341, allocations: 0 / 449.7 MB, free: 7.477 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.5352, allocations: 376.8 kB / 450.1 MB, free: 7.109 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008076/0.536, allocations: 77.11 kB / 450.2 MB, free: 7.035 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003385/0.5394, allocations: 1.223 MB / 451.4 MB, free: 5.781 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006494/0.5401, allocations: 0.8596 MB / 452.2 MB, free: 4.895 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002348/0.5404, allocations: 43.41 kB / 452.3 MB, free: 4.852 MB / 362.7 MB Notification: Performance of SimCode: time 2.087e-06/0.5404, allocations: 0 / 452.3 MB, free: 4.852 MB / 362.7 MB Notification: Performance of Templates: time 0.01694/0.5573, allocations: 8.283 MB / 460.6 MB, free: 12.58 MB / 378.7 MB