Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.Islanding,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.Islanding") Notification: Performance of loadModel(PowerSystems): time 2.319/2.319, allocations: 232.9 MB / 248.1 MB, free: 10.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.869e-05/2.863e-05, allocations: 7.984 kB / 304.4 MB, free: 1.965 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3634, allocations: 53.21 MB / 357.6 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Islanding): time 0.01652/0.38, allocations: 9.844 MB / 367.4 MB, free: 6.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01436/0.3944, allocations: 5.695 MB / 373.1 MB, free: 2.012 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002688/0.3972, allocations: 79.56 kB / 373.2 MB, free: 1.934 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009658/0.4069, allocations: 2.478 MB / 375.7 MB, free: 15.45 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003156/0.4102, allocations: 0.58 MB / 376.3 MB, free: 14.87 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002151/0.4123, allocations: 475.2 kB / 376.7 MB, free: 14.4 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002472/0.4148, allocations: 0.785 MB / 377.5 MB, free: 13.62 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002308/0.4172, allocations: 0.9529 MB / 378.5 MB, free: 12.63 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001323/0.4185, allocations: 0.5218 MB / 379 MB, free: 12.11 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001208/0.4198, allocations: 0.5568 MB / 379.5 MB, free: 11.55 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009427/0.4207, allocations: 291.6 kB / 379.8 MB, free: 11.26 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002757/0.421, allocations: 48 kB / 379.9 MB, free: 11.21 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006293/0.4216, allocations: 454.7 kB / 380.3 MB, free: 10.77 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004016/0.4221, allocations: 116 kB / 380.4 MB, free: 10.66 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002625/0.4247, allocations: 1.695 MB / 382.1 MB, free: 8.957 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.4247, allocations: 0 / 382.1 MB, free: 8.957 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.4248, allocations: 3.938 kB / 382.1 MB, free: 8.953 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.401e-05/0.4248, allocations: 0 / 382.1 MB, free: 8.953 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 286 * Number of variables: 286 Notification: Performance of Generate backend data structure: time 0.00449/0.4293, allocations: 1.407 MB / 383.5 MB, free: 7.492 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.4294, allocations: 8.031 kB / 383.5 MB, free: 7.484 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00149/0.4309, allocations: 233.9 kB / 383.8 MB, free: 7.254 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003872/0.4348, allocations: 1.12 MB / 384.9 MB, free: 6.086 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/0.4349, allocations: 78.14 kB / 385 MB, free: 6.008 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005361/0.4355, allocations: 144 kB / 385.1 MB, free: 5.867 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003732/0.4392, allocations: 1.432 MB / 386.5 MB, free: 4.355 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.946e-05/0.4393, allocations: 3.906 kB / 386.5 MB, free: 4.352 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001728/0.4395, allocations: 44 kB / 386.6 MB, free: 4.309 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002689/0.4398, allocations: 81.98 kB / 386.7 MB, free: 4.227 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003492/0.4433, allocations: 1.191 MB / 387.8 MB, free: 3.027 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01294/0.4563, allocations: 5.497 MB / 393.3 MB, free: 13.28 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002681/0.459, allocations: 0.9824 MB / 394.3 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.963e-05/0.4591, allocations: 16.77 kB / 394.3 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.4592, allocations: 43.22 kB / 394.4 MB, free: 12.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=75): time 3.697e-06/0.4592, allocations: 224 / 394.4 MB, free: 12.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=85): time 0.01392/0.4731, allocations: 4.292 MB / 398.7 MB, free: 7.715 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.4733, allocations: 163.2 kB / 398.8 MB, free: 7.52 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002038/0.4753, allocations: 0.8043 MB / 399.6 MB, free: 6.695 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001598/0.4755, allocations: 41.7 kB / 399.7 MB, free: 6.648 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005656/0.4761, allocations: 0.6108 MB / 400.3 MB, free: 6.031 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003862/0.4765, allocations: 303.6 kB / 400.6 MB, free: 5.73 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.504e-05/0.4766, allocations: 20 kB / 400.6 MB, free: 5.711 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.4768, allocations: 354.8 kB / 401 MB, free: 5.355 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001138/0.4779, allocations: 381.8 kB / 401.3 MB, free: 4.984 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001366/0.4793, allocations: 0.6232 MB / 402 MB, free: 4.262 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001365/0.4807, allocations: 490.8 kB / 402.4 MB, free: 3.785 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.4807, allocations: 0 / 402.4 MB, free: 3.785 MB / 330.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.007095/0.4878, allocations: 1.916 MB / 404.3 MB, free: 1.816 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001084/0.489, allocations: 2.619 MB / 407 MB, free: 14.99 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/0.489, allocations: 4 kB / 407 MB, free: 14.99 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005046/0.494, allocations: 0.8245 MB / 407.8 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.4952, allocations: 147.8 kB / 407.9 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006954/0.5022, allocations: 4.355 MB / 412.3 MB, free: 9.359 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/0.5039, allocations: 80.38 kB / 412.4 MB, free: 9.281 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/0.504, allocations: 43.98 kB / 412.4 MB, free: 9.238 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.504, allocations: 7.938 kB / 412.4 MB, free: 9.23 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006015/0.5101, allocations: 1.7 MB / 414.1 MB, free: 7.488 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.424e-05/0.5101, allocations: 8 kB / 414.1 MB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00416/0.5143, allocations: 0.731 MB / 414.9 MB, free: 6.742 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/0.5155, allocations: 151.7 kB / 415 MB, free: 6.594 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02157/0.5371, allocations: 9.35 MB / 424.4 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008804/0.538, allocations: 35.98 kB / 424.4 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.5382, allocations: 39.98 kB / 424.4 MB, free: 12.76 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 72 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {10 38} Notification: Performance of prepare postOptimizeDAE: time 0.001006/0.5392, allocations: 393.8 kB / 424.8 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003565/0.5395, allocations: 118.5 kB / 424.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003285/0.5428, allocations: 1.315 MB / 426.3 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-05/0.5429, allocations: 12 kB / 426.3 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.5429, allocations: 4 kB / 426.3 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.617e-05/0.543, allocations: 7.938 kB / 426.3 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006233/0.5492, allocations: 2.578 MB / 428.9 MB, free: 8.137 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.5493, allocations: 4 kB / 428.9 MB, free: 8.133 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001821/0.5511, allocations: 175.8 kB / 429 MB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003823/0.5515, allocations: 86.5 kB / 429.1 MB, free: 7.867 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/0.5516, allocations: 27.98 kB / 429.1 MB, free: 7.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003896/0.5555, allocations: 4.121 MB / 433.3 MB, free: 3.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.5556, allocations: 4.25 kB / 433.3 MB, free: 3.316 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004561/0.5601, allocations: 1.906 MB / 435.2 MB, free: 1.312 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007261/0.5609, allocations: 271.6 kB / 435.4 MB, free: 1.027 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000273/0.5612, allocations: 24 kB / 435.5 MB, free: 1.004 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/0.5624, allocations: 55.91 kB / 435.5 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/0.5626, allocations: 52.91 kB / 435.6 MB, free: 0.8984 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.124e-05/0.5627, allocations: 28 kB / 435.6 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001553/0.5642, allocations: 0.6138 MB / 436.2 MB, free: 252 kB / 362.7 MB Notification: Performance of sort global known variables: time 4.9e-07/0.5642, allocations: 0 / 436.2 MB, free: 252 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.002416/0.5667, allocations: 0.4962 MB / 436.7 MB, free: 15.75 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (turboGen.generator.i_s[1],turboGen.generator.i_s[2],turboGen.generator.i_s[3],turboGen.generator.i_rd[1],turboGen.generator.i_rq[1],turboGen.governor.speedReg.x_scaled[1],turboGen.rotor.phi,turboGen.rotor.w,capSym.capSym.cap1.v,capSym.capSym.cap2.v,zLoadDC.i,limPID_DC.I.y,limPID_DC.D.x) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004657/0.5672, allocations: 165.8 kB / 436.9 MB, free: 15.58 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008053/0.5752, allocations: 2.608 MB / 439.5 MB, free: 12.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.5753, allocations: 0 / 439.5 MB, free: 12.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001979/0.5773, allocations: 0.8181 MB / 440.3 MB, free: 12.06 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001904/0.5792, allocations: 231.1 kB / 440.5 MB, free: 11.83 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009654/0.5889, allocations: 3.922 MB / 444.4 MB, free: 7.875 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001336/0.5903, allocations: 1.314 MB / 445.8 MB, free: 6.531 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000611/0.5909, allocations: 83.41 kB / 445.8 MB, free: 6.449 MB / 378.7 MB Notification: Performance of SimCode: time 1.203e-06/0.5909, allocations: 0 / 445.8 MB, free: 6.449 MB / 378.7 MB Notification: Performance of Templates: time 0.06049/0.6514, allocations: 31.76 MB / 477.6 MB, free: 6.664 MB / 410.7 MB