Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.241/2.241, allocations: 233 MB / 246.1 MB, free: 14.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.501e-05/3.505e-05, allocations: 7.938 kB / 302.3 MB, free: 7.395 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1062, allocations: 53.24 MB / 355.5 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4363/0.5426, allocations: 90.15 MB / 445.7 MB, free: 11.45 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/0.5429, allocations: 87.95 kB / 445.8 MB, free: 11.37 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03458/0.5775, allocations: 7.384 MB / 453.2 MB, free: 3.922 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5776, allocations: 0 / 453.2 MB, free: 3.922 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.504e-05/0.5776, allocations: 12 kB / 453.2 MB, free: 3.91 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001291/0.5789, allocations: 0.5745 MB / 453.7 MB, free: 3.289 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.579, allocations: 12.03 kB / 453.8 MB, free: 3.277 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001087/0.5791, allocations: 58.53 kB / 453.8 MB, free: 3.211 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.5793, allocations: 43.53 kB / 453.8 MB, free: 3.168 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00316/0.5824, allocations: 0.7908 MB / 454.6 MB, free: 2.336 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/0.5825, allocations: 20.56 kB / 454.7 MB, free: 2.316 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.389e-05/0.5826, allocations: 28.52 kB / 454.7 MB, free: 2.289 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008028/0.5834, allocations: 336 kB / 455 MB, free: 1.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.5835, allocations: 3.953 kB / 455 MB, free: 1.926 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.266e-05/0.5835, allocations: 16 kB / 455 MB, free: 1.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.5835, allocations: 7.984 kB / 455 MB, free: 1.902 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006384/0.5842, allocations: 228.9 kB / 455.3 MB, free: 1.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002596/0.5868, allocations: 1.364 MB / 456.6 MB, free: 236 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005205/0.5873, allocations: 169 kB / 456.8 MB, free: 48 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003429/0.5877, allocations: 97.73 kB / 456.9 MB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.5878, allocations: 4 kB / 456.9 MB, free: 15.94 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.5878, allocations: 40.28 kB / 456.9 MB, free: 15.89 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 2.454e-06/0.5878, allocations: 0 / 456.9 MB, free: 15.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=15): time 0.001585/0.5894, allocations: 0.5949 MB / 457.5 MB, free: 15.24 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.458e-05/0.5895, allocations: 81.11 kB / 457.6 MB, free: 15.14 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004699/0.59, allocations: 262.6 kB / 457.9 MB, free: 14.88 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.59, allocations: 29.7 kB / 457.9 MB, free: 14.85 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/0.5902, allocations: 215.7 kB / 458.1 MB, free: 14.63 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.002e-05/0.5903, allocations: 55.28 kB / 458.2 MB, free: 14.58 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.744e-05/0.5904, allocations: 8.031 kB / 458.2 MB, free: 14.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.5905, allocations: 342.8 kB / 458.5 MB, free: 14.23 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.5907, allocations: 55.98 kB / 458.6 MB, free: 14.17 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002624/0.591, allocations: 160.8 kB / 458.7 MB, free: 13.97 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002509/0.5913, allocations: 91.88 kB / 458.8 MB, free: 13.88 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.5913, allocations: 0 / 458.8 MB, free: 13.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008143/0.5921, allocations: 301.8 kB / 459.1 MB, free: 13.57 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.5922, allocations: 4 kB / 459.1 MB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.5922, allocations: 4 kB / 459.1 MB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002848/0.5925, allocations: 44.83 kB / 459.1 MB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003503/0.5928, allocations: 51.91 kB / 459.2 MB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001819/0.5947, allocations: 1.455 MB / 460.7 MB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003163/0.595, allocations: 8 kB / 460.7 MB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.5951, allocations: 19.95 kB / 460.7 MB, free: 11.86 MB / 394.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 (28): * Single equations (assignments): 27 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001386/0.5952, allocations: 131.7 kB / 460.8 MB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.554e-05/0.5953, allocations: 27.72 kB / 460.8 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006697/0.596, allocations: 222.5 kB / 461.1 MB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.596, allocations: 4 kB / 461.1 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.596, allocations: 0 / 461.1 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.5961, allocations: 7.938 kB / 461.1 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001376/0.5974, allocations: 0.621 MB / 461.7 MB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.5975, allocations: 0 / 461.7 MB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002385/0.5977, allocations: 31.94 kB / 461.7 MB, free: 10.74 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002996/0.598, allocations: 56.64 kB / 461.8 MB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.007e-05/0.5981, allocations: 8 kB / 461.8 MB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001769/0.5999, allocations: 1.452 MB / 463.2 MB, free: 9.094 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/0.5999, allocations: 4.031 kB / 463.2 MB, free: 9.09 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008682/0.6008, allocations: 417.1 kB / 463.6 MB, free: 8.645 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.6009, allocations: 100.8 kB / 463.7 MB, free: 8.527 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.528e-05/0.601, allocations: 4 kB / 463.7 MB, free: 8.523 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.6012, allocations: 7.984 kB / 463.8 MB, free: 8.516 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.782e-05/0.6013, allocations: 23.94 kB / 463.8 MB, free: 8.492 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.6013, allocations: 8 kB / 463.8 MB, free: 8.484 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003617/0.6017, allocations: 206.2 kB / 464 MB, free: 8.281 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6017, allocations: 0.6562 kB / 464 MB, free: 8.281 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005966/0.6023, allocations: 72 kB / 464.1 MB, free: 8.211 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001288/0.6036, allocations: 1.09 MB / 465.1 MB, free: 7.078 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007277/0.6044, allocations: 270.4 kB / 465.4 MB, free: 6.805 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.6044, allocations: 0 / 465.4 MB, free: 6.805 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005305/0.605, allocations: 201.7 kB / 465.6 MB, free: 6.598 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000607/0.6056, allocations: 54.42 kB / 465.7 MB, free: 6.547 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.6074, allocations: 0.6089 MB / 466.3 MB, free: 5.898 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005305/0.6079, allocations: 0.8184 MB / 467.1 MB, free: 5.055 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002767/0.6082, allocations: 42.95 kB / 467.1 MB, free: 5.012 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000199/0.6084, allocations: 95.41 kB / 467.2 MB, free: 4.918 MB / 394.7 MB Notification: Performance of SimCode: time 1.293e-06/0.6085, allocations: 0 / 467.2 MB, free: 4.918 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03495/0.6434, allocations: 5.567 MB / 472.8 MB, free: 15.43 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002975/0.6438, allocations: 173.8 kB / 473 MB, free: 15.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.234/2.878, allocations: 0 / 473 MB, free: 15.21 MB / 410.7 MB