Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.IllustrativeExamples.DynaFlow.CoordinatedVControl.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.001496/0.001496, allocations: 96.41 kB / 20.46 MB, free: 1.379 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.001595/0.001595, allocations: 226.7 kB / 23.77 MB, free: 4.535 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.68/1.68, allocations: 207.7 MB / 234.6 MB, free: 9.797 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.7068/0.7068, allocations: 115.8 MB / 402.6 MB, free: 16.11 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.CoordinatedVControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=300,variableFilter="time|Generator1.PGenPu|Generator1.QGenPu|Generator1.UPu|Generator2.PGenPu|Generator2.QGenPu|Generator2.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.IllustrativeExamples.DynaFlow.CoordinatedVControl") translateModel(Dynawo.Examples.IllustrativeExamples.DynaFlow.CoordinatedVControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=300,variableFilter="time|Generator1.PGenPu|Generator1.QGenPu|Generator1.UPu|Generator2.PGenPu|Generator2.QGenPu|Generator2.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.IllustrativeExamples.DynaFlow.CoordinatedVControl") [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.002638/0.002638, allocations: 74.78 kB / 0.5666 GB, free: 43.56 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.1936, allocations: 79.02 MB / 0.6438 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.IllustrativeExamples.DynaFlow.CoordinatedVControl): time 0.00837/0.202, allocations: 4.027 MB / 0.6477 GB, free: 10.94 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01199/0.214, allocations: 5.025 MB / 0.6526 GB, free: 5.887 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001205/0.2152, allocations: 15.94 kB / 0.6526 GB, free: 5.871 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:22:3-22:125:writable] Warning: Connector switchOffSignal3 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/Machines/BaseClasses/BaseGeneratorSimplified.mo:30:3-30:140:writable] Warning: Connector QGenPu 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/Machines/BaseClasses/BaseGeneratorSimplified.mo:32:3-32:113: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:22:3-22:125:writable] Warning: Connector switchOffSignal3 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/Machines/BaseClasses/BaseGeneratorSimplified.mo:30:3-30:140:writable] Warning: Connector QGenPu 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/Machines/BaseClasses/BaseGeneratorSimplified.mo:32:3-32:113: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/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/Events/Event/EventEquations.mo:23:3-23:39:writable] Warning: Connector state1 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/Machines/SignalN/BaseClasses_INIT/BaseGeneratorSignalN_INIT.mo:25:3-25:135:writable] Warning: Connector PGen0Pu 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/Machines/SignalN/BaseClasses_INIT/BaseGeneratorSignalN_INIT.mo:27:3-27:151:writable] Warning: Connector QGen0Pu 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/Machines/SignalN/BaseClasses_INIT/BaseGeneratorSignalN_INIT.mo:28:3-28:118:writable] Warning: Connector U0PuVar 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/Machines/SignalN/BaseClasses_INIT/BaseGeneratorSignalN_INIT.mo:30:3-30:114:writable] Warning: Connector u0Pu is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/SignalN/BaseClasses_INIT/BaseGeneratorSignalN_INIT.mo:32:3-32:169:writable] Warning: Connector i0Pu is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/SignalN/BaseClasses_INIT/BaseGeneratorSignalNPQDiagram_INIT.mo:25:3-25:135:writable] Warning: Connector PGen0Pu 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/Machines/SignalN/BaseClasses_INIT/BaseGeneratorSignalNPQDiagram_INIT.mo:27:3-27:151:writable] Warning: Connector QGen0Pu 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/Machines/SignalN/BaseClasses_INIT/BaseGeneratorSignalNPQDiagram_INIT.mo:28:3-28:118:writable] Warning: Connector U0PuVar 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/Machines/SignalN/BaseClasses_INIT/BaseGeneratorSignalNPQDiagram_INIT.mo:30:3-30:114:writable] Warning: Connector u0Pu is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/SignalN/BaseClasses_INIT/BaseGeneratorSignalNPQDiagram_INIT.mo:32:3-32:169:writable] Warning: Connector i0Pu is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.001339/0.2165, allocations: 269.8 kB / 0.6529 GB, free: 5.609 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001284/0.2178, allocations: 298.1 kB / 0.6532 GB, free: 5.316 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/BaseClasses/BaseGeneratorSimplified.mo:40:5-44:11:writable] Warning: In relation Generator1.terminal.V.re == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/BaseClasses/BaseGeneratorSimplified.mo:40:5-44:11:writable] Warning: In relation Generator1.terminal.V.im == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/BaseClasses/BaseGeneratorSimplified.mo:40:5-44:11:writable] Warning: In relation Generator2.terminal.V.re == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/BaseClasses/BaseGeneratorSimplified.mo:40:5-44:11:writable] Warning: In relation Generator2.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 Bus.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 Bus.terminal.V.im == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.003573/0.2214, allocations: 1.184 MB / 0.6543 GB, free: 4.137 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001811/0.2232, allocations: 1.131 MB / 0.6554 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003172/0.2235, allocations: 109 kB / 0.6555 GB, free: 2.883 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006033/0.2241, allocations: 486.2 kB / 0.656 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006995/0.2248, allocations: 453.8 kB / 0.6564 GB, free: 1.961 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001645/0.225, allocations: 92 kB / 0.6565 GB, free: 1.871 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007704/0.2258, allocations: 311.8 kB / 0.6568 GB, free: 1.562 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003409/0.2261, allocations: 255.1 kB / 0.6571 GB, free: 1.312 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004601/0.2266, allocations: 394 kB / 0.6574 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001821/0.2284, allocations: 1.288 MB / 0.6587 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2284, allocations: 4 kB / 0.6587 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.747e-06/0.2284, allocations: 0 / 0.6587 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.507e-05/0.2284, allocations: 0 / 0.6587 GB, free: 15.63 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.005749/0.2342, allocations: 1.832 MB / 0.6605 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.87e-05/0.2342, allocations: 8.922 kB / 0.6605 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001849/0.2361, allocations: 352 kB / 0.6608 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.2371, allocations: 0.5058 MB / 0.6613 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000988/0.2381, allocations: 1.061 MB / 0.6624 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001598/0.2382, allocations: 75.92 kB / 0.6624 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002103/0.2404, allocations: 0.9782 MB / 0.6634 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.2404, allocations: 4 kB / 0.6634 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001307/0.2405, allocations: 35.97 kB / 0.6634 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.342e-05/0.2405, allocations: 16 kB / 0.6634 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00172/0.2422, allocations: 0.7455 MB / 0.6642 GB, free: 9.66 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005871/0.2481, allocations: 3.089 MB / 0.6672 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00198/0.2501, allocations: 0.7427 MB / 0.6679 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008821/0.251, allocations: 410.1 kB / 0.6683 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001609/0.2511, allocations: 24.58 kB / 0.6683 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002113/0.2533, allocations: 0.9551 MB / 0.6693 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=112): time 4.839e-06/0.2533, allocations: 0 / 0.6693 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=112): time 0.005173/0.2584, allocations: 1.956 MB / 0.6712 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002015/0.2586, allocations: 226.6 kB / 0.6714 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.2599, allocations: 0.7384 MB / 0.6721 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000119/0.26, allocations: 66.16 kB / 0.6722 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004151/0.2604, allocations: 377.2 kB / 0.6725 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003859/0.2608, allocations: 321.5 kB / 0.6728 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004041/0.2612, allocations: 226.9 kB / 0.6731 GB, free: 300 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0003122/0.2615, allocations: 410.7 kB / 0.6734 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009996/0.2625, allocations: 0.493 MB / 0.6739 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001207/0.2637, allocations: 0.711 MB / 0.6746 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004746/0.2685, allocations: 2.158 MB / 0.6767 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.417e-06/0.2685, allocations: 0 / 0.6767 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.005188/0.2737, allocations: 1.993 MB / 0.6787 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.728e-05/0.2737, allocations: 45.69 kB / 0.6787 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.2738, allocations: 8 kB / 0.6787 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00143/0.2752, allocations: 0.5842 MB / 0.6793 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004915/0.2757, allocations: 127.7 kB / 0.6794 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004534/0.2802, allocations: 3.748 MB / 0.6831 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/0.2813, allocations: 147.5 kB / 0.6832 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.2814, allocations: 51.98 kB / 0.6833 GB, free: 5.371 MB / 0.5137 GB Warning: Assuming fixed start value for the following 19 variables: Line1bis.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Line1bis.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Line1.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Line1.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Generator1.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Generator1.State0 fixed = true ) \"Generator connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Generator2.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Generator2.State0 fixed = true ) \"Generator connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Generator1.running.value:DISCRETE(flow=false start = Generator1.Running0 fixed = true ) type: Boolean Generator1.limUQDown:DISCRETE(flow=false start = Generator1.limUQDown0 fixed = true ) \"Whether the minimum reactive power limits are reached or not (from generator voltage regulator)\" type: Boolean Generator1.limUQUp:DISCRETE(flow=false start = Generator1.limUQUp0 fixed = true ) \"Whether the maximum reactive power limits are reached or not (from generator voltage regulator)\" type: Boolean Generator2.running.value:DISCRETE(flow=false start = Generator2.Running0 fixed = true ) type: Boolean Generator2.limUQDown:DISCRETE(flow=false start = Generator2.limUQDown0 fixed = true ) \"Whether the minimum reactive power limits are reached or not (from generator voltage regulator)\" type: Boolean Generator2.limUQUp:DISCRETE(flow=false start = Generator2.limUQUp0 fixed = true ) \"Whether the maximum reactive power limits are reached or not (from generator voltage regulator)\" type: Boolean Line1.running.value:DISCRETE(flow=false start = Line1.Running0 fixed = true ) type: Boolean Line1bis.running.value:DISCRETE(flow=false start = Line1bis.Running0 fixed = true ) type: Boolean SignalNQ.deltaUInt:VARIABLE(start = 0.0 unit = \"kV\" fixed = true protected = true ) \"State of the integrator in kV\" type: Real SignalNQ.frozen:DISCRETE(start = SignalNQ.Frozen0 fixed = true protected = true ) \"True if the integration is frozen\" type: Boolean DisconnectLine.state1.value:DISCRETE(flow=false fixed = true ) type: Boolean Generator2.qStatus:DISCRETE(min = Generator2.QStatus.Standard max = Generator2.QStatus.GenerationMax start = Generator2.qStatus0 fixed = true protected = true ) \"Voltage regulation status: Standard, AbsorptionMax, GenerationMax\" type: enumeration(Standard, AbsorptionMax, GenerationMax) Generator2.pStatus:DISCRETE(min = Generator2.PStatus.Standard max = Generator2.PStatus.LimitPMax start = Generator2.PStatus.Standard fixed = true protected = true ) \"Active power / frequency regulation status: Standard, LimitPMin, LimitPMax\" type: enumeration(Standard, LimitPMin, LimitPMax) Generator1.qStatus:DISCRETE(min = Generator1.QStatus.Standard max = Generator1.QStatus.GenerationMax start = Generator1.qStatus0 fixed = true protected = true ) \"Voltage regulation status: Standard, AbsorptionMax, GenerationMax\" type: enumeration(Standard, AbsorptionMax, GenerationMax) Generator1.pStatus:DISCRETE(min = Generator1.PStatus.Standard max = Generator1.PStatus.LimitPMax start = Generator1.PStatus.Standard fixed = true protected = true ) \"Active power / frequency regulation status: Standard, LimitPMin, LimitPMax\" type: enumeration(Standard, LimitPMin, LimitPMax) Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 91 ($PRE.Line1bis.state,Line1bis.state,$PRE.Line1.state,Line1.state,$whenCondition28,$PRE.Generator1.state,Generator1.converter.u,Generator1.state,$PRE.Generator2.state,Generator2.converter.u,Generator2.state,Line1bis.switchOffSignal1.value,Line1.switchOffSignal2.value,Line1.switchOffSignal1.value,Generator2.switchOffSignal3.value,Generator2.switchOffSignal2.value,Generator2.switchOffSignal1.value,Generator1.switchOffSignal3.value,Generator1.switchOffSignal2.value,Generator1.switchOffSignal1.value,Generator2_INIT.qStatus0,Generator2_INIT.limUQUp0,Generator2_INIT.limUQDown0,Generator1_INIT.qStatus0,Generator1_INIT.limUQUp0,Generator1_INIT.limUQDown0,$PRE.Generator1.running.value,$PRE.Generator1.limUQDown,$PRE.Generator1.limUQUp,$PRE.Generator2.running.value,$PRE.Generator2.limUQDown,$PRE.Generator2.limUQUp,$PRE.Line1.running.value,$PRE.Line1bis.running.value,$PRE.SignalNQ.frozen,$PRE.DisconnectLine.state1.value,$PRE.Generator2.qStatus,$PRE.Generator2.pStatus,$PRE.Generator1.qStatus,$PRE.Generator1.pStatus,DisconnectLine.state1.value,SignalNQ.frozen,SignalNQ.blockedUp,SignalNQ.blockedDown,Line1bis.running.value,Line1.running.value,Generator2.qStatus,Generator2.pStatus,Generator2.limUQUp,Generator2.limUQDown,Generator2.running.value,Generator1.qStatus,Generator1.pStatus,Generator1.limUQUp,Generator1.limUQDown,Generator1.running.value,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition9,$whenCondition8,$whenCondition10,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition19,$whenCondition18,$whenCondition20,$whenCondition22,$whenCondition21,$whenCondition23,$whenCondition25,$whenCondition24,$whenCondition27,$whenCondition26,$whenCondition31,$whenCondition30,$whenCondition29,$whenCondition34,$whenCondition33,$whenCondition32,$whenCondition36,$whenCondition35) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(13,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0008397/0.2822, allocations: 382.4 kB / 0.6836 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002218/0.2825, allocations: 111.4 kB / 0.6837 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002594/0.2851, allocations: 1.359 MB / 0.6851 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/0.2851, allocations: 3.984 kB / 0.6851 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.2851, allocations: 4 kB / 0.6851 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002019/0.2853, allocations: 107.2 kB / 0.6852 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001468/0.2854, allocations: 43.91 kB / 0.6852 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000656/0.2861, allocations: 87.84 kB / 0.6853 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003107/0.2864, allocations: 144.6 kB / 0.6854 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003867/0.2903, allocations: 2.016 MB / 0.6874 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003459/0.2937, allocations: 2.304 MB / 0.6897 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009945/0.2947, allocations: 495.7 kB / 0.6901 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000831/0.2955, allocations: 495 kB / 0.6906 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of Backend: time 6.51e-07/0.2955, allocations: 0 / 0.6906 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006074/0.3016, allocations: 1.707 MB / 0.6923 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of SimCode: time 0.003828/0.3054, allocations: 2.333 MB / 0.6945 GB, free: 9.855 MB / 0.5294 GB [CodegenCpp.tpl:12296:11-12296:11:writable] Error: Template error: Unsupported zero crossing at 0: SignalNQ.FreezingActivated and (SignalNQ.blockedUp and SignalNQ.URef0Pu - SignalNQ.URegulatedPu > 0.0 or SignalNQ.blockedDown and SignalNQ.URef0Pu - SignalNQ.URegulatedPu < 0.0). [CodegenCpp.tpl:12296:11-12296:11:writable] Error: Template error: Unsupported zero crossing at 2: Bus.terminal.V.re == 0.0 and Bus.terminal.V.im == 0.0. [CodegenCpp.tpl:12296:11-12296:11:writable] Error: Template error: Unsupported zero crossing at 11: Generator1.QGenRawPu - Generator1.QDeadBandPu > Generator1.QMinPu and Generator1.QGenRawPu + Generator1.QDeadBandPu < Generator1.QMaxPu. [CodegenCpp.tpl:12296:11-12296:11:writable] Error: Template error: Unsupported zero crossing at 12: Generator1.PGenRawPu > Generator1.PMinPu and pre(Generator1.pStatus) == Generator1.PStatus.LimitPMin. [CodegenCpp.tpl:12296:11-12296:11:writable] Error: Template error: Unsupported zero crossing at 13: Generator1.PGenRawPu < Generator1.PMaxPu and pre(Generator1.pStatus) == Generator1.PStatus.LimitPMax. [CodegenCpp.tpl:12296:11-12296:11:writable] Error: Template error: Unsupported zero crossing at 16: Generator2.QGenRawPu - Generator2.QDeadBandPu > Generator2.QMinPu and Generator2.QGenRawPu + Generator2.QDeadBandPu < Generator2.QMaxPu. [CodegenCpp.tpl:12296:11-12296:11:writable] Error: Template error: Unsupported zero crossing at 17: Generator2.PGenRawPu > Generator2.PMinPu and pre(Generator2.pStatus) == Generator2.PStatus.LimitPMin. [CodegenCpp.tpl:12296:11-12296:11:writable] Error: Template error: Unsupported zero crossing at 18: Generator2.PGenRawPu < Generator2.PMaxPu and pre(Generator2.pStatus) == Generator2.PStatus.LimitPMax. Error: Internal error SimCode DAEmode: The model Dynawo.Examples.IllustrativeExamples.DynaFlow.CoordinatedVControl could not be translated " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 4.203139015939087] Failed to read output from testmodel.py, exit status != 0: 0.35013796482235193 0.36559224300000004 0.13385111300000002 Calling exit ...