Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.IllustrativeExamples.DynaFlow.PhaseShifterTransformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 92.38 kB / 20.46 MB, free: 1.367 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001814/0.001814, allocations: 223.5 kB / 23.77 MB, free: 4.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.67/1.67, allocations: 207.7 MB / 234.6 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.829/0.829, allocations: 115.8 MB / 402.6 MB, free: 16.04 MB / 318.1 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Dynawo.Examples.IllustrativeExamples.DynaFlow.PhaseShifterTransformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|line01.P2Pu|shiftController01.tap.value|tfo01.alphaTfo|tfo01.tap.value|PPuLine01.value",fileNamePrefix="Dynawo_dev_Dynawo.Examples.IllustrativeExamples.DynaFlow.PhaseShifterTransformer") translateModel(Dynawo.Examples.IllustrativeExamples.DynaFlow.PhaseShifterTransformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|line01.P2Pu|shiftController01.tap.value|tfo01.alphaTfo|tfo01.tap.value|PPuLine01.value",fileNamePrefix="Dynawo_dev_Dynawo.Examples.IllustrativeExamples.DynaFlow.PhaseShifterTransformer") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002761/0.002761, allocations: 82.39 kB / 0.5666 GB, free: 43.81 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1916, allocations: 79 MB / 0.6438 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.IllustrativeExamples.DynaFlow.PhaseShifterTransformer): time 0.007586/0.1992, allocations: 4.033 MB / 0.6477 GB, free: 10.9 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006157/0.2053, allocations: 2.709 MB / 0.6504 GB, free: 8.18 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007287/0.206, allocations: 16 kB / 0.6504 GB, free: 8.164 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Loads/BaseClasses/BaseLoad.mo:32:3-32:125:writable] Warning: Connector UPu is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/BaseClasses/BaseTransformer.mo:32:3-32:123:writable] Warning: Connector P1Pu is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/BaseClasses/BaseTransformer.mo:33:3-33:125:writable] Warning: Connector Q1Pu is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/BaseClasses/BaseTransformer.mo:34:3-34:106:writable] Warning: Connector U1Pu is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/BaseClasses/BaseTransformer.mo:35:3-35:106:writable] Warning: Connector U2Pu is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersVariableTap/TransformerPhaseTapChanger.mo:43:3-43:102:writable] Warning: Connector tap is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Transformers/BaseClasses/BaseTapChangerPhaseShifter.mo:26:3-26:139:writable] Warning: Connector valueToMonitor is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Transformers/BaseClasses/BaseTapChangerPhaseShifter.mo:27:3-27:64:writable] Warning: Connector tap is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Transformers/BaseClasses/BaseTapChangerPhaseShifter.mo:28:3-28:106:writable] Warning: Connector AutomatonExists is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Transformers/PhaseShifterP.mo:25:3-25:81:writable] Warning: Connector PMonitored is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Examples/IllustrativeExamples/DynaFlow/PhaseShifterTransformer.mo:64:3-64:92:writable] Warning: Connector PPuLine01 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0009347/0.207, allocations: 189.9 kB / 0.6506 GB, free: 7.98 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001207/0.2082, allocations: 210.5 kB / 0.6508 GB, free: 7.773 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Examples/IllustrativeExamples/DynaFlow/PhaseShifterTransformer.mo:71:3-73:11:writable] Warning: In relation shiftController01.tap.value <> pre(shiftController01.tap.value), <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Buses/Bus.mo:29:3-33:9:writable] Warning: In relation bus01.terminal.V.re == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Buses/Bus.mo:29:3-33:9:writable] Warning: In relation bus01.terminal.V.im == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Buses/Bus.mo:29:3-33:9:writable] Warning: In relation bus02.terminal.V.re == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Buses/Bus.mo:29:3-33:9:writable] Warning: In relation bus02.terminal.V.im == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Buses/Bus.mo:29:3-33:9:writable] Warning: In relation bus03.terminal.V.re == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Buses/Bus.mo:29:3-33:9:writable] Warning: In relation bus03.terminal.V.im == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersVariableTap/TransformerPhaseTapChanger.mo:49:3-56:11:writable] Warning: In relation tfo01.tap.value <> pre(tfo01.tap.value), <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/BaseClasses/BaseTransformer.mo:72:5-76:11:writable] Warning: In relation tfo01.terminal1.V.re == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/BaseClasses/BaseTransformer.mo:72:5-76:11:writable] Warning: In relation tfo01.terminal1.V.im == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/BaseClasses/BaseTransformer.mo:77:5-81:11:writable] Warning: In relation tfo01.terminal2.V.re == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/BaseClasses/BaseTransformer.mo:77:5-81:11:writable] Warning: In relation tfo01.terminal2.V.im == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.002727/0.2109, allocations: 1.003 MB / 0.6517 GB, free: 6.773 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00135/0.2123, allocations: 0.975 MB / 0.6527 GB, free: 5.797 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002823/0.2125, allocations: 121.4 kB / 0.6528 GB, free: 5.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004976/0.213, allocations: 418.6 kB / 0.6532 GB, free: 5.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000617/0.2137, allocations: 394.1 kB / 0.6536 GB, free: 4.883 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001474/0.2138, allocations: 88 kB / 0.6537 GB, free: 4.797 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005825/0.2144, allocations: 259.8 kB / 0.6539 GB, free: 4.543 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002459/0.2146, allocations: 223.3 kB / 0.6541 GB, free: 4.324 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000419/0.2151, allocations: 342.5 kB / 0.6544 GB, free: 3.988 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001466/0.2165, allocations: 1.098 MB / 0.6555 GB, free: 2.887 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.2165, allocations: 0 / 0.6555 GB, free: 2.887 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.035e-06/0.2165, allocations: 4 kB / 0.6555 GB, free: 2.883 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.493e-05/0.2165, allocations: 0 / 0.6555 GB, free: 2.883 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.005719/0.2223, allocations: 1.648 MB / 0.6571 GB, free: 1.195 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.2223, allocations: 8.922 kB / 0.6571 GB, free: 1.188 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002825/0.2251, allocations: 456.1 kB / 0.6576 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.2265, allocations: 0.5556 MB / 0.6581 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006409/0.2271, allocations: 0.6318 MB / 0.6587 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.2273, allocations: 64.34 kB / 0.6588 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00204/0.2293, allocations: 1.085 MB / 0.6599 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.2293, allocations: 4 kB / 0.6599 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001316/0.2295, allocations: 31.97 kB / 0.6599 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.2295, allocations: 12 kB / 0.6599 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/0.231, allocations: 0.7534 MB / 0.6606 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005483/0.2365, allocations: 2.7 MB / 0.6633 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001245/0.2377, allocations: 0.6029 MB / 0.6639 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008608/0.2386, allocations: 458.6 kB / 0.6643 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.298e-05/0.2386, allocations: 12.66 kB / 0.6643 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001771/0.2404, allocations: 1.031 MB / 0.6653 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=96): time 3.286e-06/0.2404, allocations: 0 / 0.6653 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96): time 0.005179/0.2456, allocations: 2.158 MB / 0.6674 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.984e-05/0.2457, allocations: 72.39 kB / 0.6675 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000685/0.2464, allocations: 0.5103 MB / 0.668 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000108/0.2465, allocations: 61.69 kB / 0.6681 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002667/0.2467, allocations: 293.2 kB / 0.6683 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003008/0.247, allocations: 281.9 kB / 0.6686 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000325/0.2474, allocations: 174.6 kB / 0.6688 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000276/0.2476, allocations: 386.8 kB / 0.6691 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007376/0.2484, allocations: 394.2 kB / 0.6695 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009472/0.2493, allocations: 0.6045 MB / 0.6701 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00448/0.2538, allocations: 1.925 MB / 0.672 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.625e-06/0.2538, allocations: 8 kB / 0.672 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004187/0.258, allocations: 1.591 MB / 0.6735 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.552e-05/0.258, allocations: 15.92 kB / 0.6736 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.258, allocations: 4 kB / 0.6736 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/0.2591, allocations: 478.4 kB / 0.674 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004276/0.2595, allocations: 111.7 kB / 0.6741 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006896/0.2664, allocations: 3.685 MB / 0.6777 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007146/0.2671, allocations: 99.52 kB / 0.6778 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.008e-05/0.2672, allocations: 40 kB / 0.6779 GB, free: 11.36 MB / 0.5137 GB Warning: Assuming fixed start value for the following 19 variables: load01.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = load01.State0 fixed = true ) \"Load connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) tfo01.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = tfo01.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line01.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line01.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line02.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line02.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) tfo01.tap.value:DISCRETE(flow=false start = /*Real*/(tfo01.Tap0) fixed = true ) type: Real load01.running.value:DISCRETE(flow=false start = load01.Running0 fixed = true ) type: Boolean tfo01.running.value:DISCRETE(flow=false start = tfo01.Running0 fixed = true ) type: Boolean tfo01.alphaTfo:DISCRETE(start = tfo01.AlphaTfo0 unit = \"rad\" fixed = true ) \"Transformation phase shift in rad\" type: Real line01.running.value:DISCRETE(flow=false start = line01.Running0 fixed = true ) type: Boolean line02.running.value:DISCRETE(flow=false start = line02.Running0 fixed = true ) type: Boolean shiftController01.running.value:DISCRETE(flow=false start = shiftController01.Running0 fixed = true ) type: Boolean shiftController01.tap.value:DISCRETE(flow=false start = /*Real*/(shiftController01.tap0) fixed = true ) type: Real shiftController01.valueAboveMax:DISCRETE(start = false fixed = true protected = true ) \"True if the monitored signal is above the maximum limit\" type: Boolean shiftController01.tValueAboveMaxWhileRunning:DISCRETE(start = 1e60 unit = \"s\" fixed = true protected = true ) \"Time when the monitored signal went above the maximum limit and the tap-changer/phase-shifter is running, in s\" type: Real shiftController01.tTapUp:DISCRETE(start = 1e60 unit = \"s\" fixed = true protected = true ) \"Time when the tap has been increased in s\" type: Real shiftController01.tTapDown:DISCRETE(start = 1e60 unit = \"s\" fixed = true protected = true ) \"Time when the tap has been decreased in s\" type: Real shiftController01.tValueUnderMinWhileRunning:DISCRETE(start = 1e60 unit = \"s\" fixed = true protected = true ) \"Time when the monitored signal went under the minimum limit and the tap-changer/phase-shifter is running, in s\" type: Real shiftController01.valueUnderMin:DISCRETE(fixed = true protected = true ) \"True if the monitored signal is under the minimum limit\" type: Boolean shiftController01.state:DISCRETE(min = shiftController01.State.MoveDownN max = shiftController01.State.Locked start = shiftController01.state0 fixed = true ) \"State of the tap-changer/phase-shifter\" type: enumeration(MoveDownN, MoveDown1, WaitingToMoveDown, Standard, WaitingToMoveUp, MoveUp1, MoveUpN, Locked) Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 83 ($PRE.load01.state,load01.state,$PRE.tfo01.state,tfo01.state,$PRE.line01.state,line01.state,$PRE.line02.state,line02.state,$PRE.tfo01.tap.value,tfo01.tap.value,$whenCondition24,shiftController01.switchOffSignal2.value,shiftController01.switchOffSignal1.value,line02.switchOffSignal2.value,line01.switchOffSignal2.value,line02.switchOffSignal1.value,line01.switchOffSignal1.value,tfo01.switchOffSignal2.value,tfo01.switchOffSignal1.value,load01.switchOffSignal2.value,load01.switchOffSignal1.value,$PRE.load01.running.value,$PRE.tfo01.running.value,$PRE.tfo01.alphaTfo,$PRE.line01.running.value,$PRE.line02.running.value,$PRE.shiftController01.running.value,$PRE.shiftController01.tap.value,$PRE.shiftController01.valueAboveMax,$PRE.shiftController01.tValueAboveMaxWhileRunning,$PRE.shiftController01.tTapUp,$PRE.shiftController01.tTapDown,$PRE.shiftController01.tValueUnderMinWhileRunning,$PRE.shiftController01.valueUnderMin,$PRE.shiftController01.state,shiftController01.tValueUnderMinWhileRunning,shiftController01.valueUnderMin,shiftController01.tTapDown,shiftController01.tTapUp,shiftController01.tValueAboveMaxWhileRunning,shiftController01.lookingToDecreaseTap,shiftController01.lookingToIncreaseTap,shiftController01.valueAboveMax,shiftController01.state,shiftController01.locked,shiftController01.tap.value,shiftController01.running.value,line02.running.value,line01.running.value,tfo01.alphaTfo,tfo01.running.value,load01.running.value,$whenCondition1,$whenCondition2,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition15,$whenCondition17,$whenCondition16,$whenCondition18,$whenCondition20,$whenCondition19,$whenCondition21,$whenCondition23,$whenCondition22,$whenCondition25,$whenCondition27,$whenCondition26,$whenCondition29,$whenCondition28,$whenCondition31,$whenCondition30,shiftController01.AutomatonExists.value) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * 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 {(14,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0006831/0.2679, allocations: 334.6 kB / 0.6782 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001836/0.2681, allocations: 95.52 kB / 0.6783 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003596/0.2717, allocations: 1.654 MB / 0.6799 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.2717, allocations: 3.984 kB / 0.6799 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.2717, allocations: 4 kB / 0.6799 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.2718, allocations: 79.39 kB / 0.68 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/0.272, allocations: 51.91 kB / 0.68 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005659/0.2726, allocations: 55.92 kB / 0.6801 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003155/0.2729, allocations: 136.8 kB / 0.6802 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003322/0.2762, allocations: 1.576 MB / 0.6817 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003204/0.2794, allocations: 1.919 MB / 0.6836 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008468/0.2802, allocations: 463.8 kB / 0.6841 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004585/0.2807, allocations: 338.9 kB / 0.6844 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of Backend: time 6.71e-07/0.2807, allocations: 4 kB / 0.6844 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003163/0.2839, allocations: 1.095 MB / 0.6855 GB, free: 3.512 MB / 0.5137 GB Notification: Performance of SimCode: time 0.002766/0.2866, allocations: 1.916 MB / 0.6873 GB, free: 1.551 MB / 0.5137 GB [CodegenCpp.tpl:12296:11-12296:11:writable] Error: Template error: Unsupported zero crossing at 0: load01.terminal.V.re == 0.0 and load01.terminal.V.im == 0.0. [CodegenCpp.tpl:12296:11-12296:11:writable] Error: Template error: Unsupported zero crossing at 1: bus03.terminal.V.re == 0.0 and bus03.terminal.V.im == 0.0. [CodegenCpp.tpl:12296:11-12296:11:writable] Error: Template error: Unsupported zero crossing at 5: pre(shiftController01.state) == shiftController01.State.WaitingToMoveDown and time - (if shiftController01.increaseTapToIncreaseValue then shiftController01.tValueAboveMaxWhileRunning else shiftController01.tValueUnderMinWhileRunning) >= shiftController01.t1st and pre(shiftController01.tap.value) > /*Real*/(shiftController01.tapMin). [CodegenCpp.tpl:12296:11-12296:11:writable] Error: Template error: Unsupported zero crossing at 6: pre(shiftController01.state) == shiftController01.State.WaitingToMoveUp and time - (if shiftController01.increaseTapToIncreaseValue then shiftController01.tValueUnderMinWhileRunning else shiftController01.tValueAboveMaxWhileRunning) >= shiftController01.t1st and pre(shiftController01.tap.value) < /*Real*/(shiftController01.tapMax). [CodegenCpp.tpl:12296:11-12296:11:writable] Error: Template error: Unsupported zero crossing at 7: (pre(shiftController01.state) == shiftController01.State.MoveDown1 or pre(shiftController01.state) == shiftController01.State.MoveDownN) and time - pre(shiftController01.tTapDown) >= shiftController01.tNext and pre(shiftController01.tap.value) > /*Real*/(shiftController01.tapMin). [CodegenCpp.tpl:12296:11-12296:11:writable] Error: Template error: Unsupported zero crossing at 8: (pre(shiftController01.state) == shiftController01.State.MoveUp1 or pre(shiftController01.state) == shiftController01.State.MoveUpN) and time - pre(shiftController01.tTapUp) >= shiftController01.tNext and pre(shiftController01.tap.value) < /*Real*/(shiftController01.tapMax). [CodegenCpp.tpl:12296:11-12296:11:writable] Error: Template error: Unsupported zero crossing at 9: (-line01.P2Pu) < shiftController01.valueMin and not shiftController01.locked and shiftController01.running.value. [CodegenCpp.tpl:12296:11-12296:11:writable] Error: Template error: Unsupported zero crossing at 10: (-line01.P2Pu) > shiftController01.valueMax and not shiftController01.locked and shiftController01.running.value. [CodegenCpp.tpl:12296:11-12296:11:writable] Error: Template error: Unsupported zero crossing at 11: (-line01.P2Pu) >= shiftController01.valueMin and (-line01.P2Pu) <= shiftController01.valueMax and not shiftController01.locked and shiftController01.running.value. Error: Internal error SimCode DAEmode: The model Dynawo.Examples.IllustrativeExamples.DynaFlow.PhaseShifterTransformer could not be translated " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 4.383848027326167] Failed to read output from testmodel.py, exit status != 0: 0.31998491287231445 0.33432897699999997 0.114563965 Calling exit ...