Notification: Performance of FrontEnd - loaded program: time 1.658e-05/1.665e-05, allocations: 0 / 0.5177 GB, free: 12.43 MB / 416 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2089, allocations: 76.95 MB / 0.5929 GB, free: 15.42 MB / 496 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.293/1.502, allocations: 120.5 MB / 0.7105 GB, free: 63.37 MB / 0.5176 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001913/1.502, allocations: 54.72 kB / 0.7106 GB, free: 63.34 MB / 0.5176 GB Notification: Performance of FrontEnd: time 0.6393/2.141, allocations: 82.31 MB / 0.7909 GB, free: 15.56 MB / 0.5489 GB Notification: Performance of Transformations before backend: time 0.0001855/2.142, allocations: 40 kB / 0.791 GB, free: 15.52 MB / 0.5489 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 467 * Number of variables: 467 Notification: Performance of Generate backend data structure: time 0.02583/2.167, allocations: 4.041 MB / 0.7949 GB, free: 11.43 MB / 0.5489 GB Notification: Performance of prepare preOptimizeDAE: time 6.092e-05/2.168, allocations: 15.91 kB / 0.7949 GB, free: 11.41 MB / 0.5489 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002157/2.17, allocations: 213.6 kB / 0.7951 GB, free: 11.2 MB / 0.5489 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02083/2.191, allocations: 2.77 MB / 0.7978 GB, free: 8.387 MB / 0.5489 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002211/2.191, allocations: 56 kB / 0.7979 GB, free: 8.332 MB / 0.5489 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002998/2.194, allocations: 259.4 kB / 0.7981 GB, free: 8.078 MB / 0.5489 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01615/2.21, allocations: 3.938 MB / 0.802 GB, free: 4.137 MB / 0.5489 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01396/2.224, allocations: 3.088 MB / 0.805 GB, free: 1.035 MB / 0.5489 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001322/2.224, allocations: 7.906 kB / 0.805 GB, free: 1.027 MB / 0.5489 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005786/2.225, allocations: 3.953 kB / 0.805 GB, free: 1.023 MB / 0.5489 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001488/2.225, allocations: 75.66 kB / 0.8051 GB, free: 0.9492 MB / 0.5489 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05753/2.283, allocations: 9.451 MB / 0.8143 GB, free: 7.449 MB / 0.5645 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02042/2.303, allocations: 5.4 MB / 0.8196 GB, free: 2.043 MB / 0.5645 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009558/2.313, allocations: 2.645 MB / 0.8222 GB, free: 15.39 MB / 0.5801 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005908/2.313, allocations: 54.5 kB / 0.8222 GB, free: 15.33 MB / 0.5801 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001077/2.314, allocations: 65.16 kB / 0.8223 GB, free: 15.26 MB / 0.5801 GB Notification: Performance of pre-optimization done (n=330): time 1.795e-05/2.314, allocations: 0 / 0.8223 GB, free: 15.26 MB / 0.5801 GB Notification: Performance of matching and sorting (n=330): time 0.01976/2.333, allocations: 4.559 MB / 0.8267 GB, free: 10.66 MB / 0.5801 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/2.334, allocations: 86 kB / 0.8268 GB, free: 10.56 MB / 0.5801 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00217/2.336, allocations: 0.7144 MB / 0.8275 GB, free: 9.84 MB / 0.5801 GB Notification: Performance of collectPreVariables (initialization): time 0.001147/2.337, allocations: 25.7 kB / 0.8275 GB, free: 9.809 MB / 0.5801 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008781/2.338, allocations: 480.1 kB / 0.828 GB, free: 9.332 MB / 0.5801 GB Notification: Performance of collectInitialBindings (initialization): time 0.002773/2.341, allocations: 1.209 MB / 0.8292 GB, free: 8.105 MB / 0.5801 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001028/2.342, allocations: 3.938 kB / 0.8292 GB, free: 8.102 MB / 0.5801 GB Notification: Performance of setup shared object (initialization): time 0.0008385/2.343, allocations: 0.5185 MB / 0.8297 GB, free: 7.574 MB / 0.5801 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0108/2.353, allocations: 2.658 MB / 0.8323 GB, free: 4.914 MB / 0.5801 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01602/2.37, allocations: 3.03 MB / 0.8352 GB, free: 1.809 MB / 0.5801 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01225/2.382, allocations: 3.056 MB / 0.8382 GB, free: 14.74 MB / 0.5957 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.373e-05/2.382, allocations: 0 / 0.8382 GB, free: 14.74 MB / 0.5957 GB Notification: Performance of matching and sorting (n=492) (initialization): time 0.03614/2.418, allocations: 6.233 MB / 0.8443 GB, free: 8.492 MB / 0.5957 GB Notification: Performance of prepare postOptimizeDAE: time 5.294e-05/2.418, allocations: 8.781 kB / 0.8443 GB, free: 8.484 MB / 0.5957 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-05/2.418, allocations: 4 kB / 0.8443 GB, free: 8.48 MB / 0.5957 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.751e-05/2.418, allocations: 28 kB / 0.8444 GB, free: 8.453 MB / 0.5957 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02044/2.439, allocations: 1.357 MB / 0.8457 GB, free: 7.094 MB / 0.5957 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.957e-05/2.439, allocations: 24 kB / 0.8457 GB, free: 7.07 MB / 0.5957 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006161/2.445, allocations: 440.4 kB / 0.8461 GB, free: 6.637 MB / 0.5957 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001583/2.447, allocations: 128 kB / 0.8462 GB, free: 6.512 MB / 0.5957 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 (492): * Single equations (assignments): 492 * 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.002069/2.449, allocations: 172.1 kB / 0.8464 GB, free: 6.336 MB / 0.5957 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001335/2.45, allocations: 161.9 kB / 0.8466 GB, free: 6.176 MB / 0.5957 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02412/2.475, allocations: 5.546 MB / 0.852 GB, free: 0.5859 MB / 0.5957 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.77e-05/2.475, allocations: 36 kB / 0.852 GB, free: 0.5508 MB / 0.5957 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.053e-05/2.475, allocations: 0 / 0.852 GB, free: 0.5508 MB / 0.5957 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001259/2.475, allocations: 19.92 kB / 0.852 GB, free: 0.5312 MB / 0.5957 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01139/2.486, allocations: 2.813 MB / 0.8548 GB, free: 13.68 MB / 0.6114 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.652e-05/2.486, allocations: 0 / 0.8548 GB, free: 13.68 MB / 0.6114 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0191/2.505, allocations: 1.33 MB / 0.8561 GB, free: 12.35 MB / 0.6114 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.977e-05/2.506, allocations: 12 kB / 0.8561 GB, free: 12.34 MB / 0.6114 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001475/2.507, allocations: 135.8 kB / 0.8562 GB, free: 12.2 MB / 0.6114 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.584e-05/2.507, allocations: 12 kB / 0.8562 GB, free: 12.19 MB / 0.6114 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.631e-06/2.507, allocations: 3.938 kB / 0.8562 GB, free: 12.19 MB / 0.6114 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5151/3.022, allocations: 53.63 MB / 0.9086 GB, free: 186.1 MB / 0.6114 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00222/3.025, allocations: 0.7752 MB / 0.9094 GB, free: 185.8 MB / 0.6114 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006713/3.025, allocations: 104.7 kB / 0.9095 GB, free: 185.8 MB / 0.6114 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002179/3.028, allocations: 227.9 kB / 0.9097 GB, free: 185.8 MB / 0.6114 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005407/3.028, allocations: 209.9 kB / 0.9099 GB, free: 185.8 MB / 0.6114 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003601/3.028, allocations: 103.4 kB / 0.91 GB, free: 185.8 MB / 0.6114 GB Notification: Performance of sorting global known variables: time 0.0008072/3.029, allocations: 0.5187 MB / 0.9105 GB, free: 185.5 MB / 0.6114 GB Notification: Performance of sort global known variables: time 6.82e-07/3.029, allocations: 0 / 0.9105 GB, free: 185.5 MB / 0.6114 GB Notification: Performance of remove unused functions: time 0.004139/3.033, allocations: 1.051 MB / 0.9115 GB, free: 185.5 MB / 0.6114 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 129 (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].T_s[5],generator[1].T_s[6],generator[1].T_s[7],generator[1].T_s[8],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].T_s[5],generator[2].T_s[6],generator[2].T_s[7],generator[2].T_s[8],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].T_s[5],generator[3].T_s[6],generator[3].T_s[7],generator[3].T_s[8],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].T_s[5],generator[4].T_s[6],generator[4].T_s[7],generator[4].T_s[8],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].T_s[5],generator[5].T_s[6],generator[5].T_s[7],generator[5].T_s[8],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].T_s[5],generator[6].T_s[6],generator[6].T_s[7],generator[6].T_s[8],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].T_s[5],generator[7].T_s[6],generator[7].T_s[7],generator[7].T_s[8],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].T_s[5],generator[8].T_s[6],generator[8].T_s[7],generator[8].T_s[8],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 (386): * Single equations (assignments): 386 * 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.0006406/3.034, allocations: 257.7 kB / 0.9118 GB, free: 185.4 MB / 0.6114 GB Notification: Performance of simCode: created initialization part: time 0.01011/3.044, allocations: 5.518 MB / 0.9171 GB, free: 183.9 MB / 0.6114 GB Notification: Performance of simCode: created event and clocks part: time 3.911e-06/3.044, allocations: 1.688 kB / 0.9172 GB, free: 183.9 MB / 0.6114 GB Notification: Performance of simCode: created simulation system equations: time 0.006964/3.051, allocations: 2.598 MB / 0.9197 GB, free: 183.1 MB / 0.6114 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001349/3.053, allocations: 27.06 kB / 0.9197 GB, free: 183.1 MB / 0.6114 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03367/3.086, allocations: 15.42 MB / 0.9348 GB, free: 170.8 MB / 0.6114 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003589/3.09, allocations: 1.995 MB / 0.9367 GB, free: 168.7 MB / 0.6114 GB Notification: Performance of simCode: alias equations: time 0.01246/3.103, allocations: 1.879 MB / 0.9386 GB, free: 166.8 MB / 0.6114 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005159/3.108, allocations: 247.4 kB / 0.9388 GB, free: 166.6 MB / 0.6114 GB Notification: Performance of SimCode: time 3.366e-06/3.108, allocations: 1.828 kB / 0.9388 GB, free: 166.6 MB / 0.6114 GB Notification: Performance of Templates: time 0.1581/3.266, allocations: 46.34 MB / 0.9841 GB, free: 120.3 MB / 0.6114 GB