Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_VoltageStability",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.471/2.471, allocations: 233 MB / 246.1 MB, free: 15.03 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.771e-05/3.775e-05, allocations: 7.984 kB / 302.3 MB, free: 7.605 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1259, allocations: 53.23 MB / 355.5 MB, free: 2.254 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4984/0.6244, allocations: 97.25 MB / 452.8 MB, free: 4.496 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000347/0.6248, allocations: 90.98 kB / 452.9 MB, free: 4.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1542/0.779, allocations: 32.5 MB / 485.4 MB, free: 3.527 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.7791, allocations: 0.5625 kB / 485.4 MB, free: 3.527 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.415e-05/0.7792, allocations: 32 kB / 485.4 MB, free: 3.496 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.004594/0.7838, allocations: 1.306 MB / 486.7 MB, free: 2.141 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.7839, allocations: 12.03 kB / 486.7 MB, free: 2.129 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005443/0.7844, allocations: 198.2 kB / 486.9 MB, free: 1.926 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002904/0.7873, allocations: 282.3 kB / 487.2 MB, free: 1.648 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007297/0.7947, allocations: 1.768 MB / 489 MB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.7948, allocations: 90.33 kB / 489.1 MB, free: 15.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003393/0.7952, allocations: 119.9 kB / 489.2 MB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004361/0.7996, allocations: 1.76 MB / 490.9 MB, free: 13.69 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.72e-05/0.7997, allocations: 11.88 kB / 490.9 MB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001883/0.7999, allocations: 59.92 kB / 491 MB, free: 13.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001861/0.8001, allocations: 82.08 kB / 491.1 MB, free: 13.54 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003896/0.804, allocations: 1.32 MB / 492.4 MB, free: 12.21 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01487/0.8189, allocations: 7.96 MB / 0.4886 GB, free: 3.969 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002093/0.8211, allocations: 0.9202 MB / 0.4895 GB, free: 2.969 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001344/0.8224, allocations: 0.5624 MB / 0.4901 GB, free: 2.402 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.981e-05/0.8225, allocations: 24.69 kB / 0.4901 GB, free: 2.379 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.574e-05/0.8226, allocations: 43.34 kB / 0.4901 GB, free: 2.328 MB / 426.7 MB Notification: Performance of pre-optimization done (n=98): time 6.361e-06/0.8226, allocations: 0 / 0.4901 GB, free: 2.328 MB / 426.7 MB Notification: Performance of matching and sorting (n=99): time 0.006524/0.8292, allocations: 2.478 MB / 0.4926 GB, free: 15.79 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.382e-05/0.8293, allocations: 89.89 kB / 0.4927 GB, free: 15.68 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/0.8306, allocations: 0.6642 MB / 0.4933 GB, free: 15.01 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.8307, allocations: 41.7 kB / 0.4933 GB, free: 14.96 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006347/0.8314, allocations: 0.6498 MB / 0.494 GB, free: 14.3 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004325/0.8318, allocations: 350.9 kB / 0.4943 GB, free: 13.96 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.979e-05/0.8319, allocations: 24 kB / 0.4943 GB, free: 13.93 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002626/0.8322, allocations: 418.7 kB / 0.4947 GB, free: 13.52 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/0.8336, allocations: 0.4913 MB / 0.4952 GB, free: 13.03 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001759/0.8353, allocations: 0.9688 MB / 0.4962 GB, free: 11.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001778/0.8371, allocations: 0.6954 MB / 0.4968 GB, free: 11.14 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.677e-05/0.8372, allocations: 8 kB / 0.4968 GB, free: 11.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.005497/0.8427, allocations: 1.77 MB / 0.4986 GB, free: 9.352 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.157e-05/0.8428, allocations: 12 kB / 0.4986 GB, free: 9.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00352/0.8463, allocations: 1.139 MB / 0.4997 GB, free: 8.195 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001533/0.8479, allocations: 250.3 kB / 0.4999 GB, free: 7.941 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002251/0.8501, allocations: 311.5 kB / 0.5002 GB, free: 7.637 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006919/0.8571, allocations: 4.772 MB / 0.5049 GB, free: 2.461 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/0.8588, allocations: 76 kB / 0.505 GB, free: 2.387 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002163/0.8591, allocations: 60 kB / 0.505 GB, free: 2.328 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.0003946/0.8595, allocations: 188.5 kB / 0.5052 GB, free: 2.137 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002546/0.8598, allocations: 94.78 kB / 0.5053 GB, free: 2.043 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0033/0.8631, allocations: 1.151 MB / 0.5064 GB, free: 0.875 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.333e-05/0.8632, allocations: 23.94 kB / 0.5064 GB, free: 0.8516 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.8632, allocations: 0 / 0.5064 GB, free: 0.8516 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.56e-05/0.8633, allocations: 3.984 kB / 0.5064 GB, free: 0.8477 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007235/0.8705, allocations: 2.41 MB / 0.5088 GB, free: 14.36 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.8706, allocations: 4.031 kB / 0.5088 GB, free: 14.36 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002074/0.8726, allocations: 203.7 kB / 0.509 GB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.982e-05/0.8727, allocations: 8 kB / 0.509 GB, free: 14.15 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/0.8728, allocations: 20 kB / 0.509 GB, free: 14.13 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-05/0.8728, allocations: 11.92 kB / 0.509 GB, free: 14.12 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/0.8728, allocations: 11.89 kB / 0.509 GB, free: 14.11 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00412/0.877, allocations: 1.772 MB / 0.5108 GB, free: 12.26 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003881/0.8774, allocations: 167.9 kB / 0.5109 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002142/0.8776, allocations: 20 kB / 0.511 GB, free: 12.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000953/0.8786, allocations: 55.88 kB / 0.511 GB, free: 12 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.8788, allocations: 48.7 kB / 0.5111 GB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-05/0.8789, allocations: 28 kB / 0.5111 GB, free: 11.93 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00107/0.88, allocations: 0.5069 MB / 0.5116 GB, free: 11.42 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.88, allocations: 0 / 0.5116 GB, free: 11.42 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001788/0.8818, allocations: 339.9 kB / 0.5119 GB, free: 11.09 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.005196/0.887, allocations: 2.925 MB / 0.5148 GB, free: 8.09 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004456/0.8915, allocations: 1.549 MB / 0.5163 GB, free: 6.516 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.8916, allocations: 0 / 0.5163 GB, free: 6.516 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001411/0.893, allocations: 498.7 kB / 0.5167 GB, free: 6.027 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/0.8944, allocations: 158.5 kB / 0.5169 GB, free: 5.871 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008092/0.9025, allocations: 2.737 MB / 0.5196 GB, free: 3.07 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001364/0.9039, allocations: 1.28 MB / 0.5208 GB, free: 1.762 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002037/0.906, allocations: 408.5 kB / 0.5212 GB, free: 1.359 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/0.9071, allocations: 467.3 kB / 0.5217 GB, free: 0.9062 MB / 458.7 MB Notification: Performance of SimCode: time 1.293e-06/0.9071, allocations: 0 / 0.5217 GB, free: 0.9062 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4008/1.308, allocations: 21.89 MB / 0.543 GB, free: 125.2 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002359/1.308, allocations: 191.5 kB / 0.5432 GB, free: 125 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.199/4.508, allocations: 3.938 kB / 0.5432 GB, free: 125 MB / 458.7 MB