Notification: Performance of FrontEnd - loaded program: time 8.311e-06/8.45e-06, allocations: 1.031 kB / 439.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1125, allocations: 78.98 MB / 0.5065 GB, free: 2.691 MB / 414.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.921/3.033, allocations: 2.101 GB / 2.607 GB, free: 20.2 MB / 0.6544 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/3.034, allocations: 94.72 kB / 2.607 GB, free: 20.12 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.373/4.407, allocations: 334.9 MB / 2.934 GB, free: 146.7 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.55e-05/4.407, allocations: 27.44 kB / 2.934 GB, free: 146.7 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002091/4.409, allocations: 1.027 MB / 2.935 GB, free: 146.2 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/4.409, allocations: 12.34 kB / 2.935 GB, free: 146.2 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002066/4.411, allocations: 218.4 kB / 2.936 GB, free: 146.2 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001535/4.413, allocations: 0.6437 MB / 2.936 GB, free: 146 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/4.413, allocations: 23.44 kB / 2.936 GB, free: 146 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/4.413, allocations: 36.91 kB / 2.936 GB, free: 146 MB / 0.6544 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005778/4.414, allocations: 212.5 kB / 2.937 GB, free: 146 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007222/4.415, allocations: 358 kB / 2.937 GB, free: 145.9 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/4.415, allocations: 3.938 kB / 2.937 GB, free: 145.9 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.842e-05/4.415, allocations: 7 kB / 2.937 GB, free: 145.9 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.122e-05/4.415, allocations: 22.84 kB / 2.937 GB, free: 145.9 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003965/4.419, allocations: 2.459 MB / 2.939 GB, free: 144.8 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005078/4.42, allocations: 194.3 kB / 2.94 GB, free: 144.7 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.03e-05/4.42, allocations: 40.38 kB / 2.94 GB, free: 144.7 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.987e-05/4.42, allocations: 12.28 kB / 2.94 GB, free: 144.7 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/4.42, allocations: 44.14 kB / 2.94 GB, free: 144.7 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=35): time 4.609e-06/4.42, allocations: 0 / 2.94 GB, free: 144.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=35): time 0.001819/4.422, allocations: 347.7 kB / 2.94 GB, free: 144.6 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009168/4.423, allocations: 297.7 kB / 2.94 GB, free: 144.6 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.069e-05/4.423, allocations: 4.781 kB / 2.94 GB, free: 144.6 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003039/4.423, allocations: 400.9 kB / 2.941 GB, free: 144.3 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.203e-05/4.423, allocations: 25.7 kB / 2.941 GB, free: 144.3 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/4.424, allocations: 263.7 kB / 2.941 GB, free: 144.1 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.599e-05/4.424, allocations: 73.77 kB / 2.941 GB, free: 144.1 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/4.424, allocations: 7.219 kB / 2.941 GB, free: 144.1 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001014/4.424, allocations: 361.8 kB / 2.941 GB, free: 143.8 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/4.424, allocations: 51.86 kB / 2.941 GB, free: 143.8 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/4.424, allocations: 103.6 kB / 2.941 GB, free: 143.7 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/4.425, allocations: 83.8 kB / 2.942 GB, free: 143.7 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.912e-06/4.425, allocations: 0 / 2.942 GB, free: 143.7 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007255/4.426, allocations: 0.8516 MB / 2.942 GB, free: 143 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.499e-06/4.426, allocations: 0 / 2.942 GB, free: 143 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/4.426, allocations: 3.969 kB / 2.942 GB, free: 143 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.8e-06/4.426, allocations: 7.188 kB / 2.942 GB, free: 143 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008449/4.427, allocations: 127.1 kB / 2.943 GB, free: 143 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/4.428, allocations: 90.61 kB / 2.943 GB, free: 143 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.143e-06/4.428, allocations: 0 / 2.943 GB, free: 143 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003859/4.428, allocations: 171.2 kB / 2.943 GB, free: 143 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.543e-06/4.428, allocations: 5.719 kB / 2.943 GB, free: 143 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.94e-06/4.428, allocations: 3.938 kB / 2.943 GB, free: 143 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.612e-06/4.428, allocations: 10.12 kB / 2.943 GB, free: 143 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005612/4.429, allocations: 95.55 kB / 2.943 GB, free: 143 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000898/4.43, allocations: 57.05 kB / 2.943 GB, free: 143 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002562/4.43, allocations: 110.9 kB / 2.943 GB, free: 142.9 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/4.431, allocations: 58.56 kB / 2.943 GB, free: 142.9 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.114e-05/4.431, allocations: 33.25 kB / 2.943 GB, free: 142.9 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.542e-06/4.431, allocations: 7.781 kB / 2.943 GB, free: 142.8 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.219e-06/4.431, allocations: 3.875 kB / 2.943 GB, free: 142.8 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003933/4.431, allocations: 272.9 kB / 2.943 GB, free: 142.7 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001719/4.433, allocations: 0.9817 MB / 2.944 GB, free: 142.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.473e-06/4.433, allocations: 3.5 kB / 2.944 GB, free: 142.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009505/4.434, allocations: 132.7 kB / 2.944 GB, free: 142.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/4.434, allocations: 3.812 kB / 2.944 GB, free: 142.3 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-05/4.434, allocations: 10.7 kB / 2.945 GB, free: 142.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.752e-06/4.434, allocations: 11.02 kB / 2.945 GB, free: 142.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.915e-06/4.434, allocations: 6.062 kB / 2.945 GB, free: 142.3 MB / 0.6544 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008912/4.435, allocations: 0.552 MB / 2.945 GB, free: 142 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004254/4.436, allocations: 203.2 kB / 2.945 GB, free: 141.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/4.436, allocations: 10.38 kB / 2.945 GB, free: 141.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001326/4.438, allocations: 81.92 kB / 2.945 GB, free: 141.9 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.766e-05/4.438, allocations: 24.95 kB / 2.945 GB, free: 141.9 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.U,del.dynBal.m,del.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 35 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001974/4.44, allocations: 1.419 MB / 2.947 GB, free: 141.5 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007151/4.44, allocations: 322.5 kB / 2.947 GB, free: 141.5 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.286e-06/4.441, allocations: 0 / 2.947 GB, free: 141.5 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002201/4.441, allocations: 107.2 kB / 2.947 GB, free: 141.5 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002195/4.443, allocations: 341.9 kB / 2.947 GB, free: 141.5 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002396/4.446, allocations: 1.05 MB / 2.949 GB, free: 141.1 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007583/4.446, allocations: 1.091 MB / 2.95 GB, free: 140.4 MB / 0.6544 GB Notification: Performance of SimCode: time 2.305e-06/4.446, allocations: 0 / 2.95 GB, free: 140.4 MB / 0.6544 GB Notification: Performance of Templates: time 0.09822/4.545, allocations: 22.05 MB / 2.971 GB, free: 140 MB / 0.6544 GB