Running command: translateModel(PowerSystems.Examples.AC3ph.Transmission.FaultTline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=80000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.FaultTline") Notification: Performance of loadModel(PowerSystems): time 2.214/2.214, allocations: 233 MB / 245.6 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.359e-05/3.374e-05, allocations: 0 / 301.3 MB, free: 7.969 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09032/0.09038, allocations: 53.24 MB / 354.5 MB, free: 2.617 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3859/0.4763, allocations: 107.1 MB / 461.6 MB, free: 10.9 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/0.4766, allocations: 88.44 kB / 461.7 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1358/0.6124, allocations: 33.53 MB / 495.2 MB, free: 9.004 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.453e-06/0.6125, allocations: 1.5 kB / 495.2 MB, free: 9.004 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.033e-05/0.6126, allocations: 35.94 kB / 495.3 MB, free: 8.969 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.005099/0.6177, allocations: 1.796 MB / 497.1 MB, free: 7.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.6177, allocations: 8.031 kB / 497.1 MB, free: 7.062 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00232/0.6201, allocations: 273.7 kB / 497.3 MB, free: 6.793 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006656/0.6268, allocations: 1.76 MB / 499.1 MB, free: 4.988 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00016/0.627, allocations: 94.44 kB / 499.2 MB, free: 4.895 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005106/0.6275, allocations: 143.9 kB / 499.3 MB, free: 4.754 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004619/0.6321, allocations: 1.992 MB / 0.4896 GB, free: 2.672 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.516e-05/0.6322, allocations: 3.938 kB / 0.4896 GB, free: 2.668 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002277/0.6325, allocations: 59.97 kB / 0.4896 GB, free: 2.609 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002809/0.6327, allocations: 74.31 kB / 0.4897 GB, free: 2.535 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004267/0.637, allocations: 1.762 MB / 0.4914 GB, free: 0.7695 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02543/0.6625, allocations: 9.315 MB / 0.5005 GB, free: 7.27 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004013/0.6666, allocations: 1.842 MB / 0.5023 GB, free: 5.414 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003023/0.6696, allocations: 1.454 MB / 0.5037 GB, free: 3.961 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001765/0.6698, allocations: 22.52 kB / 0.5038 GB, free: 3.941 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004212/0.6741, allocations: 2.035 MB / 0.5057 GB, free: 1.867 MB / 442.7 MB Notification: Performance of pre-optimization done (n=218): time 6.334e-06/0.6741, allocations: 0 / 0.5057 GB, free: 1.867 MB / 442.7 MB Notification: Performance of matching and sorting (n=219): time 0.02907/0.7032, allocations: 9.124 MB / 0.5147 GB, free: 8.609 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002101/0.7034, allocations: 259.5 kB / 0.5149 GB, free: 8.309 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001354/0.7048, allocations: 0.6642 MB / 0.5156 GB, free: 7.637 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004645/0.7053, allocations: 73.69 kB / 0.5156 GB, free: 7.559 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005681/0.7059, allocations: 0.5505 MB / 0.5162 GB, free: 7 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001121/0.707, allocations: 0.7251 MB / 0.5169 GB, free: 6.266 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002881/0.7073, allocations: 44 kB / 0.5169 GB, free: 6.223 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003072/0.7076, allocations: 407.6 kB / 0.5173 GB, free: 5.816 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003247/0.7109, allocations: 1.449 MB / 0.5187 GB, free: 4.363 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003673/0.7146, allocations: 1.768 MB / 0.5204 GB, free: 2.488 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003685/0.7183, allocations: 1.646 MB / 0.522 GB, free: 0.8047 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/0.7183, allocations: 4 kB / 0.5221 GB, free: 0.8008 MB / 458.7 MB Notification: Performance of matching and sorting (n=306) (initialization): time 0.2794/0.9977, allocations: 8.445 MB / 0.5303 GB, free: 123.7 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.682e-05/0.9978, allocations: 64.73 kB / 0.5304 GB, free: 123.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02554/1.023, allocations: 6.984 MB / 0.5372 GB, free: 123.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03445/1.058, allocations: 7.954 MB / 0.5449 GB, free: 123.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/1.059, allocations: 185.7 kB / 0.5451 GB, free: 123.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05587/1.115, allocations: 26.52 MB / 0.571 GB, free: 115.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001962/1.117, allocations: 192.5 kB / 0.5712 GB, free: 115.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003875/1.117, allocations: 210.5 kB / 0.5714 GB, free: 115.2 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: 108 (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,$whenCondition29,$whenCondition28,$whenCondition27,$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],$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 (182): * Single equations (assignments): 175 * 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: 0 * Non-linear torn systems: 1 {32 66} Notification: Performance of prepare postOptimizeDAE: time 0.0006383/1.118, allocations: 332.6 kB / 0.5717 GB, free: 114.9 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004484/1.118, allocations: 137.5 kB / 0.5719 GB, free: 114.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01934/1.138, allocations: 6.053 MB / 0.5778 GB, free: 110.1 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.832e-05/1.138, allocations: 47.7 kB / 0.5778 GB, free: 110 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.809e-05/1.138, allocations: 0 / 0.5778 GB, free: 110 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.222e-05/1.138, allocations: 18.12 kB / 0.5778 GB, free: 110 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02674/1.165, allocations: 8.941 MB / 0.5866 GB, free: 103 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.094e-05/1.165, allocations: 4 kB / 0.5866 GB, free: 103 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001515/1.166, allocations: 228 kB / 0.5868 GB, free: 102.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03143/1.198, allocations: 8.223 MB / 0.5948 GB, free: 95.48 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007066/1.198, allocations: 268.4 kB / 0.5951 GB, free: 95.22 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02658/1.225, allocations: 23.12 MB / 0.6177 GB, free: 70.94 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.491e-06/1.225, allocations: 0.5469 kB / 0.6177 GB, free: 70.94 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02225/1.247, allocations: 7.509 MB / 0.625 GB, free: 63.33 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001378/1.249, allocations: 0.5264 MB / 0.6255 GB, free: 62.79 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006986/1.25, allocations: 231.7 kB / 0.6257 GB, free: 62.57 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00164/1.251, allocations: 172.9 kB / 0.6259 GB, free: 62.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008926/1.252, allocations: 301.2 kB / 0.6262 GB, free: 62.11 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003822/1.252, allocations: 204.8 kB / 0.6264 GB, free: 61.91 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008336/1.253, allocations: 0.5069 MB / 0.6269 GB, free: 61.41 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.69e-07/1.253, allocations: 0 / 0.6269 GB, free: 61.41 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003181/1.257, allocations: 0.7988 MB / 0.6276 GB, free: 60.62 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 (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],line.iF[1],line.iF[2],line.iF[3]) * Number of discrete variables: 75 (breaker1.breaker_c.closed,breaker1.breaker_b.closed,breaker1.breaker_a.closed,breaker2.breaker_c.closed,breaker2.breaker_a.closed,breaker2.breaker_b.closed,$whenCondition29,$whenCondition28,$whenCondition27,$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,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: 27 (breaker1.breaker_a.arc,breaker1.breaker_b.arc,breaker1.breaker_c.arc,breaker2.breaker_a.arc,breaker2.breaker_b.arc,breaker2.breaker_c.arc,abc.theta_zero,abc.fault_pp1.on,abc.fault_pp2.on,abc.v_pos,abc.first,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_b.open,breaker2.breaker_c.open,breaker2.breaker_a.open,breaker1.breaker_a.open,breaker1.breaker_c.open,breaker1.breaker_b.open) * Top-level inputs: 0 Notification: Strong component statistics for simulation (163): * Single equations (assignments): 131 * Array equations: 4 * Algorithm blocks: 2 * Record equations: 0 * When equations: 17 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 7 * 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: 7 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007445/1.257, allocations: 285.8 kB / 0.6279 GB, free: 60.36 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01069/1.268, allocations: 4.731 MB / 0.6325 GB, free: 55.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.949e-06/1.268, allocations: 0.6875 kB / 0.6325 GB, free: 55.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006706/1.275, allocations: 3.446 MB / 0.6359 GB, free: 52.04 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001506/1.276, allocations: 208.8 kB / 0.6361 GB, free: 51.84 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01853/1.295, allocations: 5.575 MB / 0.6415 GB, free: 46.38 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002266/1.297, allocations: 1.466 MB / 0.643 GB, free: 44.89 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001339/1.299, allocations: 107.4 kB / 0.6431 GB, free: 44.78 MB / 458.7 MB Notification: Performance of SimCode: time 2.561e-06/1.299, allocations: 3.938 kB / 0.6431 GB, free: 44.78 MB / 458.7 MB Notification: Performance of Templates: time 0.1031/1.402, allocations: 53.97 MB / 0.6958 GB, free: 6.965 MB / 474.7 MB