Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurbineGenerator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.528/2.528, allocations: 233 MB / 246.1 MB, free: 14.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.994e-05/4.019e-05, allocations: 7.984 kB / 302.3 MB, free: 7.387 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1476, allocations: 53.23 MB / 355.5 MB, free: 2.047 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5172/0.6649, allocations: 108.1 MB / 463.6 MB, free: 9.512 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003359/0.6653, allocations: 87.95 kB / 463.7 MB, free: 9.426 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1903/0.8556, allocations: 29.96 MB / 493.6 MB, free: 11.13 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.647e-06/0.8557, allocations: 0 / 493.6 MB, free: 11.13 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001177/0.8559, allocations: 20 kB / 493.7 MB, free: 11.11 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.004983/0.8609, allocations: 1.041 MB / 494.7 MB, free: 10.02 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.997e-05/0.861, allocations: 12.03 kB / 494.7 MB, free: 10.01 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004569/0.8614, allocations: 140.6 kB / 494.8 MB, free: 9.863 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002091/0.8636, allocations: 194.6 kB / 495 MB, free: 9.672 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004935/0.8685, allocations: 1.204 MB / 496.2 MB, free: 8.426 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.386e-05/0.8686, allocations: 61.98 kB / 496.3 MB, free: 8.367 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002838/0.8689, allocations: 83.91 kB / 496.4 MB, free: 8.285 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002564/0.8715, allocations: 1.058 MB / 497.4 MB, free: 7.18 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.44e-05/0.8716, allocations: 4 kB / 497.4 MB, free: 7.176 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/0.8717, allocations: 35.94 kB / 497.5 MB, free: 7.141 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001656/0.8719, allocations: 65.97 kB / 497.5 MB, free: 7.074 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002202/0.8741, allocations: 0.8237 MB / 498.4 MB, free: 6.25 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00902/0.8832, allocations: 4.012 MB / 0.4906 GB, free: 2.039 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009957/0.8842, allocations: 415 kB / 0.491 GB, free: 1.598 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006582/0.8849, allocations: 284.3 kB / 0.4913 GB, free: 1.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.715e-05/0.885, allocations: 4.438 kB / 0.4913 GB, free: 1.316 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.885, allocations: 39 kB / 0.4913 GB, free: 1.27 MB / 426.7 MB Notification: Performance of pre-optimization done (n=48): time 3.496e-06/0.885, allocations: 0 / 0.4913 GB, free: 1.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=52): time 0.004635/0.8897, allocations: 1.575 MB / 0.4928 GB, free: 15.64 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.956e-05/0.8898, allocations: 85.55 kB / 0.4929 GB, free: 15.54 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009771/0.8908, allocations: 0.4994 MB / 0.4934 GB, free: 15.03 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.283e-05/0.8908, allocations: 37.7 kB / 0.4935 GB, free: 14.99 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004489/0.8913, allocations: 474.4 kB / 0.4939 GB, free: 14.52 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002311/0.8916, allocations: 185.3 kB / 0.4941 GB, free: 14.33 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.655e-05/0.8916, allocations: 16 kB / 0.4941 GB, free: 14.32 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002135/0.8918, allocations: 386.5 kB / 0.4945 GB, free: 13.93 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006502/0.8925, allocations: 241.5 kB / 0.4947 GB, free: 13.7 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008302/0.8934, allocations: 463 kB / 0.4951 GB, free: 13.15 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008651/0.8942, allocations: 343 kB / 0.4955 GB, free: 12.82 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/0.8943, allocations: 4 kB / 0.4955 GB, free: 12.81 MB / 442.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.003214/0.8975, allocations: 1.076 MB / 0.4965 GB, free: 11.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.301e-05/0.8976, allocations: 10.5 kB / 0.4965 GB, free: 11.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002375/0.8999, allocations: 0.7881 MB / 0.4973 GB, free: 10.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001224/0.9012, allocations: 222.4 kB / 0.4975 GB, free: 10.65 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.9024, allocations: 151.7 kB / 0.4977 GB, free: 10.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008293/0.9107, allocations: 5.228 MB / 0.5028 GB, free: 4.867 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009751/0.9117, allocations: 36.05 kB / 0.5028 GB, free: 4.832 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.271e-05/0.9118, allocations: 31.98 kB / 0.5028 GB, free: 4.801 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.0002443/0.9121, allocations: 148.7 kB / 0.503 GB, free: 4.648 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/0.9122, allocations: 67.16 kB / 0.503 GB, free: 4.582 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/0.9139, allocations: 0.6125 MB / 0.5036 GB, free: 3.961 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.9139, allocations: 4 kB / 0.5036 GB, free: 3.957 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.9139, allocations: 0 / 0.5036 GB, free: 3.957 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.914, allocations: 3.984 kB / 0.5036 GB, free: 3.953 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004305/0.9183, allocations: 1.486 MB / 0.5051 GB, free: 2.398 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.146e-06/0.9183, allocations: 0 / 0.5051 GB, free: 2.398 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001283/0.9196, allocations: 123.9 kB / 0.5052 GB, free: 2.277 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.596e-05/0.9197, allocations: 4 kB / 0.5052 GB, free: 2.273 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.192e-05/0.9198, allocations: 16 kB / 0.5052 GB, free: 2.258 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.053e-05/0.9198, allocations: 4.156 kB / 0.5052 GB, free: 2.254 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.9198, allocations: 4 kB / 0.5052 GB, free: 2.25 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002169/0.922, allocations: 0.9844 MB / 0.5062 GB, free: 1.191 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005455/0.9226, allocations: 188.1 kB / 0.5064 GB, free: 0.9883 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/0.9227, allocations: 16.28 kB / 0.5064 GB, free: 0.9727 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006161/0.9234, allocations: 19.98 kB / 0.5064 GB, free: 0.9531 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.9235, allocations: 40.33 kB / 0.5064 GB, free: 0.9141 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.153e-05/0.9236, allocations: 15.92 kB / 0.5065 GB, free: 0.8984 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008506/0.9244, allocations: 411.1 kB / 0.5069 GB, free: 0.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.9244, allocations: 0 / 0.5069 GB, free: 0.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001306/0.9258, allocations: 224 kB / 0.5071 GB, free: 288 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.002906/0.9287, allocations: 1.999 MB / 0.509 GB, free: 14.21 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002677/0.9314, allocations: 0.9814 MB / 0.51 GB, free: 13.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.9315, allocations: 0 / 0.51 GB, free: 13.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006464/0.9321, allocations: 255 kB / 0.5102 GB, free: 12.95 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/0.9334, allocations: 134.9 kB / 0.5104 GB, free: 12.82 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005598/0.939, allocations: 1.891 MB / 0.5122 GB, free: 10.87 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/0.9401, allocations: 1.102 MB / 0.5133 GB, free: 9.742 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001007/0.9411, allocations: 181.9 kB / 0.5134 GB, free: 9.562 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006703/0.9418, allocations: 323.3 kB / 0.5138 GB, free: 9.246 MB / 458.7 MB Notification: Performance of SimCode: time 1.794e-06/0.9418, allocations: 0 / 0.5138 GB, free: 9.246 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3739/1.316, allocations: 15.76 MB / 0.5291 GB, free: 127.8 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003103/1.316, allocations: 193.8 kB / 0.5293 GB, free: 127.6 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.963/4.279, allocations: 0.5469 kB / 0.5293 GB, free: 127.6 MB / 458.7 MB