Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.DoublelLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.DoublelLine") Notification: Performance of loadModel(PowerSystems): time 2.433/2.433, allocations: 233 MB / 246.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.662e-05/3.675e-05, allocations: 4 kB / 302.2 MB, free: 7.691 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09975/0.09981, allocations: 53.24 MB / 355.4 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4479/0.5477, allocations: 104.7 MB / 460.2 MB, free: 13.14 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/0.548, allocations: 83.95 kB / 460.2 MB, free: 13.05 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1339/0.682, allocations: 24.39 MB / 484.6 MB, free: 4.379 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.823e-06/0.682, allocations: 0 / 484.6 MB, free: 4.379 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000108/0.6822, allocations: 27.94 kB / 484.7 MB, free: 4.352 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.004803/0.687, allocations: 1.488 MB / 486.1 MB, free: 2.793 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.687, allocations: 8.031 kB / 486.2 MB, free: 2.785 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000636/0.6877, allocations: 131.7 kB / 486.3 MB, free: 2.656 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009888/0.6976, allocations: 2.489 MB / 488.8 MB, free: 124 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.6978, allocations: 73.98 kB / 488.8 MB, free: 52 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005155/0.6983, allocations: 120 kB / 489 MB, free: 15.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003859/0.7022, allocations: 1.739 MB / 490.7 MB, free: 14.15 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.964e-05/0.7022, allocations: 5.156 kB / 490.7 MB, free: 14.15 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001899/0.7024, allocations: 39.98 kB / 490.7 MB, free: 14.11 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.942e-05/0.7025, allocations: 34 kB / 490.8 MB, free: 14.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002614/0.7051, allocations: 1.081 MB / 491.9 MB, free: 12.99 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01357/0.7188, allocations: 5.796 MB / 497.7 MB, free: 7.055 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002497/0.7213, allocations: 1.239 MB / 498.9 MB, free: 5.777 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001959/0.7233, allocations: 0.9753 MB / 499.9 MB, free: 4.801 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.404e-05/0.7234, allocations: 16.77 kB / 499.9 MB, free: 4.785 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00262/0.726, allocations: 1.328 MB / 0.4895 GB, free: 3.426 MB / 426.7 MB Notification: Performance of pre-optimization done (n=101): time 4.828e-06/0.7261, allocations: 0 / 0.4895 GB, free: 3.426 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.02418/0.7503, allocations: 8.011 MB / 0.4973 GB, free: 11.28 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003031/0.7506, allocations: 212.8 kB / 0.4975 GB, free: 11.03 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003058/0.7537, allocations: 0.6448 MB / 0.4981 GB, free: 10.38 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007366/0.7545, allocations: 57.7 kB / 0.4982 GB, free: 10.32 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007042/0.7553, allocations: 484 kB / 0.4986 GB, free: 9.836 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009481/0.7563, allocations: 423 kB / 0.499 GB, free: 9.418 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002001/0.7565, allocations: 24 kB / 0.4991 GB, free: 9.395 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002325/0.7568, allocations: 365.9 kB / 0.4994 GB, free: 9.031 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002477/0.7592, allocations: 0.9996 MB / 0.5004 GB, free: 8.031 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00264/0.7619, allocations: 1.262 MB / 0.5016 GB, free: 6.676 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03515/0.7971, allocations: 8.62 MB / 0.51 GB, free: 13.98 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-05/0.7972, allocations: 4 kB / 0.51 GB, free: 13.98 MB / 458.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01359/0.8108, allocations: 5.087 MB / 0.515 GB, free: 8.871 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.275e-05/0.8109, allocations: 67.39 kB / 0.5151 GB, free: 8.793 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/0.8109, allocations: 4 kB / 0.5151 GB, free: 8.789 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02037/0.8313, allocations: 6.481 MB / 0.5214 GB, free: 2.301 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009181/0.8323, allocations: 175.7 kB / 0.5216 GB, free: 2.129 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3407/1.173, allocations: 15.59 MB / 0.5368 GB, free: 129.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/1.174, allocations: 95.88 kB / 0.5369 GB, free: 129.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003315/1.175, allocations: 150.7 kB / 0.537 GB, free: 129.4 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.0005136/1.175, allocations: 266.9 kB / 0.5373 GB, free: 129.2 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003182/1.176, allocations: 103.6 kB / 0.5374 GB, free: 129.2 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01599/1.192, allocations: 5.043 MB / 0.5423 GB, free: 128.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.668e-05/1.192, allocations: 10.28 kB / 0.5423 GB, free: 128.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.369e-05/1.192, allocations: 5.016 kB / 0.5423 GB, free: 128.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.547e-05/1.192, allocations: 3.797 kB / 0.5423 GB, free: 128.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0202/1.212, allocations: 6.914 MB / 0.5491 GB, free: 127.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.881e-05/1.212, allocations: 0.5625 kB / 0.5491 GB, free: 127.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008158/1.213, allocations: 124.3 kB / 0.5492 GB, free: 127.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0263/1.239, allocations: 6.638 MB / 0.5557 GB, free: 126.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005718/1.24, allocations: 226.3 kB / 0.5559 GB, free: 126.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03231/1.272, allocations: 20.84 MB / 0.5763 GB, free: 114.7 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.2e-06/1.272, allocations: 7.25 kB / 0.5763 GB, free: 114.7 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01593/1.288, allocations: 6.023 MB / 0.5821 GB, free: 110.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/1.289, allocations: 411.6 kB / 0.5825 GB, free: 109.6 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000505/1.29, allocations: 183.9 kB / 0.5827 GB, free: 109.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/1.291, allocations: 77.5 kB / 0.5828 GB, free: 109.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007524/1.292, allocations: 188.7 kB / 0.583 GB, free: 109.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000256/1.292, allocations: 145.2 kB / 0.5831 GB, free: 109.1 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008034/1.293, allocations: 0.4913 MB / 0.5836 GB, free: 108.6 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.734e-06/1.293, allocations: 0 / 0.5836 GB, free: 108.6 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002498/1.295, allocations: 0.5295 MB / 0.5841 GB, free: 108 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.0005113/1.296, allocations: 255.8 kB / 0.5843 GB, free: 107.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006754/1.303, allocations: 2.957 MB / 0.5872 GB, free: 104.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.074e-06/1.303, allocations: 0 / 0.5872 GB, free: 104.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005186/1.308, allocations: 2.321 MB / 0.5895 GB, free: 102.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/1.309, allocations: 237.8 kB / 0.5897 GB, free: 102.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008257/1.318, allocations: 4.603 MB / 0.5942 GB, free: 97.87 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009587/1.319, allocations: 1.252 MB / 0.5954 GB, free: 96.59 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001534/1.32, allocations: 209.3 kB / 0.5956 GB, free: 96.39 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004334/1.321, allocations: 67.44 kB / 0.5957 GB, free: 96.33 MB / 458.7 MB Notification: Performance of SimCode: time 4.278e-06/1.321, allocations: 0 / 0.5957 GB, free: 96.33 MB / 458.7 MB Notification: Performance of Templates: time 0.09442/1.415, allocations: 37.25 MB / 0.6321 GB, free: 59.19 MB / 458.7 MB