Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.FaultRXline,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_FaultRXline",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.462/2.462, allocations: 233 MB / 246.1 MB, free: 14.79 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.525e-05/3.523e-05, allocations: 4 kB / 302.3 MB, free: 7.387 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1179, allocations: 53.23 MB / 355.5 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4774/0.5954, allocations: 101 MB / 456.5 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003432/0.5958, allocations: 99.66 kB / 456.6 MB, free: 0.4922 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1153/0.7111, allocations: 25.12 MB / 481.7 MB, free: 7.105 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.7112, allocations: 4 kB / 481.7 MB, free: 7.102 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.639e-05/0.7113, allocations: 20 kB / 481.8 MB, free: 7.082 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: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.004733/0.716, allocations: 1.384 MB / 483.1 MB, free: 5.613 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/0.7161, allocations: 12.02 kB / 483.2 MB, free: 5.602 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000595/0.7167, allocations: 177.4 kB / 483.3 MB, free: 5.418 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001807/0.7185, allocations: 202.2 kB / 483.5 MB, free: 5.219 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005374/0.7239, allocations: 1.286 MB / 484.8 MB, free: 3.891 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001423/0.7241, allocations: 89.98 kB / 484.9 MB, free: 3.801 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003341/0.7245, allocations: 103.9 kB / 485 MB, free: 3.699 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004349/0.7288, allocations: 1.56 MB / 486.6 MB, free: 2.055 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.753e-05/0.7289, allocations: 7.938 kB / 486.6 MB, free: 2.047 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001917/0.7291, allocations: 51.97 kB / 486.6 MB, free: 1.996 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001574/0.7293, allocations: 73.94 kB / 486.7 MB, free: 1.922 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004187/0.7335, allocations: 1.359 MB / 488 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01566/0.7492, allocations: 5.768 MB / 493.8 MB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002846/0.7521, allocations: 1.066 MB / 494.9 MB, free: 9.539 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002049/0.7542, allocations: 0.827 MB / 495.7 MB, free: 8.703 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001177/0.7544, allocations: 16.98 kB / 495.7 MB, free: 8.684 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002587/0.757, allocations: 1.119 MB / 496.8 MB, free: 7.535 MB / 426.7 MB Notification: Performance of pre-optimization done (n=161): time 5.24e-06/0.757, allocations: 0 / 496.8 MB, free: 7.535 MB / 426.7 MB Notification: Performance of matching and sorting (n=162): time 0.009982/0.767, allocations: 3.921 MB / 0.489 GB, free: 3.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001825/0.7672, allocations: 246.9 kB / 0.4893 GB, free: 3.227 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.7682, allocations: 0.4969 MB / 0.4897 GB, free: 2.723 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00022/0.7685, allocations: 57.7 kB / 0.4898 GB, free: 2.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005317/0.769, allocations: 460.5 kB / 0.4902 GB, free: 2.203 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006617/0.7697, allocations: 493.3 kB / 0.4907 GB, free: 1.715 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.7698, allocations: 28 kB / 0.4907 GB, free: 1.688 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002579/0.7701, allocations: 426.7 kB / 0.4911 GB, free: 1.262 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001832/0.772, allocations: 0.6834 MB / 0.4918 GB, free: 0.5781 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002079/0.774, allocations: 0.9795 MB / 0.4928 GB, free: 15.49 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002032/0.7761, allocations: 0.8556 MB / 0.4936 GB, free: 14.63 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/0.7761, allocations: 0 / 0.4936 GB, free: 14.63 MB / 442.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.009594/0.7857, allocations: 2.82 MB / 0.4964 GB, free: 11.79 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.589e-05/0.7859, allocations: 66.31 kB / 0.4964 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008371/0.7943, allocations: 2.348 MB / 0.4987 GB, free: 9.355 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006099/0.8004, allocations: 1.071 MB / 0.4998 GB, free: 8.281 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/0.8016, allocations: 143.7 kB / 0.4999 GB, free: 8.141 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02327/0.8249, allocations: 8.208 MB / 0.5079 GB, free: 15.79 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001663/0.8266, allocations: 103.9 kB / 0.508 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002067/0.8268, allocations: 57.31 kB / 0.5081 GB, free: 15.62 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: 84 (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,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.switch1.switch_a.arc,switch1.switch_a.arc,$PRE.switch1.switch_a.open,switch1.switch_a.open,switch1.switch_a.closed,$PRE.switch1.switch_b.arc,switch1.switch_b.arc,$PRE.switch1.switch_b.open,switch1.switch_b.open,switch1.switch_b.closed,$PRE.switch1.switch_c.arc,switch1.switch_c.arc,$PRE.switch1.switch_c.open,switch1.switch_c.open,switch1.switch_c.closed,$PRE.switch2.switch_a.arc,switch2.switch_a.arc,$PRE.switch2.switch_a.open,switch2.switch_a.open,switch2.switch_a.closed,$PRE.switch2.switch_b.arc,switch2.switch_b.arc,$PRE.switch2.switch_b.open,switch2.switch_b.open,switch2.switch_b.closed,$PRE.switch2.switch_c.arc,switch2.switch_c.arc,$PRE.switch2.switch_c.open,switch2.switch_c.open,switch2.switch_c.closed,$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 (146): * Single equations (assignments): 139 * 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: 1 {(12,81.9%) 41} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005743/0.8274, allocations: 295.9 kB / 0.5084 GB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003916/0.8278, allocations: 102.8 kB / 0.5084 GB, free: 15.22 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005472/0.8333, allocations: 1.869 MB / 0.5103 GB, free: 13.33 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.983e-05/0.8334, allocations: 32 kB / 0.5103 GB, free: 13.3 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.8335, allocations: 7.984 kB / 0.5103 GB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.503e-05/0.8335, allocations: 3.984 kB / 0.5103 GB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01128/0.8448, allocations: 3.523 MB / 0.5138 GB, free: 9.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/0.8449, allocations: 0 / 0.5138 GB, free: 9.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004149/0.849, allocations: 379.7 kB / 0.5141 GB, free: 9.309 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003515/0.8494, allocations: 56.81 kB / 0.5142 GB, free: 9.25 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004379/0.8499, allocations: 35.94 kB / 0.5142 GB, free: 9.215 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002138/0.852, allocations: 1.56 MB / 0.5157 GB, free: 7.523 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.852e-06/0.8521, allocations: 4 kB / 0.5157 GB, free: 7.52 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007821/0.8599, allocations: 2.985 MB / 0.5187 GB, free: 4.461 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001544/0.8615, allocations: 303.8 kB / 0.5189 GB, free: 4.145 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004271/0.862, allocations: 39.98 kB / 0.519 GB, free: 4.105 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/0.8633, allocations: 83.89 kB / 0.5191 GB, free: 4.023 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004592/0.8638, allocations: 132.8 kB / 0.5192 GB, free: 3.895 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001471/0.8639, allocations: 39.98 kB / 0.5192 GB, free: 3.855 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007964/0.8647, allocations: 399.1 kB / 0.5196 GB, free: 3.465 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.8647, allocations: 4 kB / 0.5196 GB, free: 3.461 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002061/0.8668, allocations: 416 kB / 0.52 GB, free: 3.055 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (line.i1[1],line.i1[2],line.i1[3],line.i2[1],line.i2[2],line.i2[3]) * Number of discrete variables: 57 (switch1.switch_a.closed,switch1.switch_b.closed,switch1.switch_c.closed,switch2.switch_a.closed,switch2.switch_c.closed,switch2.switch_b.closed,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,switch1.switch_a.arc,switch1.switch_a.open,switch1.switch_b.arc,switch1.switch_b.open,switch1.switch_c.arc,switch1.switch_c.open,switch2.switch_a.arc,switch2.switch_a.open,switch2.switch_b.arc,switch2.switch_b.open,switch2.switch_c.arc,switch2.switch_c.open,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: 21 (abc.theta_zero,abc.fault_pp1.on,abc.fault_pp2.on,relay2.y[3],relay2.y[2],relay2.y[1],relay2.cnt,$whenCondition2,relay1.y[3],relay1.y[2],relay1.y[1],relay1.cnt,$whenCondition1,switch2.switch_b.open,switch2.switch_c.open,switch2.switch_a.open,abc.v_pos,abc.first,switch1.switch_c.open,switch1.switch_b.open,switch1.switch_a.open) * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 107 * Array equations: 4 * Algorithm blocks: 2 * Record equations: 0 * When equations: 11 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3442/1.211, allocations: 3.921 MB / 0.5238 GB, free: 132.1 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008553/1.22, allocations: 2.458 MB / 0.5262 GB, free: 131.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/1.22, allocations: 0 / 0.5262 GB, free: 131.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003108/1.223, allocations: 1.234 MB / 0.5274 GB, free: 131.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/1.224, allocations: 137.5 kB / 0.5276 GB, free: 131.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009198/1.233, allocations: 2.803 MB / 0.5303 GB, free: 131.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001368/1.235, allocations: 1.246 MB / 0.5315 GB, free: 130.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001651/1.237, allocations: 282.2 kB / 0.5318 GB, free: 130.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001253/1.238, allocations: 423.2 kB / 0.5322 GB, free: 130.3 MB / 458.7 MB Notification: Performance of SimCode: time 1.493e-06/1.238, allocations: 0 / 0.5322 GB, free: 130.3 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09119/1.329, allocations: 26.25 MB / 0.5578 GB, free: 128.2 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002739/1.329, allocations: 182.3 kB / 0.558 GB, free: 127.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.415/4.744, allocations: 0 / 0.558 GB, free: 127.9 MB / 458.7 MB