Notification: Performance of FrontEnd - loaded program: time 1.36e-05/1.377e-05, allocations: 0 / 330.7 MB, free: 13.48 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0752/0.07524, allocations: 44.52 MB / 375.2 MB, free: 1.051 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3183/0.3935, allocations: 73.76 MB / 449 MB, free: 14.16 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/0.3939, allocations: 71.95 kB / 449.1 MB, free: 14.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05621/0.4501, allocations: 8.937 MB / 458 MB, free: 5.199 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.357e-06/0.4502, allocations: 0 / 458 MB, free: 5.199 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.567e-05/0.4502, allocations: 8 kB / 458 MB, free: 5.191 MB / 318.1 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.002756/0.453, allocations: 0.7832 MB / 458.8 MB, free: 4.363 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.4531, allocations: 8.031 kB / 458.8 MB, free: 4.355 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002449/0.4533, allocations: 55.34 kB / 458.9 MB, free: 4.301 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007774/0.4541, allocations: 339.5 kB / 459.2 MB, free: 3.926 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.921e-05/0.4542, allocations: 17.31 kB / 459.2 MB, free: 3.91 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001869/0.4544, allocations: 31.98 kB / 459.2 MB, free: 3.879 MB / 318.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00189/0.4563, allocations: 482.4 kB / 459.7 MB, free: 3.406 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001808/0.4582, allocations: 0.4962 MB / 460.2 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.816e-05/0.4583, allocations: 19.83 kB / 460.2 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/0.4584, allocations: 0 / 460.2 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.417e-05/0.4585, allocations: 12 kB / 460.2 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00508/0.4636, allocations: 1.258 MB / 461.5 MB, free: 1.562 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/0.4654, allocations: 420.5 kB / 461.9 MB, free: 1.145 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007927/0.4662, allocations: 246.5 kB / 462.2 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/0.4663, allocations: 12.52 kB / 462.2 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.4664, allocations: 47.06 kB / 462.2 MB, free: 0.832 MB / 318.1 MB Notification: Performance of pre-optimization done (n=61): time 6.649e-06/0.4664, allocations: 0 / 462.2 MB, free: 0.832 MB / 318.1 MB Notification: Performance of matching and sorting (n=67): time 0.01003/0.4765, allocations: 1.932 MB / 464.1 MB, free: 14.79 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.011e-05/0.4766, allocations: 60.53 kB / 464.2 MB, free: 14.72 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005451/0.4771, allocations: 229.2 kB / 464.4 MB, free: 14.49 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001712/0.4773, allocations: 41.69 kB / 464.5 MB, free: 14.45 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002498/0.4776, allocations: 185.3 kB / 464.6 MB, free: 14.26 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004374/0.4781, allocations: 228.8 kB / 464.9 MB, free: 14.03 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.205e-05/0.4782, allocations: 4 kB / 464.9 MB, free: 14.03 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002586/0.4785, allocations: 350.8 kB / 465.2 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001083/0.4796, allocations: 249.5 kB / 465.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/0.4808, allocations: 297.5 kB / 465.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/0.4822, allocations: 220.3 kB / 466 MB, free: 12.92 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.599e-06/0.4823, allocations: 0 / 466 MB, free: 12.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003949/0.4862, allocations: 0.7511 MB / 466.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.223e-05/0.4863, allocations: 4 kB / 466.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-05/0.4864, allocations: 4 kB / 466.7 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002529/0.4889, allocations: 0.5493 MB / 467.3 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009759/0.4899, allocations: 99.83 kB / 467.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003608/0.4935, allocations: 1.068 MB / 468.4 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001771/0.4954, allocations: 143.8 kB / 468.6 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001966/0.4956, allocations: 31.98 kB / 468.6 MB, free: 10.24 MB / 334.1 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 (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.0004401/0.4961, allocations: 123.5 kB / 468.7 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002763/0.4964, allocations: 43.44 kB / 468.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004209/0.5006, allocations: 0.8275 MB / 469.6 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.895e-05/0.5007, allocations: 8 kB / 469.6 MB, free: 9.211 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.545e-06/0.5007, allocations: 0 / 469.6 MB, free: 9.211 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.163e-05/0.5007, allocations: 3.984 kB / 469.6 MB, free: 9.207 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005853/0.5066, allocations: 1.322 MB / 470.9 MB, free: 7.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.777e-05/0.5067, allocations: 4 kB / 470.9 MB, free: 7.836 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/0.5079, allocations: 95.83 kB / 471 MB, free: 7.742 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002435/0.5103, allocations: 0.5278 MB / 471.6 MB, free: 7.211 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001413/0.5105, allocations: 15.97 kB / 471.6 MB, free: 7.195 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003336/0.5138, allocations: 1.028 MB / 472.6 MB, free: 6.141 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.749e-06/0.5139, allocations: 0 / 472.6 MB, free: 6.141 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04227/0.5562, allocations: 8.964 MB / 481.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006563/0.5569, allocations: 184.4 kB / 481.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002445/0.5572, allocations: 19.98 kB / 481.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001571/0.5588, allocations: 128 kB / 481.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000685/0.5595, allocations: 156.2 kB / 482 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001787/0.5597, allocations: 35.97 kB / 482.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004358/0.5601, allocations: 192.6 kB / 482.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.988e-06/0.5602, allocations: 0 / 482.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001961/0.5622, allocations: 231.9 kB / 482.5 MB, free: 11.93 MB / 350.1 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.0006134/0.5628, allocations: 175.2 kB / 482.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002918/0.5657, allocations: 0.7052 MB / 483.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.5658, allocations: 0 / 483.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001579/0.5674, allocations: 368.9 kB / 483.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.5686, allocations: 65.11 kB / 483.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006851/0.5755, allocations: 1.727 MB / 485.5 MB, free: 8.828 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008691/0.5764, allocations: 0.871 MB / 486.4 MB, free: 7.926 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006244/0.5771, allocations: 47.44 kB / 486.4 MB, free: 7.879 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003229/0.5774, allocations: 43.41 kB / 486.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of SimCode: time 1.84e-06/0.5774, allocations: 0 / 486.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of Templates: time 0.04997/0.6274, allocations: 13.89 MB / 0.4886 GB, free: 9.949 MB / 366.1 MB