Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Line,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Line",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.395/2.395, allocations: 233 MB / 246.1 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.771e-05/3.804e-05, allocations: 7.938 kB / 302.3 MB, free: 7.375 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1267, allocations: 53.23 MB / 355.5 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4839/0.6107, allocations: 93.48 MB / 449 MB, free: 8.098 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003312/0.6111, allocations: 83.95 kB / 449.1 MB, free: 8.016 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05642/0.6675, allocations: 11.07 MB / 460.2 MB, free: 12.85 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.397e-06/0.6676, allocations: 0 / 460.2 MB, free: 12.85 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.818e-05/0.6677, allocations: 16 kB / 460.2 MB, free: 12.84 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.003891/0.6716, allocations: 0.773 MB / 461 MB, free: 12.02 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.582e-05/0.6717, allocations: 8.594 kB / 461 MB, free: 12.01 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002866/0.672, allocations: 82.53 kB / 461 MB, free: 11.92 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003756/0.6724, allocations: 51.44 kB / 461.1 MB, free: 11.87 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006189/0.6786, allocations: 1.257 MB / 462.4 MB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.469e-05/0.6787, allocations: 29.11 kB / 462.4 MB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002413/0.679, allocations: 55.86 kB / 462.4 MB, free: 10.49 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001921/0.6809, allocations: 0.771 MB / 463.2 MB, free: 9.688 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.6809, allocations: 0 / 463.2 MB, free: 9.688 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.486e-05/0.681, allocations: 16 kB / 463.2 MB, free: 9.672 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.6811, allocations: 8 kB / 463.2 MB, free: 9.664 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.6823, allocations: 433.2 kB / 463.7 MB, free: 9.238 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006862/0.6892, allocations: 2.759 MB / 466.4 MB, free: 6.398 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001287/0.6905, allocations: 474.3 kB / 466.9 MB, free: 5.918 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001264/0.6918, allocations: 437.6 kB / 467.3 MB, free: 5.484 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.414e-05/0.6919, allocations: 8.516 kB / 467.3 MB, free: 5.477 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.24e-05/0.6919, allocations: 38.56 kB / 467.3 MB, free: 5.43 MB / 394.7 MB Notification: Performance of pre-optimization done (n=32): time 3.858e-06/0.6919, allocations: 7.938 kB / 467.4 MB, free: 5.422 MB / 394.7 MB Notification: Performance of matching and sorting (n=33): time 0.01343/0.7054, allocations: 3.102 MB / 470.5 MB, free: 2.25 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.692e-05/0.7055, allocations: 85.06 kB / 470.5 MB, free: 2.148 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006699/0.7062, allocations: 338.7 kB / 470.9 MB, free: 1.812 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001607/0.7064, allocations: 33.7 kB / 470.9 MB, free: 1.773 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002476/0.7066, allocations: 248.2 kB / 471.1 MB, free: 1.527 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002438/0.7069, allocations: 158.1 kB / 471.3 MB, free: 1.371 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.15e-05/0.707, allocations: 8 kB / 471.3 MB, free: 1.363 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001996/0.7072, allocations: 362.8 kB / 471.7 MB, free: 1 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001122/0.7083, allocations: 437 kB / 472.1 MB, free: 0.5742 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/0.7096, allocations: 0.5289 MB / 472.6 MB, free: 4 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/0.7108, allocations: 489.3 kB / 473.1 MB, free: 15.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.7109, allocations: 0 / 473.1 MB, free: 15.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01152/0.7224, allocations: 2.465 MB / 475.6 MB, free: 13.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.4e-05/0.7225, allocations: 11.95 kB / 475.6 MB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.7225, allocations: 4 kB / 475.6 MB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01344/0.736, allocations: 2.074 MB / 477.6 MB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007058/0.7367, allocations: 87.89 kB / 477.7 MB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02037/0.7571, allocations: 8.902 MB / 486.6 MB, free: 1.695 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007231/0.7579, allocations: 27.97 kB / 486.7 MB, free: 1.668 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000179/0.7581, allocations: 71.97 kB / 486.7 MB, free: 1.598 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {8,6} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002649/0.7584, allocations: 128.9 kB / 486.9 MB, free: 1.465 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/0.7585, allocations: 47.39 kB / 486.9 MB, free: 1.418 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01101/0.7696, allocations: 2.204 MB / 489.1 MB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.89e-05/0.7696, allocations: 4.938 kB / 489.1 MB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.7696, allocations: 0 / 489.1 MB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.612e-05/0.7697, allocations: 7.922 kB / 489.1 MB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01276/0.7824, allocations: 2.994 MB / 492.1 MB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/0.7825, allocations: 0 / 492.1 MB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004363/0.783, allocations: 47.94 kB / 492.2 MB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01805/0.801, allocations: 3.233 MB / 495.4 MB, free: 8.824 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003598/0.8015, allocations: 107.9 kB / 495.5 MB, free: 8.719 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01986/0.8213, allocations: 8.934 MB / 0.4926 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.836e-06/0.8214, allocations: 3.953 kB / 0.4926 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01184/0.8332, allocations: 2.631 MB / 0.4952 GB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000296/0.8336, allocations: 108.6 kB / 0.4953 GB, free: 12.72 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003288/0.8339, allocations: 87.94 kB / 0.4954 GB, free: 12.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005853/0.8345, allocations: 23.97 kB / 0.4954 GB, free: 12.61 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003742/0.8349, allocations: 71.89 kB / 0.4955 GB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001579/0.8351, allocations: 71.89 kB / 0.4955 GB, free: 12.47 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004715/0.8356, allocations: 257.2 kB / 0.4958 GB, free: 12.22 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.8356, allocations: 0 / 0.4958 GB, free: 12.22 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00133/0.8369, allocations: 228 kB / 0.496 GB, free: 12 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {8,6} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01156/0.8485, allocations: 3.234 MB / 0.4992 GB, free: 8.719 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004446/0.853, allocations: 1.329 MB / 0.5005 GB, free: 7.363 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.8531, allocations: 0 / 0.5005 GB, free: 7.363 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003116/0.8562, allocations: 0.8913 MB / 0.5013 GB, free: 6.445 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009656/0.8572, allocations: 104.8 kB / 0.5014 GB, free: 6.344 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005488/0.8627, allocations: 2.176 MB / 0.5035 GB, free: 4.117 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007401/0.8635, allocations: 0.9054 MB / 0.5044 GB, free: 3.184 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004595/0.864, allocations: 72.34 kB / 0.5045 GB, free: 3.109 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003247/0.8643, allocations: 155.4 kB / 0.5046 GB, free: 2.957 MB / 442.7 MB Notification: Performance of SimCode: time 1.293e-06/0.8643, allocations: 0 / 0.5046 GB, free: 2.957 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3943/1.259, allocations: 21.57 MB / 0.5257 GB, free: 144.2 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002554/1.259, allocations: 180.8 kB / 0.5259 GB, free: 143.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.02/4.279, allocations: 2.219 kB / 0.5259 GB, free: 143.9 MB / 458.7 MB