Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.Tline,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_Tline",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.541/2.541, allocations: 233 MB / 246.1 MB, free: 14.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.227e-05/4.225e-05, allocations: 7.938 kB / 302.3 MB, free: 7.379 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.122, allocations: 53.23 MB / 355.5 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4904/0.6125, allocations: 102.5 MB / 458 MB, free: 15.08 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003445/0.6129, allocations: 86.95 kB / 458.1 MB, free: 15 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1403/0.7532, allocations: 29.52 MB / 487.6 MB, free: 1.234 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.686e-06/0.7533, allocations: 0 / 487.6 MB, free: 1.234 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001067/0.7534, allocations: 24 kB / 487.6 MB, free: 1.211 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.006314/0.7598, allocations: 1.527 MB / 489.2 MB, free: 15.6 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.7598, allocations: 8.031 kB / 489.2 MB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007112/0.7606, allocations: 185.6 kB / 489.4 MB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002666/0.7633, allocations: 230.5 kB / 489.6 MB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007379/0.7707, allocations: 1.615 MB / 491.2 MB, free: 13.51 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001604/0.7709, allocations: 82.02 kB / 491.3 MB, free: 13.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005788/0.7715, allocations: 119.9 kB / 491.4 MB, free: 13.31 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005149/0.7766, allocations: 1.623 MB / 493 MB, free: 11.61 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.685e-05/0.7768, allocations: 4 kB / 493 MB, free: 11.61 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000232/0.777, allocations: 47.98 kB / 493.1 MB, free: 11.56 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004326/0.7775, allocations: 65.98 kB / 493.1 MB, free: 11.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004947/0.7824, allocations: 1.406 MB / 494.5 MB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.032/0.8145, allocations: 8.012 MB / 0.4908 GB, free: 1.914 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004342/0.8189, allocations: 1.513 MB / 0.4923 GB, free: 388 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003305/0.8223, allocations: 1.213 MB / 0.4934 GB, free: 15.16 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000222/0.8226, allocations: 20.98 kB / 0.4935 GB, free: 15.14 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004751/0.8273, allocations: 1.76 MB / 0.4952 GB, free: 13.35 MB / 442.7 MB Notification: Performance of pre-optimization done (n=177): time 6.041e-06/0.8274, allocations: 0 / 0.4952 GB, free: 13.35 MB / 442.7 MB Notification: Performance of matching and sorting (n=178): time 0.03915/0.8666, allocations: 8.107 MB / 0.5031 GB, free: 5.121 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002277/0.8668, allocations: 246.9 kB / 0.5033 GB, free: 4.828 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001327/0.8682, allocations: 0.5776 MB / 0.5039 GB, free: 4.242 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000585/0.8688, allocations: 77.67 kB / 0.504 GB, free: 4.16 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006155/0.8694, allocations: 472.8 kB / 0.5044 GB, free: 3.691 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001205/0.8707, allocations: 0.5949 MB / 0.505 GB, free: 3.09 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003044/0.871, allocations: 35.94 kB / 0.505 GB, free: 3.055 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004453/0.8715, allocations: 442.6 kB / 0.5055 GB, free: 2.613 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003809/0.8753, allocations: 1.254 MB / 0.5067 GB, free: 1.359 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004135/0.8795, allocations: 1.506 MB / 0.5082 GB, free: 15.77 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004629/0.8842, allocations: 1.418 MB / 0.5095 GB, free: 14.34 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-05/0.8842, allocations: 0 / 0.5095 GB, free: 14.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.04566/0.9299, allocations: 7.562 MB / 0.5169 GB, free: 6.75 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.688e-05/0.9301, allocations: 63.41 kB / 0.517 GB, free: 6.676 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03505/0.9651, allocations: 6.147 MB / 0.523 GB, free: 0.5234 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3616/1.327, allocations: 7.274 MB / 0.5301 GB, free: 123.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/1.328, allocations: 161.2 kB / 0.5302 GB, free: 123.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06916/1.397, allocations: 23.42 MB / 0.5531 GB, free: 119.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002502/1.4, allocations: 165.2 kB / 0.5533 GB, free: 119.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00066/1.401, allocations: 199.4 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.0007929/1.401, allocations: 308 kB / 0.5538 GB, free: 119.3 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005361/1.402, allocations: 116.1 kB / 0.5539 GB, free: 119.3 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02839/1.43, allocations: 5.511 MB / 0.5592 GB, free: 118 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.474e-05/1.43, allocations: 42.09 kB / 0.5593 GB, free: 118 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.876e-05/1.431, allocations: 0 / 0.5593 GB, free: 118 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-05/1.431, allocations: 10.31 kB / 0.5593 GB, free: 118 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03632/1.467, allocations: 8.076 MB / 0.5672 GB, free: 115.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.722e-05/1.467, allocations: 3.406 kB / 0.5672 GB, free: 115.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001441/1.468, allocations: 142.2 kB / 0.5673 GB, free: 115.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04637/1.515, allocations: 8.157 MB / 0.5753 GB, free: 113.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00085/1.516, allocations: 260.3 kB / 0.5755 GB, free: 113.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03335/1.549, allocations: 21.48 MB / 0.5965 GB, free: 93.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.549, allocations: 3.188 kB / 0.5965 GB, free: 93.4 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03056/1.58, allocations: 6.738 MB / 0.6031 GB, free: 86.93 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004147/1.58, allocations: 187.7 kB / 0.6033 GB, free: 86.72 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007345/1.581, allocations: 222.2 kB / 0.6035 GB, free: 86.51 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002/1.583, allocations: 150.5 kB / 0.6036 GB, free: 86.36 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001048/1.584, allocations: 264.9 kB / 0.6039 GB, free: 86.11 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003925/1.584, allocations: 200.7 kB / 0.6041 GB, free: 85.92 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007596/1.585, allocations: 459.1 kB / 0.6045 GB, free: 85.47 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.81e-07/1.585, allocations: 0 / 0.6045 GB, free: 85.47 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003123/1.588, allocations: 0.6839 MB / 0.6052 GB, free: 84.79 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.0304/1.619, allocations: 7.733 MB / 0.6127 GB, free: 77 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01153/1.63, allocations: 4.008 MB / 0.6166 GB, free: 72.97 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/1.63, allocations: 0 / 0.6166 GB, free: 72.97 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007927/1.638, allocations: 3.088 MB / 0.6197 GB, free: 69.77 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/1.64, allocations: 188.7 kB / 0.6198 GB, free: 69.59 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01194/1.652, allocations: 4.957 MB / 0.6247 GB, free: 64.74 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/1.653, allocations: 1.308 MB / 0.626 GB, free: 63.41 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00125/1.654, allocations: 265.2 kB / 0.6262 GB, free: 63.15 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009444/1.655, allocations: 475.3 kB / 0.6267 GB, free: 62.69 MB / 458.7 MB Notification: Performance of SimCode: time 1.122e-06/1.655, allocations: 3.938 kB / 0.6267 GB, free: 62.68 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.134/1.789, allocations: 57.02 MB / 0.6824 GB, free: 5.879 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002563/1.79, allocations: 187 kB / 0.6825 GB, free: 5.652 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.4/6.19, allocations: 0 / 0.6825 GB, free: 5.652 MB / 458.7 MB