Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.FaultTline,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_FaultTline",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.487/2.487, allocations: 233 MB / 246.1 MB, free: 14.86 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.189e-05/4.181e-05, allocations: 4 kB / 302.3 MB, free: 7.383 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1132, allocations: 53.24 MB / 355.5 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.473/0.5863, allocations: 107.1 MB / 462.7 MB, free: 10.56 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003451/0.5867, allocations: 83.95 kB / 462.7 MB, free: 10.48 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1545/0.7412, allocations: 33.53 MB / 496.3 MB, free: 8.664 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.7413, allocations: 0 / 496.3 MB, free: 8.664 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.831e-05/0.7414, allocations: 35.94 kB / 496.3 MB, free: 8.629 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.006969/0.7484, allocations: 1.796 MB / 498.1 MB, free: 6.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.7485, allocations: 8.031 kB / 498.1 MB, free: 6.723 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007552/0.7492, allocations: 211.3 kB / 498.3 MB, free: 6.504 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002814/0.7521, allocations: 281.7 kB / 498.6 MB, free: 6.227 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007865/0.76, allocations: 1.76 MB / 0.4886 GB, free: 4.422 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001552/0.7602, allocations: 102.4 kB / 0.4887 GB, free: 4.32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000545/0.7607, allocations: 135.9 kB / 0.4888 GB, free: 4.188 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005247/0.766, allocations: 1.99 MB / 0.4908 GB, free: 2.109 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.008e-05/0.7661, allocations: 7.938 kB / 0.4908 GB, free: 2.102 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002543/0.7663, allocations: 59.97 kB / 0.4909 GB, free: 2.043 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004048/0.7668, allocations: 78.3 kB / 0.4909 GB, free: 1.965 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004932/0.7717, allocations: 1.77 MB / 0.4927 GB, free: 196 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03533/0.8071, allocations: 9.299 MB / 0.5017 GB, free: 6.707 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005108/0.8123, allocations: 1.842 MB / 0.5035 GB, free: 4.852 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003997/0.8163, allocations: 1.454 MB / 0.505 GB, free: 3.398 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003034/0.8167, allocations: 33.23 kB / 0.505 GB, free: 3.367 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005625/0.8223, allocations: 2.027 MB / 0.507 GB, free: 1.301 MB / 442.7 MB Notification: Performance of pre-optimization done (n=218): time 6.572e-06/0.8224, allocations: 0 / 0.507 GB, free: 1.301 MB / 442.7 MB Notification: Performance of matching and sorting (n=219): time 0.04231/0.8647, allocations: 9.12 MB / 0.5159 GB, free: 8.047 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002231/0.865, allocations: 259.6 kB / 0.5161 GB, free: 7.746 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001528/0.8665, allocations: 0.6681 MB / 0.5168 GB, free: 7.07 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006223/0.8672, allocations: 73.7 kB / 0.5168 GB, free: 6.992 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000653/0.8678, allocations: 0.5457 MB / 0.5174 GB, free: 6.438 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0014/0.8693, allocations: 0.7251 MB / 0.5181 GB, free: 5.703 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002878/0.8696, allocations: 36 kB / 0.5181 GB, free: 5.668 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000265/0.8698, allocations: 402.8 kB / 0.5185 GB, free: 5.27 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003935/0.8738, allocations: 1.449 MB / 0.5199 GB, free: 3.816 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004621/0.8785, allocations: 1.768 MB / 0.5216 GB, free: 1.941 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006821/0.8853, allocations: 1.65 MB / 0.5233 GB, free: 260 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.371e-05/0.8854, allocations: 4 kB / 0.5233 GB, free: 256 kB / 458.7 MB Notification: Performance of matching and sorting (n=306) (initialization): time 0.3685/1.254, allocations: 8.497 MB / 0.5316 GB, free: 123.9 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001498/1.254, allocations: 62.23 kB / 0.5316 GB, free: 123.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04657/1.301, allocations: 6.985 MB / 0.5384 GB, free: 123.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04798/1.349, allocations: 7.96 MB / 0.5462 GB, free: 123.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/1.35, allocations: 179.3 kB / 0.5464 GB, free: 123.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06739/1.418, allocations: 26.53 MB / 0.5723 GB, free: 115.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00274/1.42, allocations: 188.5 kB / 0.5725 GB, free: 115.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004565/1.421, allocations: 212.4 kB / 0.5727 GB, free: 114.9 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.0007614/1.422, allocations: 328.8 kB / 0.573 GB, free: 114.6 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005109/1.422, allocations: 143.7 kB / 0.5731 GB, free: 114.4 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02881/1.451, allocations: 6.056 MB / 0.579 GB, free: 109.7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.331e-05/1.451, allocations: 40.16 kB / 0.5791 GB, free: 109.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-05/1.451, allocations: 10.27 kB / 0.5791 GB, free: 109.6 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.204e-05/1.451, allocations: 10.44 kB / 0.5791 GB, free: 109.6 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03724/1.488, allocations: 8.938 MB / 0.5878 GB, free: 102.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.109e-05/1.489, allocations: 0 / 0.5878 GB, free: 102.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00232/1.491, allocations: 228.8 kB / 0.588 GB, free: 102.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04699/1.538, allocations: 8.225 MB / 0.5961 GB, free: 95.17 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009975/1.539, allocations: 268.9 kB / 0.5963 GB, free: 94.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03432/1.573, allocations: 23.12 MB / 0.6189 GB, free: 70.63 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/1.573, allocations: 0 / 0.6189 GB, free: 70.63 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03313/1.607, allocations: 7.513 MB / 0.6262 GB, free: 63.02 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001821/1.608, allocations: 0.5214 MB / 0.6267 GB, free: 62.48 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008532/1.609, allocations: 235.9 kB / 0.627 GB, free: 62.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002528/1.612, allocations: 167.8 kB / 0.6271 GB, free: 62.09 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001253/1.613, allocations: 294.1 kB / 0.6274 GB, free: 61.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006342/1.614, allocations: 204.8 kB / 0.6276 GB, free: 61.61 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001013/1.615, allocations: 0.5113 MB / 0.6281 GB, free: 61.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.593e-06/1.615, allocations: 0 / 0.6281 GB, free: 61.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00448/1.619, allocations: 0.8027 MB / 0.6289 GB, free: 60.31 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.04322/1.663, allocations: 8.521 MB / 0.6372 GB, free: 51.72 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02094/1.684, allocations: 4.735 MB / 0.6418 GB, free: 46.96 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/1.684, allocations: 0 / 0.6418 GB, free: 46.96 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01248/1.696, allocations: 3.457 MB / 0.6452 GB, free: 43.39 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002448/1.699, allocations: 212 kB / 0.6454 GB, free: 43.18 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01991/1.719, allocations: 5.98 MB / 0.6513 GB, free: 37.33 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001232/1.72, allocations: 1.464 MB / 0.6527 GB, free: 35.83 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001816/1.722, allocations: 315.4 kB / 0.653 GB, free: 35.53 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001363/1.723, allocations: 0.5657 MB / 0.6535 GB, free: 34.96 MB / 458.7 MB Notification: Performance of SimCode: time 1.463e-06/1.723, allocations: 0 / 0.6535 GB, free: 34.96 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4942/2.217, 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.0002456/2.218, allocations: 191.2 kB / 0.7164 GB, free: 130.8 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.629/6.846, allocations: 0 / 0.7164 GB, free: 130.8 MB / 474.7 MB