Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.FourVariableLoadsThreeFeeders,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders") translateModel(PowerSysPro.Examples.FourVariableLoadsThreeFeeders,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 107.5 kB / 17.13 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009379/0.0009379, allocations: 191.1 kB / 18.06 MB, free: 5.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 241.8 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04763/0.04763, allocations: 8.099 MB / 300 MB, free: 6.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.89 kB / 415.2 MB, free: 21.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08244/0.08368, allocations: 51.51 MB / 466.7 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.FourVariableLoadsThreeFeeders): time 0.005429/0.08915, allocations: 4.757 MB / 471.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004392/0.09356, allocations: 3.163 MB / 474.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005047/0.09409, allocations: 16 kB / 474.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006954/0.0948, allocations: 274.2 kB / 474.9 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001204/0.09604, allocations: 0.5358 MB / 475.4 MB, free: 9.383 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002534/0.09858, allocations: 1.494 MB / 476.9 MB, free: 7.895 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001176/0.09977, allocations: 1.117 MB / 478 MB, free: 6.773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004082/0.1002, allocations: 310.7 kB / 478.3 MB, free: 6.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004034/0.1006, allocations: 458.3 kB / 478.8 MB, free: 6.004 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005656/0.1012, allocations: 0.5486 MB / 479.3 MB, free: 5.453 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.1013, allocations: 92 kB / 479.4 MB, free: 5.363 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007183/0.102, allocations: 415.7 kB / 479.8 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001937/0.1022, allocations: 207.2 kB / 480 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000406/0.1027, allocations: 0.4936 MB / 480.5 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001286/0.104, allocations: 1.281 MB / 481.8 MB, free: 2.973 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.054e-05/0.104, allocations: 3.984 kB / 481.8 MB, free: 2.969 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.104, allocations: 0 / 481.8 MB, free: 2.969 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.104, allocations: 3.938 kB / 481.8 MB, free: 2.965 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.009817/0.1138, allocations: 2.571 MB / 484.4 MB, free: 340 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.1139, allocations: 15.89 kB / 484.4 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002579/0.1142, allocations: 111.7 kB / 484.5 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008538/0.115, allocations: 0.5659 MB / 485.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/0.1151, allocations: 168.7 kB / 485.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.1153, allocations: 83.88 kB / 485.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/0.117, allocations: 1.085 MB / 486.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.117, allocations: 0 / 486.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.886e-05/0.1171, allocations: 36 kB / 486.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.1172, allocations: 12 kB / 486.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001557/0.1187, allocations: 0.9812 MB / 487.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005125/0.1239, allocations: 4.056 MB / 491.5 MB, free: 8.805 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001944/0.1258, allocations: 1.587 MB / 493.1 MB, free: 7.141 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001065/0.1269, allocations: 0.7575 MB / 493.8 MB, free: 6.383 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.127, allocations: 24.97 kB / 493.9 MB, free: 6.355 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001533/0.1286, allocations: 1.007 MB / 494.9 MB, free: 5.312 MB / 366.1 MB Notification: Performance of pre-optimization done (n=123): time 4.147e-06/0.1286, allocations: 0 / 494.9 MB, free: 5.312 MB / 366.1 MB Notification: Performance of matching and sorting (n=123): time 0.02232/0.1509, allocations: 5.622 MB / 0.4888 GB, free: 15.65 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/0.1511, allocations: 256.3 kB / 0.489 GB, free: 15.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007675/0.1519, allocations: 0.5339 MB / 0.4895 GB, free: 14.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001473/0.152, allocations: 65.69 kB / 0.4896 GB, free: 14.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002343/0.1523, allocations: 281.9 kB / 0.4899 GB, free: 14.45 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003417/0.1526, allocations: 394.3 kB / 0.4902 GB, free: 14.06 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004061/0.153, allocations: 218.9 kB / 0.4904 GB, free: 13.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1532, allocations: 398.7 kB / 0.4908 GB, free: 13.44 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/0.1542, allocations: 0.6508 MB / 0.4915 GB, free: 12.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/0.1554, allocations: 0.7594 MB / 0.4922 GB, free: 12.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01775/0.1732, allocations: 4.783 MB / 0.4969 GB, free: 7.207 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.1732, allocations: 4 kB / 0.4969 GB, free: 7.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004214/0.1774, allocations: 2.214 MB / 0.499 GB, free: 4.969 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.548e-05/0.1775, allocations: 33.7 kB / 0.4991 GB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.1775, allocations: 0 / 0.4991 GB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008949/0.1865, allocations: 2.375 MB / 0.5014 GB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000639/0.1871, allocations: 159.8 kB / 0.5015 GB, free: 2.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004136/0.1913, allocations: 2.257 MB / 0.5037 GB, free: 104 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2139/0.4052, allocations: 141.4 kB / 0.5039 GB, free: 46.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002554/0.4055, allocations: 43.42 kB / 0.5039 GB, free: 46.9 MB / 382.1 MB Warning: Assuming fixed start value for the following 3 variables: HVMV.tapChanger.tap:DISCRETE(start = HVMV.tapChanger.startTap fixed = true ) "Current tap position" type: Integer HVMV.tapChanger.furtherTapChangeTimeout:DISCRETE(start = HVMV.tapChanger.nextTapChangeTimeout unit = "s" fixed = true protected = true ) "Time lag between the first change and the following tap" type: Real HVMV.tapChanger.abnormalUTime:DISCRETE(unit = "s" fixed = true protected = true ) "Time when the signal U went out its normal range" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.HVMV.tapChanger.tap,$PRE.HVMV.tapChanger.furtherTapChangeTimeout,$PRE.HVMV.tapChanger.abnormalUTime,varLoad4.degradedMode,$PRE.varLoad4.degradedMode,varLoad3.degradedMode,$PRE.varLoad3.degradedMode,varLoad2.degradedMode,$PRE.varLoad2.degradedMode,varLoad1.degradedMode,$PRE.varLoad1.degradedMode,HVMV.tapChanger.furtherTapChangeTimeout,HVMV.tapChanger.increaseEvent,HVMV.tapChanger.decreaseEvent,HVMV.tapChanger.normalU,HVMV.tapChanger.abnormalUTime,HVMV.tapChanger.tap,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,30)} Notification: Performance of prepare postOptimizeDAE: time 0.0006821/0.4062, allocations: 291.5 kB / 0.5042 GB, free: 46.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002769/0.4064, allocations: 91.69 kB / 0.5043 GB, free: 46.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004613/0.4111, allocations: 2.417 MB / 0.5066 GB, free: 46.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.898e-05/0.4111, allocations: 7.234 kB / 0.5067 GB, free: 46.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.4111, allocations: 0 / 0.5067 GB, free: 46.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00052/0.4116, allocations: 344.5 kB / 0.507 GB, free: 46.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001592/0.4118, allocations: 35.12 kB / 0.507 GB, free: 46.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009547/0.4128, allocations: 108.5 kB / 0.5071 GB, free: 46.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002543/0.413, allocations: 100.7 kB / 0.5072 GB, free: 46.22 MB / 382.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:528:7-530:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (11): algorithm HVMV.tapChanger.varRatio := $START.HVMV.tapChanger.varRatio; HVMV.tapChanger.tap := pre(HVMV.tapChanger.tap); HVMV.tapChanger.furtherTapChangeTimeout := pre(HVMV.tapChanger.furtherTapChangeTimeout); $whenCondition4 := pre($whenCondition4); $whenCondition3 := pre($whenCondition3); HVMV.tapChanger.abnormalUTime := pre(HVMV.tapChanger.abnormalUTime); $whenCondition2 := pre($whenCondition2); $whenCondition1 := pre($whenCondition1); HVMV.tapChanger.decreaseEvent := pre(HVMV.tapChanger.decreaseEvent); HVMV.tapChanger.increaseEvent := pre(HVMV.tapChanger.increaseEvent); HVMV.tapChanger.normalU := pre(HVMV.tapChanger.normalU); HVMV.tapChanger.normalU := HVMV.UB >= HVMV.tapChanger.underMinU and HVMV.UB <= HVMV.tapChanger.aboveMaxU; HVMV.tapChanger.increaseEvent := HVMV.UB < HVMV.tapChanger.underMinU; HVMV.tapChanger.decreaseEvent := HVMV.UB > HVMV.tapChanger.aboveMaxU; $whenCondition1 := HVMV.UB < HVMV.tapChanger.underMinU or HVMV.UB > HVMV.tapChanger.aboveMaxU; $whenCondition2 := not (HVMV.UB < HVMV.tapChanger.underMinU or HVMV.UB > HVMV.tapChanger.aboveMaxU); when $whenCondition1 then HVMV.tapChanger.abnormalUTime := time; elsewhen $whenCondition2 then HVMV.tapChanger.abnormalUTime := 1e60; end when; $whenCondition3 := not HVMV.tapChanger.normalU and time > HVMV.tapChanger.abnormalUTime + HVMV.tapChanger.firstTapChangeTimeout; $whenCondition4 := not HVMV.tapChanger.normalU and time > HVMV.tapChanger.abnormalUTime + HVMV.tapChanger.firstTapChangeTimeout + pre(HVMV.tapChanger.furtherTapChangeTimeout); when $whenCondition3 then HVMV.tapChanger.furtherTapChangeTimeout := HVMV.tapChanger.nextTapChangeTimeout; HVMV.tapChanger.tap := if HVMV.tapChanger.decreaseEvent then if pre(HVMV.tapChanger.tap) > HVMV.tapChanger.tapMin then pre(HVMV.tapChanger.tap) - 1 else pre(HVMV.tapChanger.tap) else if pre(HVMV.tapChanger.tap) < HVMV.tapChanger.tapMax then pre(HVMV.tapChanger.tap) + 1 else pre(HVMV.tapChanger.tap); elsewhen $whenCondition4 then HVMV.tapChanger.furtherTapChangeTimeout := pre(HVMV.tapChanger.furtherTapChangeTimeout) + HVMV.tapChanger.nextTapChangeTimeout; HVMV.tapChanger.tap := if HVMV.tapChanger.decreaseEvent then if pre(HVMV.tapChanger.tap) > HVMV.tapChanger.tapMin then pre(HVMV.tapChanger.tap) - 1 else pre(HVMV.tapChanger.tap) else if pre(HVMV.tapChanger.tap) < HVMV.tapChanger.tapMax then pre(HVMV.tapChanger.tap) + 1 else pre(HVMV.tapChanger.tap); end when; HVMV.tapChanger.varRatio := 1.0 + /*Real*/(pre(HVMV.tapChanger.tap) - HVMV.tapChanger.startTap) * HVMV.tapChanger.deltaTapRatio; Variables: 1: HVMV.tapChanger.tap:DISCRETE(start = HVMV.tapChanger.startTap fixed = true ) "Current tap position" type: Integer 2: $whenCondition1:DISCRETE(fixed = true protected = true ) "HVMV.UB < HVMV.tapChanger.underMinU or HVMV.UB > HVMV.tapChanger.aboveMaxU" type: Boolean unreplaceable 3: $whenCondition4:DISCRETE(fixed = true protected = true ) "not HVMV.tapChanger.normalU and time > HVMV.tapChanger.abnormalUTime + HVMV.tapChanger.firstTapChangeTimeout + pre(HVMV.tapChanger.furtherTapChangeTimeout)" type: Boolean unreplaceable 4: $whenCondition3:DISCRETE(fixed = true protected = true ) "not HVMV.tapChanger.normalU and time > HVMV.tapChanger.abnormalUTime + HVMV.tapChanger.firstTapChangeTimeout" type: Boolean unreplaceable 5: $whenCondition2:DISCRETE(fixed = true protected = true ) "not (HVMV.UB < HVMV.tapChanger.underMinU or HVMV.UB > HVMV.tapChanger.aboveMaxU)" type: Boolean unreplaceable 6: HVMV.tapChanger.abnormalUTime:DISCRETE(unit = "s" fixed = true protected = true ) "Time when the signal U went out its normal range" type: Real 7: HVMV.tapChanger.furtherTapChangeTimeout:DISCRETE(start = HVMV.tapChanger.nextTapChangeTimeout unit = "s" fixed = true protected = true ) "Time lag between the first change and the following tap" type: Real 8: HVMV.tapChanger.increaseEvent:DISCRETE(start = false protected = true ) "Increasing event to be confirmed" type: Boolean 9: HVMV.tapChanger.decreaseEvent:DISCRETE(start = false protected = true ) "Decreasing event to be confirmed" type: Boolean 10: HVMV.tapChanger.normalU:DISCRETE(start = false protected = true ) "U is in the normal range [underMinU, aboveMaxU]" type: Boolean 11: varLoad3.degradedMode:DISCRETE(start = false fixed = true protected = true ) "Mode for load: normal / degraded" type: Boolean [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:528:7-530:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (1): 0.0 = if varLoad1.degradedMode then varLoad1.terminal.i.im - (varLoad1.Y.re * LVln11.terminalB.v.im + varLoad1.Y.im * LVln11.terminalB.v.re) else 3.0 * LVln11.terminalB.v.im * varLoad1.terminal.i.re + (-3.0) * LVln11.terminalB.v.re * varLoad1.terminal.i.im - gainQ.y 2/2 (1): $cse3 = PowerSysPro.Functions.abs(PowerSysPro.Types.myComplexVoltage(LVln11.terminalB.v.re, LVln11.terminalB.v.im)) 3/3 (1): varLoad1.U = 1.7320508075688772 * $cse3 4/4 (1): varLoad1.degradedMode = varLoad1.U < varLoad1.minU and varLoad1.switchToImpedanceMode 5/5 (1): 0.0 = if varLoad1.degradedMode then varLoad1.terminal.i.re - (varLoad1.Y.re * LVln11.terminalB.v.re - varLoad1.Y.im * LVln11.terminalB.v.im) else 3.0 * (LVln11.terminalB.v.re * varLoad1.terminal.i.re + LVln11.terminalB.v.im * varLoad1.terminal.i.im) - gainP.y 6/6 (1): LVln11.terminalA.i.im + LVln11.terminalB.i.im = LVln11.Y.re * (LVln11.terminalB.v.im + LVln1.terminalB.v.im) + LVln11.Y.im * (LVln11.terminalB.v.re + LVln1.terminalB.v.re) 7/7 (1): varLoad2.terminal.i.im + varLoad1.terminal.i.im + LVln11.terminalB.i.im = 0.0 8/8 (1): LVln11.terminalA.i.re + LVln11.terminalB.i.re = LVln11.Y.re * (LVln11.terminalB.v.re + LVln1.terminalB.v.re) - LVln11.Y.im * (LVln11.terminalB.v.im + LVln1.terminalB.v.im) 9/9 (1): varLoad2.terminal.i.re + varLoad1.terminal.i.re + LVln11.terminalB.i.re = 0.0 10/10 (1): LVln1.terminalB.v.re - LVln11.terminalB.v.re = LVln11.Z.re * (LVln11.terminalA.i.re + LVln11.Y.im * LVln1.terminalB.v.im - LVln11.Y.re * LVln1.terminalB.v.re) - LVln11.Z.im * (LVln11.terminalA.i.im + (-LVln11.Y.re) * LVln1.terminalB.v.im - LVln11.Y.im * LVln1.terminalB.v.re) 11/11 (1): LVln1.terminalA.i.im - LVln11.terminalA.i.im = LVln1.Y.re * (LVln1.terminalB.v.im + MVLV.terminalB.v.im) + LVln1.Y.im * (LVln1.terminalB.v.re + MVLV.terminalB.v.re) 12/12 (1): LVln3.terminalA.i.im + LVln1.terminalA.i.im + MVLV.terminalB.i.im + LVln2.terminalA.i.im = 0.0 13/13 (1): LVln3.terminalA.i.im - varLoad4.terminal.i.im = LVln3.Y.re * (LVln3.terminalB.v.im + MVLV.terminalB.v.im) + LVln3.Y.im * (LVln3.terminalB.v.re + MVLV.terminalB.v.re) 14/14 (1): $cse1 = PowerSysPro.Functions.abs(PowerSysPro.Types.myComplexVoltage(LVln3.terminalB.v.re, LVln3.terminalB.v.im)) 15/15 (1): varLoad4.U = 1.7320508075688772 * $cse1 16/16 (1): varLoad4.degradedMode = varLoad4.U < varLoad4.minU and varLoad4.switchToImpedanceMode 17/17 (1): 0.0 = if varLoad4.degradedMode then varLoad4.terminal.i.im - (varLoad4.Y.re * LVln3.terminalB.v.im + varLoad4.Y.im * LVln3.terminalB.v.re) else 3.0 * LVln3.terminalB.v.im * varLoad4.terminal.i.re + (-3.0) * LVln3.terminalB.v.re * varLoad4.terminal.i.im - gainQ.y 18/18 (1): LVln3.terminalA.i.re - varLoad4.terminal.i.re = LVln3.Y.re * (LVln3.terminalB.v.re + MVLV.terminalB.v.re) - LVln3.Y.im * (LVln3.terminalB.v.im + MVLV.terminalB.v.im) 19/19 (1): LVln2.terminalA.i.im - varLoad3.terminal.i.im = LVln2.Y.re * (LVln2.terminalB.v.im + MVLV.terminalB.v.im) + LVln2.Y.im * (LVln2.terminalB.v.re + MVLV.terminalB.v.re) 20/20 (1): MVLV.terminalB.v.im - LVln2.terminalB.v.im = LVln2.Z.re * (LVln2.terminalA.i.im + (-LVln2.Y.re) * MVLV.terminalB.v.im - LVln2.Y.im * MVLV.terminalB.v.re) + LVln2.Z.im * (LVln2.terminalA.i.re + LVln2.Y.im * MVLV.terminalB.v.im - LVln2.Y.re * MVLV.terminalB.v.re) 21/21 (1): $cse2 = PowerSysPro.Functions.abs(PowerSysPro.Types.myComplexVoltage(LVln2.terminalB.v.re, LVln2.terminalB.v.im)) 22/22 (1): varLoad3.U = 1.7320508075688772 * $cse2 23/23 (1): varLoad3.degradedMode = varLoad3.U < varLoad3.minU and varLoad3.switchToImpedanceMode 24/24 (1): 0.0 = if varLoad3.degradedMode then varLoad3.terminal.i.im - (varLoad3.Y.re * LVln2.terminalB.v.im + varLoad3.Y.im * LVln2.terminalB.v.re) else 3.0 * LVln2.terminalB.v.im * varLoad3.terminal.i.re + (-3.0) * LVln2.terminalB.v.re * varLoad3.terminal.i.im - gainQ.y 25/25 (1): 0.0 = if varLoad3.degradedMode then varLoad3.terminal.i.re - (varLoad3.Y.re * LVln2.terminalB.v.re - varLoad3.Y.im * LVln2.terminalB.v.im) else 3.0 * (LVln2.terminalB.v.re * varLoad3.terminal.i.re + LVln2.terminalB.v.im * varLoad3.terminal.i.im) - gainP.y 26/26 (1): LVln2.terminalA.i.re - varLoad3.terminal.i.re = LVln2.Y.re * (LVln2.terminalB.v.re + MVLV.terminalB.v.re) - LVln2.Y.im * (LVln2.terminalB.v.im + MVLV.terminalB.v.im) 27/27 (1): LVln3.terminalA.i.re + LVln1.terminalA.i.re + MVLV.terminalB.i.re + LVln2.terminalA.i.re = 0.0 28/28 (1): MVLV.terminalB.i.im * MVLV.k.re + (-MVLV.terminalB.i.re) * MVLV.k.im - MVline.terminalB.i.im = MVLV.Y.re * MVLV.terminalA.v.im + MVLV.Y.im * MVLV.terminalA.v.re 29/29 (1): MVline.terminalA.i.im + MVline.terminalB.i.im = MVline.Y.re * (MVLV.terminalA.v.im + MVline.terminalA.v.im) + MVline.Y.im * (MVLV.terminalA.v.re + MVline.terminalA.v.re) 30/30 (1): MVLV.terminalB.i.re * MVLV.k.re + MVLV.terminalB.i.im * MVLV.k.im - MVline.terminalB.i.re = MVLV.Y.re * MVLV.terminalA.v.re - MVLV.Y.im * MVLV.terminalA.v.im 31/31 (1): MVLV.terminalA.v.im + (MVLV.terminalB.v.re * MVLV.k.im - MVLV.terminalB.v.im * MVLV.k.re) / (MVLV.k.re ^ 2.0 + MVLV.k.im ^ 2.0) = ((-MVLV.Z.re) * MVLV.k.re - MVLV.Z.im * MVLV.k.im) * MVLV.terminalB.i.im + (MVLV.Z.re * MVLV.k.im - MVLV.Z.im * MVLV.k.re) * MVLV.terminalB.i.re 32/32 (1): MVline.terminalA.i.re + MVline.terminalB.i.re = MVline.Y.re * (MVLV.terminalA.v.re + MVline.terminalA.v.re) - MVline.Y.im * (MVLV.terminalA.v.im + MVline.terminalA.v.im) 33/33 (1): MVline.terminalA.v.im - MVLV.terminalA.v.im = MVline.Z.re * (MVline.terminalA.i.im + (-MVline.Y.re) * MVline.terminalA.v.im - MVline.Y.im * MVline.terminalA.v.re) + MVline.Z.im * (MVline.terminalA.i.re + MVline.Y.im * MVline.terminalA.v.im - MVline.Y.re * MVline.terminalA.v.re) 34/34 (1): src.terminal.v.im + (MVline.terminalA.v.re * HVMV.k.im - MVline.terminalA.v.im * HVMV.k.re) / (HVMV.k.re ^ 2.0 + HVMV.k.im ^ 2.0) = (HVMV.Z.im * HVMV.k.im + HVMV.Z.re * HVMV.k.re) * MVline.terminalA.i.im + (HVMV.Z.im * HVMV.k.re - HVMV.Z.re * HVMV.k.im) * MVline.terminalA.i.re 35/35 (1): $cse12 = PowerSysPro.Functions.abs(PowerSysPro.Types.myComplexVoltage(MVline.terminalA.v.re, MVline.terminalA.v.im)) 36/36 (1): HVMV.UB = 1.7320508075688772 * $cse12 37/37 (11): algorithm HVMV.tapChanger.varRatio := $START.HVMV.tapChanger.varRatio; HVMV.tapChanger.tap := pre(HVMV.tapChanger.tap); HVMV.tapChanger.furtherTapChangeTimeout := pre(HVMV.tapChanger.furtherTapChangeTimeout); $whenCondition4 := pre($whenCondition4); $whenCondition3 := pre($whenCondition3); HVMV.tapChanger.abnormalUTime := pre(HVMV.tapChanger.abnormalUTime); $whenCondition2 := pre($whenCondition2); $whenCondition1 := pre($whenCondition1); HVMV.tapChanger.decreaseEvent := pre(HVMV.tapChanger.decreaseEvent); HVMV.tapChanger.increaseEvent := pre(HVMV.tapChanger.increaseEvent); HVMV.tapChanger.normalU := pre(HVMV.tapChanger.normalU); HVMV.tapChanger.normalU := HVMV.UB >= HVMV.tapChanger.underMinU and HVMV.UB <= HVMV.tapChanger.aboveMaxU; HVMV.tapChanger.increaseEvent := HVMV.UB < HVMV.tapChanger.underMinU; HVMV.tapChanger.decreaseEvent := HVMV.UB > HVMV.tapChanger.aboveMaxU; $whenCondition1 := HVMV.UB < HVMV.tapChanger.underMinU or HVMV.UB > HVMV.tapChanger.aboveMaxU; $whenCondition2 := not (HVMV.UB < HVMV.tapChanger.underMinU or HVMV.UB > HVMV.tapChanger.aboveMaxU); when $whenCondition1 then HVMV.tapChanger.abnormalUTime := time; elsewhen $whenCondition2 then HVMV.tapChanger.abnormalUTime := 1e60; end when; $whenCondition3 := not HVMV.tapChanger.normalU and time > HVMV.tapChanger.abnormalUTime + HVMV.tapChanger.firstTapChangeTimeout; $whenCondition4 := not HVMV.tapChanger.normalU and time > HVMV.tapChanger.abnormalUTime + HVMV.tapChanger.firstTapChangeTimeout + pre(HVMV.tapChanger.furtherTapChangeTimeout); when $whenCondition3 then HVMV.tapChanger.furtherTapChangeTimeout := HVMV.tapChanger.nextTapChangeTimeout; HVMV.tapChanger.tap := if HVMV.tapChanger.decreaseEvent then if pre(HVMV.tapChanger.tap) > HVMV.tapChanger.tapMin then pre(HVMV.tapChanger.tap) - 1 else pre(HVMV.tapChanger.tap) else if pre(HVMV.tapChanger.tap) < HVMV.tapChanger.tapMax then pre(HVMV.tapChanger.tap) + 1 else pre(HVMV.tapChanger.tap); elsewhen $whenCondition4 then HVMV.tapChanger.furtherTapChangeTimeout := pre(HVMV.tapChanger.furtherTapChangeTimeout) + HVMV.tapChanger.nextTapChangeTimeout; HVMV.tapChanger.tap := if HVMV.tapChanger.decreaseEvent then if pre(HVMV.tapChanger.tap) > HVMV.tapChanger.tapMin then pre(HVMV.tapChanger.tap) - 1 else pre(HVMV.tapChanger.tap) else if pre(HVMV.tapChanger.tap) < HVMV.tapChanger.tapMax then pre(HVMV.tapChanger.tap) + 1 else pre(HVMV.tapChanger.tap); end when; HVMV.tapChanger.varRatio := 1.0 + /*Real*/(pre(HVMV.tapChanger.tap) - HVMV.tapChanger.startTap) * HVMV.tapChanger.deltaTapRatio; 38/48 (1): HVMV.k.im = HVMV.tapChanger.varRatio * HVMV.UNomB * $cse17 / HVMV.UNomA 39/49 (1): src.terminal.v.re + ((-MVline.terminalA.v.re) * HVMV.k.re - MVline.terminalA.v.im * HVMV.k.im) / (HVMV.k.re ^ 2.0 + HVMV.k.im ^ 2.0) = (HVMV.Z.im * HVMV.k.im + HVMV.Z.re * HVMV.k.re) * MVline.terminalA.i.re + (HVMV.Z.re * HVMV.k.im - HVMV.Z.im * HVMV.k.re) * MVline.terminalA.i.im 40/50 (1): MVline.terminalA.v.re - MVLV.terminalA.v.re = MVline.Z.re * (MVline.terminalA.i.re + MVline.Y.im * MVline.terminalA.v.im - MVline.Y.re * MVline.terminalA.v.re) - MVline.Z.im * (MVline.terminalA.i.im + (-MVline.Y.re) * MVline.terminalA.v.im - MVline.Y.im * MVline.terminalA.v.re) 41/51 (1): HVMV.k.re = HVMV.tapChanger.varRatio * HVMV.UNomB * $cse16 / HVMV.UNomA 42/52 (1): MVLV.terminalA.v.re + ((-MVLV.terminalB.v.re) * MVLV.k.re - MVLV.terminalB.v.im * MVLV.k.im) / (MVLV.k.re ^ 2.0 + MVLV.k.im ^ 2.0) = ((-MVLV.Z.re) * MVLV.k.re - MVLV.Z.im * MVLV.k.im) * MVLV.terminalB.i.re + (MVLV.Z.im * MVLV.k.re - MVLV.Z.re * MVLV.k.im) * MVLV.terminalB.i.im 43/53 (1): MVLV.terminalB.v.re - LVln2.terminalB.v.re = LVln2.Z.re * (LVln2.terminalA.i.re + LVln2.Y.im * MVLV.terminalB.v.im - LVln2.Y.re * MVLV.terminalB.v.re) - LVln2.Z.im * (LVln2.terminalA.i.im + (-LVln2.Y.re) * MVLV.terminalB.v.im - LVln2.Y.im * MVLV.terminalB.v.re) 44/54 (1): LVln1.terminalA.i.re - LVln11.terminalA.i.re = LVln1.Y.re * (LVln1.terminalB.v.re + MVLV.terminalB.v.re) - LVln1.Y.im * (LVln1.terminalB.v.im + MVLV.terminalB.v.im) 45/55 (1): LVln1.terminalB.v.im - LVln11.terminalB.v.im = LVln11.Z.re * (LVln11.terminalA.i.im + (-LVln11.Y.re) * LVln1.terminalB.v.im - LVln11.Y.im * LVln1.terminalB.v.re) + LVln11.Z.im * (LVln11.terminalA.i.re + LVln11.Y.im * LVln1.terminalB.v.im - LVln11.Y.re * LVln1.terminalB.v.re) 46/56 (1): MVLV.terminalB.v.re - LVln1.terminalB.v.re = LVln1.Z.re * (LVln1.terminalA.i.re + LVln1.Y.im * MVLV.terminalB.v.im - LVln1.Y.re * MVLV.terminalB.v.re) - LVln1.Z.im * (LVln1.terminalA.i.im + (-LVln1.Y.re) * MVLV.terminalB.v.im - LVln1.Y.im * MVLV.terminalB.v.re) 47/57 (1): MVLV.terminalB.v.im - LVln1.terminalB.v.im = LVln1.Z.re * (LVln1.terminalA.i.im + (-LVln1.Y.re) * MVLV.terminalB.v.im - LVln1.Y.im * MVLV.terminalB.v.re) + LVln1.Z.im * (LVln1.terminalA.i.re + LVln1.Y.im * MVLV.terminalB.v.im - LVln1.Y.re * MVLV.terminalB.v.re) 48/58 (1): MVLV.terminalB.v.im - LVln3.terminalB.v.im = LVln3.Z.re * (LVln3.terminalA.i.im + (-LVln3.Y.re) * MVLV.terminalB.v.im - LVln3.Y.im * MVLV.terminalB.v.re) + LVln3.Z.im * (LVln3.terminalA.i.re + LVln3.Y.im * MVLV.terminalB.v.im - LVln3.Y.re * MVLV.terminalB.v.re) 49/59 (1): MVLV.terminalB.v.re - LVln3.terminalB.v.re = LVln3.Z.re * (LVln3.terminalA.i.re + LVln3.Y.im * MVLV.terminalB.v.im - LVln3.Y.re * MVLV.terminalB.v.re) - LVln3.Z.im * (LVln3.terminalA.i.im + (-LVln3.Y.re) * MVLV.terminalB.v.im - LVln3.Y.im * MVLV.terminalB.v.re) 50/60 (1): 0.0 = if varLoad4.degradedMode then varLoad4.terminal.i.re - (varLoad4.Y.re * LVln3.terminalB.v.re - varLoad4.Y.im * LVln3.terminalB.v.im) else 3.0 * (LVln3.terminalB.v.re * varLoad4.terminal.i.re + LVln3.terminalB.v.im * varLoad4.terminal.i.im) - gainP.y 51/61 (1): 0.0 = if varLoad2.degradedMode then varLoad2.terminal.i.im - (varLoad2.Y.re * LVln11.terminalB.v.im + varLoad2.Y.im * LVln11.terminalB.v.re) else 3.0 * LVln11.terminalB.v.im * varLoad2.terminal.i.re + (-3.0) * LVln11.terminalB.v.re * varLoad2.terminal.i.im - gainQ.y 52/62 (1): 0.0 = if varLoad2.degradedMode then varLoad2.terminal.i.re - (varLoad2.Y.re * LVln11.terminalB.v.re - varLoad2.Y.im * LVln11.terminalB.v.im) else 3.0 * (LVln11.terminalB.v.re * varLoad2.terminal.i.re + LVln11.terminalB.v.im * varLoad2.terminal.i.im) - gainP.y 53/63 (1): varLoad1.U = varLoad2.U 54/64 (1): varLoad2.degradedMode = varLoad2.U < varLoad2.minU and varLoad2.switchToImpedanceMode Variables: 1: varLoad2.degradedMode:DISCRETE(start = false fixed = true protected = true ) "Mode for load: normal / degraded" type: Boolean 2: varLoad2.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real 3: varLoad2.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex number" type: Real 4: varLoad2.terminal.i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex number" type: Real 5: varLoad4.terminal.i.im:VARIABLE(flow=true start = 0.0 unit = "A" ) "Imaginary part of complex number" type: Real 6: LVln3.terminalB.v.re:VARIABLE(flow=false start = varLoad4.UNom / 1.7320508075688772 unit = "V" ) "Real part of complex number" type: Real 7: LVln3.terminalA.i.re:VARIABLE(flow=true start = 0.0 unit = "A" ) "Real part of complex number" type: Real 8: LVln1.terminalB.v.im:VARIABLE(flow=false start = 0.0 unit = "V" ) "Imaginary part of complex number" type: Real 9: LVln1.terminalA.i.re:VARIABLE(flow=true start = 0.0 unit = "A" ) "Real part of complex number" type: Real 10: LVln1.terminalB.v.re:VARIABLE(flow=false start = LVln11.UNom / 1.7320508075688772 unit = "V" ) "Real part of complex number" type: Real 11: LVln11.terminalA.i.re:VARIABLE(flow=true start = 0.0 unit = "A" ) "Real part of complex number" type: Real 12: LVln2.terminalB.v.re:VARIABLE(flow=false start = varLoad3.UNom / 1.7320508075688772 unit = "V" ) "Real part of complex number" type: Real 13: MVLV.terminalB.v.re:VARIABLE(flow=false start = LVln1.UNom / 1.7320508075688772 unit = "V" ) "Real part of complex number" type: Real 14: HVMV.k.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real 15: MVline.terminalA.i.re:VARIABLE(flow=true start = 0.0 unit = "A" ) "Real part of complex number" type: Real 16: MVline.terminalA.v.im:VARIABLE(flow=false start = 0.0 unit = "V" ) "Imaginary part of complex number" type: Real 17: HVMV.k.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real 18: HVMV.tapChanger.tap:DISCRETE(start = HVMV.tapChanger.startTap fixed = true ) "Current tap position" type: Integer 19: HVMV.tapChanger.varRatio:VARIABLE(flow=false ) "Variable transformer ratio" type: Real 20: $whenCondition1:DISCRETE(fixed = true protected = true ) "HVMV.UB < HVMV.tapChanger.underMinU or HVMV.UB > HVMV.tapChanger.aboveMaxU" type: Boolean unreplaceable 21: $whenCondition4:DISCRETE(fixed = true protected = true ) "not HVMV.tapChanger.normalU and time > HVMV.tapChanger.abnormalUTime + HVMV.tapChanger.firstTapChangeTimeout + pre(HVMV.tapChanger.furtherTapChangeTimeout)" type: Boolean unreplaceable 22: $whenCondition3:DISCRETE(fixed = true protected = true ) "not HVMV.tapChanger.normalU and time > HVMV.tapChanger.abnormalUTime + HVMV.tapChanger.firstTapChangeTimeout" type: Boolean unreplaceable 23: $whenCondition2:DISCRETE(fixed = true protected = true ) "not (HVMV.UB < HVMV.tapChanger.underMinU or HVMV.UB > HVMV.tapChanger.aboveMaxU)" type: Boolean unreplaceable 24: HVMV.tapChanger.abnormalUTime:DISCRETE(unit = "s" fixed = true protected = true ) "Time when the signal U went out its normal range" type: Real 25: HVMV.tapChanger.furtherTapChangeTimeout:DISCRETE(start = HVMV.tapChanger.nextTapChangeTimeout unit = "s" fixed = true protected = true ) "Time lag between the first change and the following tap" type: Real 26: HVMV.tapChanger.increaseEvent:DISCRETE(start = false protected = true ) "Increasing event to be confirmed" type: Boolean 27: HVMV.tapChanger.decreaseEvent:DISCRETE(start = false protected = true ) "Decreasing event to be confirmed" type: Boolean 28: HVMV.tapChanger.normalU:DISCRETE(start = false protected = true ) "U is in the normal range [underMinU, aboveMaxU]" type: Boolean 29: HVMV.UB:VARIABLE(unit = "V" ) "Voltage at port B" type: Real 30: $cse12:VARIABLE(protected = true ) type: Real unreplaceable 31: MVline.terminalA.v.re:VARIABLE(flow=false start = HVMV.UNomB / 1.7320508075688772 unit = "V" ) "Real part of complex number" type: Real 32: MVline.terminalA.i.im:VARIABLE(flow=true start = 0.0 unit = "A" ) "Imaginary part of complex number" type: Real 33: MVline.terminalB.i.re:VARIABLE(flow=true start = 0.0 unit = "A" ) "Real part of complex number" type: Real 34: MVLV.terminalA.v.im:VARIABLE(flow=false start = 0.0 unit = "V" ) "Imaginary part of complex number" type: Real 35: MVLV.terminalB.i.im:VARIABLE(flow=true start = 0.0 unit = "A" ) "Imaginary part of complex number" type: Real 36: MVLV.terminalA.v.re:VARIABLE(flow=false start = MVline.UNom / 1.7320508075688772 unit = "V" ) "Real part of complex number" type: Real 37: MVline.terminalB.i.im:VARIABLE(flow=true start = 0.0 unit = "A" ) "Imaginary part of complex number" type: Real 38: MVLV.terminalB.i.re:VARIABLE(flow=true start = 0.0 unit = "A" ) "Real part of complex number" type: Real 39: LVln2.terminalA.i.re:VARIABLE(flow=true start = 0.0 unit = "A" ) "Real part of complex number" type: Real 40: varLoad3.terminal.i.re:VARIABLE(flow=true start = 0.0 unit = "A" ) "Real part of complex number" type: Real 41: varLoad3.terminal.i.im:VARIABLE(flow=true start = 0.0 unit = "A" ) "Imaginary part of complex number" type: Real 42: varLoad3.degradedMode:DISCRETE(start = false fixed = true protected = true ) "Mode for load: normal / degraded" type: Boolean 43: varLoad3.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real 44: $cse2:VARIABLE(protected = true ) type: Real unreplaceable 45: LVln2.terminalB.v.im:VARIABLE(flow=false start = 0.0 unit = "V" ) "Imaginary part of complex number" type: Real 46: LVln2.terminalA.i.im:VARIABLE(flow=true start = 0.0 unit = "A" ) "Imaginary part of complex number" type: Real 47: MVLV.terminalB.v.im:VARIABLE(flow=false start = 0.0 unit = "V" ) "Imaginary part of complex number" type: Real 48: varLoad4.terminal.i.re:VARIABLE(flow=true start = 0.0 unit = "A" ) "Real part of complex number" type: Real 49: varLoad4.degradedMode:DISCRETE(start = false fixed = true protected = true ) "Mode for load: normal / degraded" type: Boolean 50: varLoad4.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real 51: $cse1:VARIABLE(protected = true ) type: Real unreplaceable 52: LVln3.terminalB.v.im:VARIABLE(flow=false start = 0.0 unit = "V" ) "Imaginary part of complex number" type: Real 53: LVln3.terminalA.i.im:VARIABLE(flow=true start = 0.0 unit = "A" ) "Imaginary part of complex number" type: Real 54: LVln1.terminalA.i.im:VARIABLE(flow=true start = 0.0 unit = "A" ) "Imaginary part of complex number" type: Real 55: LVln11.terminalA.i.im:VARIABLE(flow=true start = 0.0 unit = "A" ) "Imaginary part of complex number" type: Real 56: varLoad1.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex number" type: Real 57: LVln11.terminalB.i.re:VARIABLE(flow=true start = 0.0 unit = "A" ) "Real part of complex number" type: Real 58: varLoad1.terminal.i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex number" type: Real 59: LVln11.terminalB.i.im:VARIABLE(flow=true start = 0.0 unit = "A" ) "Imaginary part of complex number" type: Real 60: LVln11.terminalB.v.re:VARIABLE(flow=false start = varLoad1.UNom / 1.7320508075688772 unit = "V" ) "Real part of complex number" type: Real 61: varLoad1.degradedMode:DISCRETE(start = false fixed = true protected = true ) "Mode for load: normal / degraded" type: Boolean 62: varLoad1.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real 63: $cse3:VARIABLE(protected = true ) type: Real unreplaceable 64: LVln11.terminalB.v.im:VARIABLE(flow=false start = 0.0 unit = "V" ) "Imaginary part of complex number" type: Real [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:9805:5-9806:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004095/0.4171, allocations: 5.451 MB / 0.5125 GB, free: 41.43 MB / 382.1 MB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model PowerSysPro.Examples.FourVariableLoadsThreeFeeders could not be translated