Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.217/2.217, allocations: 233 MB / 246.1 MB, free: 14.83 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.584e-05/4.567e-05, allocations: 3.938 kB / 302.3 MB, free: 7.387 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1219, allocations: 53.25 MB / 355.5 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4781/0.6001, allocations: 88.8 MB / 444.3 MB, free: 12.79 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003198/0.6004, allocations: 83.95 kB / 444.4 MB, free: 12.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02948/0.6299, allocations: 6.44 MB / 450.9 MB, free: 6.219 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.26e-06/0.63, allocations: 0 / 450.9 MB, free: 6.219 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.476e-05/0.63, allocations: 7.938 kB / 450.9 MB, free: 6.211 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.001189/0.6312, allocations: 0.5426 MB / 451.4 MB, free: 5.621 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.6313, allocations: 8.031 kB / 451.4 MB, free: 5.613 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001114/0.6314, allocations: 54.55 kB / 451.5 MB, free: 5.551 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.6315, allocations: 31.62 kB / 451.5 MB, free: 5.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002391/0.6339, allocations: 0.6462 MB / 452.2 MB, free: 4.836 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.634, allocations: 24.78 kB / 452.2 MB, free: 4.809 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002148/0.6342, allocations: 31.95 kB / 452.2 MB, free: 4.777 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006443/0.6349, allocations: 281.2 kB / 452.5 MB, free: 4.473 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.6349, allocations: 0 / 452.5 MB, free: 4.473 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.868e-05/0.6349, allocations: 12 kB / 452.5 MB, free: 4.461 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.635, allocations: 11.98 kB / 452.5 MB, free: 4.449 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005147/0.6355, allocations: 179.6 kB / 452.7 MB, free: 4.273 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002281/0.6378, allocations: 1.285 MB / 454 MB, free: 2.891 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003964/0.6382, allocations: 119.8 kB / 454.1 MB, free: 2.746 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.6383, allocations: 42.64 kB / 454.1 MB, free: 2.695 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.6384, allocations: 8 kB / 454.1 MB, free: 2.688 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.6384, allocations: 38.55 kB / 454.2 MB, free: 2.641 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.554e-06/0.6384, allocations: 0 / 454.2 MB, free: 2.641 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001228/0.6397, allocations: 0.496 MB / 454.7 MB, free: 2.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.469e-05/0.6398, allocations: 110.9 kB / 454.8 MB, free: 1.957 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000313/0.6401, allocations: 220.8 kB / 455 MB, free: 1.738 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.6401, allocations: 25.7 kB / 455 MB, free: 1.707 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.6403, allocations: 191.7 kB / 455.2 MB, free: 1.516 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.622e-05/0.6403, allocations: 35.45 kB / 455.2 MB, free: 1.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.529e-05/0.6404, allocations: 4 kB / 455.2 MB, free: 1.477 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.6405, allocations: 334.8 kB / 455.6 MB, free: 1.141 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.6407, allocations: 39.98 kB / 455.6 MB, free: 1.102 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/0.6409, allocations: 128 kB / 455.7 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.641, allocations: 55.97 kB / 455.8 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.6411, allocations: 4 kB / 455.8 MB, free: 0.875 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006268/0.6417, allocations: 221.9 kB / 456 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.6417, allocations: 4 kB / 456 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.6418, allocations: 7.938 kB / 456 MB, free: 0.6367 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001889/0.642, allocations: 37.19 kB / 456.1 MB, free: 0.5977 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006904/0.6427, allocations: 59.95 kB / 456.1 MB, free: 0.5391 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.894e-05/0.6427, allocations: 11.92 kB / 456.1 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.6429, allocations: 4 kB / 456.1 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.924e-05/0.643, allocations: 12 kB / 456.1 MB, free: 0.5117 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.0001142/0.6431, allocations: 120.8 kB / 456.3 MB, free: 396 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.011e-05/0.6432, allocations: 23.72 kB / 456.3 MB, free: 372 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004395/0.6437, allocations: 157.1 kB / 456.4 MB, free: 208 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.6437, allocations: 0 / 456.4 MB, free: 208 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.6437, allocations: 4 kB / 456.4 MB, free: 204 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.6437, allocations: 3.984 kB / 456.4 MB, free: 200 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005616/0.6443, allocations: 293.5 kB / 456.7 MB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.6443, allocations: 0 / 456.7 MB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00033/0.6446, allocations: 31.92 kB / 456.8 MB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.6447, allocations: 0 / 456.8 MB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.6447, allocations: 8 kB / 456.8 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.6447, allocations: 4 kB / 456.8 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6447, allocations: 0 / 456.8 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005853/0.6453, allocations: 386.7 kB / 457.2 MB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.014e-05/0.6454, allocations: 96.86 kB / 457.2 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.828e-05/0.6455, allocations: 8.062 kB / 457.3 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002387/0.6457, allocations: 7.984 kB / 457.3 MB, free: 15.28 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/0.6458, allocations: 11.94 kB / 457.3 MB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.6458, allocations: 11.98 kB / 457.3 MB, free: 15.25 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000224/0.646, allocations: 167.1 kB / 457.4 MB, free: 15.09 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6461, allocations: 1.312 kB / 457.5 MB, free: 15.09 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005405/0.6466, allocations: 55.94 kB / 457.5 MB, free: 15.04 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.0009835/0.6476, allocations: 1.068 MB / 458.6 MB, free: 13.93 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005033/0.6481, allocations: 210.6 kB / 458.8 MB, free: 13.7 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6482, allocations: 0 / 458.8 MB, free: 13.7 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.6483, allocations: 47.94 kB / 458.8 MB, free: 13.66 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006015/0.6489, allocations: 45.89 kB / 458.9 MB, free: 13.61 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.6505, allocations: 0.4955 MB / 459.4 MB, free: 13.08 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004138/0.6509, allocations: 0.7757 MB / 460.1 MB, free: 12.28 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002014/0.6511, allocations: 26.06 kB / 460.2 MB, free: 12.25 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001927/0.6513, allocations: 95.39 kB / 460.3 MB, free: 12.16 MB / 394.7 MB Notification: Performance of SimCode: time 4.158e-06/0.6513, allocations: 0 / 460.3 MB, free: 12.16 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03054/0.6819, allocations: 4.479 MB / 464.7 MB, free: 7.77 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003151/0.6823, allocations: 170.7 kB / 464.9 MB, free: 7.543 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.167/2.849, allocations: 0 / 464.9 MB, free: 7.543 MB / 394.7 MB