Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.Tline,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transmission_Tline",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.348/2.348, allocations: 233 MB / 245.6 MB, free: 14.85 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.184e-05/4.182e-05, allocations: 11.98 kB / 301.4 MB, free: 7.879 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1143, allocations: 53.24 MB / 354.6 MB, free: 2.527 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4639/0.5783, allocations: 102.5 MB / 457.1 MB, free: 15.49 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003536/0.5787, allocations: 91.94 kB / 457.2 MB, free: 15.4 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1388/0.7175, allocations: 29.52 MB / 486.7 MB, free: 1.637 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.7176, allocations: 0 / 486.7 MB, free: 1.637 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.237e-05/0.7177, allocations: 24 kB / 486.7 MB, free: 1.613 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.006278/0.724, allocations: 1.529 MB / 488.2 MB, free: 0 / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.011e-05/0.7241, allocations: 8.078 kB / 488.2 MB, free: 15.99 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007053/0.7248, allocations: 174.2 kB / 488.4 MB, free: 15.81 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002684/0.7275, allocations: 238.5 kB / 488.6 MB, free: 15.58 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00735/0.7349, allocations: 1.616 MB / 490.3 MB, free: 13.91 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001489/0.7351, allocations: 81.95 kB / 490.3 MB, free: 13.83 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006159/0.7358, allocations: 115.9 kB / 490.5 MB, free: 13.72 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005029/0.7408, allocations: 1.627 MB / 492.1 MB, free: 12.01 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.596e-05/0.7409, allocations: 9.531 kB / 492.1 MB, free: 12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002052/0.7411, allocations: 43.98 kB / 492.1 MB, free: 11.96 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003892/0.7415, allocations: 61.98 kB / 492.2 MB, free: 11.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004771/0.7463, allocations: 1.406 MB / 493.6 MB, free: 10.49 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03171/0.7781, allocations: 8.004 MB / 0.4898 GB, free: 2.328 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004046/0.7822, allocations: 1.516 MB / 0.4913 GB, free: 0.7891 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003361/0.7856, allocations: 1.213 MB / 0.4925 GB, free: 15.57 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002359/0.7859, allocations: 20.98 kB / 0.4925 GB, free: 15.55 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004892/0.7908, allocations: 1.76 MB / 0.4943 GB, free: 13.76 MB / 442.7 MB Notification: Performance of pre-optimization done (n=177): time 5.951e-06/0.7909, allocations: 0 / 0.4943 GB, free: 13.76 MB / 442.7 MB Notification: Performance of matching and sorting (n=178): time 0.03849/0.8294, allocations: 8.111 MB / 0.5022 GB, free: 5.527 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002364/0.8297, allocations: 246.9 kB / 0.5024 GB, free: 5.234 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/0.8311, allocations: 0.5815 MB / 0.503 GB, free: 4.645 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005485/0.8316, allocations: 69.69 kB / 0.503 GB, free: 4.57 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005369/0.8322, allocations: 499.3 kB / 0.5035 GB, free: 4.078 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009902/0.8332, allocations: 0.594 MB / 0.5041 GB, free: 3.477 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002361/0.8334, allocations: 36.75 kB / 0.5041 GB, free: 3.441 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000252/0.8337, allocations: 394.7 kB / 0.5045 GB, free: 3.047 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003334/0.837, allocations: 1.25 MB / 0.5057 GB, free: 1.797 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003637/0.8407, allocations: 1.51 MB / 0.5072 GB, free: 212 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003618/0.8444, allocations: 1.422 MB / 0.5086 GB, free: 14.77 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-05/0.8444, allocations: 4 kB / 0.5086 GB, free: 14.77 MB / 458.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.04348/0.8879, allocations: 7.515 MB / 0.5159 GB, free: 7.223 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.92e-05/0.888, allocations: 63.39 kB / 0.516 GB, free: 7.148 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0333/0.9213, allocations: 6.142 MB / 0.522 GB, free: 1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3445/1.266, allocations: 7.276 MB / 0.5291 GB, free: 123.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/1.267, allocations: 158.7 kB / 0.5293 GB, free: 123.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06493/1.332, allocations: 23.42 MB / 0.5521 GB, free: 119.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0024/1.335, allocations: 167.7 kB / 0.5523 GB, free: 119.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005053/1.335, allocations: 204.3 kB / 0.5525 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.0006891/1.336, allocations: 299.4 kB / 0.5528 GB, free: 119.4 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004666/1.336, allocations: 117.3 kB / 0.5529 GB, free: 119.4 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03475/1.371, allocations: 5.517 MB / 0.5583 GB, free: 118 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.815e-05/1.371, allocations: 33.91 kB / 0.5583 GB, free: 118 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.578e-05/1.371, allocations: 3.781 kB / 0.5583 GB, free: 118 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-05/1.371, allocations: 13.47 kB / 0.5583 GB, free: 118 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04967/1.421, allocations: 8.069 MB / 0.5662 GB, free: 115.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.972e-05/1.421, allocations: 3.75 kB / 0.5662 GB, free: 115.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001881/1.423, allocations: 141.9 kB / 0.5663 GB, free: 115.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04774/1.471, allocations: 8.158 MB / 0.5743 GB, free: 114.3 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008008/1.472, allocations: 261.1 kB / 0.5745 GB, free: 114.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03195/1.504, allocations: 21.48 MB / 0.5955 GB, free: 93.85 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.504, allocations: 5.344 kB / 0.5955 GB, free: 93.85 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03102/1.535, allocations: 6.734 MB / 0.6021 GB, free: 87.46 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004449/1.535, allocations: 189.6 kB / 0.6023 GB, free: 87.26 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001085/1.536, allocations: 224.5 kB / 0.6025 GB, free: 87.04 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002517/1.539, allocations: 143.8 kB / 0.6026 GB, free: 86.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001293/1.54, allocations: 265.5 kB / 0.6029 GB, free: 86.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004805/1.541, allocations: 205.2 kB / 0.6031 GB, free: 86.46 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008552/1.542, allocations: 455.1 kB / 0.6035 GB, free: 86.01 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.542, allocations: 0 / 0.6035 GB, free: 86.01 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003725/1.545, allocations: 0.6805 MB / 0.6042 GB, free: 85.34 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.03155/1.577, allocations: 7.727 MB / 0.6117 GB, free: 77.55 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0123/1.589, allocations: 4.011 MB / 0.6157 GB, free: 73.51 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/1.589, allocations: 0 / 0.6157 GB, free: 73.51 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008354/1.598, allocations: 3.076 MB / 0.6187 GB, free: 70.33 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001696/1.599, allocations: 194 kB / 0.6188 GB, free: 70.14 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01281/1.612, allocations: 5.032 MB / 0.6238 GB, free: 65.21 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009984/1.613, allocations: 1.323 MB / 0.625 GB, free: 63.86 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001151/1.615, allocations: 483.2 kB / 0.6255 GB, free: 63.39 MB / 458.7 MB Notification: Performance of SimCode: time 1.212e-06/1.615, allocations: 0 / 0.6255 GB, free: 63.39 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.208/5.823, allocations: 51.33 MB / 0.6756 GB, free: 12.23 MB / 458.7 MB