Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.497/2.497, allocations: 233 MB / 246.1 MB, free: 14.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.434e-05/4.441e-05, allocations: 4 kB / 302.3 MB, free: 7.379 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.116, allocations: 53.23 MB / 355.5 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.497/0.613, allocations: 88.91 MB / 444.4 MB, free: 12.79 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003181/0.6134, allocations: 83.95 kB / 444.5 MB, free: 12.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05566/0.6691, allocations: 13.08 MB / 457.6 MB, free: 15.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.6691, allocations: 0 / 457.6 MB, free: 15.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.6e-05/0.6692, allocations: 7.938 kB / 457.6 MB, free: 15.5 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001152/0.6703, allocations: 486.2 kB / 458.1 MB, free: 14.97 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.145e-05/0.6704, allocations: 12.03 kB / 458.1 MB, free: 14.96 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001344/0.6706, allocations: 58.53 kB / 458.2 MB, free: 14.89 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00181/0.6724, allocations: 99.55 kB / 458.2 MB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007023/0.6731, allocations: 259.1 kB / 458.5 MB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.315e-05/0.6732, allocations: 19.98 kB / 458.5 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.163e-05/0.6733, allocations: 16 kB / 458.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009481/0.6743, allocations: 298.9 kB / 458.8 MB, free: 14.15 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.811e-05/0.6743, allocations: 7.953 kB / 458.8 MB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.988e-05/0.6744, allocations: 7.984 kB / 458.8 MB, free: 14.13 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001758/0.6746, allocations: 27.97 kB / 458.9 MB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009399/0.6755, allocations: 267.8 kB / 459.1 MB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003644/0.6792, allocations: 1.29 MB / 460.4 MB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007725/0.68, allocations: 165.2 kB / 460.6 MB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/0.6802, allocations: 57.78 kB / 460.6 MB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.951e-05/0.6803, allocations: 0 / 460.6 MB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.874e-05/0.6804, allocations: 42.55 kB / 460.7 MB, free: 12.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 6.503e-06/0.6804, allocations: 0 / 460.7 MB, free: 12.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.001477/0.6819, allocations: 279 kB / 461 MB, free: 11.88 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.039e-05/0.682, allocations: 85.03 kB / 461 MB, free: 11.78 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003656/0.6824, allocations: 177.5 kB / 461.2 MB, free: 11.6 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.6824, allocations: 29.7 kB / 461.2 MB, free: 11.56 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000185/0.6826, allocations: 159.8 kB / 461.4 MB, free: 11.4 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.796e-05/0.6827, allocations: 51.28 kB / 461.4 MB, free: 11.35 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/0.6828, allocations: 8 kB / 461.5 MB, free: 11.34 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002065/0.683, allocations: 326.8 kB / 461.8 MB, free: 11.02 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/0.6832, allocations: 43.98 kB / 461.8 MB, free: 10.97 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003265/0.6836, allocations: 145 kB / 462 MB, free: 10.79 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003049/0.6839, allocations: 75.84 kB / 462 MB, free: 10.71 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.6839, allocations: 4 kB / 462 MB, free: 10.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001078/0.685, allocations: 238 kB / 462.3 MB, free: 10.46 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.132e-05/0.6851, allocations: 8 kB / 462.3 MB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/0.6851, allocations: 8.391 kB / 462.3 MB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00045/0.6856, allocations: 40.83 kB / 462.3 MB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003936/0.686, allocations: 47.91 kB / 462.4 MB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002187/0.6882, allocations: 1.339 MB / 463.7 MB, free: 8.887 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003521/0.6886, allocations: 8 kB / 463.7 MB, free: 8.879 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.323e-05/0.6887, allocations: 8 kB / 463.7 MB, free: 8.871 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 (24): * Single equations (assignments): 23 * 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.000174/0.6889, allocations: 120.9 kB / 463.8 MB, free: 8.746 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.472e-05/0.689, allocations: 15.81 kB / 463.9 MB, free: 8.73 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007769/0.6897, allocations: 184.1 kB / 464 MB, free: 8.539 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.6898, allocations: 3.938 kB / 464 MB, free: 8.535 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.6898, allocations: 4 kB / 464 MB, free: 8.531 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.6898, allocations: 3.984 kB / 464.1 MB, free: 8.527 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001711/0.6915, allocations: 0.5529 MB / 464.6 MB, free: 7.906 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.377e-06/0.6916, allocations: 4 kB / 464.6 MB, free: 7.902 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/0.6918, allocations: 16 kB / 464.6 MB, free: 7.887 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003006/0.6922, allocations: 28.83 kB / 464.7 MB, free: 7.855 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/0.6922, allocations: 8 kB / 464.7 MB, free: 7.848 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001926/0.6941, allocations: 1.319 MB / 466 MB, free: 6.395 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.6942, allocations: 7.984 kB / 466 MB, free: 6.387 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008689/0.6951, allocations: 343 kB / 466.3 MB, free: 5.996 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.6952, allocations: 88.92 kB / 466.4 MB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.527e-05/0.6953, allocations: 4 kB / 466.4 MB, free: 5.887 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002851/0.6956, allocations: 7.984 kB / 466.4 MB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/0.6957, allocations: 15.89 kB / 466.4 MB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-05/0.6957, allocations: 7.984 kB / 466.4 MB, free: 5.855 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000258/0.696, allocations: 136.5 kB / 466.6 MB, free: 5.723 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.696, allocations: 0 / 466.6 MB, free: 5.723 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009037/0.6969, allocations: 59.98 kB / 466.6 MB, free: 5.664 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (14): * Single equations (assignments): 12 * 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.001526/0.6985, allocations: 1.146 MB / 467.8 MB, free: 4.461 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.6995, allocations: 258.4 kB / 468 MB, free: 4.199 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.6996, allocations: 0 / 468 MB, free: 4.199 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004673/0.7, allocations: 165.7 kB / 468.2 MB, free: 4.027 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005746/0.7006, allocations: 24.88 kB / 468.2 MB, free: 4.004 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.7023, allocations: 374.5 kB / 468.6 MB, free: 3.59 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005886/0.7029, allocations: 0.7638 MB / 469.4 MB, free: 2.801 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002978/0.7033, allocations: 41.5 kB / 469.4 MB, free: 2.758 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/0.7034, allocations: 55.42 kB / 469.4 MB, free: 2.707 MB / 394.7 MB Notification: Performance of SimCode: time 1.223e-06/0.7034, allocations: 0 / 469.4 MB, free: 2.707 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05929/0.7628, allocations: 3.468 MB / 472.9 MB, free: 15.32 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003423/0.7632, allocations: 170.7 kB / 473.1 MB, free: 15.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.319/3.082, allocations: 0 / 473.1 MB, free: 15.09 MB / 410.7 MB