Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transmission_VoltageStability",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.419/2.419, allocations: 233 MB / 245.6 MB, free: 15.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.229e-05/3.239e-05, allocations: 0 / 301.4 MB, free: 8.098 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1144, allocations: 53.25 MB / 354.6 MB, free: 2.734 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4669/0.5814, allocations: 97.25 MB / 451.9 MB, free: 4.773 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003206/0.5818, allocations: 88.67 kB / 451.9 MB, free: 4.688 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1474/0.7292, allocations: 32.5 MB / 484.4 MB, free: 3.805 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.7292, allocations: 0 / 484.4 MB, free: 3.805 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.556e-05/0.7293, allocations: 28 kB / 484.5 MB, free: 3.777 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.004573/0.7339, allocations: 1.309 MB / 485.8 MB, free: 2.418 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.734, allocations: 8.031 kB / 485.8 MB, free: 2.41 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006103/0.7346, allocations: 198.2 kB / 486 MB, free: 2.207 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002869/0.7375, allocations: 282.3 kB / 486.3 MB, free: 1.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007134/0.7446, allocations: 1.768 MB / 488 MB, free: 116 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/0.7448, allocations: 90.33 kB / 488.1 MB, free: 24 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004042/0.7452, allocations: 116 kB / 488.2 MB, free: 15.91 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004525/0.7498, allocations: 1.76 MB / 490 MB, free: 13.97 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.606e-05/0.7499, allocations: 11.94 kB / 490 MB, free: 13.96 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001864/0.7501, allocations: 55.92 kB / 490 MB, free: 13.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001854/0.7503, allocations: 86.02 kB / 490.1 MB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003821/0.7541, allocations: 1.323 MB / 491.5 MB, free: 12.49 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01481/0.769, allocations: 7.956 MB / 499.4 MB, free: 4.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002013/0.771, allocations: 0.9202 MB / 0.4886 GB, free: 3.25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001373/0.7724, allocations: 0.5663 MB / 0.4892 GB, free: 2.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001087/0.7726, allocations: 20.75 kB / 0.4892 GB, free: 2.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.7726, allocations: 43.28 kB / 0.4892 GB, free: 2.609 MB / 426.7 MB Notification: Performance of pre-optimization done (n=98): time 6.031e-06/0.7726, allocations: 0 / 0.4892 GB, free: 2.609 MB / 426.7 MB Notification: Performance of matching and sorting (n=99): time 0.006687/0.7793, allocations: 2.482 MB / 0.4916 GB, free: 72 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.932e-05/0.7794, allocations: 89.88 kB / 0.4917 GB, free: 15.96 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/0.7807, allocations: 0.6681 MB / 0.4924 GB, free: 15.29 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000112/0.7809, allocations: 41.7 kB / 0.4924 GB, free: 15.24 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005764/0.7815, allocations: 0.66 MB / 0.4931 GB, free: 14.57 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004349/0.7819, allocations: 358.9 kB / 0.4934 GB, free: 14.21 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.752e-05/0.782, allocations: 25.22 kB / 0.4934 GB, free: 14.19 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.7822, allocations: 366.8 kB / 0.4938 GB, free: 13.82 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001314/0.7835, allocations: 0.4991 MB / 0.4943 GB, free: 13.33 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001729/0.7853, allocations: 0.9688 MB / 0.4952 GB, free: 12.14 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001761/0.7871, allocations: 0.6915 MB / 0.4959 GB, free: 11.45 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.499e-05/0.7871, allocations: 4 kB / 0.4959 GB, free: 11.45 MB / 442.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.005221/0.7923, allocations: 1.732 MB / 0.4976 GB, free: 9.699 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.512e-05/0.7924, allocations: 12 kB / 0.4976 GB, free: 9.688 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003464/0.7959, allocations: 1.138 MB / 0.4987 GB, free: 8.543 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001532/0.7974, allocations: 250.7 kB / 0.4989 GB, free: 8.289 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002237/0.7997, allocations: 303.5 kB / 0.4992 GB, free: 7.992 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006629/0.8064, allocations: 4.775 MB / 0.5039 GB, free: 2.812 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/0.808, allocations: 67.89 kB / 0.504 GB, free: 2.746 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001716/0.8082, allocations: 66.52 kB / 0.504 GB, free: 2.684 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (160): * Single equations (assignments): 153 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003566/0.8086, allocations: 192.5 kB / 0.5042 GB, free: 2.488 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002433/0.8088, allocations: 98.69 kB / 0.5043 GB, free: 2.391 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003208/0.812, allocations: 1.147 MB / 0.5054 GB, free: 1.227 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-05/0.8121, allocations: 23.98 kB / 0.5054 GB, free: 1.203 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.8121, allocations: 0 / 0.5054 GB, free: 1.203 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/0.8122, allocations: 3.984 kB / 0.5055 GB, free: 1.199 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00737/0.8195, allocations: 2.402 MB / 0.5078 GB, free: 14.72 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.8196, allocations: 0 / 0.5078 GB, free: 14.72 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002016/0.8216, allocations: 203.7 kB / 0.508 GB, free: 14.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.163e-05/0.8217, allocations: 11.98 kB / 0.508 GB, free: 14.51 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001114/0.8218, allocations: 28.17 kB / 0.508 GB, free: 14.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.137e-05/0.8218, allocations: 7.938 kB / 0.508 GB, free: 14.47 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/0.8218, allocations: 11.89 kB / 0.5081 GB, free: 14.46 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004061/0.8259, allocations: 1.766 MB / 0.5098 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004151/0.8264, allocations: 172 kB / 0.5099 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002505/0.8266, allocations: 27.92 kB / 0.51 GB, free: 12.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009491/0.8276, allocations: 55.88 kB / 0.51 GB, free: 12.35 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.8278, allocations: 44.72 kB / 0.5101 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-05/0.8279, allocations: 31.98 kB / 0.5101 GB, free: 12.27 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001132/0.829, allocations: 0.4991 MB / 0.5106 GB, free: 11.78 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.829, allocations: 0 / 0.5106 GB, free: 11.78 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001787/0.8308, allocations: 343.9 kB / 0.5109 GB, free: 11.44 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (line0.i[1],line0.i[2],line0.i[3],line1.i[1],line1.i[2],line1.i[3],line2.i[1],line2.i[2],line2.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 85 * Array equations: 4 * 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.004962/0.8358, allocations: 2.932 MB / 0.5138 GB, free: 8.438 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004043/0.8399, allocations: 1.545 MB / 0.5153 GB, free: 6.867 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.8399, allocations: 0 / 0.5153 GB, free: 6.867 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001332/0.8413, allocations: 0.4914 MB / 0.5158 GB, free: 6.375 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/0.8426, allocations: 157.8 kB / 0.5159 GB, free: 6.219 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007626/0.8502, allocations: 2.836 MB / 0.5187 GB, free: 3.312 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001318/0.8516, allocations: 1.276 MB / 0.5199 GB, free: 2.008 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001249/0.8529, allocations: 479.3 kB / 0.5204 GB, free: 1.543 MB / 458.7 MB Notification: Performance of SimCode: time 1.493e-06/0.8529, allocations: 0 / 0.5204 GB, free: 1.543 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.562/4.415, allocations: 26.33 MB / 0.5461 GB, free: 124.3 MB / 458.7 MB