Notification: Performance of FrontEnd - loaded program: time 1.041e-05/1.062e-05, allocations: 2.625 kB / 439.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1101, allocations: 78.98 MB / 0.5065 GB, free: 2.59 MB / 414.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1348/0.2451, allocations: 108.2 MB / 0.6121 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/0.2454, allocations: 85.02 kB / 0.6122 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of FrontEnd: time 0.01374/0.2592, allocations: 2.797 MB / 0.615 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.2593, allocations: 4 kB / 0.615 GB, free: 3.348 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005476/0.2599, allocations: 425.6 kB / 0.6154 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.26, allocations: 8.031 kB / 0.6154 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.121e-05/0.2601, allocations: 4 kB / 0.6154 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.954e-05/0.2602, allocations: 173 kB / 0.6155 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.2603, allocations: 0 / 0.6155 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.2604, allocations: 11.84 kB / 0.6155 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.296e-05/0.2605, allocations: 35.97 kB / 0.6156 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.2607, allocations: 65.66 kB / 0.6156 GB, free: 2.535 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.101e-06/0.2608, allocations: 4 kB / 0.6157 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.2608, allocations: 4 kB / 0.6157 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.238e-06/0.2609, allocations: 0 / 0.6157 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001434/0.2611, allocations: 191.6 kB / 0.6158 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.584e-05/0.2612, allocations: 50.56 kB / 0.6159 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.306e-05/0.2613, allocations: 4.859 kB / 0.6159 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 6.355e-06/0.2613, allocations: 3.984 kB / 0.6159 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.2614, allocations: 38.5 kB / 0.6159 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 2.165e-06/0.2615, allocations: 0 / 0.6159 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4): time 0.0002898/0.2618, allocations: 109.5 kB / 0.616 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001835/0.262, allocations: 71.86 kB / 0.6161 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/0.2621, allocations: 34.14 kB / 0.6161 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.38e-05/0.2623, allocations: 253.7 kB / 0.6164 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.2624, allocations: 25.7 kB / 0.6164 GB, free: 1.672 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.759e-05/0.2625, allocations: 96.02 kB / 0.6165 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.2625, allocations: 7.938 kB / 0.6165 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.138e-05/0.2626, allocations: 0 / 0.6165 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 6.677e-05/0.2627, allocations: 322.8 kB / 0.6168 GB, free: 1.242 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.855e-05/0.2629, allocations: 52.89 kB / 0.6169 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.086e-05/0.263, allocations: 52 kB / 0.6169 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002148/0.2633, allocations: 55.91 kB / 0.617 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.794e-06/0.2633, allocations: 0 / 0.617 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004076/0.2638, allocations: 169.5 kB / 0.6171 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.216e-06/0.2639, allocations: 0 / 0.6171 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.2639, allocations: 0 / 0.6171 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.543e-06/0.264, allocations: 4 kB / 0.6171 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.096e-06/0.2641, allocations: 0 / 0.6171 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.2642, allocations: 11.94 kB / 0.6171 GB, free: 0.8984 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.0002024/0.2645, allocations: 138.7 kB / 0.6173 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/0.2646, allocations: 7.938 kB / 0.6173 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.536e-05/0.2646, allocations: 6.031 kB / 0.6173 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.911e-06/0.2647, allocations: 0 / 0.6173 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.378e-06/0.2647, allocations: 0 / 0.6173 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.984e-06/0.2648, allocations: 3.984 kB / 0.6173 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.265, allocations: 172.1 kB / 0.6175 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.794e-06/0.2651, allocations: 0 / 0.6175 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.746e-06/0.2651, allocations: 0 / 0.6175 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.4e-06/0.2652, allocations: 4 kB / 0.6175 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.2652, allocations: 4 kB / 0.6175 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.654e-06/0.2653, allocations: 0 / 0.6175 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.447e-06/0.2653, allocations: 4 kB / 0.6175 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003/0.2657, allocations: 137 kB / 0.6176 GB, free: 360 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.826e-05/0.2658, allocations: 85.03 kB / 0.6177 GB, free: 256 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.2659, allocations: 7.906 kB / 0.6177 GB, free: 248 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.266, allocations: 4 kB / 0.6177 GB, free: 244 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.2662, allocations: 16.02 kB / 0.6177 GB, free: 228 kB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0004785/0.2667, allocations: 158.9 kB / 0.6179 GB, free: 60 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.05487/0.3217, allocations: 177.6 kB / 0.618 GB, free: 181.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.3218, allocations: 0 / 0.618 GB, free: 181.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.3219, allocations: 81.34 kB / 0.6181 GB, free: 181.3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.29e-05/0.3221, allocations: 0 / 0.6181 GB, free: 181.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003043/0.3224, allocations: 134.9 kB / 0.6182 GB, free: 181.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.3226, allocations: 0.7073 MB / 0.6189 GB, free: 180.5 MB / 0.5137 GB Notification: Performance of SimCode: time 2.025e-06/0.3227, allocations: 0 / 0.6189 GB, free: 180.5 MB / 0.5137 GB Notification: Performance of Templates: time 0.03894/0.3617, allocations: 1.818 MB / 0.6207 GB, free: 180.5 MB / 0.5137 GB