Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.FaultTline,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_FaultTline",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.343/2.343, allocations: 233 MB / 246.1 MB, free: 14.78 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.944e-05/4.96e-05, allocations: 7.938 kB / 302.3 MB, free: 7.379 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1244, allocations: 53.24 MB / 355.5 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4795/0.604, allocations: 107.1 MB / 462.6 MB, free: 10.44 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003417/0.6044, allocations: 83.95 kB / 462.7 MB, free: 10.36 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.155/0.7594, allocations: 33.53 MB / 496.3 MB, free: 8.547 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.7594, allocations: 0 / 496.3 MB, free: 8.547 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001082/0.7595, allocations: 35.94 kB / 496.3 MB, free: 8.512 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.006919/0.7665, allocations: 1.8 MB / 498.1 MB, free: 6.609 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.7666, allocations: 8.031 kB / 498.1 MB, free: 6.602 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007145/0.7673, allocations: 215.2 kB / 498.3 MB, free: 6.379 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003038/0.7703, allocations: 273.7 kB / 498.6 MB, free: 6.109 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008266/0.7786, allocations: 1.764 MB / 0.4886 GB, free: 4.301 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001893/0.7789, allocations: 98.44 kB / 0.4887 GB, free: 4.203 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006364/0.7795, allocations: 135.9 kB / 0.4888 GB, free: 4.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005814/0.7854, allocations: 1.992 MB / 0.4908 GB, free: 1.988 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.612e-05/0.7855, allocations: 3.938 kB / 0.4908 GB, free: 1.984 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002579/0.7858, allocations: 59.97 kB / 0.4908 GB, free: 1.926 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004258/0.7862, allocations: 75.44 kB / 0.4909 GB, free: 1.852 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005758/0.792, allocations: 1.77 MB / 0.4926 GB, free: 80 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03483/0.8269, allocations: 9.303 MB / 0.5017 GB, free: 6.59 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004746/0.8317, allocations: 1.842 MB / 0.5035 GB, free: 4.734 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003606/0.8353, allocations: 1.454 MB / 0.505 GB, free: 3.281 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002186/0.8356, allocations: 29.25 kB / 0.505 GB, free: 3.254 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005205/0.8408, allocations: 2.035 MB / 0.507 GB, free: 1.18 MB / 442.7 MB Notification: Performance of pre-optimization done (n=218): time 6.832e-06/0.8408, allocations: 0 / 0.507 GB, free: 1.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=219): time 0.04406/0.8849, allocations: 9.124 MB / 0.5159 GB, free: 7.922 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000231/0.8852, allocations: 255.6 kB / 0.5161 GB, free: 7.625 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/0.8868, allocations: 0.6603 MB / 0.5168 GB, free: 6.957 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006243/0.8874, allocations: 82.91 kB / 0.5168 GB, free: 6.871 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006958/0.8882, allocations: 0.5402 MB / 0.5174 GB, free: 6.32 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001299/0.8895, allocations: 0.7212 MB / 0.5181 GB, free: 5.59 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002843/0.8898, allocations: 48 kB / 0.5181 GB, free: 5.543 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002544/0.89, allocations: 402.8 kB / 0.5185 GB, free: 5.145 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003965/0.894, allocations: 1.445 MB / 0.5199 GB, free: 3.695 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004527/0.8986, allocations: 1.764 MB / 0.5216 GB, free: 1.824 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004453/0.9031, allocations: 1.642 MB / 0.5232 GB, free: 148 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.449e-05/0.9031, allocations: 4 kB / 0.5232 GB, free: 144 kB / 458.7 MB Notification: Performance of matching and sorting (n=306) (initialization): time 0.3748/1.278, allocations: 8.504 MB / 0.5316 GB, free: 123.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.899e-05/1.278, allocations: 62.3 kB / 0.5316 GB, free: 123.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03719/1.315, allocations: 6.986 MB / 0.5384 GB, free: 123.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0521/1.367, allocations: 7.959 MB / 0.5462 GB, free: 123.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/1.369, allocations: 180.9 kB / 0.5464 GB, free: 123.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07237/1.441, allocations: 26.53 MB / 0.5723 GB, free: 114.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00296/1.444, allocations: 199 kB / 0.5725 GB, free: 114.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005443/1.445, allocations: 208.2 kB / 0.5727 GB, free: 114.5 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 108 (system.initime,$PRE.abc.fault_pp1.t0,abc.fault_pp1.t0,$PRE.abc.fault_pp2.t0,abc.fault_pp2.t0,$whenCondition2,$PRE.relay2.cnt,relay2.cnt,$whenCondition1,$PRE.relay1.cnt,relay1.cnt,$whenCondition29,$whenCondition28,$whenCondition27,$whenCondition26,$whenCondition25,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.breaker1.breaker_a.arc,breaker1.breaker_a.arc,$PRE.breaker1.breaker_a.open,breaker1.breaker_a.open,breaker1.breaker_a.closed,$PRE.breaker1.breaker_a.t0,breaker1.breaker_a.t0,breaker1.breaker_a.opening,$PRE.breaker1.breaker_b.arc,breaker1.breaker_b.arc,$PRE.breaker1.breaker_b.open,breaker1.breaker_b.open,breaker1.breaker_b.closed,$PRE.breaker1.breaker_b.t0,breaker1.breaker_b.t0,breaker1.breaker_b.opening,$PRE.breaker1.breaker_c.arc,breaker1.breaker_c.arc,$PRE.breaker1.breaker_c.open,breaker1.breaker_c.open,breaker1.breaker_c.closed,$PRE.breaker1.breaker_c.t0,breaker1.breaker_c.t0,breaker1.breaker_c.opening,$PRE.breaker2.breaker_a.arc,breaker2.breaker_a.arc,$PRE.breaker2.breaker_a.open,breaker2.breaker_a.open,breaker2.breaker_a.closed,$PRE.breaker2.breaker_a.t0,breaker2.breaker_a.t0,breaker2.breaker_a.opening,$PRE.breaker2.breaker_b.arc,breaker2.breaker_b.arc,$PRE.breaker2.breaker_b.open,breaker2.breaker_b.open,breaker2.breaker_b.closed,$PRE.breaker2.breaker_b.t0,breaker2.breaker_b.t0,breaker2.breaker_b.opening,$PRE.breaker2.breaker_c.arc,breaker2.breaker_c.arc,$PRE.breaker2.breaker_c.open,breaker2.breaker_c.open,breaker2.breaker_c.closed,$PRE.breaker2.breaker_c.t0,breaker2.breaker_c.t0,breaker2.breaker_c.opening,$PRE.relay1.y[1],relay1.y[1],$PRE.relay1.y[2],relay1.y[2],$PRE.relay1.y[3],relay1.y[3],$PRE.relay2.y[1],relay2.y[1],$PRE.relay2.y[2],relay2.y[2],$PRE.relay2.y[3],relay2.y[3],$PRE.abc.theta_zero,abc.theta_zero,$PRE.abc.v_pos,abc.v_pos,$PRE.abc.first,abc.first,$PRE.abc.fault_pp1.on,abc.fault_pp1.on,$PRE.abc.fault_pp2.on,abc.fault_pp2.on) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 175 * Array equations: 4 * Algorithm blocks: 2 * 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: 0 * Non-linear torn systems: 1 {32 66} Notification: Performance of prepare postOptimizeDAE: time 0.0007843/1.446, allocations: 328 kB / 0.573 GB, free: 114.2 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005553/1.446, allocations: 143.6 kB / 0.5731 GB, free: 114.1 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0291/1.475, allocations: 6.058 MB / 0.579 GB, free: 109.3 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.245e-05/1.475, allocations: 42.59 kB / 0.5791 GB, free: 109.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.107e-05/1.475, allocations: 3.953 kB / 0.5791 GB, free: 109.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.245e-05/1.475, allocations: 17.64 kB / 0.5791 GB, free: 109.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03731/1.513, allocations: 8.93 MB / 0.5878 GB, free: 102.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.104e-05/1.513, allocations: 14.3 kB / 0.5878 GB, free: 102.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002269/1.515, allocations: 221.7 kB / 0.588 GB, free: 102.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04632/1.561, allocations: 8.222 MB / 0.5961 GB, free: 94.7 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009338/1.562, allocations: 272.3 kB / 0.5963 GB, free: 94.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03398/1.596, allocations: 23.11 MB / 0.6189 GB, free: 70.16 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.597, allocations: 0 / 0.6189 GB, free: 70.16 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03269/1.629, allocations: 7.514 MB / 0.6262 GB, free: 62.55 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001786/1.631, allocations: 0.5264 MB / 0.6268 GB, free: 62 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000852/1.632, allocations: 227.9 kB / 0.627 GB, free: 61.78 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002464/1.634, allocations: 168.1 kB / 0.6271 GB, free: 61.62 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001185/1.636, allocations: 301.5 kB / 0.6274 GB, free: 61.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000769/1.636, allocations: 205.5 kB / 0.6276 GB, free: 61.13 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001496/1.638, allocations: 0.5108 MB / 0.6281 GB, free: 60.62 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.82e-07/1.638, allocations: 0 / 0.6281 GB, free: 60.62 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005288/1.643, allocations: 0.7952 MB / 0.6289 GB, free: 59.84 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4],line.iF[1],line.iF[2],line.iF[3]) * Number of discrete variables: 75 (breaker1.breaker_c.closed,breaker1.breaker_b.closed,breaker1.breaker_a.closed,breaker2.breaker_c.closed,breaker2.breaker_a.closed,breaker2.breaker_b.closed,$whenCondition29,$whenCondition28,$whenCondition27,$whenCondition26,$whenCondition25,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,breaker1.breaker_a.arc,breaker1.breaker_a.open,breaker1.breaker_a.t0,breaker1.breaker_a.opening,breaker1.breaker_b.arc,breaker1.breaker_b.open,breaker1.breaker_b.t0,breaker1.breaker_b.opening,breaker1.breaker_c.arc,breaker1.breaker_c.open,breaker1.breaker_c.t0,breaker1.breaker_c.opening,breaker2.breaker_a.arc,breaker2.breaker_a.open,breaker2.breaker_a.t0,breaker2.breaker_a.opening,breaker2.breaker_b.arc,breaker2.breaker_b.open,breaker2.breaker_b.t0,breaker2.breaker_b.opening,breaker2.breaker_c.arc,breaker2.breaker_c.open,breaker2.breaker_c.t0,breaker2.breaker_c.opening,relay1.y[1],relay1.y[2],relay1.y[3],relay1.cnt,relay2.y[1],relay2.y[2],relay2.y[3],relay2.cnt,abc.theta_zero,abc.v_pos,abc.first,abc.fault_pp1.on,abc.fault_pp1.t0,abc.fault_pp2.on,abc.fault_pp2.t0,system.initime) * Number of discrete states: 27 (breaker1.breaker_a.arc,breaker1.breaker_b.arc,breaker1.breaker_c.arc,breaker2.breaker_a.arc,breaker2.breaker_b.arc,breaker2.breaker_c.arc,abc.theta_zero,abc.fault_pp1.on,abc.fault_pp2.on,abc.v_pos,abc.first,relay2.y[3],relay2.y[2],relay2.y[1],relay2.cnt,$whenCondition2,relay1.y[3],relay1.y[2],relay1.y[1],relay1.cnt,$whenCondition1,breaker2.breaker_b.open,breaker2.breaker_c.open,breaker2.breaker_a.open,breaker1.breaker_a.open,breaker1.breaker_c.open,breaker1.breaker_b.open) * Top-level inputs: 0 Notification: Strong component statistics for simulation (163): * Single equations (assignments): 131 * Array equations: 4 * Algorithm blocks: 2 * Record equations: 0 * When equations: 17 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {12,9} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04338/1.687, allocations: 8.518 MB / 0.6372 GB, free: 51.25 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02002/1.707, allocations: 4.733 MB / 0.6418 GB, free: 46.49 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/1.707, allocations: 0.6875 kB / 0.6418 GB, free: 46.49 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01219/1.719, allocations: 3.457 MB / 0.6452 GB, free: 42.92 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002296/1.721, allocations: 216.3 kB / 0.6454 GB, free: 42.71 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01945/1.741, allocations: 5.981 MB / 0.6513 GB, free: 36.86 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001234/1.742, allocations: 1.456 MB / 0.6527 GB, free: 35.37 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001739/1.744, allocations: 326.7 kB / 0.653 GB, free: 35.05 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001223/1.745, allocations: 0.5618 MB / 0.6535 GB, free: 34.49 MB / 458.7 MB Notification: Performance of SimCode: time 1.343e-06/1.745, allocations: 3.938 kB / 0.6535 GB, free: 34.49 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4766/2.222, allocations: 64.23 MB / 0.7163 GB, free: 131 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/2.222, allocations: 191 kB / 0.7165 GB, free: 130.8 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.612/6.834, allocations: 0 / 0.7165 GB, free: 130.8 MB / 474.7 MB