Notification: Performance of FrontEnd - loaded program: time 1.562e-05/1.575e-05, allocations: 0 / 0.5177 GB, free: 13.72 MB / 416.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.119, allocations: 76.94 MB / 0.5928 GB, free: 0.7109 MB / 480.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7211/0.8402, allocations: 120.4 MB / 0.7104 GB, free: 37.35 MB / 0.5022 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001179/0.8403, allocations: 53.95 kB / 0.7105 GB, free: 37.3 MB / 0.5022 GB Notification: Performance of FrontEnd: time 0.01282/0.8532, allocations: 3.267 MB / 0.7137 GB, free: 34.03 MB / 0.5022 GB Notification: Performance of Transformations before backend: time 1.445e-05/0.8532, allocations: 4 kB / 0.7137 GB, free: 34.03 MB / 0.5022 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.000963/0.8542, allocations: 0.5688 MB / 0.7142 GB, free: 33.41 MB / 0.5022 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.8543, allocations: 12.03 kB / 0.7142 GB, free: 33.4 MB / 0.5022 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.152e-05/0.8543, allocations: 23.72 kB / 0.7143 GB, free: 33.38 MB / 0.5022 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008274/0.8552, allocations: 360.6 kB / 0.7146 GB, free: 32.98 MB / 0.5022 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.8552, allocations: 7.938 kB / 0.7146 GB, free: 32.98 MB / 0.5022 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/0.8554, allocations: 31.89 kB / 0.7146 GB, free: 32.95 MB / 0.5022 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003917/0.8558, allocations: 222.7 kB / 0.7149 GB, free: 32.73 MB / 0.5022 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004324/0.8562, allocations: 277.1 kB / 0.7151 GB, free: 32.45 MB / 0.5022 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.8563, allocations: 0 / 0.7151 GB, free: 32.45 MB / 0.5022 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.695e-05/0.8563, allocations: 0 / 0.7151 GB, free: 32.45 MB / 0.5022 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.224e-05/0.8563, allocations: 8 kB / 0.7151 GB, free: 32.44 MB / 0.5022 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002165/0.8585, allocations: 1.054 MB / 0.7162 GB, free: 31.34 MB / 0.5022 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009867/0.8595, allocations: 430.5 kB / 0.7166 GB, free: 30.91 MB / 0.5022 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002469/0.8598, allocations: 160.8 kB / 0.7167 GB, free: 30.75 MB / 0.5022 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.8598, allocations: 0 / 0.7167 GB, free: 30.75 MB / 0.5022 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.8598, allocations: 39.31 kB / 0.7168 GB, free: 30.7 MB / 0.5022 GB Notification: Performance of pre-optimization done (n=23): time 2.095e-06/0.8598, allocations: 0 / 0.7168 GB, free: 30.7 MB / 0.5022 GB Notification: Performance of matching and sorting (n=23): time 0.0005904/0.8604, allocations: 322 kB / 0.7171 GB, free: 30.38 MB / 0.5022 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.743e-05/0.8605, allocations: 51.41 kB / 0.7171 GB, free: 30.32 MB / 0.5022 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.8607, allocations: 179.1 kB / 0.7173 GB, free: 30.14 MB / 0.5022 GB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.8607, allocations: 29.7 kB / 0.7173 GB, free: 30.1 MB / 0.5022 GB Notification: Performance of collectInitialEqns (initialization): time 7.011e-05/0.8608, allocations: 133.1 kB / 0.7174 GB, free: 29.97 MB / 0.5022 GB Notification: Performance of collectInitialBindings (initialization): time 6.714e-05/0.8609, allocations: 94.66 kB / 0.7175 GB, free: 29.88 MB / 0.5022 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.281e-05/0.8609, allocations: 0 / 0.7175 GB, free: 29.88 MB / 0.5022 GB Notification: Performance of setup shared object (initialization): time 6.709e-05/0.861, allocations: 334.8 kB / 0.7178 GB, free: 29.54 MB / 0.5022 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002894/0.8613, allocations: 179.9 kB / 0.718 GB, free: 29.36 MB / 0.5022 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003141/0.8616, allocations: 224.1 kB / 0.7182 GB, free: 29.13 MB / 0.5022 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003372/0.8619, allocations: 219.9 kB / 0.7184 GB, free: 28.91 MB / 0.5022 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.455e-06/0.862, allocations: 0 / 0.7184 GB, free: 28.91 MB / 0.5022 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007673/0.8627, allocations: 483.3 kB / 0.7189 GB, free: 28.44 MB / 0.5022 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.8628, allocations: 8 kB / 0.7189 GB, free: 28.43 MB / 0.5022 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.068e-06/0.8628, allocations: 0 / 0.7189 GB, free: 28.43 MB / 0.5022 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.8628, allocations: 4 kB / 0.7189 GB, free: 28.43 MB / 0.5022 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005768/0.8634, allocations: 112.6 kB / 0.719 GB, free: 28.32 MB / 0.5022 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.8634, allocations: 4 kB / 0.719 GB, free: 28.31 MB / 0.5022 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.8637, allocations: 35.66 kB / 0.7191 GB, free: 28.28 MB / 0.5022 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.8637, allocations: 12 kB / 0.7191 GB, free: 28.27 MB / 0.5022 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 41 * 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 8.715e-05/0.8638, allocations: 108.9 kB / 0.7192 GB, free: 28.15 MB / 0.5022 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.497e-05/0.8639, allocations: 19.77 kB / 0.7192 GB, free: 28.13 MB / 0.5022 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.64e-05/0.864, allocations: 37.95 kB / 0.7192 GB, free: 28.1 MB / 0.5022 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.244e-06/0.864, allocations: 4 kB / 0.7192 GB, free: 28.09 MB / 0.5022 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.864, allocations: 0 / 0.7192 GB, free: 28.09 MB / 0.5022 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.135e-06/0.864, allocations: 4 kB / 0.7192 GB, free: 28.09 MB / 0.5022 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004057/0.8644, allocations: 317.8 kB / 0.7195 GB, free: 27.74 MB / 0.5022 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.547e-06/0.8644, allocations: 0 / 0.7195 GB, free: 27.74 MB / 0.5022 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007691/0.8652, allocations: 101.2 kB / 0.7196 GB, free: 27.64 MB / 0.5022 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.455e-06/0.8652, allocations: 0 / 0.7196 GB, free: 27.64 MB / 0.5022 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.567e-05/0.8653, allocations: 19.94 kB / 0.7197 GB, free: 27.62 MB / 0.5022 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.693e-06/0.8653, allocations: 0 / 0.7197 GB, free: 27.62 MB / 0.5022 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.283e-06/0.8653, allocations: 0.625 kB / 0.7197 GB, free: 27.62 MB / 0.5022 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006497/0.8718, allocations: 3.572 MB / 0.7231 GB, free: 23.93 MB / 0.5022 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.872, allocations: 124.8 kB / 0.7233 GB, free: 23.79 MB / 0.5022 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.134e-05/0.8721, allocations: 15.98 kB / 0.7233 GB, free: 23.77 MB / 0.5022 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002541/0.8724, allocations: 15.98 kB / 0.7233 GB, free: 23.76 MB / 0.5022 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.8724, allocations: 15.83 kB / 0.7233 GB, free: 23.74 MB / 0.5022 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.8725, allocations: 4 kB / 0.7233 GB, free: 23.74 MB / 0.5022 GB Notification: Performance of sorting global known variables: time 0.0001215/0.8726, allocations: 152.3 kB / 0.7235 GB, free: 23.59 MB / 0.5022 GB Notification: Performance of sort global known variables: time 6.17e-07/0.8726, allocations: 0 / 0.7235 GB, free: 23.59 MB / 0.5022 GB Notification: Performance of remove unused functions: time 0.0005946/0.8732, allocations: 79.84 kB / 0.7235 GB, free: 23.51 MB / 0.5022 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 13 (P_sfc,generator[1].theta,generator[1].omega,generator[1].p,generator[1].q_ev,generator[1].y_t,generator[1].p_t_lp,generator[1].T_s[1],generator[1].T_s[2],generator[1].T_s[3],generator[1].T_s[4],generator[1].err_p_t_int,generator[1].err_p_int) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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.0001268/0.8733, allocations: 119.3 kB / 0.7236 GB, free: 23.39 MB / 0.5022 GB Notification: Performance of simCode: created initialization part: time 0.0005967/0.8739, allocations: 371.4 kB / 0.724 GB, free: 23.02 MB / 0.5022 GB Notification: Performance of simCode: created event and clocks part: time 2.768e-06/0.874, allocations: 0 / 0.724 GB, free: 23.02 MB / 0.5022 GB Notification: Performance of simCode: created simulation system equations: time 0.0002279/0.8742, allocations: 151.8 kB / 0.7241 GB, free: 22.88 MB / 0.5022 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.8744, allocations: 8.188 kB / 0.7242 GB, free: 22.87 MB / 0.5022 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/0.8763, allocations: 1.426 MB / 0.7255 GB, free: 21.41 MB / 0.5022 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.8766, allocations: 0.8071 MB / 0.7263 GB, free: 20.57 MB / 0.5022 GB Notification: Performance of simCode: alias equations: time 0.0003807/0.877, allocations: 121.9 kB / 0.7265 GB, free: 20.45 MB / 0.5022 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.8771, allocations: 23.38 kB / 0.7265 GB, free: 20.43 MB / 0.5022 GB Notification: Performance of SimCode: time 1.225e-06/0.8772, allocations: 4 kB / 0.7265 GB, free: 20.43 MB / 0.5022 GB Notification: Performance of Templates: time 0.007607/0.8848, allocations: 2.98 MB / 0.7294 GB, free: 17.45 MB / 0.5022 GB