Notification: Performance of FrontEnd - loaded program: time 1.646e-05/1.656e-05, allocations: 4 kB / 0.5177 GB, free: 12.79 MB / 416.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1171, allocations: 76.94 MB / 0.5929 GB, free: 15.79 MB / 496.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6879/0.8051, allocations: 120.5 MB / 0.7105 GB, free: 36.49 MB / 0.5022 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001194/0.8053, allocations: 51.98 kB / 0.7106 GB, free: 36.44 MB / 0.5022 GB Notification: Performance of FrontEnd: time 0.1063/0.9116, allocations: 25.7 MB / 0.7357 GB, free: 10.72 MB / 0.5022 GB Notification: Performance of Transformations before backend: time 3.742e-05/0.9117, allocations: 16 kB / 0.7357 GB, free: 10.7 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.003558/0.9153, allocations: 1.459 MB / 0.7371 GB, free: 9.199 MB / 0.5022 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.9153, allocations: 11.97 kB / 0.7371 GB, free: 9.188 MB / 0.5022 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002305/0.9156, allocations: 90.97 kB / 0.7372 GB, free: 9.098 MB / 0.5022 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002634/0.9182, allocations: 0.9385 MB / 0.7381 GB, free: 8.121 MB / 0.5022 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.362e-05/0.9183, allocations: 24 kB / 0.7381 GB, free: 8.098 MB / 0.5022 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004574/0.9187, allocations: 107.8 kB / 0.7382 GB, free: 7.992 MB / 0.5022 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002012/0.9208, allocations: 1.179 MB / 0.7394 GB, free: 6.812 MB / 0.5022 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00178/0.9226, allocations: 1.042 MB / 0.7404 GB, free: 5.766 MB / 0.5022 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.431e-05/0.9226, allocations: 7.891 kB / 0.7404 GB, free: 5.758 MB / 0.5022 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.9227, allocations: 0 / 0.7404 GB, free: 5.758 MB / 0.5022 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.836e-05/0.9228, allocations: 26 kB / 0.7404 GB, free: 5.73 MB / 0.5022 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007545/0.9303, allocations: 3.117 MB / 0.7435 GB, free: 2.57 MB / 0.5022 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003091/0.9334, allocations: 1.768 MB / 0.7452 GB, free: 0.7891 MB / 0.5022 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001338/0.9348, allocations: 0.8395 MB / 0.746 GB, free: 15.94 MB / 0.5178 GB Notification: Performance of preOpt evalFunc (simulation): time 8.92e-05/0.9349, allocations: 17.3 kB / 0.746 GB, free: 15.92 MB / 0.5178 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.935, allocations: 43.88 kB / 0.7461 GB, free: 15.87 MB / 0.5178 GB Notification: Performance of pre-optimization done (n=118): time 4.082e-06/0.935, allocations: 0 / 0.7461 GB, free: 15.87 MB / 0.5178 GB Notification: Performance of matching and sorting (n=118): time 0.003185/0.9382, allocations: 1.515 MB / 0.7476 GB, free: 14.34 MB / 0.5178 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.9382, allocations: 64.72 kB / 0.7476 GB, free: 14.27 MB / 0.5178 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006181/0.9389, allocations: 413.1 kB / 0.748 GB, free: 13.86 MB / 0.5178 GB Notification: Performance of collectPreVariables (initialization): time 0.0001176/0.939, allocations: 29.7 kB / 0.748 GB, free: 13.83 MB / 0.5178 GB Notification: Performance of collectInitialEqns (initialization): time 0.000253/0.9393, allocations: 257.4 kB / 0.7483 GB, free: 13.57 MB / 0.5178 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004514/0.9397, allocations: 445.4 kB / 0.7487 GB, free: 13.13 MB / 0.5178 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.9398, allocations: 0 / 0.7487 GB, free: 13.13 MB / 0.5178 GB Notification: Performance of setup shared object (initialization): time 0.0002453/0.9401, allocations: 402.7 kB / 0.7491 GB, free: 12.73 MB / 0.5178 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00169/0.9418, allocations: 0.847 MB / 0.7499 GB, free: 11.88 MB / 0.5178 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001868/0.9437, allocations: 1.013 MB / 0.7509 GB, free: 10.82 MB / 0.5178 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00196/0.9457, allocations: 1.009 MB / 0.7519 GB, free: 9.812 MB / 0.5178 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.419e-06/0.9457, allocations: 0 / 0.7519 GB, free: 9.812 MB / 0.5178 GB Notification: Performance of matching and sorting (n=184) (initialization): time 0.00426/0.9499, allocations: 2.081 MB / 0.7539 GB, free: 7.723 MB / 0.5178 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.95, allocations: 8 kB / 0.7539 GB, free: 7.715 MB / 0.5178 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.95, allocations: 4 kB / 0.7539 GB, free: 7.711 MB / 0.5178 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.046e-05/0.9501, allocations: 9.094 kB / 0.754 GB, free: 7.703 MB / 0.5178 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002557/0.9526, allocations: 487.3 kB / 0.7544 GB, free: 7.227 MB / 0.5178 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.79e-05/0.9527, allocations: 8 kB / 0.7544 GB, free: 7.219 MB / 0.5178 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009642/0.9536, allocations: 154.7 kB / 0.7546 GB, free: 7.066 MB / 0.5178 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002342/0.9539, allocations: 52.23 kB / 0.7546 GB, free: 7.016 MB / 0.5178 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 184 * 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.0003039/0.9542, allocations: 128.6 kB / 0.7548 GB, free: 6.883 MB / 0.5178 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002056/0.9544, allocations: 75.09 kB / 0.7548 GB, free: 6.809 MB / 0.5178 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003617/0.958, allocations: 1.754 MB / 0.7565 GB, free: 5.047 MB / 0.5178 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/0.9581, allocations: 15.98 kB / 0.7565 GB, free: 5.031 MB / 0.5178 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.036e-06/0.9581, allocations: 0 / 0.7565 GB, free: 5.031 MB / 0.5178 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.937e-05/0.9581, allocations: 11.92 kB / 0.7566 GB, free: 5.02 MB / 0.5178 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00189/0.96, allocations: 1.021 MB / 0.7576 GB, free: 3.961 MB / 0.5178 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.722e-06/0.9601, allocations: 4 kB / 0.7576 GB, free: 3.957 MB / 0.5178 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002975/0.963, allocations: 447.5 kB / 0.758 GB, free: 3.52 MB / 0.5178 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.569e-05/0.9631, allocations: 4 kB / 0.758 GB, free: 3.516 MB / 0.5178 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001767/0.9633, allocations: 51.91 kB / 0.758 GB, free: 3.465 MB / 0.5178 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.021e-06/0.9633, allocations: 4 kB / 0.758 GB, free: 3.461 MB / 0.5178 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.9633, allocations: 0 / 0.758 GB, free: 3.461 MB / 0.5178 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03811/1.001, allocations: 17.17 MB / 0.7748 GB, free: 2.148 MB / 0.5334 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006789/1.002, allocations: 331.8 kB / 0.7751 GB, free: 1.805 MB / 0.5334 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002207/1.002, allocations: 35.95 kB / 0.7752 GB, free: 1.77 MB / 0.5334 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007926/1.003, allocations: 75.86 kB / 0.7752 GB, free: 1.695 MB / 0.5334 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001905/1.003, allocations: 73.2 kB / 0.7753 GB, free: 1.625 MB / 0.5334 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00018/1.004, allocations: 39.98 kB / 0.7753 GB, free: 1.586 MB / 0.5334 GB Notification: Performance of sorting global known variables: time 0.0004495/1.004, allocations: 310.9 kB / 0.7756 GB, free: 1.281 MB / 0.5334 GB Notification: Performance of sort global known variables: time 1e-06/1.004, allocations: 0 / 0.7756 GB, free: 1.281 MB / 0.5334 GB Notification: Performance of remove unused functions: time 0.001396/1.005, allocations: 367.8 kB / 0.776 GB, free: 0.9219 MB / 0.5334 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 49 (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) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 130 * 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.0002973/1.006, allocations: 164.2 kB / 0.7761 GB, free: 0.7539 MB / 0.5334 GB Notification: Performance of simCode: created initialization part: time 0.003418/1.009, allocations: 1.789 MB / 0.7779 GB, free: 14.96 MB / 0.549 GB Notification: Performance of simCode: created event and clocks part: time 2.694e-06/1.009, allocations: 0 / 0.7779 GB, free: 14.96 MB / 0.549 GB Notification: Performance of simCode: created simulation system equations: time 0.001493/1.011, allocations: 0.8284 MB / 0.7787 GB, free: 14.13 MB / 0.549 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/1.011, allocations: 14.64 kB / 0.7787 GB, free: 14.12 MB / 0.549 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009158/1.02, allocations: 5.612 MB / 0.7842 GB, free: 8.457 MB / 0.549 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/1.021, allocations: 1.179 MB / 0.7853 GB, free: 7.246 MB / 0.549 GB Notification: Performance of simCode: alias equations: time 0.002109/1.023, allocations: 0.6219 MB / 0.786 GB, free: 6.621 MB / 0.549 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007227/1.024, allocations: 87.42 kB / 0.786 GB, free: 6.535 MB / 0.549 GB Notification: Performance of SimCode: time 1.753e-06/1.024, allocations: 0 / 0.786 GB, free: 6.535 MB / 0.549 GB Notification: Performance of Templates: time 0.03416/1.058, allocations: 14.53 MB / 0.8002 GB, free: 7.992 MB / 0.5647 GB