Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.385/2.385, allocations: 233 MB / 245.6 MB, free: 14.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.487e-05/4.496e-05, allocations: 7.984 kB / 301.4 MB, free: 7.879 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.117, allocations: 53.24 MB / 354.6 MB, free: 2.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4778/0.5949, allocations: 88.92 MB / 443.5 MB, free: 12.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/0.5952, allocations: 80.73 kB / 443.6 MB, free: 12.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05612/0.6514, allocations: 13.08 MB / 456.7 MB, free: 15.7 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.6514, allocations: 11.88 kB / 456.7 MB, free: 15.68 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.959e-05/0.6515, allocations: 4 kB / 456.7 MB, free: 15.68 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.0009849/0.6525, allocations: 486.3 kB / 457.2 MB, free: 15.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/0.6525, allocations: 12.03 kB / 457.2 MB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.435e-05/0.6527, allocations: 54.48 kB / 457.2 MB, free: 15.08 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/0.654, allocations: 99.59 kB / 457.3 MB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005741/0.6546, allocations: 259.1 kB / 457.6 MB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.6547, allocations: 16 kB / 457.6 MB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.975e-05/0.6548, allocations: 23.98 kB / 457.6 MB, free: 14.65 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007536/0.6555, allocations: 302.8 kB / 457.9 MB, free: 14.33 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/0.6556, allocations: 11.95 kB / 457.9 MB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.69e-05/0.6556, allocations: 4 kB / 457.9 MB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001468/0.6558, allocations: 27.98 kB / 457.9 MB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007491/0.6566, allocations: 263.8 kB / 458.2 MB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002783/0.6594, allocations: 1.298 MB / 459.5 MB, free: 12.63 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005889/0.66, allocations: 161.2 kB / 459.7 MB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.6602, allocations: 53.77 kB / 459.7 MB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.739e-05/0.6602, allocations: 0 / 459.7 MB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/0.6603, allocations: 46.48 kB / 459.8 MB, free: 12.34 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 2.334e-06/0.6603, allocations: 0 / 459.8 MB, free: 12.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.001092/0.6614, allocations: 275.1 kB / 460 MB, free: 12.06 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.658e-05/0.6615, allocations: 77.11 kB / 460.1 MB, free: 11.97 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002828/0.6618, allocations: 177.5 kB / 460.3 MB, free: 11.79 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.656e-05/0.6619, allocations: 29.7 kB / 460.3 MB, free: 11.75 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.662, allocations: 226.2 kB / 460.5 MB, free: 11.53 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.507e-05/0.6621, allocations: 47.3 kB / 460.6 MB, free: 11.48 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.479e-05/0.6621, allocations: 8.031 kB / 460.6 MB, free: 11.48 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.6623, allocations: 323 kB / 460.9 MB, free: 11.15 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.6625, allocations: 47.98 kB / 460.9 MB, free: 11.11 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002389/0.6627, allocations: 144.8 kB / 461.1 MB, free: 10.92 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.6629, allocations: 71.89 kB / 461.2 MB, free: 10.85 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.663, allocations: 4 kB / 461.2 MB, free: 10.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007552/0.6637, allocations: 234.2 kB / 461.4 MB, free: 10.61 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.89e-05/0.6638, allocations: 8 kB / 461.4 MB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.6638, allocations: 7.953 kB / 461.4 MB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003767/0.6642, allocations: 40.77 kB / 461.4 MB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002961/0.6645, allocations: 35.98 kB / 461.5 MB, free: 10.51 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001749/0.6663, allocations: 1.343 MB / 462.8 MB, free: 9.035 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002539/0.6666, allocations: 8.156 kB / 462.8 MB, free: 9.027 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.6666, allocations: 12 kB / 462.8 MB, free: 9.016 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.0001312/0.6668, allocations: 112.9 kB / 463 MB, free: 8.898 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.476e-05/0.6668, allocations: 19.75 kB / 463 MB, free: 8.879 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006194/0.6675, allocations: 192 kB / 463.2 MB, free: 8.68 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.6675, allocations: 0 / 463.2 MB, free: 8.68 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.6675, allocations: 4 kB / 463.2 MB, free: 8.676 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.778e-06/0.6675, allocations: 4 kB / 463.2 MB, free: 8.672 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001348/0.6689, allocations: 0.5411 MB / 463.7 MB, free: 8.062 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/0.6689, allocations: 4 kB / 463.7 MB, free: 8.059 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.6691, allocations: 23.98 kB / 463.7 MB, free: 8.035 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002422/0.6694, allocations: 36.92 kB / 463.8 MB, free: 7.996 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.6694, allocations: 4 kB / 463.8 MB, free: 7.992 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001834/0.6713, allocations: 1.323 MB / 465.1 MB, free: 6.535 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.768e-06/0.6713, allocations: 3.953 kB / 465.1 MB, free: 6.531 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.6724, allocations: 338.9 kB / 465.4 MB, free: 6.145 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001613/0.6726, allocations: 92.91 kB / 465.5 MB, free: 6.035 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.021e-05/0.6727, allocations: 11.94 kB / 465.5 MB, free: 6.023 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002503/0.6729, allocations: 4 kB / 465.5 MB, free: 6.02 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.246e-05/0.673, allocations: 19.94 kB / 465.6 MB, free: 6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.6731, allocations: 4 kB / 465.6 MB, free: 5.996 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002886/0.6734, allocations: 136.6 kB / 465.7 MB, free: 5.863 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.6734, allocations: 0 / 465.7 MB, free: 5.863 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001021/0.6744, allocations: 52 kB / 465.7 MB, free: 5.812 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.001864/0.6763, allocations: 1.158 MB / 466.9 MB, free: 4.598 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001184/0.6776, allocations: 245.6 kB / 467.1 MB, free: 4.348 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/0.6777, allocations: 0 / 467.1 MB, free: 4.348 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005418/0.6782, allocations: 162.8 kB / 467.3 MB, free: 4.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006523/0.6789, allocations: 27.39 kB / 467.3 MB, free: 4.156 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002047/0.681, allocations: 413.9 kB / 467.7 MB, free: 3.695 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005631/0.6816, allocations: 0.7677 MB / 468.5 MB, free: 2.902 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/0.6818, allocations: 63.36 kB / 468.6 MB, free: 2.844 MB / 394.7 MB Notification: Performance of SimCode: time 1.272e-06/0.6818, allocations: 0 / 468.6 MB, free: 2.844 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.678/3.36, allocations: 4.081 MB / 472.6 MB, free: 14.75 MB / 410.7 MB