Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Line,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Line",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.231/2.231, allocations: 233 MB / 246.1 MB, free: 15.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.197e-05/4.204e-05, allocations: 4 kB / 302.3 MB, free: 7.602 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1057, allocations: 53.24 MB / 355.5 MB, free: 2.246 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4368/0.5425, allocations: 93.48 MB / 449 MB, free: 8.266 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003215/0.5429, allocations: 87.95 kB / 449.1 MB, free: 8.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05273/0.5956, allocations: 11.06 MB / 460.2 MB, free: 13.01 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.5957, allocations: 0 / 460.2 MB, free: 13.01 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.625e-05/0.5958, allocations: 13.88 kB / 460.2 MB, free: 13 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.002484/0.5982, allocations: 0.7653 MB / 460.9 MB, free: 12.19 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.5983, allocations: 19.95 kB / 461 MB, free: 12.17 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001789/0.5985, allocations: 74.47 kB / 461 MB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002191/0.5987, allocations: 51.44 kB / 461.1 MB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005531/0.6043, allocations: 1.257 MB / 462.3 MB, free: 10.74 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.668e-05/0.6044, allocations: 29.12 kB / 462.4 MB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002291/0.6046, allocations: 55.86 kB / 462.4 MB, free: 10.66 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001811/0.6064, allocations: 0.7762 MB / 463.2 MB, free: 9.848 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.6065, allocations: 0 / 463.2 MB, free: 9.848 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.255e-05/0.6066, allocations: 20 kB / 463.2 MB, free: 9.828 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.841e-05/0.6066, allocations: 8 kB / 463.2 MB, free: 9.82 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/0.6077, allocations: 433.3 kB / 463.7 MB, free: 9.395 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006509/0.6143, allocations: 2.751 MB / 466.4 MB, free: 6.562 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.6155, allocations: 478.2 kB / 466.9 MB, free: 6.078 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001225/0.6168, allocations: 438.2 kB / 467.3 MB, free: 5.645 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.653e-05/0.6168, allocations: 8.531 kB / 467.3 MB, free: 5.637 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.6169, allocations: 38.56 kB / 467.3 MB, free: 5.59 MB / 394.7 MB Notification: Performance of pre-optimization done (n=32): time 3.336e-06/0.6169, allocations: 0 / 467.3 MB, free: 5.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=33): time 0.01277/0.6297, allocations: 3.099 MB / 470.4 MB, free: 2.422 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.35e-05/0.6298, allocations: 85.06 kB / 470.5 MB, free: 2.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006063/0.6304, allocations: 330.8 kB / 470.9 MB, free: 1.992 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001359/0.6306, allocations: 37.7 kB / 470.9 MB, free: 1.949 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/0.6308, allocations: 252.2 kB / 471.1 MB, free: 1.699 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002324/0.631, allocations: 158.1 kB / 471.3 MB, free: 1.543 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.034e-05/0.6311, allocations: 8 kB / 471.3 MB, free: 1.535 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.6313, allocations: 358.8 kB / 471.6 MB, free: 1.176 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/0.6324, allocations: 432.9 kB / 472.1 MB, free: 0.7539 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/0.6335, allocations: 0.5405 MB / 472.6 MB, free: 176 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.6347, allocations: 477.3 kB / 473.1 MB, free: 15.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.892e-06/0.6347, allocations: 7.984 kB / 473.1 MB, free: 15.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01101/0.6458, allocations: 2.469 MB / 475.6 MB, free: 13.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/0.6458, allocations: 9.266 kB / 475.6 MB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.6459, allocations: 4 kB / 475.6 MB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01308/0.6589, allocations: 2.085 MB / 477.7 MB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006748/0.6597, allocations: 79.89 kB / 477.7 MB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01862/0.6783, allocations: 8.902 MB / 486.6 MB, free: 1.863 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006655/0.679, allocations: 31.97 kB / 486.7 MB, free: 1.832 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001726/0.6792, allocations: 72.11 kB / 486.7 MB, free: 1.762 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.0002428/0.6794, allocations: 132.8 kB / 486.9 MB, free: 1.625 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/0.6796, allocations: 51.39 kB / 486.9 MB, free: 1.574 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0104/0.69, allocations: 2.196 MB / 489.1 MB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/0.6901, allocations: 8 kB / 489.1 MB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.6901, allocations: 0 / 489.1 MB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.6901, allocations: 3.938 kB / 489.1 MB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01212/0.7023, allocations: 2.99 MB / 492.1 MB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/0.7023, allocations: 3.938 kB / 492.1 MB, free: 12.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003976/0.7027, allocations: 39.92 kB / 492.2 MB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01763/0.7204, allocations: 3.248 MB / 495.4 MB, free: 8.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003148/0.7207, allocations: 107.9 kB / 495.5 MB, free: 8.875 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01861/0.7394, allocations: 8.925 MB / 0.4926 GB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.7394, allocations: 7.953 kB / 0.4926 GB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0112/0.7506, allocations: 2.617 MB / 0.4952 GB, free: 13.02 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002139/0.7509, allocations: 120.6 kB / 0.4953 GB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003113/0.7512, allocations: 88.25 kB / 0.4954 GB, free: 12.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006207/0.7518, allocations: 27.91 kB / 0.4954 GB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003731/0.7522, allocations: 67.89 kB / 0.4955 GB, free: 12.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00016/0.7524, allocations: 79.89 kB / 0.4955 GB, free: 12.62 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004407/0.7529, allocations: 261.2 kB / 0.4958 GB, free: 12.37 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.7529, allocations: 0 / 0.4958 GB, free: 12.37 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001267/0.7541, allocations: 224.1 kB / 0.496 GB, free: 12.15 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.01105/0.7652, allocations: 3.227 MB / 0.4992 GB, free: 8.879 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00413/0.7694, allocations: 1.318 MB / 0.5004 GB, free: 7.535 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.7694, allocations: 4.062 kB / 0.5004 GB, free: 7.531 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002984/0.7724, allocations: 0.8909 MB / 0.5013 GB, free: 6.613 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009717/0.7734, allocations: 113.5 kB / 0.5014 GB, free: 6.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005339/0.7788, allocations: 2.176 MB / 0.5035 GB, free: 4.273 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006286/0.7795, allocations: 0.9015 MB / 0.5044 GB, free: 3.344 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004468/0.7799, allocations: 76.34 kB / 0.5045 GB, free: 3.266 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003083/0.7803, allocations: 155.4 kB / 0.5046 GB, free: 3.113 MB / 442.7 MB Notification: Performance of SimCode: time 1.122e-06/0.7803, allocations: 0 / 0.5046 GB, free: 3.113 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.346/1.126, allocations: 21.55 MB / 0.5257 GB, free: 144 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002484/1.127, allocations: 172.1 kB / 0.5259 GB, free: 143.8 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.815/3.942, allocations: 1.188 kB / 0.5259 GB, free: 143.8 MB / 458.7 MB