Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.LocalGeneration,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_LocalGeneration",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.476/2.476, allocations: 233 MB / 246.1 MB, free: 14.85 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.612e-05/5.621e-05, allocations: 5.719 kB / 302.3 MB, free: 7.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1325, allocations: 53.24 MB / 355.5 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5343/0.6668, allocations: 116.2 MB / 471.7 MB, free: 1.457 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003551/0.6673, allocations: 91.89 kB / 471.8 MB, free: 1.367 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1758/0.8431, allocations: 34.81 MB / 0.4947 GB, free: 14.2 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.8432, allocations: 0 / 0.4947 GB, free: 14.2 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001318/0.8433, allocations: 27.98 kB / 0.4948 GB, free: 14.17 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.005743/0.8491, allocations: 1.307 MB / 0.4961 GB, free: 12.82 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.448e-05/0.8492, allocations: 8.031 kB / 0.4961 GB, free: 12.81 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005779/0.8498, allocations: 164.6 kB / 0.4962 GB, free: 12.64 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/0.851, allocations: 154.9 kB / 0.4964 GB, free: 12.48 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006239/0.8572, allocations: 1.199 MB / 0.4975 GB, free: 11.24 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/0.8574, allocations: 78 kB / 0.4976 GB, free: 11.16 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000682/0.8581, allocations: 119.9 kB / 0.4977 GB, free: 11.05 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004924/0.8631, allocations: 1.26 MB / 0.499 GB, free: 9.719 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-05/0.8632, allocations: 4 kB / 0.499 GB, free: 9.715 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002405/0.8635, allocations: 43.98 kB / 0.499 GB, free: 9.672 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002761/0.8638, allocations: 69.92 kB / 0.4991 GB, free: 9.602 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004461/0.8682, allocations: 0.9722 MB / 0.5 GB, free: 8.629 MB / 442.7 MB Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: 0.0008318498358936397 * der(PMgen.generator.i_s[3]) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01608/0.8844, allocations: 4.919 MB / 0.5048 GB, free: 3.48 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002262/0.8867, allocations: 0.6984 MB / 0.5055 GB, free: 2.734 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001175/0.8879, allocations: 323 kB / 0.5058 GB, free: 2.414 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.672e-05/0.888, allocations: 12.56 kB / 0.5058 GB, free: 2.402 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.742e-05/0.8881, allocations: 43.44 kB / 0.5059 GB, free: 2.352 MB / 442.7 MB Notification: Performance of pre-optimization done (n=63): time 5.23e-06/0.8881, allocations: 0 / 0.5059 GB, free: 2.352 MB / 442.7 MB Notification: Performance of matching and sorting (n=71): time 0.00912/0.8973, allocations: 2.681 MB / 0.5085 GB, free: 15.55 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.842e-05/0.8974, allocations: 115.4 kB / 0.5086 GB, free: 15.41 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/0.8987, allocations: 0.6016 MB / 0.5092 GB, free: 14.8 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001659/0.8989, allocations: 41.64 kB / 0.5092 GB, free: 14.75 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005738/0.8995, allocations: 0.5378 MB / 0.5097 GB, free: 14.21 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003908/0.8999, allocations: 252.4 kB / 0.51 GB, free: 13.96 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.982e-05/0.9, allocations: 16 kB / 0.51 GB, free: 13.94 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.9002, allocations: 345.7 kB / 0.5103 GB, free: 13.6 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000781/0.901, allocations: 265.9 kB / 0.5106 GB, free: 13.34 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009715/0.902, allocations: 0.4948 MB / 0.5111 GB, free: 12.74 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009841/0.903, allocations: 373.9 kB / 0.5114 GB, free: 12.37 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/0.903, allocations: 4 kB / 0.5114 GB, free: 12.37 MB / 458.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.00451/0.9076, allocations: 1.214 MB / 0.5126 GB, free: 11.14 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001496/0.9091, allocations: 2.966 MB / 0.5155 GB, free: 7.949 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.657e-05/0.9092, allocations: 12 kB / 0.5155 GB, free: 7.938 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002596/0.9118, allocations: 404.5 kB / 0.5159 GB, free: 7.539 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/0.9132, allocations: 167.7 kB / 0.5161 GB, free: 7.375 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002596/0.9158, allocations: 1.142 MB / 0.5172 GB, free: 6.207 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/0.917, allocations: 43.83 kB / 0.5172 GB, free: 6.164 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.9171, allocations: 35.98 kB / 0.5173 GB, free: 6.129 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.9171, allocations: 4 kB / 0.5173 GB, free: 6.125 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00402/0.9212, allocations: 1.096 MB / 0.5183 GB, free: 5.027 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.063e-05/0.9212, allocations: 8 kB / 0.5183 GB, free: 5.02 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002325/0.9236, allocations: 392.8 kB / 0.5187 GB, free: 4.633 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/0.9249, allocations: 163.8 kB / 0.5189 GB, free: 4.473 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3444/1.269, allocations: 4.591 MB / 0.5234 GB, free: 124 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/1.27, allocations: 34.61 kB / 0.5234 GB, free: 124 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.636e-05/1.271, allocations: 37.39 kB / 0.5234 GB, free: 124 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (79): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {7 25} Notification: Performance of prepare postOptimizeDAE: time 0.0002679/1.271, allocations: 155 kB / 0.5236 GB, free: 123.9 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002165/1.271, allocations: 88.55 kB / 0.5237 GB, free: 123.9 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002347/1.273, allocations: 0.8449 MB / 0.5245 GB, free: 123.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/1.273, allocations: 7.719 kB / 0.5245 GB, free: 123.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/1.273, allocations: 2.938 kB / 0.5245 GB, free: 123.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.466e-05/1.274, allocations: 6.156 kB / 0.5245 GB, free: 123.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004754/1.278, allocations: 1.785 MB / 0.5262 GB, free: 123.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.768e-06/1.278, allocations: 3.781 kB / 0.5262 GB, free: 123.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001723/1.28, allocations: 166.9 kB / 0.5264 GB, free: 123.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.608e-05/1.28, allocations: 4.688 kB / 0.5264 GB, free: 123.4 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.986e-05/1.28, allocations: 24.12 kB / 0.5264 GB, free: 123.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.043e-05/1.28, allocations: 3.406 kB / 0.5264 GB, free: 123.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.28, allocations: 3.875 kB / 0.5264 GB, free: 123.4 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002565/1.283, allocations: 1.252 MB / 0.5277 GB, free: 123.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000509/1.283, allocations: 211.8 kB / 0.5279 GB, free: 123 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/1.284, allocations: 20 kB / 0.5279 GB, free: 123 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007997/1.284, allocations: 20.81 kB / 0.5279 GB, free: 123 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/1.285, allocations: 44.77 kB / 0.5279 GB, free: 123 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.565e-05/1.285, allocations: 21.69 kB / 0.528 GB, free: 123 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000933/1.286, allocations: 472.9 kB / 0.5284 GB, free: 122.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.273e-06/1.286, allocations: 2.688 kB / 0.5284 GB, free: 122.9 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00223/1.288, allocations: 424.6 kB / 0.5288 GB, free: 122.9 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (PMgen.generator.phi_el,PMgen.generator.w_el,PMgen.generator.i_s[1],PMgen.generator.i_s[2],capSym.capSym.cap1.v,capSym.capSym.cap2.v,zLoadDC.i,PI_vDC.I.y) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 76 * 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.003185/1.291, allocations: 2.11 MB / 0.5309 GB, free: 121.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004878/1.296, allocations: 1.524 MB / 0.5324 GB, free: 121.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/1.296, allocations: 0.5625 kB / 0.5324 GB, free: 121.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008459/1.297, allocations: 330.9 kB / 0.5327 GB, free: 121.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00178/1.299, allocations: 216 kB / 0.5329 GB, free: 121.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006734/1.305, allocations: 2.209 MB / 0.535 GB, free: 121.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001177/1.307, allocations: 1.198 MB / 0.5362 GB, free: 120.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002172/1.309, allocations: 303.9 kB / 0.5365 GB, free: 120.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008505/1.31, allocations: 412.4 kB / 0.5369 GB, free: 120.4 MB / 458.7 MB Notification: Performance of SimCode: time 1.142e-06/1.31, allocations: 0 / 0.5369 GB, free: 120.4 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08596/1.396, allocations: 25.29 MB / 0.5616 GB, free: 118.9 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002212/1.396, allocations: 191.5 kB / 0.5618 GB, free: 118.7 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.337/4.733, allocations: 0 / 0.5618 GB, free: 118.7 MB / 458.7 MB