Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.DoublelLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.DoublelLine") Notification: Performance of loadModel(PowerSystems): time 2.33/2.33, allocations: 233 MB / 245.6 MB, free: 15.03 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.25e-05/4.268e-05, allocations: 4 kB / 301.3 MB, free: 8.184 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09281/0.09288, allocations: 53.24 MB / 354.5 MB, free: 2.824 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3822/0.4752, allocations: 104.7 MB / 459.2 MB, free: 13.45 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002975/0.4755, allocations: 91.94 kB / 459.3 MB, free: 13.36 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1052/0.5807, allocations: 24.38 MB / 483.7 MB, free: 4.691 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.113e-06/0.5807, allocations: 0 / 483.7 MB, free: 4.691 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.811e-05/0.5808, allocations: 31.92 kB / 483.7 MB, free: 4.66 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.004463/0.5853, allocations: 1.48 MB / 485.2 MB, free: 3.109 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.5854, allocations: 8.031 kB / 485.2 MB, free: 3.102 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005441/0.5859, allocations: 135.7 kB / 485.3 MB, free: 2.969 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009811/0.5958, allocations: 2.493 MB / 487.8 MB, free: 440 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/0.5959, allocations: 77.98 kB / 487.9 MB, free: 364 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005262/0.5965, allocations: 115.9 kB / 488 MB, free: 248 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0037/0.6002, allocations: 1.739 MB / 489.8 MB, free: 14.46 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.998e-05/0.6003, allocations: 3.938 kB / 489.8 MB, free: 14.46 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001931/0.6005, allocations: 43.97 kB / 489.8 MB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.484e-05/0.6005, allocations: 34 kB / 489.8 MB, free: 14.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002515/0.6031, allocations: 1.085 MB / 490.9 MB, free: 13.29 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01242/0.6155, allocations: 5.792 MB / 496.7 MB, free: 7.359 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002448/0.618, allocations: 1.234 MB / 497.9 MB, free: 6.086 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001948/0.62, allocations: 0.9828 MB / 498.9 MB, free: 5.102 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.544e-05/0.6201, allocations: 12.78 kB / 498.9 MB, free: 5.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002826/0.623, allocations: 1.325 MB / 0.4885 GB, free: 3.734 MB / 426.7 MB Notification: Performance of pre-optimization done (n=101): time 1.216e-05/0.623, allocations: 0 / 0.4885 GB, free: 3.734 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.02421/0.6473, allocations: 8.015 MB / 0.4964 GB, free: 11.59 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001884/0.6475, allocations: 208.9 kB / 0.4966 GB, free: 11.34 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/0.6488, allocations: 0.6448 MB / 0.4972 GB, free: 10.69 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002879/0.6491, allocations: 57.7 kB / 0.4973 GB, free: 10.62 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004711/0.6496, allocations: 490.5 kB / 0.4977 GB, free: 10.14 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005948/0.6502, allocations: 419 kB / 0.4981 GB, free: 9.727 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/0.6504, allocations: 28 kB / 0.4981 GB, free: 9.699 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002287/0.6506, allocations: 366.8 kB / 0.4985 GB, free: 9.332 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002075/0.6527, allocations: 1.004 MB / 0.4995 GB, free: 8.328 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002314/0.655, allocations: 1.262 MB / 0.5007 GB, free: 6.973 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03021/0.6853, allocations: 7.176 MB / 0.5077 GB, free: 15.73 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/0.6853, allocations: 3.938 kB / 0.5077 GB, free: 15.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01314/0.6985, allocations: 5.037 MB / 0.5126 GB, free: 10.67 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.099e-05/0.6986, allocations: 63.39 kB / 0.5127 GB, free: 10.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.27e-05/0.6986, allocations: 8 kB / 0.5127 GB, free: 10.59 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0209/0.7195, allocations: 6.473 MB / 0.519 GB, free: 4.105 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009393/0.7205, allocations: 179.7 kB / 0.5192 GB, free: 3.93 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3293/1.05, allocations: 15.6 MB / 0.5344 GB, free: 129.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/1.051, allocations: 95.59 kB / 0.5345 GB, free: 129.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003064/1.052, allocations: 148.3 kB / 0.5347 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.0004922/1.052, allocations: 262.5 kB / 0.5349 GB, free: 129.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000276/1.052, allocations: 108 kB / 0.535 GB, free: 129.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01598/1.068, allocations: 5.047 MB / 0.5399 GB, free: 129.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.54e-05/1.068, allocations: 10.72 kB / 0.54 GB, free: 129.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/1.068, allocations: 3.594 kB / 0.54 GB, free: 129.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-05/1.068, allocations: 4.875 kB / 0.54 GB, free: 129.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02023/1.089, allocations: 6.912 MB / 0.5467 GB, free: 127.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.957e-05/1.089, allocations: 0 / 0.5467 GB, free: 127.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008255/1.09, allocations: 123.9 kB / 0.5468 GB, free: 127.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02792/1.118, allocations: 6.64 MB / 0.5533 GB, free: 127.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005535/1.118, allocations: 215.1 kB / 0.5535 GB, free: 127.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03211/1.15, allocations: 20.85 MB / 0.5739 GB, free: 116.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.434e-06/1.15, allocations: 6.438 kB / 0.5739 GB, free: 116.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0162/1.167, allocations: 6.024 MB / 0.5798 GB, free: 111.6 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/1.168, allocations: 405.3 kB / 0.5802 GB, free: 111.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005081/1.168, allocations: 191.2 kB / 0.5803 GB, free: 111.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009711/1.169, allocations: 74.77 kB / 0.5804 GB, free: 111.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000675/1.17, allocations: 190.8 kB / 0.5806 GB, free: 110.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002484/1.17, allocations: 143 kB / 0.5807 GB, free: 110.8 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007592/1.171, allocations: 499.1 kB / 0.5812 GB, free: 110.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.829e-06/1.171, allocations: 2.938 kB / 0.5812 GB, free: 110.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00247/1.173, allocations: 0.5345 MB / 0.5817 GB, free: 109.8 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.0004843/1.174, allocations: 254.8 kB / 0.582 GB, free: 109.6 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006534/1.18, allocations: 2.951 MB / 0.5849 GB, free: 106.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.517e-06/1.18, allocations: 0 / 0.5849 GB, free: 106.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004983/1.185, allocations: 2.322 MB / 0.5871 GB, free: 104.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/1.187, allocations: 242.7 kB / 0.5874 GB, free: 104 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007998/1.195, allocations: 4.689 MB / 0.5919 GB, free: 99.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008601/1.196, allocations: 1.244 MB / 0.5931 GB, free: 98.23 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003276/1.196, allocations: 79.42 kB / 0.5932 GB, free: 98.15 MB / 458.7 MB Notification: Performance of SimCode: time 1.662e-06/1.196, allocations: 0 / 0.5932 GB, free: 98.15 MB / 458.7 MB Notification: Performance of Templates: time 0.04427/1.24, allocations: 32.52 MB / 0.625 GB, free: 65.74 MB / 458.7 MB