Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.LocalGeneration,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_LocalGeneration",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.483/2.483, allocations: 233 MB / 246.1 MB, free: 15.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.513e-05/3.531e-05, allocations: 4 kB / 302.3 MB, free: 7.598 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.114, allocations: 53.23 MB / 355.5 MB, free: 2.246 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5392/0.6533, allocations: 116.2 MB / 471.7 MB, free: 1.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003546/0.6537, allocations: 91.94 kB / 471.8 MB, free: 1.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1616/0.8153, allocations: 34.8 MB / 0.4948 GB, free: 14.24 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.8154, allocations: 0 / 0.4948 GB, free: 14.24 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001086/0.8155, allocations: 27.94 kB / 0.4948 GB, free: 14.21 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.004504/0.82, allocations: 1.307 MB / 0.4961 GB, free: 12.86 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.8201, allocations: 8.031 kB / 0.4961 GB, free: 12.85 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005/0.8206, allocations: 164.6 kB / 0.4962 GB, free: 12.68 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008965/0.8215, allocations: 154.9 kB / 0.4964 GB, free: 12.53 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004949/0.8265, allocations: 1.199 MB / 0.4975 GB, free: 11.29 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001265/0.8267, allocations: 78 kB / 0.4976 GB, free: 11.21 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005292/0.8272, allocations: 115.9 kB / 0.4977 GB, free: 11.09 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003355/0.8306, allocations: 1.264 MB / 0.499 GB, free: 9.762 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.86e-05/0.8307, allocations: 4 kB / 0.499 GB, free: 9.758 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001661/0.8308, allocations: 43.98 kB / 0.499 GB, free: 9.715 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001932/0.831, allocations: 65.97 kB / 0.4991 GB, free: 9.648 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003084/0.8341, allocations: 0.98 MB / 0.5 GB, free: 8.668 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.01218/0.8464, allocations: 4.911 MB / 0.5048 GB, free: 3.527 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/0.8481, allocations: 0.7065 MB / 0.5055 GB, free: 2.773 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008116/0.849, allocations: 323 kB / 0.5058 GB, free: 2.453 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.806e-05/0.8491, allocations: 16.5 kB / 0.5058 GB, free: 2.438 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.744e-05/0.8491, allocations: 43.12 kB / 0.5059 GB, free: 2.387 MB / 442.7 MB Notification: Performance of pre-optimization done (n=63): time 4.478e-06/0.8491, allocations: 0 / 0.5059 GB, free: 2.387 MB / 442.7 MB Notification: Performance of matching and sorting (n=71): time 0.008323/0.8575, allocations: 2.673 MB / 0.5085 GB, free: 15.59 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.585e-05/0.8576, allocations: 115.4 kB / 0.5086 GB, free: 15.46 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/0.859, allocations: 0.5978 MB / 0.5092 GB, free: 14.85 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001522/0.8591, allocations: 41.7 kB / 0.5092 GB, free: 14.8 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005759/0.8597, allocations: 0.5416 MB / 0.5097 GB, free: 14.25 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003389/0.8601, allocations: 256.4 kB / 0.51 GB, free: 14 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.819e-05/0.8601, allocations: 12 kB / 0.51 GB, free: 13.98 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.8603, allocations: 345.9 kB / 0.5103 GB, free: 13.64 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007767/0.8611, allocations: 269.9 kB / 0.5106 GB, free: 13.38 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009952/0.8622, allocations: 0.491 MB / 0.5111 GB, free: 12.78 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009978/0.8632, allocations: 373.9 kB / 0.5114 GB, free: 12.41 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/0.8632, allocations: 4 kB / 0.5114 GB, free: 12.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.004611/0.8678, allocations: 1.21 MB / 0.5126 GB, free: 11.19 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001571/0.8694, allocations: 2.968 MB / 0.5155 GB, free: 7.988 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.914e-05/0.8695, allocations: 8 kB / 0.5155 GB, free: 7.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002685/0.8722, allocations: 400.5 kB / 0.5159 GB, free: 7.586 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/0.8736, allocations: 171.7 kB / 0.5161 GB, free: 7.418 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002703/0.8764, allocations: 1.15 MB / 0.5172 GB, free: 6.242 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/0.8777, allocations: 35.83 kB / 0.5172 GB, free: 6.207 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001609/0.8779, allocations: 40 kB / 0.5173 GB, free: 6.168 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.8779, allocations: 4 kB / 0.5173 GB, free: 6.164 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00413/0.8821, allocations: 1.104 MB / 0.5183 GB, free: 5.059 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-05/0.8821, allocations: 8 kB / 0.5183 GB, free: 5.051 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002413/0.8846, allocations: 392.8 kB / 0.5187 GB, free: 4.664 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/0.8859, allocations: 159.8 kB / 0.5189 GB, free: 4.508 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3318/1.218, allocations: 4.585 MB / 0.5234 GB, free: 123.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/1.219, allocations: 34.73 kB / 0.5234 GB, free: 123.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/1.219, allocations: 39.91 kB / 0.5234 GB, free: 123.7 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.0002877/1.219, allocations: 153.4 kB / 0.5236 GB, free: 123.6 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002499/1.22, allocations: 89.66 kB / 0.5237 GB, free: 123.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002367/1.222, allocations: 0.8479 MB / 0.5245 GB, free: 123.4 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/1.222, allocations: 9.406 kB / 0.5245 GB, free: 123.4 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/1.222, allocations: 1.219 kB / 0.5245 GB, free: 123.4 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.568e-05/1.222, allocations: 4.938 kB / 0.5245 GB, free: 123.4 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004746/1.227, allocations: 1.783 MB / 0.5262 GB, free: 123.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/1.227, allocations: 3.453 kB / 0.5262 GB, free: 123.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001717/1.229, allocations: 167 kB / 0.5264 GB, free: 123.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.566e-05/1.229, allocations: 5.406 kB / 0.5264 GB, free: 123.1 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.03e-05/1.229, allocations: 16.08 kB / 0.5264 GB, free: 123.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.887e-06/1.229, allocations: 6.281 kB / 0.5264 GB, free: 123.1 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/1.229, allocations: 5.891 kB / 0.5264 GB, free: 123.1 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002645/1.231, allocations: 1.253 MB / 0.5277 GB, free: 122.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004969/1.232, allocations: 215.7 kB / 0.5279 GB, free: 122.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001688/1.232, allocations: 18.22 kB / 0.5279 GB, free: 122.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007753/1.233, allocations: 23.64 kB / 0.5279 GB, free: 122.7 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/1.233, allocations: 43.39 kB / 0.5279 GB, free: 122.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.438e-05/1.233, allocations: 19.69 kB / 0.528 GB, free: 122.7 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009267/1.234, allocations: 475.6 kB / 0.5284 GB, free: 122.6 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.81e-07/1.234, allocations: 0 / 0.5284 GB, free: 122.6 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002246/1.236, allocations: 425 kB / 0.5288 GB, free: 122.6 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.003155/1.24, allocations: 2.111 MB / 0.5309 GB, free: 121.6 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004846/1.244, allocations: 1.523 MB / 0.5324 GB, free: 121.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/1.245, allocations: 0 / 0.5324 GB, free: 121.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008504/1.245, allocations: 331.3 kB / 0.5327 GB, free: 121.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001784/1.247, allocations: 217.7 kB / 0.5329 GB, free: 121.4 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006586/1.254, allocations: 2.2 MB / 0.535 GB, free: 120.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001134/1.255, allocations: 1.203 MB / 0.5362 GB, free: 120.1 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002082/1.257, allocations: 303.9 kB / 0.5365 GB, free: 120.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008009/1.258, allocations: 405.7 kB / 0.5369 GB, free: 120.1 MB / 458.7 MB Notification: Performance of SimCode: time 1.223e-06/1.258, allocations: 0 / 0.5369 GB, free: 120.1 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07512/1.333, allocations: 25.29 MB / 0.5616 GB, free: 118.6 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002406/1.333, allocations: 188.5 kB / 0.5618 GB, free: 118.4 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.46/4.793, allocations: 0 / 0.5618 GB, free: 118.4 MB / 458.7 MB