Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.RXline,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_RXline",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.464/2.464, allocations: 233 MB / 246.1 MB, free: 14.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.766e-05/7.789e-05, allocations: 7.938 kB / 302.3 MB, free: 7.387 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1195, allocations: 53.24 MB / 355.5 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4785/0.5981, allocations: 97.53 MB / 453.1 MB, free: 4.039 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003449/0.5985, allocations: 87.94 kB / 453.2 MB, free: 3.953 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09838/0.6969, allocations: 21.92 MB / 475.1 MB, free: 13.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.6969, allocations: 0 / 475.1 MB, free: 13.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.283e-05/0.697, allocations: 27.92 kB / 475.1 MB, free: 13.77 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.003431/0.7004, allocations: 1.168 MB / 476.3 MB, free: 12.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.7005, allocations: 8.031 kB / 476.3 MB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003705/0.7009, allocations: 148.5 kB / 476.4 MB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001294/0.7022, allocations: 159.3 kB / 476.6 MB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005052/0.7073, allocations: 1.21 MB / 477.8 MB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/0.7074, allocations: 66 kB / 477.9 MB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002598/0.7077, allocations: 91.97 kB / 477.9 MB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003268/0.711, allocations: 1.248 MB / 479.2 MB, free: 9.488 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.37e-05/0.7111, allocations: 7.188 kB / 479.2 MB, free: 9.484 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001475/0.7113, allocations: 35.98 kB / 479.2 MB, free: 9.449 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001294/0.7114, allocations: 61.98 kB / 479.3 MB, free: 9.391 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003046/0.7145, allocations: 1.089 MB / 480.4 MB, free: 8.301 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01055/0.7251, allocations: 4.573 MB / 485 MB, free: 3.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00209/0.7272, allocations: 0.7998 MB / 485.8 MB, free: 2.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001503/0.7288, allocations: 0.6444 MB / 486.4 MB, free: 2.102 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.888e-05/0.7289, allocations: 9.719 kB / 486.4 MB, free: 2.094 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001951/0.7308, allocations: 0.8925 MB / 487.3 MB, free: 1.168 MB / 410.7 MB Notification: Performance of pre-optimization done (n=126): time 4.118e-06/0.7309, allocations: 0 / 487.3 MB, free: 1.168 MB / 410.7 MB Notification: Performance of matching and sorting (n=127): time 0.007708/0.7386, allocations: 3.088 MB / 490.4 MB, free: 13.98 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001854/0.7388, allocations: 246.6 kB / 490.6 MB, free: 13.69 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008503/0.7397, allocations: 423.8 kB / 491 MB, free: 13.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001344/0.7398, allocations: 49.7 kB / 491.1 MB, free: 13.22 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004605/0.7403, allocations: 392.2 kB / 491.5 MB, free: 12.83 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004942/0.7408, allocations: 382.8 kB / 491.9 MB, free: 12.45 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.7409, allocations: 24 kB / 491.9 MB, free: 12.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002326/0.7412, allocations: 402.8 kB / 492.3 MB, free: 12.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001368/0.7426, allocations: 0.5148 MB / 492.8 MB, free: 11.51 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001676/0.7442, allocations: 0.754 MB / 493.5 MB, free: 10.67 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001621/0.7459, allocations: 0.6559 MB / 494.2 MB, free: 10 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.7459, allocations: 4 kB / 494.2 MB, free: 10 MB / 426.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.006386/0.7523, allocations: 2.032 MB / 496.2 MB, free: 7.941 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.158e-05/0.7525, allocations: 67.33 kB / 496.3 MB, free: 7.863 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00556/0.758, allocations: 1.662 MB / 498 MB, free: 6.199 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003472/0.7616, allocations: 0.6604 MB / 498.6 MB, free: 5.535 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.7626, allocations: 131.7 kB / 498.7 MB, free: 5.406 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01553/0.7782, allocations: 5.915 MB / 0.4928 GB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/0.7795, allocations: 59.94 kB / 0.4929 GB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/0.7797, allocations: 48 kB / 0.4929 GB, free: 15.25 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 67 (system.initime,$whenCondition2,$PRE.relay2.cnt,relay2.cnt,$whenCondition1,$PRE.relay1.cnt,relay1.cnt,$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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 116 * Array equations: 3 * 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 {(7,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005503/0.7803, allocations: 269.4 kB / 0.4932 GB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003041/0.7806, allocations: 79.06 kB / 0.4933 GB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00378/0.7844, allocations: 1.43 MB / 0.4947 GB, free: 13.44 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.019e-05/0.7845, allocations: 28.84 kB / 0.4947 GB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.7845, allocations: 3.953 kB / 0.4947 GB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.008e-05/0.7846, allocations: 15.91 kB / 0.4947 GB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008129/0.7927, allocations: 2.796 MB / 0.4974 GB, free: 10.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.639e-05/0.7928, allocations: 4 kB / 0.4974 GB, free: 10.51 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002324/0.7951, allocations: 231.8 kB / 0.4977 GB, free: 10.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-05/0.7952, allocations: 8 kB / 0.4977 GB, free: 10.27 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002319/0.7954, allocations: 23.98 kB / 0.4977 GB, free: 10.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.214e-05/0.7955, allocations: 4 kB / 0.4977 GB, free: 10.25 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.7955, allocations: 5.875 kB / 0.4977 GB, free: 10.24 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005745/0.8012, allocations: 2.34 MB / 0.5 GB, free: 7.84 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003468/0.8017, allocations: 148.1 kB / 0.5001 GB, free: 7.676 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000288/0.802, allocations: 43.94 kB / 0.5002 GB, free: 7.633 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009033/0.8029, allocations: 51.94 kB / 0.5002 GB, free: 7.582 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003839/0.8033, allocations: 104.6 kB / 0.5003 GB, free: 7.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001282/0.8034, allocations: 35.98 kB / 0.5004 GB, free: 7.445 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007126/0.8041, allocations: 333.5 kB / 0.5007 GB, free: 7.117 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.8042, allocations: 0 / 0.5007 GB, free: 7.117 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00169/0.8059, allocations: 324 kB / 0.501 GB, free: 6.801 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 47 (switch1.switch_b.closed,switch1.switch_c.closed,switch1.switch_a.closed,switch2.switch_a.closed,switch2.switch_b.closed,switch2.switch_c.closed,$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,system.initime) * Number of discrete states: 16 (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_c.open,switch2.switch_a.open,switch2.switch_b.open,switch1.switch_b.open,switch1.switch_c.open,switch1.switch_a.open) * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 88 * Array equations: 3 * Algorithm blocks: 2 * Record equations: 0 * When equations: 7 * 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.006367/0.8122, allocations: 3.263 MB / 0.5042 GB, free: 3.473 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005191/0.8175, allocations: 1.815 MB / 0.5059 GB, free: 1.629 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.8176, allocations: 0 / 0.5059 GB, free: 1.629 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002069/0.8196, allocations: 0.9046 MB / 0.5068 GB, free: 0.6992 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.8208, allocations: 124.9 kB / 0.5069 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006725/0.8275, allocations: 2.102 MB / 0.509 GB, free: 14.43 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001144/0.8287, allocations: 1.133 MB / 0.5101 GB, free: 13.27 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001227/0.83, allocations: 230.9 kB / 0.5103 GB, free: 13.04 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000837/0.8308, allocations: 340 kB / 0.5106 GB, free: 12.7 MB / 458.7 MB Notification: Performance of SimCode: time 1.373e-06/0.8308, allocations: 0 / 0.5106 GB, free: 12.7 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3803/1.211, allocations: 20.36 MB / 0.5305 GB, free: 134.9 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002871/1.212, allocations: 183 kB / 0.5307 GB, free: 134.6 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.358/4.57, allocations: 0 / 0.5307 GB, free: 134.6 MB / 458.7 MB