Notification: Performance of FrontEnd - loaded program: time 2.452e-05/2.478e-05, allocations: 0.9375 kB / 0.5177 GB, free: 12.8 MB / 416.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2763, allocations: 76.95 MB / 0.5929 GB, free: 15.78 MB / 496.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.351/1.627, allocations: 120.5 MB / 0.7105 GB, free: 36.5 MB / 0.5022 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001747/1.628, allocations: 51.97 kB / 0.7105 GB, free: 36.45 MB / 0.5022 GB Notification: Performance of FrontEnd: time 0.2759/1.903, allocations: 41.57 MB / 0.7511 GB, free: 10.84 MB / 0.5178 GB Notification: Performance of Transformations before backend: time 0.0001005/1.904, allocations: 24 kB / 0.7512 GB, free: 10.82 MB / 0.5178 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.01309/1.917, allocations: 2.746 MB / 0.7538 GB, free: 8.02 MB / 0.5178 GB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/1.917, allocations: 14.2 kB / 0.7539 GB, free: 8.008 MB / 0.5178 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008833/1.918, allocations: 122.7 kB / 0.754 GB, free: 7.887 MB / 0.5178 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01789/1.936, allocations: 2.397 MB / 0.7563 GB, free: 5.445 MB / 0.5178 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/1.936, allocations: 32 kB / 0.7563 GB, free: 5.414 MB / 0.5178 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001577/1.937, allocations: 171.5 kB / 0.7565 GB, free: 5.246 MB / 0.5178 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02708/1.964, allocations: 1.823 MB / 0.7583 GB, free: 3.418 MB / 0.5178 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007806/1.972, allocations: 1.893 MB / 0.7601 GB, free: 1.496 MB / 0.5178 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.09e-05/1.972, allocations: 3.938 kB / 0.7601 GB, free: 1.492 MB / 0.5178 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003316/1.973, allocations: 4 kB / 0.7601 GB, free: 1.488 MB / 0.5178 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.349e-05/1.973, allocations: 34.11 kB / 0.7602 GB, free: 1.453 MB / 0.5178 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03551/2.008, allocations: 6.296 MB / 0.7663 GB, free: 11.1 MB / 0.5334 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01047/2.019, allocations: 3.048 MB / 0.7693 GB, free: 8.047 MB / 0.5334 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004607/2.024, allocations: 1.37 MB / 0.7706 GB, free: 6.676 MB / 0.5334 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000273/2.024, allocations: 21.3 kB / 0.7707 GB, free: 6.656 MB / 0.5334 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.545e-05/2.024, allocations: 51.88 kB / 0.7707 GB, free: 6.598 MB / 0.5334 GB Notification: Performance of pre-optimization done (n=166): time 9.869e-06/2.024, allocations: 0 / 0.7707 GB, free: 6.598 MB / 0.5334 GB Notification: Performance of matching and sorting (n=166): time 0.009631/2.034, allocations: 2.594 MB / 0.7732 GB, free: 3.988 MB / 0.5334 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.751e-05/2.034, allocations: 68.72 kB / 0.7733 GB, free: 3.91 MB / 0.5334 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001724/2.036, allocations: 433 kB / 0.7737 GB, free: 3.484 MB / 0.5334 GB Notification: Performance of collectPreVariables (initialization): time 0.0007087/2.036, allocations: 25.7 kB / 0.7737 GB, free: 3.453 MB / 0.5334 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005947/2.037, allocations: 318.2 kB / 0.7741 GB, free: 3.133 MB / 0.5334 GB Notification: Performance of collectInitialBindings (initialization): time 0.001445/2.038, allocations: 0.6507 MB / 0.7747 GB, free: 2.473 MB / 0.5334 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000594/2.039, allocations: 4 kB / 0.7747 GB, free: 2.469 MB / 0.5334 GB Notification: Performance of setup shared object (initialization): time 0.0004894/2.04, allocations: 431.1 kB / 0.7751 GB, free: 2.039 MB / 0.5334 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005972/2.046, allocations: 1.745 MB / 0.7768 GB, free: 296 kB / 0.5334 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00985/2.056, allocations: 1.959 MB / 0.7787 GB, free: 14.28 MB / 0.549 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006503/2.062, allocations: 1.974 MB / 0.7806 GB, free: 12.28 MB / 0.549 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.482e-05/2.062, allocations: 3.953 kB / 0.7807 GB, free: 12.28 MB / 0.549 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.01622/2.078, allocations: 4.015 MB / 0.7846 GB, free: 8.211 MB / 0.549 GB Notification: Performance of prepare postOptimizeDAE: time 4.427e-05/2.079, allocations: 4.406 kB / 0.7846 GB, free: 8.207 MB / 0.549 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.295e-05/2.079, allocations: 7.984 kB / 0.7846 GB, free: 8.199 MB / 0.549 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.52e-05/2.079, allocations: 16 kB / 0.7846 GB, free: 8.184 MB / 0.549 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009128/2.088, allocations: 0.9217 MB / 0.7855 GB, free: 7.262 MB / 0.549 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.758e-05/2.088, allocations: 19.94 kB / 0.7855 GB, free: 7.242 MB / 0.549 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003486/2.091, allocations: 281.9 kB / 0.7858 GB, free: 6.965 MB / 0.549 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00091/2.092, allocations: 71.98 kB / 0.7859 GB, free: 6.895 MB / 0.549 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 (280): * Single equations (assignments): 280 * 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.001131/2.094, allocations: 132.5 kB / 0.786 GB, free: 6.758 MB / 0.549 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005559/2.094, allocations: 86.92 kB / 0.7861 GB, free: 6.672 MB / 0.549 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01453/2.109, allocations: 3.001 MB / 0.789 GB, free: 3.656 MB / 0.549 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.661e-05/2.109, allocations: 20 kB / 0.789 GB, free: 3.637 MB / 0.549 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/2.109, allocations: 0 / 0.789 GB, free: 3.637 MB / 0.549 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.749e-05/2.109, allocations: 7.969 kB / 0.789 GB, free: 3.629 MB / 0.549 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005425/2.114, allocations: 1.65 MB / 0.7906 GB, free: 1.941 MB / 0.549 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.321e-05/2.114, allocations: 0 / 0.7906 GB, free: 1.941 MB / 0.549 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01119/2.126, allocations: 0.8817 MB / 0.7915 GB, free: 1.059 MB / 0.549 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.784e-05/2.126, allocations: 7.953 kB / 0.7915 GB, free: 1.051 MB / 0.549 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004828/2.131, allocations: 107.8 kB / 0.7916 GB, free: 0.9453 MB / 0.549 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.352e-05/2.131, allocations: 4 kB / 0.7916 GB, free: 0.9414 MB / 0.549 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.645e-06/2.131, allocations: 4 kB / 0.7916 GB, free: 0.9375 MB / 0.549 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1619/2.293, allocations: 32.39 MB / 0.8232 GB, free: 364 kB / 0.5803 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002099/2.295, allocations: 487.4 kB / 0.8237 GB, free: 15.86 MB / 0.5959 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008663/2.296, allocations: 83.89 kB / 0.8238 GB, free: 15.78 MB / 0.5959 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002844/2.299, allocations: 151.7 kB / 0.8239 GB, free: 15.63 MB / 0.5959 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007473/2.299, allocations: 101.8 kB / 0.824 GB, free: 15.53 MB / 0.5959 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004632/2.3, allocations: 47.98 kB / 0.8241 GB, free: 15.48 MB / 0.5959 GB Notification: Performance of sorting global known variables: time 0.0007665/2.301, allocations: 306.9 kB / 0.8244 GB, free: 15.19 MB / 0.5959 GB Notification: Performance of sort global known variables: time 1.061e-06/2.301, allocations: 0 / 0.8244 GB, free: 15.19 MB / 0.5959 GB Notification: Performance of remove unused functions: time 0.004225/2.305, allocations: 0.5854 MB / 0.8249 GB, free: 14.6 MB / 0.5959 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 97 (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].T_s[9],generator[1].T_s[10],generator[1].T_s[11],generator[1].T_s[12],generator[1].T_s[13],generator[1].T_s[14],generator[1].T_s[15],generator[1].T_s[16],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].T_s[9],generator[2].T_s[10],generator[2].T_s[11],generator[2].T_s[12],generator[2].T_s[13],generator[2].T_s[14],generator[2].T_s[15],generator[2].T_s[16],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].T_s[9],generator[3].T_s[10],generator[3].T_s[11],generator[3].T_s[12],generator[3].T_s[13],generator[3].T_s[14],generator[3].T_s[15],generator[3].T_s[16],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].T_s[9],generator[4].T_s[10],generator[4].T_s[11],generator[4].T_s[12],generator[4].T_s[13],generator[4].T_s[14],generator[4].T_s[15],generator[4].T_s[16],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 (178): * Single equations (assignments): 178 * 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.0008621/2.306, allocations: 218.9 kB / 0.8251 GB, free: 14.38 MB / 0.5959 GB Notification: Performance of simCode: created initialization part: time 0.01551/2.321, allocations: 3.332 MB / 0.8284 GB, free: 11.05 MB / 0.5959 GB Notification: Performance of simCode: created event and clocks part: time 7.677e-06/2.321, allocations: 0.8125 kB / 0.8284 GB, free: 11.05 MB / 0.5959 GB Notification: Performance of simCode: created simulation system equations: time 0.004852/2.326, allocations: 1.405 MB / 0.8298 GB, free: 9.641 MB / 0.5959 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/2.327, allocations: 21.83 kB / 0.8298 GB, free: 9.621 MB / 0.5959 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03661/2.364, allocations: 10.01 MB / 0.8396 GB, free: 15.54 MB / 0.6115 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00255/2.367, allocations: 1.417 MB / 0.841 GB, free: 14.1 MB / 0.6115 GB Notification: Performance of simCode: alias equations: time 0.007913/2.375, allocations: 1.102 MB / 0.842 GB, free: 12.99 MB / 0.6115 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002554/2.377, allocations: 115.4 kB / 0.8421 GB, free: 12.88 MB / 0.6115 GB Notification: Performance of SimCode: time 3.104e-06/2.377, allocations: 0 / 0.8421 GB, free: 12.88 MB / 0.6115 GB Notification: Performance of Templates: time 0.6876/3.065, allocations: 27.64 MB / 0.8691 GB, free: 194.4 MB / 0.6115 GB