Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.42/2.42, allocations: 233 MB / 246.1 MB, free: 14.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.553e-05/4.563e-05, allocations: 7.938 kB / 302.3 MB, free: 7.371 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.127, allocations: 53.23 MB / 355.5 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4739/0.6009, allocations: 88.91 MB / 444.4 MB, free: 12.67 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003179/0.6013, allocations: 79.95 kB / 444.5 MB, free: 12.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05726/0.6586, allocations: 13.08 MB / 457.6 MB, free: 15.38 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.159e-06/0.6587, allocations: 0 / 457.6 MB, free: 15.38 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.966e-05/0.6587, allocations: 11.88 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.000878/0.6596, allocations: 498.2 kB / 458.1 MB, free: 14.83 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.6596, allocations: 8.031 kB / 458.1 MB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.056e-05/0.6598, allocations: 50.55 kB / 458.2 MB, free: 14.76 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001241/0.661, allocations: 103.6 kB / 458.3 MB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004856/0.6615, allocations: 259.1 kB / 458.5 MB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.6615, allocations: 19.92 kB / 458.5 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.26e-05/0.6616, allocations: 24 kB / 458.6 MB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007095/0.6624, allocations: 290.9 kB / 458.8 MB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.6624, allocations: 3.953 kB / 458.8 MB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.67e-05/0.6625, allocations: 15.97 kB / 458.9 MB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001324/0.6626, allocations: 23.92 kB / 458.9 MB, free: 13.97 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006782/0.6633, allocations: 275.8 kB / 459.2 MB, free: 13.7 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002413/0.6657, allocations: 1.278 MB / 460.4 MB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005479/0.6663, allocations: 230.3 kB / 460.7 MB, free: 12.06 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.6665, allocations: 45.78 kB / 460.7 MB, free: 12.01 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.6665, allocations: 4 kB / 460.7 MB, free: 12 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.6665, allocations: 38.55 kB / 460.7 MB, free: 11.96 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 3.146e-06/0.6666, allocations: 0 / 460.7 MB, free: 11.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007582/0.6673, allocations: 229.5 kB / 461 MB, free: 11.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/0.6674, allocations: 81.11 kB / 461.1 MB, free: 11.63 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002494/0.6677, allocations: 181.5 kB / 461.2 MB, free: 11.45 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.6677, allocations: 25.7 kB / 461.3 MB, free: 11.41 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.6678, allocations: 159.8 kB / 461.4 MB, free: 11.25 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.365e-05/0.6679, allocations: 55.28 kB / 461.5 MB, free: 11.2 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.078e-05/0.6679, allocations: 0 / 461.5 MB, free: 11.2 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.6681, allocations: 330.8 kB / 461.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.6682, allocations: 44.23 kB / 461.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.6684, allocations: 144.7 kB / 462 MB, free: 10.64 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.6686, allocations: 73.59 kB / 462 MB, free: 10.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.6686, allocations: 0 / 462 MB, free: 10.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004727/0.6691, allocations: 197.6 kB / 462.2 MB, free: 10.37 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.6691, allocations: 8.016 kB / 462.2 MB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.6692, allocations: 8 kB / 462.3 MB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.6692, allocations: 4 kB / 462.3 MB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003091/0.6695, allocations: 47.92 kB / 462.3 MB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.6695, allocations: 7.938 kB / 462.3 MB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.6697, allocations: 8 kB / 462.3 MB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/0.6698, allocations: 15.95 kB / 462.3 MB, free: 10.27 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.0001044/0.6699, allocations: 119.7 kB / 462.4 MB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.807e-05/0.67, allocations: 23.84 kB / 462.5 MB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000402/0.6704, allocations: 151.1 kB / 462.6 MB, free: 9.969 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.6704, allocations: 3.938 kB / 462.6 MB, free: 9.965 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.6704, allocations: 0 / 462.6 MB, free: 9.965 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.6704, allocations: 0 / 462.6 MB, free: 9.965 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001272/0.6717, allocations: 0.6534 MB / 463.3 MB, free: 9.215 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.6717, allocations: 0 / 463.3 MB, free: 9.215 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.6719, allocations: 28.42 kB / 463.3 MB, free: 9.188 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.889e-06/0.6719, allocations: 8 kB / 463.3 MB, free: 9.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.672, allocations: 4 kB / 463.3 MB, free: 9.176 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.12e-05/0.672, allocations: 11.92 kB / 463.3 MB, free: 9.164 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.672, allocations: 4 kB / 463.3 MB, free: 9.16 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005667/0.6726, allocations: 499.1 kB / 463.8 MB, free: 8.527 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.483e-05/0.6727, allocations: 92.92 kB / 463.9 MB, free: 8.418 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.599e-05/0.6727, allocations: 12.06 kB / 463.9 MB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.673, allocations: 11.98 kB / 463.9 MB, free: 8.395 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/0.673, allocations: 23.89 kB / 464 MB, free: 8.371 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.673, allocations: 7.984 kB / 464 MB, free: 8.363 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001691/0.6732, allocations: 132.5 kB / 464.1 MB, free: 8.234 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.6732, allocations: 0 / 464.1 MB, free: 8.234 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005486/0.6738, allocations: 51.98 kB / 464.1 MB, free: 8.184 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.001318/0.6751, allocations: 1.999 MB / 466.1 MB, free: 6.059 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003925/0.6756, allocations: 119.8 kB / 466.3 MB, free: 5.941 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.6756, allocations: 0 / 466.3 MB, free: 5.941 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.6757, allocations: 57.3 kB / 466.3 MB, free: 5.887 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004729/0.6762, allocations: 32.7 kB / 466.3 MB, free: 5.855 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.6775, allocations: 436.7 kB / 466.8 MB, free: 5.352 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/0.678, allocations: 0.7599 MB / 467.5 MB, free: 4.566 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003004/0.6783, allocations: 45.5 kB / 467.6 MB, free: 4.523 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.6784, allocations: 59.41 kB / 467.6 MB, free: 4.469 MB / 394.7 MB Notification: Performance of SimCode: time 1.192e-06/0.6784, allocations: 0 / 467.6 MB, free: 4.469 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02254/0.701, allocations: 3.093 MB / 470.7 MB, free: 1.438 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000298/0.7013, allocations: 156.7 kB / 470.9 MB, free: 1.207 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.352/3.054, allocations: 4 kB / 470.9 MB, free: 1.203 MB / 394.7 MB