Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") Notification: Performance of loadModel(PowerSystems): time 2.246/2.246, allocations: 233 MB / 245.6 MB, free: 14.77 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.348e-05/3.362e-05, allocations: 7.938 kB / 301.3 MB, free: 7.973 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08935/0.08941, allocations: 53.24 MB / 354.5 MB, free: 2.621 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4118/0.5013, allocations: 108.1 MB / 462.6 MB, free: 9.973 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003247/0.5017, allocations: 91.94 kB / 462.6 MB, free: 9.883 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1299/0.6316, allocations: 29.95 MB / 492.6 MB, free: 11.6 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.447e-06/0.6317, allocations: 0 / 492.6 MB, free: 11.6 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.297e-05/0.6317, allocations: 16 kB / 492.6 MB, free: 11.58 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.00246/0.6342, allocations: 1.041 MB / 493.7 MB, free: 10.49 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.6343, allocations: 12.03 kB / 493.7 MB, free: 10.48 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001524/0.6358, allocations: 194.5 kB / 493.9 MB, free: 10.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004474/0.6403, allocations: 1.196 MB / 495.1 MB, free: 9.051 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.837e-05/0.6404, allocations: 61.98 kB / 495.1 MB, free: 8.992 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002584/0.6407, allocations: 93.06 kB / 495.2 MB, free: 8.902 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002267/0.643, allocations: 1.054 MB / 496.3 MB, free: 7.801 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.661e-05/0.6431, allocations: 7.938 kB / 496.3 MB, free: 7.793 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/0.6432, allocations: 32 kB / 496.3 MB, free: 7.762 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001474/0.6434, allocations: 69.97 kB / 496.4 MB, free: 7.691 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001905/0.6453, allocations: 0.8198 MB / 497.2 MB, free: 6.871 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007393/0.6527, allocations: 4.012 MB / 0.4894 GB, free: 2.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008203/0.6535, allocations: 419 kB / 0.4898 GB, free: 2.215 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005378/0.6541, allocations: 271.4 kB / 0.4901 GB, free: 1.945 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.838e-05/0.6542, allocations: 8.422 kB / 0.4901 GB, free: 1.938 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/0.6542, allocations: 43 kB / 0.4902 GB, free: 1.887 MB / 426.7 MB Notification: Performance of pre-optimization done (n=48): time 4.118e-06/0.6542, allocations: 4 kB / 0.4902 GB, free: 1.883 MB / 426.7 MB Notification: Performance of matching and sorting (n=52): time 0.003884/0.6581, allocations: 1.571 MB / 0.4917 GB, free: 268 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.834e-05/0.6582, allocations: 82.2 kB / 0.4918 GB, free: 168 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009091/0.6592, allocations: 0.5034 MB / 0.4923 GB, free: 15.65 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.903e-05/0.6592, allocations: 37.7 kB / 0.4923 GB, free: 15.61 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004136/0.6597, allocations: 0.4891 MB / 0.4928 GB, free: 15.11 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000214/0.6599, allocations: 193.3 kB / 0.493 GB, free: 14.92 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.915e-05/0.66, allocations: 12 kB / 0.493 GB, free: 14.91 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.6602, allocations: 346.8 kB / 0.4933 GB, free: 14.56 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005425/0.6607, allocations: 247.1 kB / 0.4935 GB, free: 14.32 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007358/0.6615, allocations: 461.7 kB / 0.494 GB, free: 13.78 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007223/0.6622, allocations: 339 kB / 0.4943 GB, free: 13.45 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.136e-06/0.6622, allocations: 4 kB / 0.4943 GB, free: 13.44 MB / 442.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002613/0.6648, allocations: 1.033 MB / 0.4953 GB, free: 12.37 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.6649, allocations: 11.94 kB / 0.4953 GB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001874/0.6668, allocations: 0.7881 MB / 0.4961 GB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009721/0.6678, allocations: 222.4 kB / 0.4963 GB, free: 11.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000763/0.6686, allocations: 155.7 kB / 0.4965 GB, free: 11.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007237/0.6758, allocations: 5.224 MB / 0.5016 GB, free: 5.535 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007777/0.6766, allocations: 43.88 kB / 0.5016 GB, free: 5.492 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.478e-05/0.6767, allocations: 28 kB / 0.5016 GB, free: 5.465 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (81): * Single equations (assignments): 78 * 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%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002193/0.677, allocations: 148.8 kB / 0.5018 GB, free: 5.312 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/0.6771, allocations: 67.16 kB / 0.5018 GB, free: 5.246 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001354/0.6785, allocations: 0.6085 MB / 0.5024 GB, free: 4.629 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.6785, allocations: 11.95 kB / 0.5024 GB, free: 4.617 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.503e-06/0.6785, allocations: 0 / 0.5024 GB, free: 4.617 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.818e-06/0.6786, allocations: 0 / 0.5024 GB, free: 4.617 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003474/0.682, allocations: 1.479 MB / 0.5039 GB, free: 3.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.073e-06/0.6821, allocations: 4.156 kB / 0.5039 GB, free: 3.066 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008862/0.683, allocations: 123.9 kB / 0.504 GB, free: 2.945 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.406e-05/0.683, allocations: 4 kB / 0.504 GB, free: 2.941 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.656e-05/0.6831, allocations: 19.92 kB / 0.504 GB, free: 2.922 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.904e-06/0.6831, allocations: 4 kB / 0.504 GB, free: 2.918 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.273e-06/0.6831, allocations: 4 kB / 0.504 GB, free: 2.914 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001805/0.6849, allocations: 0.9883 MB / 0.505 GB, free: 1.852 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003895/0.6853, allocations: 188.1 kB / 0.5052 GB, free: 1.648 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.6855, allocations: 15.98 kB / 0.5052 GB, free: 1.633 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004553/0.686, allocations: 19.98 kB / 0.5052 GB, free: 1.613 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.302e-05/0.6861, allocations: 32.67 kB / 0.5052 GB, free: 1.582 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.754e-05/0.6861, allocations: 12 kB / 0.5053 GB, free: 1.57 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006888/0.6868, allocations: 407.2 kB / 0.5056 GB, free: 1.176 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.844e-06/0.6868, allocations: 3.938 kB / 0.5057 GB, free: 1.172 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001116/0.688, allocations: 231.9 kB / 0.5059 GB, free: 0.9453 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (turboGrp.w,generator.phi_el,generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 53 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003101/0.6883, allocations: 151.1 kB / 0.506 GB, free: 0.7852 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002141/0.6904, allocations: 0.9853 MB / 0.507 GB, free: 15.77 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.933e-06/0.6905, allocations: 0 / 0.507 GB, free: 15.77 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005157/0.691, allocations: 253.5 kB / 0.5072 GB, free: 15.52 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009149/0.6919, allocations: 128.6 kB / 0.5073 GB, free: 15.39 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003703/0.6957, allocations: 1.75 MB / 0.5091 GB, free: 13.59 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/0.6967, allocations: 1.09 MB / 0.5101 GB, free: 12.47 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002686/0.697, allocations: 59.44 kB / 0.5102 GB, free: 12.41 MB / 458.7 MB Notification: Performance of SimCode: time 1.833e-06/0.697, allocations: 4 kB / 0.5102 GB, free: 12.41 MB / 458.7 MB Notification: Performance of Templates: time 0.3583/1.055, allocations: 14.38 MB / 0.5242 GB, free: 128.5 MB / 458.7 MB