Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.DoublelLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.DoublelLine") Notification: Performance of loadModel(PowerSystems): time 2.363/2.363, allocations: 233 MB / 246.1 MB, free: 15.05 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.158e-05/3.161e-05, allocations: 4 kB / 302.2 MB, free: 7.703 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0983/0.09835, allocations: 53.24 MB / 355.4 MB, free: 2.352 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4548/0.5532, allocations: 104.7 MB / 460.2 MB, free: 13.16 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002917/0.5535, allocations: 86.95 kB / 460.2 MB, free: 13.08 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.107/0.6606, allocations: 24.39 MB / 484.6 MB, free: 4.395 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.8e-06/0.6606, allocations: 0 / 484.6 MB, free: 4.395 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.488e-05/0.6607, allocations: 27.94 kB / 484.7 MB, free: 4.367 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.004877/0.6656, allocations: 1.484 MB / 486.1 MB, free: 2.812 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.6657, allocations: 8.031 kB / 486.1 MB, free: 2.805 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006304/0.6663, allocations: 131.7 kB / 486.3 MB, free: 2.676 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009909/0.6763, allocations: 2.493 MB / 488.8 MB, free: 140 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/0.6764, allocations: 70 kB / 488.8 MB, free: 72 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005447/0.677, allocations: 123.9 kB / 489 MB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003817/0.6808, allocations: 1.743 MB / 490.7 MB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.827e-05/0.6809, allocations: 0 / 490.7 MB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001936/0.6811, allocations: 39.98 kB / 490.7 MB, free: 14.12 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.6e-05/0.6812, allocations: 34 kB / 490.8 MB, free: 14.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0026/0.6838, allocations: 1.081 MB / 491.9 MB, free: 13.01 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01294/0.6968, allocations: 5.8 MB / 497.7 MB, free: 7.066 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002452/0.6992, allocations: 1.234 MB / 498.9 MB, free: 5.793 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001939/0.7012, allocations: 0.975 MB / 499.9 MB, free: 4.816 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.736e-05/0.7013, allocations: 8.781 kB / 499.9 MB, free: 4.809 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002586/0.7039, allocations: 1.337 MB / 0.4895 GB, free: 3.441 MB / 426.7 MB Notification: Performance of pre-optimization done (n=101): time 4.673e-06/0.704, allocations: 0 / 0.4895 GB, free: 3.441 MB / 426.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: voltage2.theta Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=104): time 0.02379/0.7278, allocations: 8.007 MB / 0.4973 GB, free: 11.3 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001771/0.728, allocations: 212.8 kB / 0.4975 GB, free: 11.05 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/0.7293, allocations: 0.6448 MB / 0.4981 GB, free: 10.4 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003046/0.7296, allocations: 57.7 kB / 0.4982 GB, free: 10.34 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005557/0.7302, allocations: 484.1 kB / 0.4986 GB, free: 9.855 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006424/0.7309, allocations: 415 kB / 0.499 GB, free: 9.445 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.731, allocations: 28 kB / 0.4991 GB, free: 9.418 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002246/0.7313, allocations: 361.9 kB / 0.4994 GB, free: 9.059 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00211/0.7334, allocations: 1.007 MB / 0.5004 GB, free: 8.051 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00235/0.7358, allocations: 1.258 MB / 0.5016 GB, free: 6.699 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03481/0.7706, allocations: 8.624 MB / 0.51 GB, free: 14.01 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.515e-05/0.7706, allocations: 4 kB / 0.51 GB, free: 14 MB / 458.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01382/0.7845, allocations: 5.087 MB / 0.515 GB, free: 8.895 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/0.7846, allocations: 63.39 kB / 0.5151 GB, free: 8.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.24e-05/0.7847, allocations: 8 kB / 0.5151 GB, free: 8.812 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02206/0.8068, allocations: 6.485 MB / 0.5214 GB, free: 2.32 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009266/0.8077, allocations: 179.7 kB / 0.5216 GB, free: 2.145 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2887/1.096, allocations: 15.59 MB / 0.5368 GB, free: 129.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/1.098, allocations: 99.58 kB / 0.5369 GB, free: 129.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003104/1.098, allocations: 146.8 kB / 0.537 GB, free: 129.6 MB / 458.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: $DER.trafo.i1 = 0.0 $DER.line.i[1,1] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 41 (system.initime,$PRE.ab.fault_pp.t0,ab.fault_pp.t0,$whenCondition2,$PRE.relay2.cnt,relay2.cnt,$whenCondition1,$PRE.relay1.cnt,relay1.cnt,trafo.tap_2_internal,trafo.tap_1_internal,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.switch1.switch_1.arc,switch1.switch_1.arc,$PRE.switch1.switch_1.open,switch1.switch_1.open,switch1.switch_1.closed,$PRE.switch2.switch_1.arc,switch2.switch_1.arc,$PRE.switch2.switch_1.open,switch2.switch_1.open,switch2.switch_1.closed,$PRE.ab.t_zero,ab.t_zero,$PRE.ab.v_pos,ab.v_pos,$PRE.ab.first,ab.first,$PRE.ab.fault_pp.on,ab.fault_pp.on,$PRE.relay1.y[1],relay1.y[1],$PRE.relay2.y[1],relay2.y[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 124 * Array equations: 0 * 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 {(29,10.6%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004897/1.099, allocations: 264.8 kB / 0.5373 GB, free: 129.4 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000281/1.099, allocations: 104.2 kB / 0.5374 GB, free: 129.4 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01582/1.115, allocations: 5.042 MB / 0.5423 GB, free: 129 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.646e-05/1.115, allocations: 9.719 kB / 0.5423 GB, free: 129 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/1.115, allocations: 1.438 kB / 0.5423 GB, free: 129 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.499e-05/1.115, allocations: 7.719 kB / 0.5423 GB, free: 129 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02011/1.135, allocations: 6.917 MB / 0.5491 GB, free: 127.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.689e-05/1.135, allocations: 1.594 kB / 0.5491 GB, free: 127.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008174/1.136, allocations: 125.3 kB / 0.5492 GB, free: 127.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02566/1.162, allocations: 6.633 MB / 0.5557 GB, free: 126.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005384/1.162, allocations: 225.9 kB / 0.5559 GB, free: 126.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03101/1.193, allocations: 20.84 MB / 0.5763 GB, free: 115 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/1.193, allocations: 0.5625 kB / 0.5763 GB, free: 115 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01609/1.209, allocations: 6.027 MB / 0.5821 GB, free: 110.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009665/1.21, allocations: 411.6 kB / 0.5825 GB, free: 109.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004696/1.211, allocations: 183.9 kB / 0.5827 GB, free: 109.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009079/1.212, allocations: 74.78 kB / 0.5828 GB, free: 109.6 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007043/1.212, allocations: 184.7 kB / 0.583 GB, free: 109.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002487/1.213, allocations: 152.9 kB / 0.5831 GB, free: 109.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007466/1.213, allocations: 0.4933 MB / 0.5836 GB, free: 108.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.94e-07/1.213, allocations: 0 / 0.5836 GB, free: 108.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002247/1.216, allocations: 0.5234 MB / 0.5841 GB, free: 108.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 29 (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.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],lineF.v[1,1],lineF.v[1,2],lineF.v[1,3],lineF.v[2,1],lineF.v[2,2],lineF.v[2,3],lineF.i[1,1],lineF.i[1,2],lineF.i[1,3],lineF.i[1,4],lineF.i[2,1],lineF.i[2,2],lineF.i[2,3],lineF.i[2,4],lineF.iF[1],lineF.iF[2]) * Number of discrete variables: 26 (switch1.switch_1.closed,switch2.switch_1.closed,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,switch1.switch_1.arc,switch1.switch_1.open,switch2.switch_1.arc,switch2.switch_1.open,ab.t_zero,ab.v_pos,ab.first,ab.fault_pp.on,ab.fault_pp.t0,relay1.y[1],relay1.cnt,relay2.y[1],relay2.cnt,system.initime) * Number of discrete states: 12 (relay2.y[1],relay2.cnt,$whenCondition2,switch2.switch_1.open,relay1.y[1],relay1.cnt,$whenCondition1,switch1.switch_1.open,ab.t_zero,ab.fault_pp.on,ab.v_pos,ab.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {6,6} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {16 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004513/1.216, allocations: 258 kB / 0.5843 GB, free: 108 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006401/1.223, allocations: 2.956 MB / 0.5872 GB, free: 105.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.345e-06/1.223, allocations: 0 / 0.5872 GB, free: 105.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00497/1.228, allocations: 2.319 MB / 0.5895 GB, free: 102.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/1.229, allocations: 244.2 kB / 0.5897 GB, free: 102.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00779/1.237, allocations: 4.596 MB / 0.5942 GB, free: 98.07 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008581/1.238, allocations: 1.248 MB / 0.5954 GB, free: 96.8 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0008822/1.239, allocations: 210.7 kB / 0.5956 GB, free: 96.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002295/1.239, allocations: 71.44 kB / 0.5957 GB, free: 96.53 MB / 458.7 MB Notification: Performance of SimCode: time 3.164e-06/1.239, allocations: 0 / 0.5957 GB, free: 96.53 MB / 458.7 MB Notification: Performance of Templates: time 0.06623/1.305, allocations: 37.26 MB / 0.6321 GB, free: 59.41 MB / 458.7 MB