Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.377/2.377, allocations: 233 MB / 246.1 MB, free: 14.79 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.957e-05/4.973e-05, allocations: 4 kB / 302.3 MB, free: 7.383 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1473, allocations: 53.24 MB / 355.5 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5056/0.6529, allocations: 88.91 MB / 444.4 MB, free: 12.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003987/0.6533, allocations: 79.95 kB / 444.5 MB, free: 12.58 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06343/0.7168, allocations: 13.09 MB / 457.6 MB, free: 15.36 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.917e-06/0.7169, allocations: 0 / 457.6 MB, free: 15.36 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.823e-05/0.7169, allocations: 7.938 kB / 457.6 MB, free: 15.36 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.0008406/0.7177, allocations: 486.2 kB / 458.1 MB, free: 14.83 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.7178, allocations: 8.031 kB / 458.1 MB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.216e-05/0.7179, allocations: 54.55 kB / 458.2 MB, free: 14.76 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001231/0.7191, allocations: 99.61 kB / 458.3 MB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004881/0.7196, allocations: 270.2 kB / 458.5 MB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.7197, allocations: 11.98 kB / 458.5 MB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.81e-05/0.7198, allocations: 16 kB / 458.5 MB, free: 14.33 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006862/0.7205, allocations: 306.9 kB / 458.8 MB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.7205, allocations: 7.938 kB / 458.9 MB, free: 14 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.64e-05/0.7205, allocations: 7.984 kB / 458.9 MB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001261/0.7207, allocations: 19.98 kB / 458.9 MB, free: 13.97 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006678/0.7214, allocations: 271.8 kB / 459.1 MB, free: 13.71 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002436/0.7238, allocations: 1.294 MB / 460.4 MB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005326/0.7244, allocations: 161.2 kB / 460.6 MB, free: 12.14 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.7245, allocations: 57.77 kB / 460.7 MB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.7246, allocations: 0 / 460.7 MB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.7246, allocations: 38.5 kB / 460.7 MB, free: 12.03 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.893e-06/0.7246, allocations: 0 / 460.7 MB, free: 12.03 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.00094/0.7256, allocations: 283.2 kB / 461 MB, free: 11.74 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/0.7256, allocations: 77.11 kB / 461 MB, free: 11.65 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002315/0.7259, allocations: 177.5 kB / 461.2 MB, free: 11.47 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.7259, allocations: 33.69 kB / 461.2 MB, free: 11.43 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.7261, allocations: 155.8 kB / 461.4 MB, free: 11.27 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.043e-05/0.7261, allocations: 55.28 kB / 461.5 MB, free: 11.22 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.552e-05/0.7262, allocations: 4 kB / 461.5 MB, free: 11.21 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.7263, allocations: 322.8 kB / 461.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.7265, allocations: 48.2 kB / 461.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002389/0.7267, allocations: 152.7 kB / 462 MB, free: 10.65 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.7269, allocations: 75.95 kB / 462 MB, free: 10.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.727, allocations: 0 / 462 MB, free: 10.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006642/0.7276, allocations: 238.6 kB / 462.3 MB, free: 10.33 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.7277, allocations: 8 kB / 462.3 MB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.7277, allocations: 7.953 kB / 462.3 MB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003304/0.728, allocations: 45.2 kB / 462.3 MB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/0.7283, allocations: 39.92 kB / 462.4 MB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001587/0.7299, allocations: 1.339 MB / 463.7 MB, free: 8.758 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.7302, allocations: 11.98 kB / 463.7 MB, free: 8.746 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/0.7302, allocations: 12 kB / 463.7 MB, free: 8.734 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.0001201/0.7303, allocations: 116.9 kB / 463.9 MB, free: 8.613 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.649e-05/0.7304, allocations: 15.81 kB / 463.9 MB, free: 8.598 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005904/0.731, allocations: 192 kB / 464.1 MB, free: 8.398 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.731, allocations: 4 kB / 464.1 MB, free: 8.395 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.731, allocations: 0 / 464.1 MB, free: 8.395 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.7311, allocations: 0 / 464.1 MB, free: 8.395 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.7322, allocations: 0.5527 MB / 464.6 MB, free: 7.773 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.7323, allocations: 4 kB / 464.6 MB, free: 7.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.7325, allocations: 23.92 kB / 464.6 MB, free: 7.746 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002253/0.7327, allocations: 32.83 kB / 464.7 MB, free: 7.711 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.7327, allocations: 0 / 464.7 MB, free: 7.711 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001355/0.7341, allocations: 1.319 MB / 466 MB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.7341, allocations: 3.953 kB / 466 MB, free: 6.254 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006086/0.7347, allocations: 338.6 kB / 466.3 MB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.563e-05/0.7348, allocations: 92.92 kB / 466.4 MB, free: 5.758 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.807e-05/0.7349, allocations: 7.984 kB / 466.4 MB, free: 5.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.7351, allocations: 7.938 kB / 466.4 MB, free: 5.742 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.7351, allocations: 15.94 kB / 466.4 MB, free: 5.727 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.7352, allocations: 4 kB / 466.4 MB, free: 5.723 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001819/0.7353, allocations: 136.4 kB / 466.6 MB, free: 5.59 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.7354, allocations: 0 / 466.6 MB, free: 5.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005513/0.7359, allocations: 56 kB / 466.6 MB, free: 5.535 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.001018/0.7369, allocations: 1.161 MB / 467.8 MB, free: 4.32 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006833/0.7377, allocations: 246.4 kB / 468 MB, free: 4.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.7377, allocations: 4.062 kB / 468 MB, free: 4.066 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003277/0.738, allocations: 165.7 kB / 468.2 MB, free: 3.895 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.7384, allocations: 26.92 kB / 468.2 MB, free: 3.871 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.7395, allocations: 372.3 kB / 468.6 MB, free: 3.457 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004325/0.74, allocations: 0.7679 MB / 469.4 MB, free: 2.664 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002062/0.7402, allocations: 41.52 kB / 469.4 MB, free: 2.621 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.7403, allocations: 59.42 kB / 469.5 MB, free: 2.566 MB / 394.7 MB Notification: Performance of SimCode: time 1.212e-06/0.7404, allocations: 0 / 469.5 MB, free: 2.566 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02528/0.7656, allocations: 3.458 MB / 472.9 MB, free: 15.18 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002814/0.766, allocations: 178.2 kB / 473.1 MB, free: 14.95 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.554/3.32, allocations: 0 / 473.1 MB, free: 14.95 MB / 410.7 MB