Notification: Performance of FrontEnd - loaded program: time 1.736e-05/1.742e-05, allocations: 4 kB / 0.5177 GB, free: 12.81 MB / 416.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1181, allocations: 76.94 MB / 0.5929 GB, free: 15.8 MB / 496.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6881/0.8062, allocations: 120.5 MB / 0.7105 GB, free: 36.52 MB / 0.5022 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001177/0.8064, allocations: 55.97 kB / 0.7106 GB, free: 36.47 MB / 0.5022 GB Notification: Performance of FrontEnd: time 1.214/2.021, allocations: 234.5 MB / 0.9395 GB, free: 156.5 MB / 0.6115 GB Notification: Performance of Transformations before backend: time 0.0001845/2.021, allocations: 80 kB / 0.9396 GB, free: 156.4 MB / 0.6115 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1059 * Number of variables: 1059 Notification: Performance of Generate backend data structure: time 0.02859/2.05, allocations: 10.24 MB / 0.9496 GB, free: 146.1 MB / 0.6115 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/2.05, allocations: 11.91 kB / 0.9496 GB, free: 146.1 MB / 0.6115 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002244/2.052, allocations: 446.8 kB / 0.95 GB, free: 145.6 MB / 0.6115 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01308/2.065, allocations: 3.943 MB / 0.9539 GB, free: 141.6 MB / 0.6115 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001731/2.065, allocations: 136 kB / 0.954 GB, free: 141.5 MB / 0.6115 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002813/2.068, allocations: 0.499 MB / 0.9545 GB, free: 141 MB / 0.6115 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02702/2.095, allocations: 14.97 MB / 0.9691 GB, free: 126 MB / 0.6115 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01516/2.11, allocations: 6.915 MB / 0.9759 GB, free: 119 MB / 0.6115 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00016/2.111, allocations: 19.89 kB / 0.9759 GB, free: 119 MB / 0.6115 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007444/2.111, allocations: 0 / 0.9759 GB, free: 119 MB / 0.6115 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001251/2.111, allocations: 152.2 kB / 0.976 GB, free: 118.9 MB / 0.6115 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05678/2.168, allocations: 21.83 MB / 0.9974 GB, free: 96.95 MB / 0.6115 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02507/2.193, allocations: 13.83 MB / 1.011 GB, free: 83.06 MB / 0.6115 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01177/2.205, allocations: 7.16 MB / 1.018 GB, free: 75.87 MB / 0.6115 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006573/2.206, allocations: 138.5 kB / 1.018 GB, free: 75.73 MB / 0.6115 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.433e-05/2.206, allocations: 121.2 kB / 1.018 GB, free: 75.61 MB / 0.6115 GB Notification: Performance of pre-optimization done (n=850): time 1.506e-05/2.206, allocations: 0 / 1.018 GB, free: 75.61 MB / 0.6115 GB Notification: Performance of matching and sorting (n=850): time 0.02159/2.228, allocations: 11.1 MB / 1.029 GB, free: 64.45 MB / 0.6115 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.822e-05/2.228, allocations: 138.1 kB / 1.029 GB, free: 64.3 MB / 0.6115 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001926/2.23, allocations: 1.304 MB / 1.03 GB, free: 62.98 MB / 0.6115 GB Notification: Performance of collectPreVariables (initialization): time 0.001263/2.231, allocations: 26.2 kB / 1.03 GB, free: 62.95 MB / 0.6115 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006179/2.232, allocations: 0.7891 MB / 1.031 GB, free: 62.15 MB / 0.6115 GB Notification: Performance of collectInitialBindings (initialization): time 0.002777/2.234, allocations: 2.948 MB / 1.034 GB, free: 59.16 MB / 0.6115 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007999/2.235, allocations: 0 / 1.034 GB, free: 59.16 MB / 0.6115 GB Notification: Performance of setup shared object (initialization): time 0.0004709/2.236, allocations: 0.6772 MB / 1.035 GB, free: 58.47 MB / 0.6115 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01001/2.246, allocations: 5.58 MB / 1.04 GB, free: 52.88 MB / 0.6115 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01138/2.257, allocations: 6.396 MB / 1.046 GB, free: 46.32 MB / 0.6115 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01216/2.269, allocations: 6.506 MB / 1.053 GB, free: 39.77 MB / 0.6115 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.02e-05/2.269, allocations: 4 kB / 1.053 GB, free: 39.77 MB / 0.6115 GB Notification: Performance of matching and sorting (n=1108) (initialization): time 0.02653/2.296, allocations: 13.23 MB / 1.066 GB, free: 26.44 MB / 0.6115 GB Notification: Performance of prepare postOptimizeDAE: time 4.417e-05/2.296, allocations: 15.94 kB / 1.066 GB, free: 26.43 MB / 0.6115 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-05/2.296, allocations: 12 kB / 1.066 GB, free: 26.41 MB / 0.6115 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.677e-05/2.296, allocations: 51.98 kB / 1.066 GB, free: 26.36 MB / 0.6115 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01478/2.311, allocations: 2.716 MB / 1.068 GB, free: 23.64 MB / 0.6115 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.33e-05/2.311, allocations: 55.92 kB / 1.068 GB, free: 23.59 MB / 0.6115 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006566/2.318, allocations: 0.9415 MB / 1.069 GB, free: 22.64 MB / 0.6115 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00125/2.319, allocations: 299.9 kB / 1.07 GB, free: 22.35 MB / 0.6115 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1108): * Single equations (assignments): 1108 * 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.001741/2.321, allocations: 239 kB / 1.07 GB, free: 22.11 MB / 0.6115 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001168/2.322, allocations: 375.3 kB / 1.07 GB, free: 21.73 MB / 0.6115 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03002/2.352, allocations: 15.54 MB / 1.085 GB, free: 6.078 MB / 0.6115 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-05/2.352, allocations: 104 kB / 1.086 GB, free: 5.977 MB / 0.6115 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.707e-05/2.352, allocations: 5.906 kB / 1.086 GB, free: 5.973 MB / 0.6115 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001572/2.352, allocations: 51.8 kB / 1.086 GB, free: 5.922 MB / 0.6115 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.25/2.602, allocations: 6.696 MB / 1.092 GB, free: 170.3 MB / 0.6115 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001262/2.602, allocations: 0 / 1.092 GB, free: 170.3 MB / 0.6115 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0337/2.636, allocations: 2.845 MB / 1.095 GB, free: 170.3 MB / 0.6115 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002184/2.636, allocations: 34.62 kB / 1.095 GB, free: 170.3 MB / 0.6115 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002605/2.639, allocations: 222.8 kB / 1.095 GB, free: 170.3 MB / 0.6115 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001031/2.639, allocations: 34.8 kB / 1.095 GB, free: 170.3 MB / 0.6115 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.6e-06/2.639, allocations: 0 / 1.095 GB, free: 170.3 MB / 0.6115 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3076/2.947, allocations: 133.5 MB / 1.226 GB, free: 96.95 MB / 0.6115 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005009/2.952, allocations: 1.781 MB / 1.227 GB, free: 95.14 MB / 0.6115 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001631/2.953, allocations: 143.8 kB / 1.227 GB, free: 95 MB / 0.6115 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005217/2.959, allocations: 0.4991 MB / 1.228 GB, free: 94.5 MB / 0.6115 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001373/2.96, allocations: 0.5738 MB / 1.228 GB, free: 93.92 MB / 0.6115 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008705/2.961, allocations: 271.9 kB / 1.229 GB, free: 93.65 MB / 0.6115 GB Notification: Performance of sorting global known variables: time 0.00138/2.962, allocations: 0.9413 MB / 1.23 GB, free: 92.71 MB / 0.6115 GB Notification: Performance of sort global known variables: time 7.88e-07/2.962, allocations: 0 / 1.23 GB, free: 92.71 MB / 0.6115 GB Notification: Performance of remove unused functions: time 0.007887/2.97, allocations: 2.568 MB / 1.232 GB, free: 90.14 MB / 0.6115 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 193 (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,generator[9].theta,generator[9].omega,generator[9].p,generator[9].q_ev,generator[9].y_t,generator[9].p_t_lp,generator[9].T_s[1],generator[9].T_s[2],generator[9].T_s[3],generator[9].T_s[4],generator[9].err_p_t_int,generator[9].err_p_int,generator[10].theta,generator[10].omega,generator[10].p,generator[10].q_ev,generator[10].y_t,generator[10].p_t_lp,generator[10].T_s[1],generator[10].T_s[2],generator[10].T_s[3],generator[10].T_s[4],generator[10].err_p_t_int,generator[10].err_p_int,generator[11].theta,generator[11].omega,generator[11].p,generator[11].q_ev,generator[11].y_t,generator[11].p_t_lp,generator[11].T_s[1],generator[11].T_s[2],generator[11].T_s[3],generator[11].T_s[4],generator[11].err_p_t_int,generator[11].err_p_int,generator[12].theta,generator[12].omega,generator[12].p,generator[12].q_ev,generator[12].y_t,generator[12].p_t_lp,generator[12].T_s[1],generator[12].T_s[2],generator[12].T_s[3],generator[12].T_s[4],generator[12].err_p_t_int,generator[12].err_p_int,generator[13].theta,generator[13].omega,generator[13].p,generator[13].q_ev,generator[13].y_t,generator[13].p_t_lp,generator[13].T_s[1],generator[13].T_s[2],generator[13].T_s[3],generator[13].T_s[4],generator[13].err_p_t_int,generator[13].err_p_int,generator[14].theta,generator[14].omega,generator[14].p,generator[14].q_ev,generator[14].y_t,generator[14].p_t_lp,generator[14].T_s[1],generator[14].T_s[2],generator[14].T_s[3],generator[14].T_s[4],generator[14].err_p_t_int,generator[14].err_p_int,generator[15].theta,generator[15].omega,generator[15].p,generator[15].q_ev,generator[15].y_t,generator[15].p_t_lp,generator[15].T_s[1],generator[15].T_s[2],generator[15].T_s[3],generator[15].T_s[4],generator[15].err_p_t_int,generator[15].err_p_int,generator[16].theta,generator[16].omega,generator[16].p,generator[16].q_ev,generator[16].y_t,generator[16].p_t_lp,generator[16].T_s[1],generator[16].T_s[2],generator[16].T_s[3],generator[16].T_s[4],generator[16].err_p_t_int,generator[16].err_p_int) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1090): * Single equations (assignments): 1090 * 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.001255/2.972, allocations: 375.7 kB / 1.233 GB, free: 89.78 MB / 0.6115 GB Notification: Performance of simCode: created initialization part: time 0.02174/2.993, allocations: 12.77 MB / 1.245 GB, free: 76.97 MB / 0.6115 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/2.993, allocations: 4 kB / 1.245 GB, free: 76.96 MB / 0.6115 GB Notification: Performance of simCode: created simulation system equations: time 0.01156/3.005, allocations: 6.761 MB / 1.252 GB, free: 70.21 MB / 0.6115 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0019/3.007, allocations: 51.12 kB / 1.252 GB, free: 70.16 MB / 0.6115 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04438/3.051, allocations: 30.58 MB / 1.282 GB, free: 39.52 MB / 0.6115 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003884/3.055, allocations: 3.678 MB / 1.285 GB, free: 35.8 MB / 0.6115 GB Notification: Performance of simCode: alias equations: time 0.01621/3.071, allocations: 4.953 MB / 1.29 GB, free: 30.83 MB / 0.6115 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006487/3.078, allocations: 0.6984 MB / 1.291 GB, free: 30.13 MB / 0.6115 GB Notification: Performance of SimCode: time 1.379e-06/3.078, allocations: 0 / 1.291 GB, free: 30.13 MB / 0.6115 GB Notification: Performance of Templates: time 0.4745/3.552, allocations: 111 MB / 1.399 GB, free: 135 MB / 0.6115 GB