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.001845/0.001845, allocations: 109.1 kB / 17.14 MB, free: 5.93 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.002246/0.002246, allocations: 204 kB / 20.11 MB, free: 2.977 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.487/1.487, allocations: 207.6 MB / 230.5 MB, free: 4.016 MB / 174.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.6245/0.6245, allocations: 114.3 MB / 396.7 MB, free: 3.496 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: "" <> buildModelFMU(Dynawo.Examples.IllustrativeExamples.DynaFlow.CoordinatedVControl,fileNamePrefix="Dynawo_dev_Dynawo_Examples_IllustrativeExamples_DynaFlow_CoordinatedVControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.IllustrativeExamples.DynaFlow.CoordinatedVControl,fileNamePrefix="Dynawo_dev_Dynawo_Examples_IllustrativeExamples_DynaFlow_CoordinatedVControl",fmuType="me",version="2.0",platforms={"static"}) [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.002497/0.002497, allocations: 75.89 kB / 0.5576 GB, free: 14.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1697, allocations: 78.55 MB / 0.6344 GB, free: 304 kB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.IllustrativeExamples.DynaFlow.CoordinatedVControl): time 0.3789/0.5486, allocations: 4.476 MB / 0.6387 GB, free: 9.391 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006787/0.5554, allocations: 5.346 MB / 0.6439 GB, free: 5.785 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005416/0.556, allocations: 14.97 kB / 0.644 GB, free: 5.781 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/BaseClasses_INIT/BaseGeneratorParameters_INIT.mo:23:3-23: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/BaseClasses_INIT/BaseGeneratorParameters_INIT.mo:24:3-24:139: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/BaseClasses_INIT/BaseGeneratorParameters_INIT.mo:26:3-26: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/BaseClasses_INIT/BaseGeneratorParameters_INIT.mo:28:3-28: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/BaseClasses_INIT/BaseGeneratorParameters_INIT.mo:23:3-23: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/BaseClasses_INIT/BaseGeneratorParameters_INIT.mo:24:3-24:139: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/BaseClasses_INIT/BaseGeneratorParameters_INIT.mo:26:3-26: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/BaseClasses_INIT/BaseGeneratorParameters_INIT.mo:28:3-28: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.0008209/0.5568, allocations: 291.3 kB / 0.6442 GB, free: 5.648 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.0007635/0.5575, allocations: 286.7 kB / 0.6445 GB, free: 5.469 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Examples/IllustrativeExamples/DynaFlow/CoordinatedVControl.mo:121:3-121:44:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Examples/IllustrativeExamples/DynaFlow/CoordinatedVControl.mo:122:3-122:44:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Examples/IllustrativeExamples/DynaFlow/CoordinatedVControl.mo:124:3-124:44:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Examples/IllustrativeExamples/DynaFlow/CoordinatedVControl.mo:125:3-125:44:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Examples/IllustrativeExamples/DynaFlow/CoordinatedVControl.mo:127:3-127:39:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/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/Controls/Basics/SwitchOff/SwitchOffLogic.mo:40:5-44:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/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/Controls/Basics/SwitchOff/SwitchOffLogic.mo:40:5-44:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:40:5-44:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:40:5-44:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Events/Event/EventEquations.mo:44:7-44:33:writable] Warning: Conditional component 'state2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Events/Event/EventEquations.mo:44:7-44:33:writable] Warning: Conditional component 'stateEvent2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Events/Event/EventEquations.mo:50:7-50:33:writable] Warning: Conditional component 'state3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Events/Event/EventEquations.mo:50:7-50:33:writable] Warning: Conditional component 'stateEvent3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Events/Event/EventEquations.mo:56:7-56:33:writable] Warning: Conditional component 'state4' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Events/Event/EventEquations.mo:56:7-56:33:writable] Warning: Conditional component 'stateEvent4' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Events/Event/EventEquations.mo:62:7-62:33:writable] Warning: Conditional component 'state5' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Events/Event/EventEquations.mo:62:7-62:33:writable] Warning: Conditional component 'stateEvent5' is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.002507/0.56, allocations: 1.223 MB / 0.6457 GB, free: 4.789 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001276/0.5613, allocations: 1.115 MB / 0.6468 GB, free: 4.262 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00022/0.5615, allocations: 120.2 kB / 0.6469 GB, free: 4.188 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004864/0.562, allocations: 473.6 kB / 0.6474 GB, free: 3.961 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005381/0.5626, allocations: 0.5016 MB / 0.6478 GB, free: 3.711 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.5627, allocations: 87.69 kB / 0.6479 GB, free: 3.711 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00067/0.5633, allocations: 317.8 kB / 0.6482 GB, free: 3.637 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002448/0.5636, allocations: 251.5 kB / 0.6485 GB, free: 3.492 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003355/0.5639, allocations: 466.7 kB / 0.6489 GB, free: 3.184 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001455/0.5654, allocations: 1.261 MB / 0.6501 GB, free: 2.637 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.5654, allocations: 0.5938 kB / 0.6501 GB, free: 2.637 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5654, allocations: 3.656 kB / 0.6502 GB, free: 2.637 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.5654, allocations: 0 / 0.6502 GB, free: 2.637 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.00522/0.5706, allocations: 1.911 MB / 0.652 GB, free: 1.613 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.5707, allocations: 12.52 kB / 0.652 GB, free: 1.609 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001344/0.5708, allocations: 121 kB / 0.6521 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001863/0.5727, allocations: 351.3 kB / 0.6525 GB, free: 1.438 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007304/0.5734, allocations: 0.5656 MB / 0.653 GB, free: 1.004 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002836/0.5737, allocations: 0.5228 MB / 0.6535 GB, free: 456 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.5738, allocations: 72.02 kB / 0.6536 GB, free: 436 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001554/0.5754, allocations: 0.9432 MB / 0.6545 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.5754, allocations: 0 / 0.6545 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.5755, allocations: 42.06 kB / 0.6546 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.824e-05/0.5755, allocations: 14.84 kB / 0.6546 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/0.577, allocations: 0.7103 MB / 0.6553 GB, free: 15.67 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.00539/0.5824, allocations: 3.642 MB / 0.6588 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001771/0.5841, allocations: 0.7485 MB / 0.6596 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008374/0.585, allocations: 415.6 kB / 0.66 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001663/0.5852, allocations: 92.67 kB / 0.6601 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001876/0.587, allocations: 0.9638 MB / 0.661 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=112): time 3.246e-06/0.587, allocations: 0 / 0.661 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of matching and sorting (n=112): time 0.005619/0.5926, allocations: 2.184 MB / 0.6631 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000173/0.5928, allocations: 236.1 kB / 0.6634 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/0.594, allocations: 0.7327 MB / 0.6641 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001295/0.5942, allocations: 66.58 kB / 0.6641 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003403/0.5945, allocations: 359.1 kB / 0.6645 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000419/0.5949, allocations: 331.9 kB / 0.6648 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004377/0.5954, allocations: 224 kB / 0.665 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002834/0.5956, allocations: 410 kB / 0.6654 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009421/0.5966, allocations: 448.9 kB / 0.6658 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/0.5977, allocations: 0.6501 MB / 0.6665 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004605/0.6023, allocations: 2.123 MB / 0.6685 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/0.6023, allocations: 1.781 kB / 0.6685 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.005292/0.6076, allocations: 1.931 MB / 0.6704 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.835e-05/0.6077, allocations: 41.19 kB / 0.6705 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.6077, allocations: 4.188 kB / 0.6705 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00144/0.6091, allocations: 0.6021 MB / 0.6711 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004696/0.6096, allocations: 109 kB / 0.6712 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004478/0.6141, allocations: 4.004 MB / 0.6751 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/0.6152, allocations: 139.7 kB / 0.6752 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/0.6153, allocations: 48.31 kB / 0.6752 GB, free: 1.969 MB / 0.4981 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 (141): * Single equations (assignments): 137 * 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.0008547/0.6162, allocations: 384 kB / 0.6756 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000251/0.6164, allocations: 120.6 kB / 0.6757 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002664/0.6191, allocations: 1.36 MB / 0.6771 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.6191, allocations: 11.72 kB / 0.6771 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.6191, allocations: 2.281 kB / 0.6771 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.545e-05/0.6191, allocations: 10.12 kB / 0.6771 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006061/0.6252, allocations: 3.066 MB / 0.6801 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.6252, allocations: 6.219 kB / 0.6801 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002964/0.6255, allocations: 59 kB / 0.6801 GB, free: 14.75 MB / 0.5137 GB Warning: The tearing heuristic was not able to avoid discrete iteration variables because otherwise the system could not have been torn. This may lead to problems during simulation. Notification: Performance of postOpt tearingSystem (simulation): time 0.001542/0.627, allocations: 0.6498 MB / 0.6808 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.421e-05/0.6271, allocations: 33.66 kB / 0.6808 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002801/0.6299, allocations: 2.854 MB / 0.6836 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.6299, allocations: 6.562 kB / 0.6836 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005835/0.6358, allocations: 2.432 MB / 0.686 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000384/0.6362, allocations: 186.1 kB / 0.6861 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000221/0.6364, allocations: 37.36 kB / 0.6862 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008428/0.6372, allocations: 82.11 kB / 0.6863 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003664/0.6376, allocations: 140.7 kB / 0.6864 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/0.6377, allocations: 58.7 kB / 0.6865 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009435/0.6387, allocations: 0.4939 MB / 0.6869 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.6387, allocations: 0 / 0.6869 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001401/0.6401, allocations: 308.1 kB / 0.6872 GB, free: 9.363 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (SignalNQ.deltaUInt) * Number of discrete variables: 62 ($whenCondition35,$whenCondition36,$whenCondition32,$whenCondition33,$whenCondition34,$whenCondition29,$whenCondition30,$whenCondition31,$whenCondition28,$whenCondition26,$whenCondition27,$whenCondition24,$whenCondition25,$whenCondition23,$whenCondition21,$whenCondition22,$whenCondition20,$whenCondition18,$whenCondition19,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition1,$whenCondition2,$whenCondition3,Generator1.running.value,Generator1.state,Generator1.converter.u,Generator1.limUQDown,Generator1.limUQUp,Generator1.pStatus,Generator1.qStatus,Generator2.running.value,Generator2.state,Generator2.converter.u,Generator2.limUQDown,Generator2.limUQUp,Generator2.pStatus,Generator2.qStatus,Line1.running.value,Line1.state,Line1bis.running.value,Line1bis.state,SignalNQ.blockedDown,SignalNQ.blockedUp,SignalNQ.frozen,DisconnectLine.state1.value,Generator1_INIT.limUQDown0,Generator1_INIT.limUQUp0,Generator2_INIT.limUQDown0,Generator2_INIT.limUQUp0) * Number of discrete states: 9 (Line1.running.value,Generator2.running.value,Generator1.running.value,Line1bis.running.value,Generator2.pStatus,Generator1.pStatus,Generator2.qStatus,Generator1.qStatus,SignalNQ.frozen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * 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 {(15,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008021/0.6481, allocations: 3.348 MB / 0.6905 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003856/0.6519, allocations: 1.498 MB / 0.692 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.652, allocations: 2.719 kB / 0.692 GB, free: 6.395 MB / 0.5137 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/SignalN/GeneratorPQPropDiagramPQ.mo:21:5-21:36:writable] Error: The language feature non-linear equations within when-equations is not supported. Suggested workaround: Perform non-linear operations outside the when-equation (this is slower, but works) Error: Internal error function createNonlinearResidualEquations failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:3537:9-3537:50:writable] Error: Internal error function createOdeSystem failed for component torn nonlinear Equationsystem{{{47:6}, {48:35}, {49:54}, {52:69}, {51:70}, {50:71}, {53:34}, {61:37}, {62:80}, {63:36}, {54:81}, {64:79}, {58:64}, {44:61}, {43:60}, {57:45}, {45:30}}, {41, 42, 46, 60, 55, 56, 65, 66, 67, 68, 59, 69, 70, 71, 72:38, 55, 20, 48, 63, 21, 49, 31, 46, 18, 19, 28, 11, 29, 10} Size: 15 [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:1564:5-1564:72:writable] Error: Internal error SimCodeUtil.createEquationsForSystems failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:818:5-818:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.8445143159478903] Failed to read output from testmodel.py, exit status != 0: 0.6625604839064181 0.6829050360000001 0.113305611 Calling exit ...