Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.694/2.694, allocations: 233 MB / 246.1 MB, free: 14.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.579e-05/4.601e-05, allocations: 7.938 kB / 302.3 MB, free: 7.379 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1253, allocations: 53.23 MB / 355.5 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4706/0.5959, allocations: 88.92 MB / 444.4 MB, free: 12.77 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003385/0.5963, allocations: 79.95 kB / 444.5 MB, free: 12.69 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0605/0.6569, allocations: 13.08 MB / 457.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.009e-06/0.6569, allocations: 0 / 457.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.357e-05/0.657, allocations: 11.88 kB / 457.6 MB, free: 15.46 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.001203/0.6582, allocations: 494.2 kB / 458.1 MB, free: 14.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.351e-05/0.6583, allocations: 8.031 kB / 458.1 MB, free: 14.93 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000129/0.6584, allocations: 58.55 kB / 458.2 MB, free: 14.86 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001994/0.6604, allocations: 95.61 kB / 458.3 MB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007507/0.6612, allocations: 267.1 kB / 458.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.41e-05/0.6613, allocations: 11.98 kB / 458.5 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.26e-05/0.6614, allocations: 16 kB / 458.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.6624, allocations: 302.9 kB / 458.8 MB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.095e-05/0.6625, allocations: 7.938 kB / 458.9 MB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.319e-05/0.6625, allocations: 11.98 kB / 458.9 MB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001903/0.6627, allocations: 19.98 kB / 458.9 MB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009519/0.6637, allocations: 271.8 kB / 459.2 MB, free: 13.81 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003397/0.6671, allocations: 1.29 MB / 460.4 MB, free: 12.42 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007376/0.6679, allocations: 222.3 kB / 460.7 MB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/0.6681, allocations: 53.78 kB / 460.7 MB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.167e-05/0.6682, allocations: 3.984 kB / 460.7 MB, free: 12.1 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.6683, allocations: 34.56 kB / 460.7 MB, free: 12.06 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 4.137e-06/0.6683, allocations: 0 / 460.7 MB, free: 12.06 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.001067/0.6694, allocations: 228.4 kB / 461 MB, free: 11.83 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.114e-05/0.6695, allocations: 77.11 kB / 461 MB, free: 11.73 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003595/0.6698, allocations: 181.5 kB / 461.2 MB, free: 11.55 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.6699, allocations: 33.7 kB / 461.3 MB, free: 11.51 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.6701, allocations: 155.8 kB / 461.4 MB, free: 11.36 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.294e-05/0.6702, allocations: 59.2 kB / 461.5 MB, free: 11.3 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.231e-05/0.6703, allocations: 8 kB / 461.5 MB, free: 11.29 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.6705, allocations: 326.8 kB / 461.8 MB, free: 10.96 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/0.6707, allocations: 40.2 kB / 461.8 MB, free: 10.92 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002988/0.671, allocations: 140.8 kB / 462 MB, free: 10.74 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/0.6713, allocations: 72.44 kB / 462 MB, free: 10.67 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.6713, allocations: 4 kB / 462 MB, free: 10.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000752/0.6721, allocations: 201.5 kB / 462.2 MB, free: 10.46 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/0.6721, allocations: 8 kB / 462.3 MB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.6721, allocations: 4 kB / 462.3 MB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.762e-05/0.6722, allocations: 4 kB / 462.3 MB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004641/0.6727, allocations: 44.36 kB / 462.3 MB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.949e-05/0.6727, allocations: 8 kB / 462.3 MB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000309/0.673, allocations: 8 kB / 462.3 MB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.034e-05/0.6731, allocations: 15.94 kB / 462.3 MB, free: 10.37 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 (25): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001538/0.6733, allocations: 116.9 kB / 462.4 MB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.53e-05/0.6734, allocations: 15.86 kB / 462.5 MB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005666/0.674, allocations: 155.1 kB / 462.6 MB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.674, allocations: 7.938 kB / 462.6 MB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.674, allocations: 0 / 462.6 MB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.674, allocations: 4 kB / 462.6 MB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001881/0.6759, allocations: 0.6456 MB / 463.3 MB, free: 9.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/0.676, allocations: 7.984 kB / 463.3 MB, free: 9.312 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002622/0.6763, allocations: 27.94 kB / 463.3 MB, free: 9.285 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.955e-05/0.6763, allocations: 4 kB / 463.3 MB, free: 9.281 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.535e-05/0.6763, allocations: 11.98 kB / 463.3 MB, free: 9.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-05/0.6764, allocations: 4.438 kB / 463.3 MB, free: 9.266 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-05/0.6764, allocations: 7.938 kB / 463.3 MB, free: 9.258 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007725/0.6772, allocations: 499.1 kB / 463.8 MB, free: 8.625 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.6773, allocations: 92.92 kB / 463.9 MB, free: 8.516 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.292e-05/0.6774, allocations: 8 kB / 463.9 MB, free: 8.508 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003136/0.6777, allocations: 7.984 kB / 463.9 MB, free: 8.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.413e-05/0.6778, allocations: 19.94 kB / 463.9 MB, free: 8.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/0.6779, allocations: 12 kB / 464 MB, free: 8.469 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002609/0.6781, allocations: 136.5 kB / 464.1 MB, free: 8.336 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.6781, allocations: 3.938 kB / 464.1 MB, free: 8.332 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000893/0.6791, allocations: 51.98 kB / 464.1 MB, free: 8.281 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001663/0.6807, allocations: 1.988 MB / 466.1 MB, free: 6.168 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005136/0.6813, allocations: 128.2 kB / 466.3 MB, free: 6.043 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.6813, allocations: 0 / 466.3 MB, free: 6.043 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002096/0.6815, allocations: 55.86 kB / 466.3 MB, free: 5.988 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006928/0.6822, allocations: 38.97 kB / 466.4 MB, free: 5.953 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.6841, allocations: 433.7 kB / 466.8 MB, free: 5.453 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005897/0.6847, allocations: 0.7716 MB / 467.5 MB, free: 4.656 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003248/0.6851, allocations: 37.52 kB / 467.6 MB, free: 4.621 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.6853, allocations: 59.41 kB / 467.6 MB, free: 4.566 MB / 394.7 MB Notification: Performance of SimCode: time 1.282e-06/0.6853, allocations: 0 / 467.6 MB, free: 4.566 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03273/0.718, allocations: 3.105 MB / 470.7 MB, free: 1.531 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003386/0.7184, allocations: 164.1 kB / 470.9 MB, free: 1.301 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.278/2.996, allocations: 0 / 470.9 MB, free: 1.301 MB / 394.7 MB