Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.606/2.606, allocations: 233 MB / 246.1 MB, free: 14.79 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.893e-05/3.886e-05, allocations: 7.938 kB / 302.3 MB, free: 7.383 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1166, allocations: 53.24 MB / 355.5 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.499/0.6157, allocations: 108.1 MB / 463.6 MB, free: 9.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000373/0.6161, allocations: 95.92 kB / 463.7 MB, free: 9.406 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1306/0.7467, allocations: 29.95 MB / 493.6 MB, free: 11.12 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.7468, allocations: 0 / 493.6 MB, free: 11.12 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.353e-05/0.7469, allocations: 24 kB / 493.7 MB, free: 11.1 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.002981/0.7499, allocations: 1.037 MB / 494.7 MB, free: 10.01 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/0.7499, allocations: 9.156 kB / 494.7 MB, free: 10 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002766/0.7502, allocations: 143.5 kB / 494.8 MB, free: 9.855 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001791/0.752, allocations: 202.6 kB / 495 MB, free: 9.656 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005253/0.7573, allocations: 1.192 MB / 496.2 MB, free: 8.422 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.548e-05/0.7574, allocations: 61.98 kB / 496.3 MB, free: 8.363 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003027/0.7577, allocations: 91.91 kB / 496.4 MB, free: 8.273 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002834/0.7606, allocations: 1.054 MB / 497.4 MB, free: 7.172 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.031e-05/0.7607, allocations: 7.938 kB / 497.4 MB, free: 7.164 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/0.7608, allocations: 32 kB / 497.5 MB, free: 7.133 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001909/0.761, allocations: 65.97 kB / 497.5 MB, free: 7.066 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00248/0.7635, allocations: 0.8276 MB / 498.4 MB, free: 6.238 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009299/0.7729, allocations: 4.001 MB / 0.4906 GB, free: 2.039 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.7739, allocations: 423.6 kB / 0.491 GB, free: 1.59 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006582/0.7746, allocations: 267.4 kB / 0.4912 GB, free: 1.324 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.888e-05/0.7747, allocations: 12.42 kB / 0.4913 GB, free: 1.312 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.7747, allocations: 42.98 kB / 0.4913 GB, free: 1.262 MB / 426.7 MB Notification: Performance of pre-optimization done (n=48): time 3.857e-06/0.7747, allocations: 0 / 0.4913 GB, free: 1.262 MB / 426.7 MB Notification: Performance of matching and sorting (n=52): time 0.004922/0.7797, allocations: 1.575 MB / 0.4928 GB, free: 15.63 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/0.7798, allocations: 81.55 kB / 0.4929 GB, free: 15.54 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.7809, allocations: 0.5128 MB / 0.4934 GB, free: 15.02 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.244e-05/0.781, allocations: 33.7 kB / 0.4935 GB, free: 14.98 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004576/0.7815, allocations: 470.4 kB / 0.4939 GB, free: 14.51 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002687/0.7817, allocations: 193.3 kB / 0.4941 GB, free: 14.32 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-05/0.7818, allocations: 16 kB / 0.4941 GB, free: 14.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002193/0.782, allocations: 378.5 kB / 0.4945 GB, free: 13.93 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006857/0.7827, allocations: 253.4 kB / 0.4947 GB, free: 13.68 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008465/0.7836, allocations: 461.7 kB / 0.4951 GB, free: 13.13 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008817/0.7845, allocations: 331.1 kB / 0.4955 GB, free: 12.81 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.7845, allocations: 4 kB / 0.4955 GB, free: 12.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.003813/0.7883, allocations: 1.076 MB / 0.4965 GB, free: 11.69 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.361e-05/0.7884, allocations: 16.08 kB / 0.4965 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002408/0.7909, allocations: 0.7839 MB / 0.4973 GB, free: 10.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001207/0.7921, allocations: 226.3 kB / 0.4975 GB, free: 10.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.7932, allocations: 159.7 kB / 0.4977 GB, free: 10.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008167/0.8014, allocations: 5.213 MB / 0.5028 GB, free: 4.859 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009401/0.8024, allocations: 35.97 kB / 0.5028 GB, free: 4.824 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.287e-05/0.8025, allocations: 40 kB / 0.5028 GB, free: 4.785 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.0002286/0.8027, allocations: 148.8 kB / 0.503 GB, free: 4.633 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/0.8029, allocations: 67.16 kB / 0.503 GB, free: 4.566 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001642/0.8045, allocations: 0.6046 MB / 0.5036 GB, free: 3.953 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/0.8046, allocations: 8.031 kB / 0.5036 GB, free: 3.945 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.8046, allocations: 7.984 kB / 0.5036 GB, free: 3.938 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.8046, allocations: 4 kB / 0.5036 GB, free: 3.934 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004179/0.8088, allocations: 1.486 MB / 0.5051 GB, free: 2.379 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.759e-06/0.8088, allocations: 4 kB / 0.5051 GB, free: 2.375 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001252/0.8101, allocations: 119.9 kB / 0.5052 GB, free: 2.258 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.651e-05/0.8101, allocations: 4 kB / 0.5052 GB, free: 2.254 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.021e-05/0.8102, allocations: 15.98 kB / 0.5052 GB, free: 2.238 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.458e-06/0.8102, allocations: 4.281 kB / 0.5052 GB, free: 2.234 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/0.8103, allocations: 7.938 kB / 0.5052 GB, free: 2.227 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002136/0.8124, allocations: 0.9846 MB / 0.5062 GB, free: 1.168 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00045/0.8129, allocations: 184.1 kB / 0.5064 GB, free: 0.9688 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.813, allocations: 19.98 kB / 0.5064 GB, free: 0.9492 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005869/0.8136, allocations: 19.98 kB / 0.5064 GB, free: 0.9297 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.458e-05/0.8138, allocations: 36.33 kB / 0.5065 GB, free: 0.8945 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.927e-05/0.8138, allocations: 16 kB / 0.5065 GB, free: 0.8789 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008193/0.8146, allocations: 407.2 kB / 0.5069 GB, free: 496 kB / 442.7 MB Notification: Performance of sort global known variables: time 2.746e-06/0.8147, allocations: 0 / 0.5069 GB, free: 496 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.001184/0.8159, allocations: 227.9 kB / 0.5071 GB, free: 268 kB / 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.002734/0.8186, allocations: 1.991 MB / 0.509 GB, free: 14.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002957/0.8216, allocations: 0.9822 MB / 0.51 GB, free: 13.19 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.8217, allocations: 0 / 0.51 GB, free: 13.19 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008353/0.8225, allocations: 257.4 kB / 0.5102 GB, free: 12.94 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/0.824, allocations: 134.1 kB / 0.5103 GB, free: 12.81 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006863/0.8309, allocations: 1.897 MB / 0.5122 GB, free: 10.86 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001449/0.8324, allocations: 1.094 MB / 0.5133 GB, free: 9.734 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00135/0.8338, allocations: 189.9 kB / 0.5134 GB, free: 9.547 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009296/0.8347, allocations: 323.3 kB / 0.5138 GB, free: 9.23 MB / 458.7 MB Notification: Performance of SimCode: time 1.122e-06/0.8348, allocations: 3.938 kB / 0.5138 GB, free: 9.227 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4755/1.31, allocations: 15.75 MB / 0.5291 GB, free: 127.5 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001849/1.311, allocations: 184.6 kB / 0.5293 GB, free: 127.3 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.941/4.251, allocations: 0 / 0.5293 GB, free: 127.3 MB / 458.7 MB