Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.361/2.361, allocations: 233 MB / 245.6 MB, free: 14.83 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.652e-05/3.658e-05, allocations: 4 kB / 301.4 MB, free: 7.875 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1142, allocations: 53.24 MB / 354.6 MB, free: 2.523 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4517/0.5659, allocations: 90.71 MB / 445.3 MB, free: 11.17 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003314/0.5663, allocations: 91.94 kB / 445.4 MB, free: 11.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06004/0.6264, allocations: 12.82 MB / 458.2 MB, free: 14.12 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.6264, allocations: 0 / 458.2 MB, free: 14.12 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.567e-05/0.6265, allocations: 8 kB / 458.2 MB, free: 14.11 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001446/0.6279, allocations: 0.621 MB / 458.8 MB, free: 13.45 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.628, allocations: 8.031 kB / 458.9 MB, free: 13.44 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001301/0.6281, allocations: 78.53 kB / 458.9 MB, free: 13.35 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.6292, allocations: 95.36 kB / 459 MB, free: 13.26 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00364/0.6329, allocations: 0.8728 MB / 459.9 MB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.187e-05/0.633, allocations: 25.06 kB / 459.9 MB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.6331, allocations: 39.95 kB / 460 MB, free: 12.28 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.6343, allocations: 452.8 kB / 460.4 MB, free: 11.81 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.673e-05/0.6343, allocations: 0 / 460.4 MB, free: 11.81 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.217e-05/0.6344, allocations: 19.98 kB / 460.4 MB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.395e-05/0.6345, allocations: 28.7 kB / 460.5 MB, free: 11.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009024/0.6354, allocations: 321.4 kB / 460.8 MB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003698/0.6391, allocations: 1.628 MB / 462.4 MB, free: 9.727 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005084/0.6397, allocations: 173.1 kB / 462.6 MB, free: 9.539 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002762/0.64, allocations: 109.8 kB / 462.7 MB, free: 9.426 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.414e-05/0.64, allocations: 3.984 kB / 462.7 MB, free: 9.422 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.6401, allocations: 39.16 kB / 462.7 MB, free: 9.375 MB / 394.7 MB Notification: Performance of pre-optimization done (n=19): time 2.876e-06/0.6401, allocations: 0 / 462.7 MB, free: 9.375 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.001931/0.642, allocations: 0.7058 MB / 463.4 MB, free: 8.617 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.829e-05/0.6421, allocations: 85.09 kB / 463.5 MB, free: 8.516 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004459/0.6426, allocations: 258.8 kB / 463.8 MB, free: 8.262 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.6426, allocations: 29.7 kB / 463.8 MB, free: 8.227 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002261/0.6429, allocations: 309.9 kB / 464.1 MB, free: 7.922 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.936e-05/0.643, allocations: 67.56 kB / 464.2 MB, free: 7.855 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.777e-05/0.643, allocations: 8 kB / 464.2 MB, free: 7.848 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.6432, allocations: 330.8 kB / 464.5 MB, free: 7.516 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002606/0.6434, allocations: 92 kB / 464.6 MB, free: 7.426 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003421/0.6438, allocations: 188.8 kB / 464.8 MB, free: 7.195 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003482/0.6442, allocations: 132 kB / 464.9 MB, free: 7.066 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.6442, allocations: 1.5 kB / 464.9 MB, free: 7.066 MB / 394.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001319/0.6455, allocations: 407.4 kB / 465.3 MB, free: 6.66 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.6455, allocations: 10.19 kB / 465.3 MB, free: 6.652 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008213/0.6464, allocations: 256.7 kB / 465.5 MB, free: 6.398 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005583/0.647, allocations: 76.78 kB / 465.6 MB, free: 6.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004788/0.6475, allocations: 59.91 kB / 465.7 MB, free: 6.262 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002297/0.6498, allocations: 1.581 MB / 467.3 MB, free: 4.543 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000454/0.6503, allocations: 15.95 kB / 467.3 MB, free: 4.527 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.895e-05/0.6503, allocations: 20.06 kB / 467.3 MB, free: 4.508 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 (34): * Single equations (assignments): 33 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001517/0.6505, allocations: 124.8 kB / 467.4 MB, free: 4.379 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.198e-05/0.6506, allocations: 27.62 kB / 467.4 MB, free: 4.352 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007184/0.6513, allocations: 270.2 kB / 467.7 MB, free: 4.078 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.6513, allocations: 4 kB / 467.7 MB, free: 4.074 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.6514, allocations: 0 / 467.7 MB, free: 4.074 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/0.6514, allocations: 3.984 kB / 467.7 MB, free: 4.07 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001825/0.6532, allocations: 0.7459 MB / 468.5 MB, free: 3.262 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.6532, allocations: 1.219 kB / 468.5 MB, free: 3.262 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005493/0.6538, allocations: 51.91 kB / 468.5 MB, free: 3.211 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.124e-05/0.6538, allocations: 4 kB / 468.5 MB, free: 3.207 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.89e-05/0.6539, allocations: 4 kB / 468.5 MB, free: 3.203 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.6539, allocations: 4.062 kB / 468.5 MB, free: 3.199 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.227e-06/0.6539, allocations: 4 kB / 468.5 MB, free: 3.195 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009001/0.6548, allocations: 482.9 kB / 469 MB, free: 2.68 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.655, allocations: 120.7 kB / 469.1 MB, free: 2.543 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.199e-05/0.655, allocations: 0 / 469.1 MB, free: 2.543 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002786/0.6553, allocations: 8 kB / 469.1 MB, free: 2.535 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.733e-05/0.6554, allocations: 23.91 kB / 469.2 MB, free: 2.512 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/0.6554, allocations: 4 kB / 469.2 MB, free: 2.508 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003486/0.6558, allocations: 214.2 kB / 469.4 MB, free: 2.301 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.344e-06/0.6558, allocations: 0.6562 kB / 469.4 MB, free: 2.301 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006557/0.6565, allocations: 103.9 kB / 469.5 MB, free: 2.199 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * 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.001459/0.6579, allocations: 1.25 MB / 470.7 MB, free: 0.9023 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001026/0.659, allocations: 367.6 kB / 471.1 MB, free: 0.5352 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.659, allocations: 4.125 kB / 471.1 MB, free: 0.5312 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002506/0.6593, allocations: 94.48 kB / 471.2 MB, free: 452 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000595/0.6599, allocations: 53.19 kB / 471.2 MB, free: 400 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.6623, allocations: 0.8728 MB / 472.1 MB, free: 15.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005625/0.6629, allocations: 0.858 MB / 473 MB, free: 14.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00031/0.6632, allocations: 135.4 kB / 473.1 MB, free: 14.43 MB / 410.7 MB Notification: Performance of SimCode: time 1.342e-06/0.6633, allocations: 0 / 473.1 MB, free: 14.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.704/3.368, allocations: 7.163 MB / 480.2 MB, free: 7.273 MB / 410.7 MB