Notification: Performance of FrontEnd - loaded program: time 1.483e-05/1.497e-05, allocations: 0 / 0.5177 GB, free: 13.69 MB / 416.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1185, allocations: 76.94 MB / 0.5929 GB, free: 0.6758 MB / 480.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7037/0.8223, allocations: 120.5 MB / 0.7105 GB, free: 37.28 MB / 0.5022 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000122/0.8227, allocations: 54.23 kB / 0.7106 GB, free: 37.23 MB / 0.5022 GB Notification: Performance of FrontEnd: time 0.04385/0.8667, allocations: 10.8 MB / 0.7211 GB, free: 26.45 MB / 0.5022 GB Notification: Performance of Transformations before backend: time 2.101e-05/0.8667, allocations: 8 kB / 0.7211 GB, free: 26.44 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001758/0.8685, allocations: 0.8496 MB / 0.7219 GB, free: 25.54 MB / 0.5022 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.8686, allocations: 8.031 kB / 0.7219 GB, free: 25.54 MB / 0.5022 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.8687, allocations: 39.53 kB / 0.722 GB, free: 25.5 MB / 0.5022 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001431/0.8701, allocations: 0.5565 MB / 0.7225 GB, free: 24.9 MB / 0.5022 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.8702, allocations: 8 kB / 0.7225 GB, free: 24.89 MB / 0.5022 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002491/0.8704, allocations: 55.81 kB / 0.7226 GB, free: 24.84 MB / 0.5022 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008412/0.8713, allocations: 493.2 kB / 0.7231 GB, free: 24.36 MB / 0.5022 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008074/0.8721, allocations: 485.8 kB / 0.7235 GB, free: 23.88 MB / 0.5022 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.8721, allocations: 0 / 0.7235 GB, free: 23.88 MB / 0.5022 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.097e-05/0.8722, allocations: 4 kB / 0.7235 GB, free: 23.88 MB / 0.5022 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.519e-05/0.8722, allocations: 16.77 kB / 0.7235 GB, free: 23.86 MB / 0.5022 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003611/0.8759, allocations: 1.521 MB / 0.725 GB, free: 22.3 MB / 0.5022 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001674/0.8776, allocations: 0.8286 MB / 0.7258 GB, free: 21.45 MB / 0.5022 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005492/0.8781, allocations: 362.3 kB / 0.7262 GB, free: 21.1 MB / 0.5022 GB Notification: Performance of preOpt evalFunc (simulation): time 4.229e-05/0.8782, allocations: 8.438 kB / 0.7262 GB, free: 21.09 MB / 0.5022 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.8782, allocations: 35 kB / 0.7262 GB, free: 21.05 MB / 0.5022 GB Notification: Performance of pre-optimization done (n=52): time 3.308e-06/0.8782, allocations: 3.938 kB / 0.7262 GB, free: 21.04 MB / 0.5022 GB Notification: Performance of matching and sorting (n=52): time 0.001191/0.8794, allocations: 0.6613 MB / 0.7269 GB, free: 20.38 MB / 0.5022 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.246e-05/0.8795, allocations: 59.84 kB / 0.7269 GB, free: 20.3 MB / 0.5022 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/0.8797, allocations: 265.9 kB / 0.7272 GB, free: 20.03 MB / 0.5022 GB Notification: Performance of collectPreVariables (initialization): time 5.084e-05/0.8798, allocations: 25.7 kB / 0.7272 GB, free: 20 MB / 0.5022 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.8799, allocations: 172.7 kB / 0.7274 GB, free: 19.83 MB / 0.5022 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.8801, allocations: 205 kB / 0.7276 GB, free: 19.62 MB / 0.5022 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-05/0.8801, allocations: 0 / 0.7276 GB, free: 19.62 MB / 0.5022 GB Notification: Performance of setup shared object (initialization): time 8.763e-05/0.8802, allocations: 350.8 kB / 0.7279 GB, free: 19.27 MB / 0.5022 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006123/0.8809, allocations: 393.2 kB / 0.7283 GB, free: 18.89 MB / 0.5022 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006747/0.8815, allocations: 477.6 kB / 0.7287 GB, free: 18.4 MB / 0.5022 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006988/0.8823, allocations: 460.2 kB / 0.7292 GB, free: 17.95 MB / 0.5022 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.336e-06/0.8823, allocations: 0 / 0.7292 GB, free: 17.95 MB / 0.5022 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00159/0.8839, allocations: 0.9523 MB / 0.7301 GB, free: 16.99 MB / 0.5022 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.8839, allocations: 12.22 kB / 0.7301 GB, free: 16.98 MB / 0.5022 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.524e-06/0.8839, allocations: 3.984 kB / 0.7301 GB, free: 16.98 MB / 0.5022 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.884, allocations: 4 kB / 0.7301 GB, free: 16.97 MB / 0.5022 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.8851, allocations: 227.7 kB / 0.7303 GB, free: 16.75 MB / 0.5022 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489e-05/0.8851, allocations: 7.984 kB / 0.7303 GB, free: 16.74 MB / 0.5022 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004417/0.8856, allocations: 71.38 kB / 0.7304 GB, free: 16.67 MB / 0.5022 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.71e-05/0.8857, allocations: 29.75 kB / 0.7304 GB, free: 16.64 MB / 0.5022 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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.0001322/0.8858, allocations: 112.8 kB / 0.7305 GB, free: 16.53 MB / 0.5022 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.842e-05/0.8859, allocations: 39.61 kB / 0.7306 GB, free: 16.49 MB / 0.5022 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001273/0.8872, allocations: 0.7511 MB / 0.7313 GB, free: 15.73 MB / 0.5022 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.907e-06/0.8872, allocations: 8 kB / 0.7313 GB, free: 15.72 MB / 0.5022 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.8872, allocations: 0 / 0.7313 GB, free: 15.72 MB / 0.5022 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.21e-06/0.8873, allocations: 3.984 kB / 0.7313 GB, free: 15.71 MB / 0.5022 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007302/0.888, allocations: 0.5212 MB / 0.7318 GB, free: 15.16 MB / 0.5022 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.851e-06/0.888, allocations: 0 / 0.7318 GB, free: 15.16 MB / 0.5022 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001326/0.8894, allocations: 211.8 kB / 0.732 GB, free: 14.95 MB / 0.5022 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.509e-06/0.8894, allocations: 0 / 0.732 GB, free: 14.95 MB / 0.5022 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.599e-05/0.8895, allocations: 23.97 kB / 0.7321 GB, free: 14.93 MB / 0.5022 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.868e-06/0.8895, allocations: 8 kB / 0.7321 GB, free: 14.92 MB / 0.5022 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.511e-06/0.8895, allocations: 0 / 0.7321 GB, free: 14.92 MB / 0.5022 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01467/0.9042, allocations: 7.756 MB / 0.7396 GB, free: 7.031 MB / 0.5022 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002587/0.9045, allocations: 184.5 kB / 0.7398 GB, free: 6.832 MB / 0.5022 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.9046, allocations: 15.98 kB / 0.7398 GB, free: 6.816 MB / 0.5022 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003878/0.905, allocations: 35.92 kB / 0.7399 GB, free: 6.781 MB / 0.5022 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.303e-05/0.9051, allocations: 28.41 kB / 0.7399 GB, free: 6.754 MB / 0.5022 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.805e-05/0.9051, allocations: 19.98 kB / 0.7399 GB, free: 6.734 MB / 0.5022 GB Notification: Performance of sorting global known variables: time 0.000202/0.9053, allocations: 201.9 kB / 0.7401 GB, free: 6.539 MB / 0.5022 GB Notification: Performance of sort global known variables: time 6.41e-07/0.9054, allocations: 0 / 0.7401 GB, free: 6.539 MB / 0.5022 GB Notification: Performance of remove unused functions: time 0.0007974/0.9062, allocations: 167.8 kB / 0.7403 GB, free: 6.375 MB / 0.5022 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 25 (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) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 54 * 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.0001673/0.9063, allocations: 129.4 kB / 0.7404 GB, free: 6.242 MB / 0.5022 GB Notification: Performance of simCode: created initialization part: time 0.001246/0.9076, allocations: 0.7775 MB / 0.7412 GB, free: 5.465 MB / 0.5022 GB Notification: Performance of simCode: created event and clocks part: time 2.666e-06/0.9076, allocations: 0 / 0.7412 GB, free: 5.465 MB / 0.5022 GB Notification: Performance of simCode: created simulation system equations: time 0.0005191/0.9082, allocations: 353.4 kB / 0.7415 GB, free: 5.121 MB / 0.5022 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.9084, allocations: 12.95 kB / 0.7415 GB, free: 5.109 MB / 0.5022 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003566/0.912, allocations: 2.75 MB / 0.7442 GB, free: 2.316 MB / 0.5022 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.9124, allocations: 0.9174 MB / 0.7451 GB, free: 1.363 MB / 0.5022 GB Notification: Performance of simCode: alias equations: time 0.0008643/0.9133, allocations: 288.9 kB / 0.7454 GB, free: 1.082 MB / 0.5022 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003027/0.9136, allocations: 43.44 kB / 0.7454 GB, free: 1.039 MB / 0.5022 GB Notification: Performance of SimCode: time 1.673e-06/0.9136, allocations: 0 / 0.7454 GB, free: 1.039 MB / 0.5022 GB Notification: Performance of Templates: time 0.01872/0.9323, allocations: 6.329 MB / 0.7516 GB, free: 10.71 MB / 0.5178 GB