Notification: Performance of FrontEnd - loaded program: time 1.728e-05/1.739e-05, allocations: 4 kB / 0.5177 GB, free: 13.66 MB / 416.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1182, allocations: 76.94 MB / 0.5928 GB, free: 0.6523 MB / 480.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6834/0.8016, allocations: 120.5 MB / 0.7105 GB, free: 37.26 MB / 0.5022 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001206/0.8018, allocations: 55.97 kB / 0.7105 GB, free: 37.21 MB / 0.5022 GB Notification: Performance of FrontEnd: time 0.4403/1.242, allocations: 103.4 MB / 0.8115 GB, free: 13.64 MB / 0.5803 GB Notification: Performance of Transformations before backend: time 0.0001118/1.242, allocations: 44 kB / 0.8115 GB, free: 13.6 MB / 0.5803 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 543 * Number of variables: 543 Notification: Performance of Generate backend data structure: time 0.01422/1.256, allocations: 4.413 MB / 0.8158 GB, free: 9.125 MB / 0.5803 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/1.257, allocations: 8.031 kB / 0.8158 GB, free: 9.117 MB / 0.5803 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/1.258, allocations: 241.2 kB / 0.8161 GB, free: 8.879 MB / 0.5803 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008247/1.266, allocations: 2.313 MB / 0.8183 GB, free: 6.52 MB / 0.5803 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/1.266, allocations: 64 kB / 0.8184 GB, free: 6.457 MB / 0.5803 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001525/1.268, allocations: 279.4 kB / 0.8187 GB, free: 6.184 MB / 0.5803 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01092/1.279, allocations: 5.333 MB / 0.8239 GB, free: 0.8398 MB / 0.5803 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007806/1.286, allocations: 3.43 MB / 0.8272 GB, free: 13.36 MB / 0.5959 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001003/1.287, allocations: 15.8 kB / 0.8272 GB, free: 13.34 MB / 0.5959 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003519/1.287, allocations: 7.938 kB / 0.8272 GB, free: 13.34 MB / 0.5959 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001171/1.287, allocations: 76.27 kB / 0.8273 GB, free: 13.26 MB / 0.5959 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03/1.317, allocations: 10.13 MB / 0.8372 GB, free: 3.07 MB / 0.5959 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01296/1.33, allocations: 6.372 MB / 0.8434 GB, free: 12.7 MB / 0.6115 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00624/1.336, allocations: 3.263 MB / 0.8466 GB, free: 9.414 MB / 0.6115 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003096/1.337, allocations: 59.19 kB / 0.8467 GB, free: 9.355 MB / 0.6115 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.221e-05/1.337, allocations: 81.73 kB / 0.8467 GB, free: 9.266 MB / 0.6115 GB Notification: Performance of pre-optimization done (n=412): time 1.216e-05/1.337, allocations: 0 / 0.8467 GB, free: 9.266 MB / 0.6115 GB Notification: Performance of matching and sorting (n=412): time 0.0115/1.348, allocations: 5.322 MB / 0.8519 GB, free: 3.914 MB / 0.6115 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.949e-05/1.348, allocations: 94.64 kB / 0.852 GB, free: 3.809 MB / 0.6115 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001503/1.35, allocations: 0.8521 MB / 0.8529 GB, free: 2.945 MB / 0.6115 GB Notification: Performance of collectPreVariables (initialization): time 0.000548/1.35, allocations: 25.7 kB / 0.8529 GB, free: 2.914 MB / 0.6115 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005427/1.351, allocations: 0.5128 MB / 0.8534 GB, free: 2.391 MB / 0.6115 GB Notification: Performance of collectInitialBindings (initialization): time 0.001686/1.353, allocations: 1.455 MB / 0.8548 GB, free: 0.9141 MB / 0.6115 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003756/1.353, allocations: 0 / 0.8548 GB, free: 0.9141 MB / 0.6115 GB Notification: Performance of setup shared object (initialization): time 0.000389/1.354, allocations: 0.4958 MB / 0.8553 GB, free: 420 kB / 0.6115 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2421/1.596, allocations: 2.798 MB / 0.858 GB, free: 196.1 MB / 0.6115 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007781/1.603, allocations: 3.242 MB / 0.8612 GB, free: 195.8 MB / 0.6115 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008104/1.612, allocations: 3.271 MB / 0.8644 GB, free: 195.7 MB / 0.6115 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.284e-05/1.612, allocations: 2.688 kB / 0.8644 GB, free: 195.7 MB / 0.6115 GB Notification: Performance of matching and sorting (n=574) (initialization): time 0.01469/1.626, allocations: 6.689 MB / 0.8709 GB, free: 195.4 MB / 0.6115 GB Notification: Performance of prepare postOptimizeDAE: time 3.567e-05/1.626, allocations: 9.375 kB / 0.8709 GB, free: 195.4 MB / 0.6115 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.938e-05/1.626, allocations: 11.55 kB / 0.8709 GB, free: 195.4 MB / 0.6115 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.628e-05/1.627, allocations: 26.69 kB / 0.871 GB, free: 195.4 MB / 0.6115 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007949/1.635, allocations: 1.42 MB / 0.8724 GB, free: 195.3 MB / 0.6115 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.536e-05/1.635, allocations: 27.22 kB / 0.8724 GB, free: 195.3 MB / 0.6115 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003499/1.638, allocations: 483.4 kB / 0.8728 GB, free: 195.3 MB / 0.6115 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007297/1.639, allocations: 153.5 kB / 0.873 GB, free: 195.3 MB / 0.6115 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (574): * Single equations (assignments): 574 * 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.0008822/1.64, allocations: 177 kB / 0.8732 GB, free: 195.1 MB / 0.6115 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005573/1.64, allocations: 197.2 kB / 0.8733 GB, free: 195.1 MB / 0.6115 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01287/1.653, allocations: 6.763 MB / 0.8799 GB, free: 193.3 MB / 0.6115 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.922e-05/1.653, allocations: 49.47 kB / 0.88 GB, free: 193.3 MB / 0.6115 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.896e-05/1.653, allocations: 0 / 0.88 GB, free: 193.3 MB / 0.6115 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-05/1.653, allocations: 22.55 kB / 0.88 GB, free: 193.3 MB / 0.6115 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006395/1.66, allocations: 3.276 MB / 0.8832 GB, free: 192.4 MB / 0.6115 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.35e-05/1.66, allocations: 1.562 kB / 0.8832 GB, free: 192.4 MB / 0.6115 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01008/1.67, allocations: 1.421 MB / 0.8846 GB, free: 192.3 MB / 0.6115 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.052e-05/1.67, allocations: 15.83 kB / 0.8846 GB, free: 192.3 MB / 0.6115 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007915/1.671, allocations: 126.9 kB / 0.8847 GB, free: 192.3 MB / 0.6115 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.215e-05/1.671, allocations: 15.7 kB / 0.8848 GB, free: 192.3 MB / 0.6115 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.065e-06/1.671, allocations: 1.531 kB / 0.8848 GB, free: 192.3 MB / 0.6115 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1311/1.802, allocations: 61.74 MB / 0.945 GB, free: 148.1 MB / 0.6115 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002242/1.804, allocations: 0.9069 MB / 0.9459 GB, free: 147.2 MB / 0.6115 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007383/1.805, allocations: 91.89 kB / 0.946 GB, free: 147.1 MB / 0.6115 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002454/1.808, allocations: 243.3 kB / 0.9463 GB, free: 146.9 MB / 0.6115 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006359/1.808, allocations: 275.5 kB / 0.9465 GB, free: 146.6 MB / 0.6115 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005794/1.809, allocations: 127.9 kB / 0.9466 GB, free: 146.5 MB / 0.6115 GB Notification: Performance of sorting global known variables: time 0.0008425/1.81, allocations: 0.62 MB / 0.9472 GB, free: 145.8 MB / 0.6115 GB Notification: Performance of sort global known variables: time 9.44e-07/1.81, allocations: 0 / 0.9472 GB, free: 145.8 MB / 0.6115 GB Notification: Performance of remove unused functions: time 0.003938/1.814, allocations: 1.249 MB / 0.9485 GB, free: 144.6 MB / 0.6115 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 121 (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) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (502): * Single equations (assignments): 502 * 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.0006328/1.814, allocations: 249.4 kB / 0.9487 GB, free: 144.4 MB / 0.6115 GB Notification: Performance of simCode: created initialization part: time 0.01011/1.824, allocations: 6.193 MB / 0.9547 GB, free: 138.2 MB / 0.6115 GB Notification: Performance of simCode: created event and clocks part: time 5.406e-06/1.824, allocations: 3.938 kB / 0.9548 GB, free: 138.2 MB / 0.6115 GB Notification: Performance of simCode: created simulation system equations: time 0.004994/1.829, allocations: 3.137 MB / 0.9578 GB, free: 135 MB / 0.6115 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009897/1.83, allocations: 36.33 kB / 0.9579 GB, free: 135 MB / 0.6115 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02395/1.854, allocations: 16.46 MB / 0.9739 GB, free: 118.6 MB / 0.6115 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001999/1.856, allocations: 2.25 MB / 0.9761 GB, free: 116.3 MB / 0.6115 GB Notification: Performance of simCode: alias equations: time 0.00739/1.864, allocations: 2.258 MB / 0.9783 GB, free: 114 MB / 0.6115 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002794/1.867, allocations: 319.3 kB / 0.9786 GB, free: 113.7 MB / 0.6115 GB Notification: Performance of SimCode: time 1.536e-06/1.867, allocations: 0 / 0.9786 GB, free: 113.7 MB / 0.6115 GB Notification: Performance of Templates: time 0.1043/1.971, allocations: 52.54 MB / 1.03 GB, free: 61.19 MB / 0.6115 GB