Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.62/2.62, allocations: 233 MB / 246.1 MB, free: 14.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.1e-05/4.112e-05, allocations: 4 kB / 302.3 MB, free: 7.387 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1184, allocations: 53.24 MB / 355.5 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4969/0.6153, allocations: 88.79 MB / 444.3 MB, free: 12.78 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003442/0.6157, allocations: 83.95 kB / 444.4 MB, free: 12.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03053/0.6463, allocations: 6.447 MB / 450.9 MB, free: 6.207 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.188e-06/0.6463, allocations: 0 / 450.9 MB, free: 6.207 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.835e-05/0.6464, allocations: 7.938 kB / 450.9 MB, free: 6.199 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.00132/0.6477, allocations: 0.5348 MB / 451.4 MB, free: 5.617 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/0.6478, allocations: 8.031 kB / 451.4 MB, free: 5.609 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.485e-05/0.6479, allocations: 54.55 kB / 451.5 MB, free: 5.547 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.648, allocations: 35.62 kB / 451.5 MB, free: 5.512 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002583/0.6506, allocations: 0.654 MB / 452.2 MB, free: 4.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.434e-05/0.6506, allocations: 16.78 kB / 452.2 MB, free: 4.801 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002385/0.6509, allocations: 35.94 kB / 452.2 MB, free: 4.766 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006839/0.6516, allocations: 285.2 kB / 452.5 MB, free: 4.457 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.6516, allocations: 0 / 452.5 MB, free: 4.457 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.885e-05/0.6517, allocations: 8 kB / 452.5 MB, free: 4.449 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.6517, allocations: 4 kB / 452.5 MB, free: 4.445 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005171/0.6522, allocations: 183.6 kB / 452.7 MB, free: 4.266 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002515/0.6548, allocations: 1.289 MB / 454 MB, free: 2.879 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004201/0.6553, allocations: 119.8 kB / 454.1 MB, free: 2.734 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.6554, allocations: 47.19 kB / 454.1 MB, free: 2.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.6554, allocations: 4 kB / 454.1 MB, free: 2.676 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.6555, allocations: 34.56 kB / 454.2 MB, free: 2.633 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.996e-06/0.6555, allocations: 0 / 454.2 MB, free: 2.633 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001273/0.6568, allocations: 0.4978 MB / 454.7 MB, free: 2.082 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.17e-05/0.6569, allocations: 106.8 kB / 454.8 MB, free: 1.953 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003257/0.6572, allocations: 223 kB / 455 MB, free: 1.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.6572, allocations: 25.7 kB / 455 MB, free: 1.699 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.6574, allocations: 195.8 kB / 455.2 MB, free: 1.504 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.327e-05/0.6575, allocations: 43.45 kB / 455.2 MB, free: 1.461 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.508e-05/0.6575, allocations: 4 kB / 455.2 MB, free: 1.457 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.6576, allocations: 330.8 kB / 455.6 MB, free: 1.125 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.6578, allocations: 36 kB / 455.6 MB, free: 1.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/0.658, allocations: 132 kB / 455.7 MB, free: 0.918 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.6582, allocations: 51.98 kB / 455.8 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.6582, allocations: 3.938 kB / 455.8 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006589/0.6589, allocations: 226.6 kB / 456 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.6589, allocations: 4 kB / 456 MB, free: 0.6289 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.6589, allocations: 7.938 kB / 456 MB, free: 0.6211 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001959/0.6591, allocations: 32.78 kB / 456.1 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007008/0.6598, allocations: 61.47 kB / 456.1 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.87e-05/0.6599, allocations: 11.94 kB / 456.1 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002401/0.6601, allocations: 8 kB / 456.1 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/0.6602, allocations: 8 kB / 456.1 MB, free: 0.5 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001284/0.6603, allocations: 124.8 kB / 456.3 MB, free: 380 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.667e-05/0.6604, allocations: 23.72 kB / 456.3 MB, free: 356 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004385/0.6608, allocations: 147.4 kB / 456.4 MB, free: 200 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.6609, allocations: 4 kB / 456.4 MB, free: 196 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.6609, allocations: 4 kB / 456.4 MB, free: 192 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.6609, allocations: 0 / 456.4 MB, free: 192 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005762/0.6615, allocations: 297.5 kB / 456.7 MB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.6615, allocations: 0 / 456.7 MB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000334/0.6619, allocations: 32.95 kB / 456.8 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.6619, allocations: 0 / 456.8 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.6619, allocations: 4 kB / 456.8 MB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.6619, allocations: 7.984 kB / 456.8 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.6619, allocations: 0 / 456.8 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006044/0.6625, allocations: 393.1 kB / 457.2 MB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.6627, allocations: 100.8 kB / 457.3 MB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.865e-05/0.6627, allocations: 0 / 457.3 MB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002594/0.663, allocations: 11.94 kB / 457.3 MB, free: 15.26 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.6631, allocations: 12.05 kB / 457.3 MB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.6631, allocations: 4 kB / 457.3 MB, free: 15.25 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002321/0.6633, allocations: 172.5 kB / 457.5 MB, free: 15.08 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6633, allocations: 0 / 457.5 MB, free: 15.08 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005614/0.6639, allocations: 55.94 kB / 457.5 MB, free: 15.03 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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.0009996/0.6649, allocations: 1.064 MB / 458.6 MB, free: 13.92 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005022/0.6655, allocations: 201.8 kB / 458.8 MB, free: 13.7 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.6655, allocations: 4.875 kB / 458.8 MB, free: 13.7 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.6656, allocations: 56 kB / 458.8 MB, free: 13.64 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006237/0.6663, allocations: 55.8 kB / 458.9 MB, free: 13.59 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.6679, allocations: 0.4908 MB / 459.4 MB, free: 13.06 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004266/0.6683, allocations: 0.7796 MB / 460.2 MB, free: 12.26 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002085/0.6685, allocations: 30.06 kB / 460.2 MB, free: 12.23 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001952/0.6688, allocations: 91.39 kB / 460.3 MB, free: 12.14 MB / 394.7 MB Notification: Performance of SimCode: time 1.432e-06/0.6688, allocations: 3.938 kB / 460.3 MB, free: 12.13 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0347/0.7035, allocations: 4.481 MB / 464.8 MB, free: 7.746 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003802/0.7039, allocations: 174.2 kB / 464.9 MB, free: 7.523 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.407/3.111, allocations: 0 / 464.9 MB, free: 7.523 MB / 394.7 MB