Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.Tline,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_Tline",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.413/2.413, allocations: 233 MB / 246.1 MB, free: 14.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.059e-05/4.062e-05, allocations: 7.938 kB / 302.3 MB, free: 7.375 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1158, allocations: 53.24 MB / 355.5 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4941/0.61, allocations: 102.5 MB / 458 MB, free: 15.09 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003438/0.6104, allocations: 91.94 kB / 458.1 MB, free: 15 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.137/0.7474, allocations: 29.53 MB / 487.6 MB, free: 1.219 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.7475, allocations: 0 / 487.6 MB, free: 1.219 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.497e-05/0.7476, allocations: 28 kB / 487.7 MB, free: 1.191 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.006205/0.7538, allocations: 1.517 MB / 489.2 MB, free: 15.59 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/0.7539, allocations: 12.03 kB / 489.2 MB, free: 15.58 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007301/0.7546, allocations: 177.6 kB / 489.4 MB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002727/0.7573, allocations: 238.4 kB / 489.6 MB, free: 15.16 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007455/0.7649, allocations: 1.612 MB / 491.2 MB, free: 13.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.765, allocations: 82.02 kB / 491.3 MB, free: 13.42 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005336/0.7656, allocations: 119.9 kB / 491.4 MB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004598/0.7702, allocations: 1.623 MB / 493 MB, free: 11.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.698e-05/0.7703, allocations: 0 / 493 MB, free: 11.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002099/0.7705, allocations: 43.98 kB / 493.1 MB, free: 11.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003896/0.7709, allocations: 61.98 kB / 493.1 MB, free: 11.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004309/0.7753, allocations: 1.414 MB / 494.5 MB, free: 10.08 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03086/0.8062, allocations: 8.012 MB / 0.4908 GB, free: 1.906 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003986/0.8102, allocations: 1.517 MB / 0.4923 GB, free: 376 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0032/0.8135, allocations: 1.205 MB / 0.4934 GB, free: 15.16 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002123/0.8137, allocations: 24.89 kB / 0.4935 GB, free: 15.14 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004717/0.8185, allocations: 1.749 MB / 0.4952 GB, free: 13.35 MB / 442.7 MB Notification: Performance of pre-optimization done (n=177): time 7.103e-06/0.8185, allocations: 0 / 0.4952 GB, free: 13.35 MB / 442.7 MB Notification: Performance of matching and sorting (n=178): time 0.03891/0.8574, allocations: 8.115 MB / 0.5031 GB, free: 5.117 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002188/0.8577, allocations: 238.9 kB / 0.5033 GB, free: 4.832 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/0.8591, allocations: 0.5854 MB / 0.5039 GB, free: 4.238 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005867/0.8597, allocations: 70.72 kB / 0.504 GB, free: 4.164 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006022/0.8603, allocations: 484.8 kB / 0.5044 GB, free: 3.684 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001159/0.8615, allocations: 0.594 MB / 0.505 GB, free: 3.082 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002444/0.8617, allocations: 36 kB / 0.505 GB, free: 3.047 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003358/0.8621, allocations: 438.6 kB / 0.5054 GB, free: 2.609 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00361/0.8657, allocations: 1.246 MB / 0.5067 GB, free: 1.363 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004026/0.8698, allocations: 1.514 MB / 0.5081 GB, free: 15.77 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004102/0.8739, allocations: 1.426 MB / 0.5095 GB, free: 14.33 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.458e-05/0.874, allocations: 3.938 kB / 0.5095 GB, free: 14.33 MB / 458.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.04505/0.9191, allocations: 7.558 MB / 0.5169 GB, free: 6.738 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.798e-05/0.9192, allocations: 59.41 kB / 0.517 GB, free: 6.668 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03485/0.9541, allocations: 6.142 MB / 0.523 GB, free: 0.5195 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3794/1.334, allocations: 7.274 MB / 0.5301 GB, free: 123.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/1.335, allocations: 161.6 kB / 0.5302 GB, free: 123.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06721/1.402, allocations: 23.43 MB / 0.5531 GB, free: 119.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002485/1.405, allocations: 161.2 kB / 0.5533 GB, free: 119.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006666/1.405, allocations: 194 kB / 0.5535 GB, free: 119.6 MB / 458.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: 91 (system.initime,$whenCondition2,$PRE.relay2.cnt,relay2.cnt,$whenCondition1,$PRE.relay1.cnt,relay1.cnt,$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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (158): * Single equations (assignments): 152 * 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: 0 * Non-linear torn systems: 1 {27 48} Notification: Performance of prepare postOptimizeDAE: time 0.0007511/1.406, allocations: 312.4 kB / 0.5538 GB, free: 119.3 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00051/1.407, allocations: 116.9 kB / 0.5539 GB, free: 119.3 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02861/1.435, allocations: 5.514 MB / 0.5592 GB, free: 117.9 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.53e-05/1.435, allocations: 36.8 kB / 0.5593 GB, free: 117.9 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.168e-05/1.435, allocations: 2.812 kB / 0.5593 GB, free: 117.9 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.811e-05/1.435, allocations: 6.75 kB / 0.5593 GB, free: 117.9 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03587/1.471, allocations: 8.074 MB / 0.5672 GB, free: 115.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.725e-05/1.471, allocations: 0.9375 kB / 0.5672 GB, free: 115.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001413/1.473, allocations: 142.1 kB / 0.5673 GB, free: 115.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04663/1.52, allocations: 8.165 MB / 0.5753 GB, free: 113.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008136/1.52, allocations: 265.8 kB / 0.5755 GB, free: 113.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03223/1.553, allocations: 21.48 MB / 0.5965 GB, free: 93.36 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/1.553, allocations: 4 kB / 0.5965 GB, free: 93.35 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03135/1.584, allocations: 6.731 MB / 0.6031 GB, free: 86.91 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004703/1.585, allocations: 194.5 kB / 0.6033 GB, free: 86.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001135/1.586, allocations: 223.9 kB / 0.6035 GB, free: 86.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002474/1.588, allocations: 139.8 kB / 0.6036 GB, free: 86.34 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001274/1.59, allocations: 268.9 kB / 0.6039 GB, free: 86.08 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000482/1.59, allocations: 204.2 kB / 0.6041 GB, free: 85.89 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008482/1.591, allocations: 455.1 kB / 0.6045 GB, free: 85.45 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.91e-07/1.591, allocations: 0 / 0.6045 GB, free: 85.45 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005727/1.597, allocations: 0.6844 MB / 0.6052 GB, free: 84.77 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (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]) * Number of discrete variables: 65 (breaker1.breaker_c.closed,breaker1.breaker_b.closed,breaker1.breaker_a.closed,breaker2.breaker_b.closed,breaker2.breaker_a.closed,breaker2.breaker_c.closed,$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,system.initime) * Number of discrete states: 22 (breaker1.breaker_a.arc,breaker1.breaker_b.arc,breaker1.breaker_c.arc,breaker2.breaker_a.arc,breaker2.breaker_b.arc,breaker2.breaker_c.arc,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_a.open,breaker2.breaker_c.open,breaker2.breaker_b.open,breaker1.breaker_b.open,breaker1.breaker_c.open,breaker1.breaker_a.open) * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 106 * Array equations: 3 * Algorithm blocks: 2 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * 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: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05093/1.648, allocations: 7.73 MB / 0.6127 GB, free: 76.98 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02032/1.668, allocations: 4.017 MB / 0.6166 GB, free: 72.94 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/1.668, allocations: 0 / 0.6166 GB, free: 72.94 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01232/1.68, allocations: 3.079 MB / 0.6197 GB, free: 69.75 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00178/1.682, allocations: 191.6 kB / 0.6198 GB, free: 69.56 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01324/1.696, allocations: 4.957 MB / 0.6247 GB, free: 64.71 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001109/1.697, allocations: 1.305 MB / 0.626 GB, free: 63.38 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001549/1.698, allocations: 265 kB / 0.6262 GB, free: 63.12 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001245/1.7, allocations: 479.2 kB / 0.6267 GB, free: 62.66 MB / 458.7 MB Notification: Performance of SimCode: time 1.382e-06/1.7, allocations: 0 / 0.6267 GB, free: 62.66 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1403/1.84, allocations: 57.01 MB / 0.6823 GB, free: 5.871 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002218/1.84, allocations: 180.3 kB / 0.6825 GB, free: 5.645 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.441/6.281, allocations: 0 / 0.6825 GB, free: 5.645 MB / 458.7 MB