Notification: Performance of FrontEnd - loaded program: time 1.727e-05/1.739e-05, allocations: 4 kB / 0.5177 GB, free: 13.69 MB / 416.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1178, allocations: 76.94 MB / 0.5929 GB, free: 0.6875 MB / 480.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7057/0.8235, allocations: 120.5 MB / 0.7105 GB, free: 37.33 MB / 0.5022 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001167/0.8237, allocations: 50.84 kB / 0.7105 GB, free: 37.29 MB / 0.5022 GB Notification: Performance of FrontEnd: time 0.3062/1.13, allocations: 71.8 MB / 0.7807 GB, free: 13.36 MB / 0.549 GB Notification: Performance of Transformations before backend: time 8.591e-05/1.13, allocations: 36 kB / 0.7807 GB, free: 13.33 MB / 0.549 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 403 * Number of variables: 403 Notification: Performance of Generate backend data structure: time 0.00949/1.14, allocations: 3.189 MB / 0.7838 GB, free: 10.09 MB / 0.549 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/1.14, allocations: 12.03 kB / 0.7838 GB, free: 10.07 MB / 0.549 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006297/1.14, allocations: 181.9 kB / 0.784 GB, free: 9.895 MB / 0.549 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006007/1.146, allocations: 1.825 MB / 0.7858 GB, free: 8.023 MB / 0.549 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.615e-05/1.146, allocations: 48 kB / 0.7858 GB, free: 7.977 MB / 0.549 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001033/1.147, allocations: 219.5 kB / 0.786 GB, free: 7.762 MB / 0.549 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007029/1.154, allocations: 3.516 MB / 0.7895 GB, free: 4.242 MB / 0.549 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005305/1.16, allocations: 2.509 MB / 0.7919 GB, free: 1.715 MB / 0.549 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.81e-05/1.16, allocations: 7.984 kB / 0.7919 GB, free: 1.707 MB / 0.549 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002615/1.16, allocations: 7.953 kB / 0.7919 GB, free: 1.699 MB / 0.549 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8e-05/1.16, allocations: 59.17 kB / 0.792 GB, free: 1.641 MB / 0.549 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02057/1.181, allocations: 7.354 MB / 0.7992 GB, free: 10.23 MB / 0.5647 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008806/1.19, allocations: 4.525 MB / 0.8036 GB, free: 5.711 MB / 0.5647 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004164/1.194, allocations: 2.3 MB / 0.8058 GB, free: 3.398 MB / 0.5647 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002054/1.194, allocations: 42.31 kB / 0.8059 GB, free: 3.355 MB / 0.5647 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.512e-05/1.194, allocations: 68.84 kB / 0.8059 GB, free: 3.277 MB / 0.5647 GB Notification: Performance of pre-optimization done (n=298): time 6.817e-06/1.194, allocations: 3.938 kB / 0.8059 GB, free: 3.273 MB / 0.5647 GB Notification: Performance of matching and sorting (n=298): time 0.007949/1.202, allocations: 3.824 MB / 0.8097 GB, free: 15.4 MB / 0.5803 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.972e-05/1.202, allocations: 85.75 kB / 0.8098 GB, free: 15.3 MB / 0.5803 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/1.203, allocations: 0.6988 MB / 0.8104 GB, free: 14.6 MB / 0.5803 GB Notification: Performance of collectPreVariables (initialization): time 0.0002937/1.204, allocations: 29.7 kB / 0.8105 GB, free: 14.56 MB / 0.5803 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004349/1.204, allocations: 435.6 kB / 0.8109 GB, free: 14.13 MB / 0.5803 GB Notification: Performance of collectInitialBindings (initialization): time 0.001126/1.205, allocations: 1.066 MB / 0.8119 GB, free: 13.05 MB / 0.5803 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002568/1.206, allocations: 0 / 0.8119 GB, free: 13.05 MB / 0.5803 GB Notification: Performance of setup shared object (initialization): time 0.0003782/1.206, allocations: 0.494 MB / 0.8124 GB, free: 12.54 MB / 0.5803 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004073/1.21, allocations: 2.048 MB / 0.8144 GB, free: 10.49 MB / 0.5803 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004453/1.215, allocations: 2.412 MB / 0.8168 GB, free: 8 MB / 0.5803 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004717/1.219, allocations: 2.403 MB / 0.8191 GB, free: 5.586 MB / 0.5803 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-05/1.219, allocations: 4 kB / 0.8191 GB, free: 5.582 MB / 0.5803 GB Notification: Performance of matching and sorting (n=428) (initialization): time 0.01019/1.229, allocations: 4.934 MB / 0.8239 GB, free: 0.6211 MB / 0.5803 GB Notification: Performance of prepare postOptimizeDAE: time 3.292e-05/1.23, allocations: 11.95 kB / 0.8239 GB, free: 0.6094 MB / 0.5803 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.422e-05/1.23, allocations: 7.984 kB / 0.8239 GB, free: 0.6016 MB / 0.5803 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.253e-05/1.23, allocations: 24 kB / 0.824 GB, free: 0.5781 MB / 0.5803 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005621/1.235, allocations: 1.061 MB / 0.825 GB, free: 15.52 MB / 0.5959 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-05/1.235, allocations: 31.88 kB / 0.825 GB, free: 15.48 MB / 0.5959 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002215/1.238, allocations: 353 kB / 0.8254 GB, free: 15.14 MB / 0.5959 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003774/1.238, allocations: 112 kB / 0.8255 GB, free: 15.03 MB / 0.5959 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (428): * Single equations (assignments): 428 * 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.0006193/1.239, allocations: 148.3 kB / 0.8256 GB, free: 14.88 MB / 0.5959 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004545/1.239, allocations: 150.1 kB / 0.8258 GB, free: 14.73 MB / 0.5959 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009771/1.249, allocations: 4.736 MB / 0.8304 GB, free: 9.941 MB / 0.5959 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.779e-05/1.249, allocations: 32 kB / 0.8304 GB, free: 9.91 MB / 0.5959 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/1.249, allocations: 0 / 0.8304 GB, free: 9.91 MB / 0.5959 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.553e-05/1.249, allocations: 15.94 kB / 0.8304 GB, free: 9.895 MB / 0.5959 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004641/1.254, allocations: 2.394 MB / 0.8328 GB, free: 7.457 MB / 0.5959 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/1.254, allocations: 0 / 0.8328 GB, free: 7.457 MB / 0.5959 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006671/1.26, allocations: 1.053 MB / 0.8338 GB, free: 6.402 MB / 0.5959 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.25e-05/1.26, allocations: 8 kB / 0.8338 GB, free: 6.395 MB / 0.5959 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004033/1.261, allocations: 103.8 kB / 0.8339 GB, free: 6.293 MB / 0.5959 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.847e-05/1.261, allocations: 12 kB / 0.8339 GB, free: 6.281 MB / 0.5959 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/1.261, allocations: 0 / 0.8339 GB, free: 6.281 MB / 0.5959 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3694/1.63, allocations: 43.95 MB / 0.8768 GB, free: 192.2 MB / 0.6115 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00143/1.632, allocations: 0.6835 MB / 0.8775 GB, free: 191.9 MB / 0.6115 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005075/1.632, allocations: 72.64 kB / 0.8776 GB, free: 191.9 MB / 0.6115 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001941/1.634, allocations: 179.7 kB / 0.8777 GB, free: 191.9 MB / 0.6115 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004238/1.635, allocations: 193.7 kB / 0.8779 GB, free: 191.9 MB / 0.6115 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002895/1.635, allocations: 88.69 kB / 0.878 GB, free: 191.8 MB / 0.6115 GB Notification: Performance of sorting global known variables: time 0.0006968/1.636, allocations: 0.5158 MB / 0.8785 GB, free: 191.6 MB / 0.6115 GB Notification: Performance of sort global known variables: time 6.76e-07/1.636, allocations: 0 / 0.8785 GB, free: 191.6 MB / 0.6115 GB Notification: Performance of remove unused functions: time 0.002848/1.639, allocations: 0.9074 MB / 0.8794 GB, free: 191.6 MB / 0.6115 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 97 (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,generator[2].theta,generator[2].omega,generator[2].p,generator[2].q_ev,generator[2].y_t,generator[2].p_t_lp,generator[2].T_s[1],generator[2].T_s[2],generator[2].T_s[3],generator[2].T_s[4],generator[2].err_p_t_int,generator[2].err_p_int,generator[3].theta,generator[3].omega,generator[3].p,generator[3].q_ev,generator[3].y_t,generator[3].p_t_lp,generator[3].T_s[1],generator[3].T_s[2],generator[3].T_s[3],generator[3].T_s[4],generator[3].err_p_t_int,generator[3].err_p_int,generator[4].theta,generator[4].omega,generator[4].p,generator[4].q_ev,generator[4].y_t,generator[4].p_t_lp,generator[4].T_s[1],generator[4].T_s[2],generator[4].T_s[3],generator[4].T_s[4],generator[4].err_p_t_int,generator[4].err_p_int,generator[5].theta,generator[5].omega,generator[5].p,generator[5].q_ev,generator[5].y_t,generator[5].p_t_lp,generator[5].T_s[1],generator[5].T_s[2],generator[5].T_s[3],generator[5].T_s[4],generator[5].err_p_t_int,generator[5].err_p_int,generator[6].theta,generator[6].omega,generator[6].p,generator[6].q_ev,generator[6].y_t,generator[6].p_t_lp,generator[6].T_s[1],generator[6].T_s[2],generator[6].T_s[3],generator[6].T_s[4],generator[6].err_p_t_int,generator[6].err_p_int,generator[7].theta,generator[7].omega,generator[7].p,generator[7].q_ev,generator[7].y_t,generator[7].p_t_lp,generator[7].T_s[1],generator[7].T_s[2],generator[7].T_s[3],generator[7].T_s[4],generator[7].err_p_t_int,generator[7].err_p_int,generator[8].theta,generator[8].omega,generator[8].p,generator[8].q_ev,generator[8].y_t,generator[8].p_t_lp,generator[8].T_s[1],generator[8].T_s[2],generator[8].T_s[3],generator[8].T_s[4],generator[8].err_p_t_int,generator[8].err_p_int) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (354): * Single equations (assignments): 354 * 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.0004657/1.639, allocations: 225 kB / 0.8796 GB, free: 191.5 MB / 0.6115 GB Notification: Performance of simCode: created initialization part: time 0.007676/1.647, allocations: 4.486 MB / 0.884 GB, free: 190.3 MB / 0.6115 GB Notification: Performance of simCode: created event and clocks part: time 3.064e-06/1.647, allocations: 0 / 0.884 GB, free: 190.3 MB / 0.6115 GB Notification: Performance of simCode: created simulation system equations: time 0.003872/1.651, allocations: 2.215 MB / 0.8862 GB, free: 189.6 MB / 0.6115 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007458/1.651, allocations: 28.36 kB / 0.8862 GB, free: 189.6 MB / 0.6115 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0196/1.671, allocations: 12.46 MB / 0.8984 GB, free: 183.1 MB / 0.6115 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001685/1.673, allocations: 1.844 MB / 0.9002 GB, free: 182.3 MB / 0.6115 GB Notification: Performance of simCode: alias equations: time 0.005248/1.678, allocations: 1.616 MB / 0.9017 GB, free: 182.2 MB / 0.6115 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001949/1.68, allocations: 231.8 kB / 0.902 GB, free: 182.2 MB / 0.6115 GB Notification: Performance of SimCode: time 1.409e-06/1.68, allocations: 4 kB / 0.902 GB, free: 182.2 MB / 0.6115 GB Notification: Performance of Templates: time 0.07272/1.753, allocations: 37.61 MB / 0.9387 GB, free: 154.1 MB / 0.6115 GB