Notification: Performance of loadModel(Modelica): time 1.1/1.1, allocations: 111.2 MB / 118.4 MB, free: 15.59 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.468e-05/2.479e-05, allocations: 0 / 145.9 MB, free: 4.059 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1319, allocations: 25.16 MB / 171.1 MB, free: 1.859 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.071/0.203, allocations: 36.26 MB / 207.3 MB, free: 1.352 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.2033, allocations: 59.97 kB / 207.4 MB, free: 1.293 MB / 170.7 MB Notification: Performance of FrontEnd: time 0.03312/0.2365, allocations: 6.752 MB / 214.1 MB, free: 10.52 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.832e-05/0.2366, allocations: 8 kB / 214.1 MB, free: 10.51 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.002186/0.2388, allocations: 0.6895 MB / 214.8 MB, free: 9.777 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.2388, allocations: 8.031 kB / 214.8 MB, free: 9.77 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002365/0.2391, allocations: 51.38 kB / 214.9 MB, free: 9.719 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000578/0.2397, allocations: 294.3 kB / 215.2 MB, free: 9.395 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.339e-05/0.2397, allocations: 12 kB / 215.2 MB, free: 9.383 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.2399, allocations: 35.98 kB / 215.2 MB, free: 9.348 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00122/0.2411, allocations: 397.4 kB / 215.6 MB, free: 8.957 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.2425, allocations: 382 kB / 216 MB, free: 8.578 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.26e-05/0.2426, allocations: 11.89 kB / 216 MB, free: 8.566 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.775e-05/0.2427, allocations: 3.953 kB / 216 MB, free: 8.562 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.2428, allocations: 8 kB / 216 MB, free: 8.555 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004675/0.2475, allocations: 1.054 MB / 217.1 MB, free: 7.453 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/0.2489, allocations: 315.2 kB / 217.4 MB, free: 7.141 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008897/0.2498, allocations: 229.5 kB / 217.6 MB, free: 6.914 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.695e-05/0.2499, allocations: 4.375 kB / 217.6 MB, free: 6.91 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.093e-05/0.25, allocations: 34.88 kB / 217.6 MB, free: 6.867 MB / 186.7 MB Notification: Performance of pre-optimization done (n=45): time 4.769e-06/0.25, allocations: 0 / 217.6 MB, free: 6.867 MB / 186.7 MB Notification: Performance of matching and sorting (n=51): time 0.007758/0.2578, allocations: 1.538 MB / 219.2 MB, free: 5.238 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.9e-05/0.2579, allocations: 55.84 kB / 219.2 MB, free: 5.172 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004528/0.2584, allocations: 210 kB / 219.4 MB, free: 4.957 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000145/0.2585, allocations: 41.69 kB / 219.5 MB, free: 4.91 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002213/0.2588, allocations: 180.6 kB / 219.7 MB, free: 4.727 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000291/0.2591, allocations: 173.5 kB / 219.8 MB, free: 4.555 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.309e-05/0.2592, allocations: 0 / 219.8 MB, free: 4.555 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0002027/0.2594, allocations: 342.8 kB / 220.2 MB, free: 4.211 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007332/0.2601, allocations: 201.1 kB / 220.4 MB, free: 4.016 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007685/0.2609, allocations: 238.7 kB / 220.6 MB, free: 3.777 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008502/0.2618, allocations: 174.1 kB / 220.8 MB, free: 3.609 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.2618, allocations: 0 / 220.8 MB, free: 3.609 MB / 186.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.003067/0.2649, allocations: 0.6563 MB / 221.4 MB, free: 2.941 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.276e-05/0.265, allocations: 4 kB / 221.4 MB, free: 2.938 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.265, allocations: 32 / 221.4 MB, free: 2.938 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00206/0.2671, allocations: 0.513 MB / 221.9 MB, free: 2.418 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009401/0.2681, allocations: 87.83 kB / 222 MB, free: 2.332 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003082/0.2712, allocations: 1.45 MB / 223.5 MB, free: 0.832 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/0.2726, allocations: 88 kB / 223.5 MB, free: 0.7461 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/0.2727, allocations: 23.98 kB / 223.6 MB, free: 0.7227 MB / 186.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: clutch.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: brake.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: 2 * Number of states: 0 () * Number of discrete variables: 16 (clutch.free,$PRE.clutch.startForward,clutch.startForward,$PRE.clutch.startBackward,clutch.startBackward,clutch.locked,$PRE.clutch.mode,clutch.mode,brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 50 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 8,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003792/0.2731, allocations: 122.4 kB / 223.7 MB, free: 0.5977 MB / 186.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002767/0.2759, allocations: 0.5636 MB / 224.3 MB, free: 20 kB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002285/0.2762, allocations: 35.61 kB / 224.3 MB, free: 15.98 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002237/0.2764, allocations: 51.3 kB / 224.3 MB, free: 15.94 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.2765, allocations: 4 kB / 224.3 MB, free: 15.93 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.2765, allocations: 0 / 224.3 MB, free: 15.93 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.2765, allocations: 4 kB / 224.3 MB, free: 15.93 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00505/0.2816, allocations: 1.257 MB / 225.6 MB, free: 14.61 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.186e-06/0.2816, allocations: 0 / 225.6 MB, free: 14.61 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009557/0.2826, allocations: 79.89 kB / 225.7 MB, free: 14.53 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001892/0.2845, allocations: 0.4897 MB / 226.2 MB, free: 14.03 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.856e-05/0.2846, allocations: 19.97 kB / 226.2 MB, free: 14.01 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002816/0.2875, allocations: 1.394 MB / 227.6 MB, free: 12.57 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.124e-05/0.2875, allocations: 7.922 kB / 227.6 MB, free: 12.56 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00382/0.2914, allocations: 0.9971 MB / 228.6 MB, free: 11.49 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004679/0.2919, allocations: 164.6 kB / 228.8 MB, free: 11.31 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002002/0.2921, allocations: 12 kB / 228.8 MB, free: 11.3 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001053/0.2932, allocations: 75.88 kB / 228.8 MB, free: 11.23 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004319/0.2936, allocations: 103.8 kB / 228.9 MB, free: 11.12 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001369/0.2938, allocations: 27.97 kB / 229 MB, free: 11.1 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0003132/0.2941, allocations: 166 kB / 229.1 MB, free: 10.93 MB / 202.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.2941, allocations: 3.938 kB / 229.1 MB, free: 10.93 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.001044/0.2952, allocations: 104 kB / 229.2 MB, free: 10.83 MB / 202.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (clutch.phi_rel,clutch.w_rel,spring.phi_rel,spring.w_rel,inertia1.phi,inertia1.w) * Number of discrete variables: 10 (clutch.startForward,clutch.startBackward,clutch.locked,clutch.mode,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,clutch.free) * Number of discrete states: 6 (brake.mode,brake.startBackward,brake.startForward,clutch.mode,clutch.startForward,clutch.startBackward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 36 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 7,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.004374/0.2996, allocations: 1.882 MB / 231.1 MB, free: 8.875 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.002026/0.3017, allocations: 496.8 kB / 231.6 MB, free: 8.395 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.3017, allocations: 4.062 kB / 231.6 MB, free: 8.391 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001305/0.303, allocations: 283.7 kB / 231.9 MB, free: 8.113 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.3041, allocations: 51.38 kB / 231.9 MB, free: 8.066 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008751/0.3129, allocations: 1.354 MB / 233.3 MB, free: 6.652 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006732/0.3136, allocations: 0.8231 MB / 234.1 MB, free: 5.805 MB / 202.7 MB Notification: Performance of simCode: alias equations: time 0.0003991/0.314, allocations: 35.27 kB / 234.1 MB, free: 5.773 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004098/0.3145, allocations: 119.4 kB / 234.3 MB, free: 5.656 MB / 202.7 MB Notification: Performance of SimCode: time 1.282e-06/0.3145, allocations: 0 / 234.3 MB, free: 5.656 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1132/0.4277, allocations: 10.44 MB / 244.7 MB, free: 11.26 MB / 218.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.005252/0.433, allocations: 132.5 kB / 244.8 MB, free: 11.07 MB / 218.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.256/3.689, allocations: 8 kB / 244.8 MB, free: 11.06 MB / 218.7 MB