Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.433/2.433, allocations: 233 MB / 246.1 MB, free: 14.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.122e-05/5.094e-05, allocations: 3.938 kB / 302.3 MB, free: 7.379 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.127, allocations: 53.24 MB / 355.5 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4896/0.6166, allocations: 90.14 MB / 445.7 MB, free: 11.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003343/0.617, allocations: 95.03 kB / 445.8 MB, free: 11.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03875/0.6558, allocations: 7.375 MB / 453.2 MB, free: 3.902 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.099e-06/0.6559, allocations: 4 kB / 453.2 MB, free: 3.898 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.321e-05/0.6559, allocations: 7.938 kB / 453.2 MB, free: 3.891 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.001234/0.6571, allocations: 0.5823 MB / 453.7 MB, free: 3.262 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.6572, allocations: 8.031 kB / 453.8 MB, free: 3.254 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.77e-05/0.6573, allocations: 58.55 kB / 453.8 MB, free: 3.188 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.6574, allocations: 39.53 kB / 453.8 MB, free: 3.148 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003159/0.6606, allocations: 0.7986 MB / 454.6 MB, free: 2.309 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.509e-05/0.6607, allocations: 20.56 kB / 454.7 MB, free: 2.289 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.821e-05/0.6608, allocations: 24.52 kB / 454.7 MB, free: 2.266 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000774/0.6616, allocations: 344 kB / 455 MB, free: 1.898 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.6616, allocations: 3.953 kB / 455 MB, free: 1.895 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.214e-05/0.6616, allocations: 12 kB / 455 MB, free: 1.883 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.6617, allocations: 4 kB / 455 MB, free: 1.879 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006342/0.6623, allocations: 228.9 kB / 455.3 MB, free: 1.656 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002457/0.6648, allocations: 1.36 MB / 456.6 MB, free: 216 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005155/0.6653, allocations: 168.9 kB / 456.8 MB, free: 28 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003252/0.6657, allocations: 105.7 kB / 456.9 MB, free: 15.92 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.6657, allocations: 0 / 456.9 MB, free: 15.92 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.6658, allocations: 34.56 kB / 456.9 MB, free: 15.88 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 2.044e-06/0.6658, allocations: 4.562 kB / 456.9 MB, free: 15.87 MB / 394.7 MB Notification: Performance of matching and sorting (n=15): time 0.001577/0.6674, allocations: 0.5832 MB / 457.5 MB, free: 15.23 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/0.6674, allocations: 89.14 kB / 457.6 MB, free: 15.12 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000415/0.6679, allocations: 266.6 kB / 457.9 MB, free: 14.86 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.6679, allocations: 25.7 kB / 457.9 MB, free: 14.83 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.6681, allocations: 219.7 kB / 458.1 MB, free: 14.61 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.862e-05/0.6682, allocations: 58.45 kB / 458.2 MB, free: 14.55 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.641e-05/0.6682, allocations: 4 kB / 458.2 MB, free: 14.55 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.6684, allocations: 342.8 kB / 458.5 MB, free: 14.21 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/0.6686, allocations: 63.98 kB / 458.6 MB, free: 14.14 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002527/0.6688, allocations: 156.8 kB / 458.7 MB, free: 13.95 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002349/0.6691, allocations: 91.89 kB / 458.8 MB, free: 13.86 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.6691, allocations: 4 kB / 458.8 MB, free: 13.85 MB / 394.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007559/0.6699, allocations: 289.8 kB / 459.1 MB, free: 13.56 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.6699, allocations: 8.438 kB / 459.1 MB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.6699, allocations: 4 kB / 459.1 MB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002957/0.6702, allocations: 52.81 kB / 459.2 MB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000337/0.6706, allocations: 47.92 kB / 459.2 MB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/0.6723, allocations: 1.456 MB / 460.7 MB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002696/0.6726, allocations: 8 kB / 460.7 MB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.17e-05/0.6726, allocations: 19.94 kB / 460.7 MB, free: 11.83 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.0001255/0.6728, allocations: 120.9 kB / 460.8 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.323e-05/0.6729, allocations: 23.72 kB / 460.8 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006646/0.6735, allocations: 235 kB / 461.1 MB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.6736, allocations: 4 kB / 461.1 MB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.6736, allocations: 0 / 461.1 MB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.6736, allocations: 3.953 kB / 461.1 MB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/0.6749, allocations: 0.6171 MB / 461.7 MB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.6749, allocations: 0 / 461.7 MB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000203/0.6751, allocations: 23.94 kB / 461.7 MB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003027/0.6755, allocations: 72.61 kB / 461.8 MB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/0.6755, allocations: 0 / 461.8 MB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001767/0.6773, allocations: 1.46 MB / 463.2 MB, free: 9.066 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.6773, allocations: 0 / 463.2 MB, free: 9.066 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008798/0.6782, allocations: 413 kB / 463.6 MB, free: 8.625 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.6783, allocations: 96.86 kB / 463.7 MB, free: 8.512 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.091e-05/0.6784, allocations: 11.98 kB / 463.7 MB, free: 8.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.6787, allocations: 4 kB / 463.8 MB, free: 8.496 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.458e-05/0.6787, allocations: 19.88 kB / 463.8 MB, free: 8.477 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.6787, allocations: 4 kB / 463.8 MB, free: 8.473 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003306/0.6791, allocations: 207 kB / 464 MB, free: 8.27 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.6791, allocations: 0 / 464 MB, free: 8.27 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005759/0.6797, allocations: 80.06 kB / 464.1 MB, free: 8.191 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.001203/0.6809, allocations: 1.094 MB / 465.2 MB, free: 7.055 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000685/0.6816, allocations: 265.6 kB / 465.4 MB, free: 6.785 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.6816, allocations: 0 / 465.4 MB, free: 6.785 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005291/0.6822, allocations: 196.2 kB / 465.6 MB, free: 6.586 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005913/0.6828, allocations: 62.67 kB / 465.7 MB, free: 6.527 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.6845, allocations: 0.6088 MB / 466.3 MB, free: 5.879 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005088/0.6851, allocations: 0.8184 MB / 467.1 MB, free: 5.035 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002685/0.6853, allocations: 42.95 kB / 467.1 MB, free: 4.992 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001972/0.6856, allocations: 95.41 kB / 467.2 MB, free: 4.898 MB / 394.7 MB Notification: Performance of SimCode: time 9.82e-07/0.6856, allocations: 3.938 kB / 467.2 MB, free: 4.895 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03104/0.7166, allocations: 5.562 MB / 472.8 MB, free: 15.41 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003046/0.717, allocations: 181.4 kB / 473 MB, free: 15.19 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.607/3.324, allocations: 3.938 kB / 473 MB, free: 15.18 MB / 410.7 MB