Notification: Performance of FrontEnd - loaded program: time 1.569e-05/1.58e-05, allocations: 0 / 0.5177 GB, free: 12.84 MB / 416.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.118, allocations: 76.95 MB / 0.5928 GB, free: 15.84 MB / 496.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6954/0.8135, allocations: 120.4 MB / 0.7104 GB, free: 36.58 MB / 0.5022 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001173/0.8136, allocations: 47.98 kB / 0.7104 GB, free: 36.54 MB / 0.5022 GB Notification: Performance of FrontEnd: time 0.04437/0.858, allocations: 10.78 MB / 0.721 GB, free: 25.75 MB / 0.5022 GB Notification: Performance of Transformations before backend: time 2.164e-05/0.8581, allocations: 8 kB / 0.721 GB, free: 25.75 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.001787/0.8599, allocations: 0.8419 MB / 0.7218 GB, free: 24.86 MB / 0.5022 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.8599, allocations: 8.031 kB / 0.7218 GB, free: 24.85 MB / 0.5022 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.8601, allocations: 43.53 kB / 0.7219 GB, free: 24.81 MB / 0.5022 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001434/0.8615, allocations: 0.5564 MB / 0.7224 GB, free: 24.21 MB / 0.5022 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.8615, allocations: 8 kB / 0.7224 GB, free: 24.21 MB / 0.5022 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002558/0.8618, allocations: 51.88 kB / 0.7225 GB, free: 24.16 MB / 0.5022 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008383/0.8627, allocations: 489.2 kB / 0.7229 GB, free: 23.68 MB / 0.5022 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008065/0.8635, allocations: 489.7 kB / 0.7234 GB, free: 23.2 MB / 0.5022 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.8635, allocations: 0 / 0.7234 GB, free: 23.2 MB / 0.5022 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.911e-05/0.8636, allocations: 0 / 0.7234 GB, free: 23.2 MB / 0.5022 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.525e-05/0.8636, allocations: 12.78 kB / 0.7234 GB, free: 23.18 MB / 0.5022 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003622/0.8672, allocations: 1.518 MB / 0.7249 GB, free: 21.62 MB / 0.5022 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001687/0.869, allocations: 0.8403 MB / 0.7257 GB, free: 20.77 MB / 0.5022 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005411/0.8695, allocations: 358.3 kB / 0.7261 GB, free: 20.42 MB / 0.5022 GB Notification: Performance of preOpt evalFunc (simulation): time 4.046e-05/0.8696, allocations: 12.38 kB / 0.7261 GB, free: 20.41 MB / 0.5022 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.8696, allocations: 35 kB / 0.7261 GB, free: 20.36 MB / 0.5022 GB Notification: Performance of pre-optimization done (n=52): time 3.165e-06/0.8696, allocations: 3.938 kB / 0.7261 GB, free: 20.36 MB / 0.5022 GB Notification: Performance of matching and sorting (n=52): time 0.001182/0.8708, allocations: 0.6613 MB / 0.7267 GB, free: 19.69 MB / 0.5022 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/0.8708, allocations: 59.84 kB / 0.7268 GB, free: 19.62 MB / 0.5022 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000284/0.8711, allocations: 265.9 kB / 0.7271 GB, free: 19.35 MB / 0.5022 GB Notification: Performance of collectPreVariables (initialization): time 5.21e-05/0.8712, allocations: 25.7 kB / 0.7271 GB, free: 19.32 MB / 0.5022 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.8713, allocations: 172.7 kB / 0.7272 GB, free: 19.14 MB / 0.5022 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.8715, allocations: 201 kB / 0.7274 GB, free: 18.95 MB / 0.5022 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.614e-05/0.8715, allocations: 0 / 0.7274 GB, free: 18.95 MB / 0.5022 GB Notification: Performance of setup shared object (initialization): time 8.597e-05/0.8716, allocations: 350.8 kB / 0.7278 GB, free: 18.59 MB / 0.5022 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006089/0.8722, allocations: 393.3 kB / 0.7281 GB, free: 18.21 MB / 0.5022 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006609/0.8729, allocations: 475.8 kB / 0.7286 GB, free: 17.72 MB / 0.5022 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007074/0.8736, allocations: 468.1 kB / 0.729 GB, free: 17.27 MB / 0.5022 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.457e-06/0.8737, allocations: 0 / 0.729 GB, free: 17.27 MB / 0.5022 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002244/0.8759, allocations: 0.9523 MB / 0.73 GB, free: 16.31 MB / 0.5022 GB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.876, allocations: 8 kB / 0.73 GB, free: 16.3 MB / 0.5022 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.876, allocations: 3.984 kB / 0.73 GB, free: 16.3 MB / 0.5022 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.842e-05/0.876, allocations: 4 kB / 0.73 GB, free: 16.29 MB / 0.5022 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001435/0.8775, allocations: 231.7 kB / 0.7302 GB, free: 16.07 MB / 0.5022 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/0.8775, allocations: 7.984 kB / 0.7302 GB, free: 16.06 MB / 0.5022 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004563/0.878, allocations: 71.59 kB / 0.7303 GB, free: 15.99 MB / 0.5022 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.641e-05/0.8781, allocations: 31.89 kB / 0.7303 GB, free: 15.96 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.0001385/0.8782, allocations: 112.8 kB / 0.7304 GB, free: 15.84 MB / 0.5022 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.8783, allocations: 31.62 kB / 0.7305 GB, free: 15.81 MB / 0.5022 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00128/0.8796, allocations: 0.7472 MB / 0.7312 GB, free: 15.06 MB / 0.5022 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.665e-06/0.8797, allocations: 8 kB / 0.7312 GB, free: 15.05 MB / 0.5022 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.915e-06/0.8797, allocations: 0 / 0.7312 GB, free: 15.05 MB / 0.5022 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.581e-06/0.8797, allocations: 3.984 kB / 0.7312 GB, free: 15.05 MB / 0.5022 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000731/0.8804, allocations: 0.5251 MB / 0.7317 GB, free: 14.48 MB / 0.5022 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.681e-06/0.8805, allocations: 4 kB / 0.7317 GB, free: 14.48 MB / 0.5022 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001351/0.8818, allocations: 211.7 kB / 0.7319 GB, free: 14.27 MB / 0.5022 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.245e-06/0.8818, allocations: 0 / 0.7319 GB, free: 14.27 MB / 0.5022 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.367e-05/0.8819, allocations: 23.97 kB / 0.7319 GB, free: 14.25 MB / 0.5022 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.568e-06/0.8819, allocations: 4 kB / 0.7319 GB, free: 14.25 MB / 0.5022 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.452e-06/0.882, allocations: 0 / 0.7319 GB, free: 14.25 MB / 0.5022 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01418/0.8961, allocations: 7.756 MB / 0.7395 GB, free: 6.352 MB / 0.5022 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002644/0.8964, allocations: 192.5 kB / 0.7397 GB, free: 6.145 MB / 0.5022 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.8966, allocations: 11.98 kB / 0.7397 GB, free: 6.133 MB / 0.5022 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003873/0.897, allocations: 35.92 kB / 0.7397 GB, free: 6.098 MB / 0.5022 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.644e-05/0.8971, allocations: 28.41 kB / 0.7398 GB, free: 6.07 MB / 0.5022 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-05/0.8971, allocations: 15.98 kB / 0.7398 GB, free: 6.055 MB / 0.5022 GB Notification: Performance of sorting global known variables: time 0.0001964/0.8973, allocations: 206 kB / 0.74 GB, free: 5.855 MB / 0.5022 GB Notification: Performance of sort global known variables: time 6.45e-07/0.8973, allocations: 0 / 0.74 GB, free: 5.855 MB / 0.5022 GB Notification: Performance of remove unused functions: time 0.0008019/0.8981, allocations: 163.8 kB / 0.7401 GB, free: 5.695 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.0001627/0.8983, allocations: 121.4 kB / 0.7403 GB, free: 5.57 MB / 0.5022 GB Notification: Performance of simCode: created initialization part: time 0.001237/0.8996, allocations: 0.7817 MB / 0.741 GB, free: 4.789 MB / 0.5022 GB Notification: Performance of simCode: created event and clocks part: time 2.666e-06/0.8996, allocations: 4.062 kB / 0.741 GB, free: 4.785 MB / 0.5022 GB Notification: Performance of simCode: created simulation system equations: time 0.0005096/0.9001, allocations: 357.4 kB / 0.7414 GB, free: 4.438 MB / 0.5022 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.9004, allocations: 8.516 kB / 0.7414 GB, free: 4.43 MB / 0.5022 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003591/0.904, allocations: 2.75 MB / 0.7441 GB, free: 1.629 MB / 0.5022 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/0.9044, allocations: 0.9174 MB / 0.745 GB, free: 0.6797 MB / 0.5022 GB Notification: Performance of simCode: alias equations: time 0.0008744/0.9053, allocations: 292.9 kB / 0.7452 GB, free: 404 kB / 0.5022 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003016/0.9056, allocations: 39.44 kB / 0.7453 GB, free: 364 kB / 0.5022 GB Notification: Performance of SimCode: time 2.507e-06/0.9056, allocations: 0 / 0.7453 GB, free: 364 kB / 0.5022 GB Notification: Performance of Templates: time 0.01587/0.9215, allocations: 6.326 MB / 0.7515 GB, free: 10.02 MB / 0.5178 GB