Notification: Performance of loadModel(Modelica): time 1.023/1.023, allocations: 111.2 MB / 118.4 MB, free: 15.59 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.983e-05/2.989e-05, allocations: 7.125 kB / 145.9 MB, free: 4.051 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1492, allocations: 25.15 MB / 171.1 MB, free: 1.75 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08376/0.233, allocations: 35 MB / 206.1 MB, free: 2.512 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/0.2333, allocations: 59.97 kB / 206.1 MB, free: 2.453 MB / 170.7 MB Notification: Performance of FrontEnd: time 0.09321/0.3266, allocations: 8.192 MB / 214.3 MB, free: 10.25 MB / 186.7 MB Notification: Performance of Transformations before backend: time 4.127e-05/0.3267, allocations: 11.94 kB / 214.3 MB, free: 10.24 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.004026/0.3307, allocations: 0.7652 MB / 215.1 MB, free: 9.43 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001173/0.3309, allocations: 8.031 kB / 215.1 MB, free: 9.422 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005605/0.3315, allocations: 63.28 kB / 215.2 MB, free: 9.359 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/0.333, allocations: 323.6 kB / 215.5 MB, free: 9 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.219e-05/0.3331, allocations: 20 kB / 215.5 MB, free: 8.98 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000204/0.3333, allocations: 24 kB / 215.5 MB, free: 8.957 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001552/0.3349, allocations: 0.5173 MB / 216 MB, free: 8.441 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.3363, allocations: 0.5156 MB / 216.6 MB, free: 7.914 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.205e-05/0.3364, allocations: 15.8 kB / 216.6 MB, free: 7.898 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.857e-05/0.3365, allocations: 0 / 216.6 MB, free: 7.898 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/0.3365, allocations: 8 kB / 216.6 MB, free: 7.891 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004085/0.3406, allocations: 1.265 MB / 217.8 MB, free: 6.578 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/0.3419, allocations: 388.1 kB / 218.2 MB, free: 6.188 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006919/0.3426, allocations: 258.5 kB / 218.5 MB, free: 5.934 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.726e-05/0.3427, allocations: 4.562 kB / 218.5 MB, free: 5.93 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/0.3428, allocations: 47.06 kB / 218.5 MB, free: 5.875 MB / 186.7 MB Notification: Performance of pre-optimization done (n=55): time 3.115e-06/0.3428, allocations: 0 / 218.5 MB, free: 5.875 MB / 186.7 MB Notification: Performance of matching and sorting (n=61): time 0.006196/0.349, allocations: 1.86 MB / 220.4 MB, free: 3.922 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.3491, allocations: 55.97 kB / 220.4 MB, free: 3.855 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004186/0.3495, allocations: 257.1 kB / 220.7 MB, free: 3.594 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001348/0.3497, allocations: 37.7 kB / 220.7 MB, free: 3.551 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.3499, allocations: 193.2 kB / 220.9 MB, free: 3.359 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000279/0.3501, allocations: 201.2 kB / 221.1 MB, free: 3.16 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.436e-05/0.3502, allocations: 0 / 221.1 MB, free: 3.16 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0002544/0.3505, allocations: 362.8 kB / 221.5 MB, free: 2.797 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00073/0.3512, allocations: 269.5 kB / 221.7 MB, free: 2.535 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007475/0.352, allocations: 317.5 kB / 222 MB, free: 2.219 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007988/0.3528, allocations: 224.5 kB / 222.3 MB, free: 2 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.3528, allocations: 0 / 222.3 MB, free: 2 MB / 186.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002453/0.3553, allocations: 0.8174 MB / 223.1 MB, free: 1.172 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.3554, allocations: 7.938 kB / 223.1 MB, free: 1.164 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.3554, allocations: 4.031 kB / 223.1 MB, free: 1.16 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002104/0.3575, allocations: 0.7516 MB / 223.8 MB, free: 420 kB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008179/0.3584, allocations: 107.8 kB / 223.9 MB, free: 312 kB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00251/0.3609, allocations: 1.162 MB / 225.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/0.3623, allocations: 131.9 kB / 225.2 MB, free: 14.99 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/0.3625, allocations: 27.98 kB / 225.3 MB, free: 14.96 MB / 202.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.0003389/0.3628, allocations: 140.9 kB / 225.4 MB, free: 14.82 MB / 202.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002338/0.3652, allocations: 0.7062 MB / 226.1 MB, free: 14.1 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002197/0.3655, allocations: 43.44 kB / 226.2 MB, free: 14.06 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002269/0.3657, allocations: 60.61 kB / 226.2 MB, free: 14 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.3657, allocations: 7.938 kB / 226.2 MB, free: 13.99 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.3657, allocations: 0 / 226.2 MB, free: 13.99 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.71e-05/0.3658, allocations: 11.94 kB / 226.2 MB, free: 13.98 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003744/0.3695, allocations: 1.349 MB / 227.6 MB, free: 12.58 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/0.3696, allocations: 0 / 227.6 MB, free: 12.58 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009284/0.3705, allocations: 99.88 kB / 227.7 MB, free: 12.48 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002086/0.3726, allocations: 0.723 MB / 228.4 MB, free: 11.76 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002209/0.3729, allocations: 19.97 kB / 228.4 MB, free: 11.74 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002755/0.3757, allocations: 1.133 MB / 229.6 MB, free: 10.58 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.3757, allocations: 0 / 229.6 MB, free: 10.58 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003012/0.3788, allocations: 1.147 MB / 230.7 MB, free: 9.418 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004496/0.3793, allocations: 192.4 kB / 230.9 MB, free: 9.211 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001887/0.3795, allocations: 12 kB / 230.9 MB, free: 9.199 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/0.3807, allocations: 131.9 kB / 231 MB, free: 9.07 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004457/0.3811, allocations: 148.2 kB / 231.2 MB, free: 8.926 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/0.3812, allocations: 31.92 kB / 231.2 MB, free: 8.895 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0002849/0.3815, allocations: 200.6 kB / 231.4 MB, free: 8.699 MB / 202.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.3815, allocations: 0 / 231.4 MB, free: 8.699 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0007252/0.3823, allocations: 131.9 kB / 231.5 MB, free: 8.57 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,clutch2.mode,clutch1.mode,clutch1.startForward,clutch1.startBackward,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.003317/0.3856, allocations: 1.67 MB / 233.2 MB, free: 6.871 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.001875/0.3876, allocations: 0.6494 MB / 233.8 MB, free: 6.219 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3876, allocations: 0 / 233.8 MB, free: 6.219 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.3886, allocations: 360.8 kB / 234.2 MB, free: 5.867 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008834/0.3895, allocations: 68.66 kB / 234.3 MB, free: 5.801 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004334/0.3939, allocations: 1.272 MB / 235.5 MB, free: 4.488 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006281/0.3946, allocations: 0.8515 MB / 236.4 MB, free: 3.609 MB / 202.7 MB Notification: Performance of simCode: alias equations: time 0.0003656/0.395, allocations: 47.33 kB / 236.4 MB, free: 3.562 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003498/0.3953, allocations: 143.4 kB / 236.6 MB, free: 3.422 MB / 202.7 MB Notification: Performance of SimCode: time 1.393e-06/0.3953, allocations: 0 / 236.6 MB, free: 3.422 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06689/0.4623, allocations: 13.76 MB / 250.3 MB, free: 5.703 MB / 218.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.004834/0.4672, allocations: 146 kB / 250.5 MB, free: 5.508 MB / 218.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.293/3.76, allocations: 0 / 250.5 MB, free: 5.508 MB / 218.7 MB