Notification: Performance of loadModel(Modelica): time 1.025/1.025, allocations: 111.2 MB / 118.4 MB, free: 15.59 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.455e-05/2.461e-05, allocations: 2.656 kB / 145.9 MB, free: 4.051 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1257, allocations: 25.16 MB / 171.1 MB, free: 1.727 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06071/0.1865, allocations: 35.07 MB / 206.1 MB, free: 2.441 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/0.1867, allocations: 63.95 kB / 206.2 MB, free: 2.379 MB / 170.7 MB Notification: Performance of FrontEnd: time 0.03348/0.2202, allocations: 6.584 MB / 212.8 MB, free: 11.78 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.442e-05/0.2203, allocations: 8 kB / 212.8 MB, free: 11.77 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.00166/0.222, allocations: 0.5385 MB / 213.3 MB, free: 11.19 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.126e-05/0.2221, allocations: 8.031 kB / 213.3 MB, free: 11.18 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/0.2223, allocations: 31.62 kB / 213.4 MB, free: 11.15 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005141/0.2228, allocations: 246.6 kB / 213.6 MB, free: 10.87 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.601e-05/0.2229, allocations: 8 kB / 213.6 MB, free: 10.86 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.223, allocations: 20 kB / 213.6 MB, free: 10.84 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009458/0.2239, allocations: 229 kB / 213.9 MB, free: 10.62 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/0.225, allocations: 286.5 kB / 214.1 MB, free: 10.32 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.298e-05/0.2251, allocations: 0 / 214.1 MB, free: 10.32 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.974e-05/0.2251, allocations: 0 / 214.1 MB, free: 10.32 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.687e-05/0.2252, allocations: 8 kB / 214.2 MB, free: 10.32 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003185/0.2284, allocations: 0.7888 MB / 214.9 MB, free: 9.477 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/0.2297, allocations: 350.4 kB / 215.3 MB, free: 9.125 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005897/0.2304, allocations: 164.8 kB / 215.4 MB, free: 8.961 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.273e-05/0.2305, allocations: 12.64 kB / 215.5 MB, free: 8.949 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.946e-05/0.2306, allocations: 34.56 kB / 215.5 MB, free: 8.906 MB / 186.7 MB Notification: Performance of pre-optimization done (n=36): time 4.899e-06/0.2306, allocations: 0 / 215.5 MB, free: 8.906 MB / 186.7 MB Notification: Performance of matching and sorting (n=42): time 0.006127/0.2367, allocations: 1.343 MB / 216.8 MB, free: 7.469 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.644e-05/0.2369, allocations: 81.11 kB / 216.9 MB, free: 7.371 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003513/0.2372, allocations: 161.8 kB / 217.1 MB, free: 7.207 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001071/0.2374, allocations: 33.7 kB / 217.1 MB, free: 7.168 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.2376, allocations: 140.6 kB / 217.2 MB, free: 7.027 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002365/0.2378, allocations: 130 kB / 217.4 MB, free: 6.898 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-05/0.2379, allocations: 0 / 217.4 MB, free: 6.898 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0002612/0.2382, allocations: 338.8 kB / 217.7 MB, free: 6.559 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005561/0.2388, allocations: 148.7 kB / 217.8 MB, free: 6.41 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006769/0.2395, allocations: 187.6 kB / 218 MB, free: 6.219 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006355/0.2401, allocations: 139.9 kB / 218.2 MB, free: 6.082 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.2401, allocations: 3.938 kB / 218.2 MB, free: 6.078 MB / 186.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001294/0.2414, allocations: 485.8 kB / 218.6 MB, free: 5.594 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.2415, allocations: 7.938 kB / 218.6 MB, free: 5.586 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.2415, allocations: 0 / 218.6 MB, free: 5.586 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009242/0.2425, allocations: 152.8 kB / 218.8 MB, free: 5.434 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007451/0.2432, allocations: 67.89 kB / 218.9 MB, free: 5.367 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006034/0.2493, allocations: 2.192 MB / 221.1 MB, free: 3.062 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006189/0.25, allocations: 23.97 kB / 221.1 MB, free: 3.039 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.2501, allocations: 23.98 kB / 221.1 MB, free: 3.016 MB / 186.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: gear.flange_a.tau:VARIABLE(flow=true unit = "N.m" ) "Cut torque in the flange" type: Real gear.sa:VARIABLE(unit = "1" ) "Path parameter for acceleration and torque loss" 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: 7 (gear.tau_aPos,gear.startForward,gear.startBackward,gear.locked,$PRE.gear.mode,gear.mode,gear.ideal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * 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 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0003184/0.2504, allocations: 117.8 kB / 221.2 MB, free: 2.895 MB / 186.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0021/0.2526, allocations: 457.8 kB / 221.7 MB, free: 2.438 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/0.2528, allocations: 27.67 kB / 221.7 MB, free: 2.41 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001693/0.2529, allocations: 30.78 kB / 221.7 MB, free: 2.379 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.253, allocations: 4 kB / 221.7 MB, free: 2.375 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.253, allocations: 4 kB / 221.7 MB, free: 2.371 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.253, allocations: 7.984 kB / 221.7 MB, free: 2.363 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003544/0.2566, allocations: 1.001 MB / 222.7 MB, free: 1.305 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/0.2567, allocations: 4 kB / 222.7 MB, free: 1.301 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006712/0.2574, allocations: 67.92 kB / 222.8 MB, free: 1.234 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008761/0.2583, allocations: 136.8 kB / 222.9 MB, free: 1.098 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.713e-05/0.2584, allocations: 15.98 kB / 223 MB, free: 1.082 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005019/0.2634, allocations: 2.091 MB / 225 MB, free: 14.87 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/0.2635, allocations: 0 / 225 MB, free: 14.87 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00233/0.2658, allocations: 0.7647 MB / 225.8 MB, free: 14.08 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003532/0.2662, allocations: 136.7 kB / 225.9 MB, free: 13.93 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.2663, allocations: 4 kB / 225.9 MB, free: 13.93 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005912/0.2669, allocations: 32.03 kB / 226 MB, free: 13.89 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002344/0.2672, allocations: 55.66 kB / 226 MB, free: 13.84 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.947e-05/0.2673, allocations: 19.98 kB / 226.1 MB, free: 13.82 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0002168/0.2675, allocations: 135.2 kB / 226.2 MB, free: 13.69 MB / 202.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.2675, allocations: 0 / 226.2 MB, free: 13.69 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.00126/0.2688, allocations: 96 kB / 226.3 MB, free: 13.59 MB / 202.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Inertia2.phi,Inertia2.w) * Number of discrete variables: 5 (gear.tau_aPos,gear.startForward,gear.startBackward,gear.locked,gear.mode) * Number of discrete states: 1 (gear.mode) * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * 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 {2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.003184/0.272, allocations: 1.378 MB / 227.7 MB, free: 12.18 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.001863/0.2739, allocations: 0.5033 MB / 228.2 MB, free: 11.66 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.274, allocations: 0 / 228.2 MB, free: 11.66 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001219/0.2752, allocations: 350.1 kB / 228.5 MB, free: 11.31 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006242/0.2759, allocations: 29.81 kB / 228.5 MB, free: 11.28 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.2779, allocations: 0.5831 MB / 229.1 MB, free: 10.66 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000539/0.2785, allocations: 0.7839 MB / 229.9 MB, free: 9.855 MB / 202.7 MB Notification: Performance of simCode: alias equations: time 0.0003072/0.2788, allocations: 54.03 kB / 230 MB, free: 9.801 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002327/0.2791, allocations: 79.41 kB / 230 MB, free: 9.723 MB / 202.7 MB Notification: Performance of SimCode: time 2.805e-06/0.2791, allocations: 4 kB / 230 MB, free: 9.719 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05383/0.3329, allocations: 7.266 MB / 237.3 MB, free: 2.484 MB / 202.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.004964/0.338, allocations: 140.5 kB / 237.4 MB, free: 2.293 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.075/3.413, allocations: 4 kB / 237.4 MB, free: 2.289 MB / 202.7 MB