Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.FaultRXline,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_FaultRXline",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.454/2.454, allocations: 233 MB / 246.1 MB, free: 14.83 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.824e-05/3.841e-05, allocations: 4 kB / 302.3 MB, free: 7.383 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1305, allocations: 53.23 MB / 355.5 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.473/0.6036, allocations: 101 MB / 456.5 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003354/0.604, allocations: 91.94 kB / 456.6 MB, free: 496 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.115/0.719, allocations: 25.13 MB / 481.7 MB, free: 7.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.7191, allocations: 0 / 481.7 MB, free: 7.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.098e-05/0.7192, allocations: 24 kB / 481.8 MB, free: 7.066 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.004586/0.7238, allocations: 1.384 MB / 483.1 MB, free: 5.598 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/0.7239, allocations: 8.031 kB / 483.2 MB, free: 5.59 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000643/0.7245, allocations: 173.4 kB / 483.3 MB, free: 5.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001996/0.7265, allocations: 215.5 kB / 483.5 MB, free: 5.199 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005542/0.7321, allocations: 1.29 MB / 484.8 MB, free: 3.867 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001435/0.7323, allocations: 85.98 kB / 484.9 MB, free: 3.781 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003589/0.7327, allocations: 103.9 kB / 485 MB, free: 3.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004655/0.7373, allocations: 1.556 MB / 486.6 MB, free: 2.039 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.602e-05/0.7375, allocations: 15.88 kB / 486.6 MB, free: 2.023 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000199/0.7377, allocations: 47.97 kB / 486.6 MB, free: 1.977 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001674/0.7379, allocations: 69.94 kB / 486.7 MB, free: 1.906 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004302/0.7422, allocations: 1.367 MB / 488.1 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01461/0.7569, allocations: 5.76 MB / 493.8 MB, free: 10.61 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002692/0.7596, allocations: 1.062 MB / 494.9 MB, free: 9.527 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001971/0.7616, allocations: 0.8309 MB / 495.7 MB, free: 8.688 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001193/0.7618, allocations: 20.92 kB / 495.7 MB, free: 8.664 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002531/0.7643, allocations: 1.115 MB / 496.9 MB, free: 7.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=161): time 5.811e-06/0.7643, allocations: 0 / 496.9 MB, free: 7.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=162): time 0.009997/0.7743, allocations: 3.924 MB / 0.489 GB, free: 3.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001832/0.7746, allocations: 242.9 kB / 0.4893 GB, free: 3.211 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.7756, allocations: 0.493 MB / 0.4898 GB, free: 2.711 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002299/0.7759, allocations: 61.69 kB / 0.4898 GB, free: 2.645 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005083/0.7764, allocations: 460.5 kB / 0.4902 GB, free: 2.188 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006514/0.777, allocations: 489.3 kB / 0.4907 GB, free: 1.703 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.7772, allocations: 32 kB / 0.4907 GB, free: 1.672 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002641/0.7775, allocations: 422.7 kB / 0.4911 GB, free: 1.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001817/0.7793, allocations: 0.6873 MB / 0.4918 GB, free: 0.5625 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002094/0.7814, allocations: 0.9757 MB / 0.4928 GB, free: 15.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002038/0.7835, allocations: 0.8594 MB / 0.4936 GB, free: 14.61 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/0.7835, allocations: 0 / 0.4936 GB, free: 14.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.009449/0.793, allocations: 2.815 MB / 0.4964 GB, free: 11.78 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.475e-05/0.7931, allocations: 63.41 kB / 0.4964 GB, free: 11.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008432/0.8016, allocations: 2.353 MB / 0.4987 GB, free: 9.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005987/0.8076, allocations: 1.076 MB / 0.4998 GB, free: 8.262 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/0.8087, allocations: 143.7 kB / 0.4999 GB, free: 8.121 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02282/0.8315, allocations: 8.208 MB / 0.5079 GB, free: 15.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001705/0.8333, allocations: 95.89 kB / 0.508 GB, free: 15.67 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002877/0.8336, allocations: 52 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.0006021/0.8343, allocations: 300 kB / 0.5084 GB, free: 15.31 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003945/0.8347, allocations: 102.8 kB / 0.5084 GB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005213/0.8399, allocations: 1.873 MB / 0.5103 GB, free: 13.31 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.667e-05/0.84, allocations: 35.98 kB / 0.5103 GB, free: 13.28 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.8401, allocations: 4 kB / 0.5103 GB, free: 13.27 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.597e-05/0.8401, allocations: 7.969 kB / 0.5103 GB, free: 13.27 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01019/0.8503, allocations: 3.516 MB / 0.5138 GB, free: 9.668 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/0.8504, allocations: 0 / 0.5138 GB, free: 9.668 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003998/0.8544, allocations: 379.7 kB / 0.5141 GB, free: 9.297 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002932/0.8547, allocations: 64.75 kB / 0.5142 GB, free: 9.23 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002257/0.8549, allocations: 35.94 kB / 0.5142 GB, free: 9.195 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001881/0.8568, allocations: 1.564 MB / 0.5157 GB, free: 7.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.8569, allocations: 0 / 0.5157 GB, free: 7.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007299/0.8642, allocations: 2.976 MB / 0.5186 GB, free: 4.449 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009702/0.8652, allocations: 303.8 kB / 0.5189 GB, free: 4.133 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000274/0.8655, allocations: 39.98 kB / 0.519 GB, free: 4.094 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/0.8667, allocations: 79.91 kB / 0.5191 GB, free: 4.016 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004529/0.8672, allocations: 136.8 kB / 0.5192 GB, free: 3.883 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001526/0.8673, allocations: 43.97 kB / 0.5192 GB, free: 3.84 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007612/0.8681, allocations: 399.1 kB / 0.5196 GB, free: 3.449 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.104e-06/0.8681, allocations: 0 / 0.5196 GB, free: 3.449 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002028/0.8701, allocations: 415.9 kB / 0.52 GB, free: 3.043 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.3125/1.183, allocations: 3.921 MB / 0.5238 GB, free: 132.1 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007672/1.19, allocations: 2.456 MB / 0.5262 GB, free: 131.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.19, allocations: 3.312 kB / 0.5262 GB, free: 131.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002755/1.193, allocations: 1.231 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.001207/1.194, allocations: 133.1 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.008066/1.203, allocations: 2.807 MB / 0.5303 GB, free: 131.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001318/1.204, allocations: 1.247 MB / 0.5315 GB, free: 130.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001666/1.206, allocations: 280.5 kB / 0.5318 GB, free: 130.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001027/1.207, allocations: 420.2 kB / 0.5322 GB, free: 130.3 MB / 458.7 MB Notification: Performance of SimCode: time 2.525e-06/1.207, allocations: 0 / 0.5322 GB, free: 130.3 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09859/1.305, allocations: 26.24 MB / 0.5578 GB, free: 128.2 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002607/1.306, allocations: 178.9 kB / 0.558 GB, free: 127.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.572/4.878, allocations: 0 / 0.558 GB, free: 127.9 MB / 458.7 MB