Notification: Performance of FrontEnd - loaded program: time 1.714e-05/1.739e-05, allocations: 0 / 0.5177 GB, free: 12.47 MB / 416 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1897, allocations: 76.93 MB / 0.5929 GB, free: 15.46 MB / 496 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.403/1.592, allocations: 120.5 MB / 0.7105 GB, free: 36.06 MB / 0.502 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000185/1.592, allocations: 55.97 kB / 0.7105 GB, free: 36.01 MB / 0.502 GB Notification: Performance of FrontEnd: time 0.2355/1.828, allocations: 30.96 MB / 0.7408 GB, free: 5.016 MB / 0.502 GB Notification: Performance of Transformations before backend: time 7.723e-05/1.828, allocations: 16 kB / 0.7408 GB, free: 5 MB / 0.502 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.009672/1.838, allocations: 1.888 MB / 0.7426 GB, free: 3.066 MB / 0.502 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/1.838, allocations: 16.02 kB / 0.7427 GB, free: 3.051 MB / 0.502 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008085/1.839, allocations: 98.88 kB / 0.7428 GB, free: 2.953 MB / 0.502 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008363/1.847, allocations: 1.426 MB / 0.7441 GB, free: 1.477 MB / 0.502 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.116e-05/1.847, allocations: 24 kB / 0.7442 GB, free: 1.453 MB / 0.502 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001217/1.849, allocations: 123.7 kB / 0.7443 GB, free: 1.332 MB / 0.502 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004877/1.853, allocations: 1.394 MB / 0.7456 GB, free: 15.93 MB / 0.5176 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005777/1.859, allocations: 1.326 MB / 0.7469 GB, free: 14.6 MB / 0.5176 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.018e-05/1.859, allocations: 12 kB / 0.747 GB, free: 14.59 MB / 0.5176 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002913/1.86, allocations: 3.984 kB / 0.747 GB, free: 14.59 MB / 0.5176 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.951e-05/1.86, allocations: 33.94 kB / 0.747 GB, free: 14.55 MB / 0.5176 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02415/1.884, allocations: 4.155 MB / 0.751 GB, free: 10.35 MB / 0.5176 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008575/1.893, allocations: 2.179 MB / 0.7532 GB, free: 8.16 MB / 0.5176 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003825/1.897, allocations: 1.025 MB / 0.7542 GB, free: 7.141 MB / 0.5176 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002494/1.897, allocations: 17.3 kB / 0.7542 GB, free: 7.125 MB / 0.5176 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.845e-05/1.897, allocations: 51.83 kB / 0.7542 GB, free: 7.066 MB / 0.5176 GB Notification: Performance of pre-optimization done (n=134): time 9.304e-06/1.897, allocations: 0 / 0.7542 GB, free: 7.066 MB / 0.5176 GB Notification: Performance of matching and sorting (n=134): time 0.007848/1.905, allocations: 1.873 MB / 0.7561 GB, free: 5.184 MB / 0.5176 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.28e-05/1.905, allocations: 64.72 kB / 0.7561 GB, free: 5.109 MB / 0.5176 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/1.906, allocations: 425 kB / 0.7565 GB, free: 4.688 MB / 0.5176 GB Notification: Performance of collectPreVariables (initialization): time 0.0004834/1.907, allocations: 29.7 kB / 0.7566 GB, free: 4.652 MB / 0.5176 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004517/1.907, allocations: 277.7 kB / 0.7568 GB, free: 4.375 MB / 0.5176 GB Notification: Performance of collectInitialBindings (initialization): time 0.001071/1.908, allocations: 0.5081 MB / 0.7573 GB, free: 3.859 MB / 0.5176 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002684/1.909, allocations: 0 / 0.7573 GB, free: 3.859 MB / 0.5176 GB Notification: Performance of setup shared object (initialization): time 0.0004369/1.909, allocations: 411.8 kB / 0.7577 GB, free: 3.449 MB / 0.5176 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004084/1.913, allocations: 1.148 MB / 0.7588 GB, free: 2.301 MB / 0.5176 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004746/1.918, allocations: 1.34 MB / 0.7601 GB, free: 0.918 MB / 0.5176 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004921/1.923, allocations: 1.325 MB / 0.7614 GB, free: 15.59 MB / 0.5332 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.154e-05/1.923, allocations: 0 / 0.7614 GB, free: 15.59 MB / 0.5332 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.01089/1.934, allocations: 2.729 MB / 0.7641 GB, free: 12.85 MB / 0.5332 GB Notification: Performance of prepare postOptimizeDAE: time 4.473e-05/1.934, allocations: 8 kB / 0.7641 GB, free: 12.84 MB / 0.5332 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.926e-05/1.934, allocations: 4 kB / 0.7641 GB, free: 12.84 MB / 0.5332 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.439e-05/1.934, allocations: 11.95 kB / 0.7641 GB, free: 12.83 MB / 0.5332 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007417/1.942, allocations: 0.6202 MB / 0.7647 GB, free: 12.21 MB / 0.5332 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-05/1.942, allocations: 15.94 kB / 0.7647 GB, free: 12.19 MB / 0.5332 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002667/1.944, allocations: 198.7 kB / 0.7649 GB, free: 12 MB / 0.5332 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000443/1.945, allocations: 52 kB / 0.765 GB, free: 11.95 MB / 0.5332 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 (216): * Single equations (assignments): 216 * 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.000665/1.946, allocations: 136.5 kB / 0.7651 GB, free: 11.8 MB / 0.5332 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004903/1.946, allocations: 71.06 kB / 0.7652 GB, free: 11.73 MB / 0.5332 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00803/1.954, allocations: 2.167 MB / 0.7673 GB, free: 9.559 MB / 0.5332 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.403e-05/1.954, allocations: 12 kB / 0.7673 GB, free: 9.547 MB / 0.5332 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-05/1.954, allocations: 7.953 kB / 0.7673 GB, free: 9.539 MB / 0.5332 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-05/1.954, allocations: 7.922 kB / 0.7673 GB, free: 9.531 MB / 0.5332 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004244/1.959, allocations: 1.228 MB / 0.7685 GB, free: 8.266 MB / 0.5332 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.469e-05/1.959, allocations: 0 / 0.7685 GB, free: 8.266 MB / 0.5332 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007409/1.966, allocations: 0.5813 MB / 0.7691 GB, free: 7.684 MB / 0.5332 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.53e-05/1.966, allocations: 8 kB / 0.7691 GB, free: 7.676 MB / 0.5332 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005307/1.967, allocations: 67.91 kB / 0.7692 GB, free: 7.609 MB / 0.5332 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-05/1.967, allocations: 4 kB / 0.7692 GB, free: 7.605 MB / 0.5332 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.477e-06/1.967, allocations: 4 kB / 0.7692 GB, free: 7.602 MB / 0.5332 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09337/2.06, allocations: 21.95 MB / 0.7906 GB, free: 1.492 MB / 0.5489 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001707/2.062, allocations: 375.7 kB / 0.791 GB, free: 1.105 MB / 0.5489 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005362/2.063, allocations: 55.92 kB / 0.791 GB, free: 1.051 MB / 0.5489 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001868/2.064, allocations: 95.81 kB / 0.7911 GB, free: 0.957 MB / 0.5489 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004284/2.065, allocations: 85.14 kB / 0.7912 GB, free: 0.8711 MB / 0.5489 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002572/2.065, allocations: 35.98 kB / 0.7912 GB, free: 0.8359 MB / 0.5489 GB Notification: Performance of sorting global known variables: time 0.000734/2.066, allocations: 314.9 kB / 0.7915 GB, free: 0.5312 MB / 0.5489 GB Notification: Performance of sort global known variables: time 9.34e-07/2.066, allocations: 0 / 0.7915 GB, free: 0.5312 MB / 0.5489 GB Notification: Performance of remove unused functions: time 0.003136/2.069, allocations: 443.7 kB / 0.792 GB, free: 100 kB / 0.5489 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 65 (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) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 146 * 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.000671/2.07, allocations: 180.2 kB / 0.7921 GB, free: 15.91 MB / 0.5645 GB Notification: Performance of simCode: created initialization part: time 0.008337/2.078, allocations: 2.296 MB / 0.7944 GB, free: 13.62 MB / 0.5645 GB Notification: Performance of simCode: created event and clocks part: time 7.212e-06/2.078, allocations: 3.938 kB / 0.7944 GB, free: 13.61 MB / 0.5645 GB Notification: Performance of simCode: created simulation system equations: time 0.003658/2.082, allocations: 1.02 MB / 0.7954 GB, free: 12.59 MB / 0.5645 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007936/2.083, allocations: 13.88 kB / 0.7954 GB, free: 12.58 MB / 0.5645 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02146/2.104, allocations: 7.074 MB / 0.8023 GB, free: 5.449 MB / 0.5645 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002197/2.107, allocations: 1.264 MB / 0.8035 GB, free: 4.148 MB / 0.5645 GB Notification: Performance of simCode: alias equations: time 0.005603/2.112, allocations: 0.7676 MB / 0.8043 GB, free: 3.375 MB / 0.5645 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002042/2.114, allocations: 95.42 kB / 0.8044 GB, free: 3.281 MB / 0.5645 GB Notification: Performance of SimCode: time 1.862e-06/2.114, allocations: 0 / 0.8044 GB, free: 3.281 MB / 0.5645 GB Notification: Performance of Templates: time 0.07558/2.19, allocations: 18.9 MB / 0.8228 GB, free: 372 kB / 0.5801 GB