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.001413/0.001413, allocations: 113.7 kB / 19.72 MB, free: 2.184 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.001495/0.001495, allocations: 216.8 kB / 23.03 MB, free: 5.027 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.412/1.412, allocations: 207.6 MB / 233.8 MB, free: 10.01 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.6672/0.6672, allocations: 114.4 MB / 400.4 MB, free: 16.3 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.PhaseShifterTransformer,fileNamePrefix="Dynawo_dev_Dynawo_Examples_IllustrativeExamples_DynaFlow_PhaseShifterTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.IllustrativeExamples.DynaFlow.PhaseShifterTransformer,fileNamePrefix="Dynawo_dev_Dynawo_Examples_IllustrativeExamples_DynaFlow_PhaseShifterTransformer",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.003171/0.003171, allocations: 72.64 kB / 0.5633 GB, free: 44.92 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1668, allocations: 78.64 MB / 0.6401 GB, free: 2.039 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.IllustrativeExamples.DynaFlow.PhaseShifterTransformer): time 0.006319/0.1731, allocations: 4.43 MB / 0.6444 GB, free: 13.58 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00497/0.1781, allocations: 2.919 MB / 0.6473 GB, free: 10.65 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005023/0.1786, allocations: 12 kB / 0.6473 GB, free: 10.64 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.0007099/0.1793, allocations: 190.4 kB / 0.6475 GB, free: 10.45 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000724/0.18, allocations: 218.6 kB / 0.6477 GB, free: 10.24 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/Examples/IllustrativeExamples/DynaFlow/PhaseShifterTransformer.mo:81:3-81:40:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Examples/IllustrativeExamples/DynaFlow/PhaseShifterTransformer.mo:83:3-83:39:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Examples/IllustrativeExamples/DynaFlow/PhaseShifterTransformer.mo:86:3-86:40:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Examples/IllustrativeExamples/DynaFlow/PhaseShifterTransformer.mo:87:3-87:40:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Examples/IllustrativeExamples/DynaFlow/PhaseShifterTransformer.mo:89:3-89:51: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: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 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. [/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/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. Notification: Performance of NFTyping.typeClassSections: time 0.002568/0.1826, allocations: 1.053 MB / 0.6487 GB, free: 9.188 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001325/0.1839, allocations: 0.9712 MB / 0.6497 GB, free: 8.215 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002766/0.1842, allocations: 133.4 kB / 0.6498 GB, free: 8.086 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005183/0.1847, allocations: 418.6 kB / 0.6502 GB, free: 7.676 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006092/0.1853, allocations: 466.1 kB / 0.6506 GB, free: 7.219 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.1854, allocations: 88 kB / 0.6507 GB, free: 7.133 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006521/0.1861, allocations: 267.8 kB / 0.651 GB, free: 6.871 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002009/0.1863, allocations: 219.3 kB / 0.6512 GB, free: 6.656 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004063/0.1867, allocations: 410 kB / 0.6516 GB, free: 6.254 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001481/0.1882, allocations: 1.09 MB / 0.6526 GB, free: 5.16 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1882, allocations: 0 / 0.6526 GB, free: 5.16 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1882, allocations: 0 / 0.6526 GB, free: 5.16 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.1882, allocations: 0 / 0.6526 GB, free: 5.16 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.005258/0.1934, allocations: 1.66 MB / 0.6543 GB, free: 3.461 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.1935, allocations: 11.97 kB / 0.6543 GB, free: 3.449 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001771/0.1937, allocations: 110.7 kB / 0.6544 GB, free: 3.332 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002652/0.1963, allocations: 456.1 kB / 0.6548 GB, free: 2.887 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/0.1977, allocations: 0.5556 MB / 0.6553 GB, free: 2.305 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000498/0.1982, allocations: 0.6318 MB / 0.656 GB, free: 1.539 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.1983, allocations: 64.36 kB / 0.656 GB, free: 1.473 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/0.2001, allocations: 1.035 MB / 0.657 GB, free: 424 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.2002, allocations: 0 / 0.657 GB, free: 424 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.2003, allocations: 35.97 kB / 0.6571 GB, free: 388 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.2003, allocations: 12 kB / 0.6571 GB, free: 376 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001405/0.2017, allocations: 0.7652 MB / 0.6578 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005539/0.2072, allocations: 3.255 MB / 0.661 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/0.2084, allocations: 0.6107 MB / 0.6616 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007952/0.2092, allocations: 446.7 kB / 0.662 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.49e-05/0.2093, allocations: 16.66 kB / 0.662 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001568/0.2109, allocations: 0.9781 MB / 0.663 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=96): time 2.965e-06/0.2109, allocations: 0 / 0.663 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96): time 0.004891/0.2157, allocations: 2.162 MB / 0.6651 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.671e-05/0.2158, allocations: 76.39 kB / 0.6652 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006497/0.2165, allocations: 0.5067 MB / 0.6657 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000101/0.2166, allocations: 65.69 kB / 0.6657 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002619/0.2168, allocations: 293.2 kB / 0.666 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002823/0.2171, allocations: 281.8 kB / 0.6663 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003008/0.2174, allocations: 178.6 kB / 0.6665 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002007/0.2176, allocations: 394.7 kB / 0.6668 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006819/0.2183, allocations: 402.2 kB / 0.6672 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008325/0.2191, allocations: 0.5928 MB / 0.6678 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004186/0.2233, allocations: 1.925 MB / 0.6697 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.2233, allocations: 0 / 0.6697 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004021/0.2273, allocations: 1.606 MB / 0.6712 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.2274, allocations: 8 kB / 0.6713 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.2274, allocations: 4 kB / 0.6713 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009725/0.2284, allocations: 479.3 kB / 0.6717 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000448/0.2288, allocations: 119.7 kB / 0.6718 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006446/0.2352, allocations: 3.797 MB / 0.6755 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008309/0.2361, allocations: 91.59 kB / 0.6756 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-05/0.2362, allocations: 43.98 kB / 0.6757 GB, free: 12.86 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.000657/0.2368, allocations: 344.1 kB / 0.676 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/0.237, allocations: 91.52 kB / 0.6761 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003543/0.2405, allocations: 1.666 MB / 0.6777 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.2406, allocations: 12 kB / 0.6777 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2406, allocations: 4 kB / 0.6777 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.2406, allocations: 3.984 kB / 0.6777 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004745/0.2453, allocations: 2.76 MB / 0.6804 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.2453, allocations: 0 / 0.6804 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002285/0.2455, allocations: 47.91 kB / 0.6805 GB, free: 7.875 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.001442/0.247, allocations: 0.766 MB / 0.6812 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.143e-05/0.2471, allocations: 39.95 kB / 0.6813 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003909/0.2475, allocations: 44.81 kB / 0.6813 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2475, allocations: 0 / 0.6813 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003473/0.2509, allocations: 1.73 MB / 0.683 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000205/0.2511, allocations: 83.39 kB / 0.6831 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001608/0.2513, allocations: 43.97 kB / 0.6831 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006011/0.2519, allocations: 67.8 kB / 0.6832 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003083/0.2522, allocations: 136.8 kB / 0.6833 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/0.2523, allocations: 67.94 kB / 0.6834 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004316/0.2528, allocations: 346.9 kB / 0.6837 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2528, allocations: 0 / 0.6837 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009064/0.2537, allocations: 279.8 kB / 0.684 GB, free: 4.266 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 53 ($whenCondition30,$whenCondition31,$whenCondition28,$whenCondition29,$whenCondition26,$whenCondition27,$whenCondition25,$whenCondition24,$whenCondition22,$whenCondition23,$whenCondition21,$whenCondition19,$whenCondition20,$whenCondition18,$whenCondition16,$whenCondition17,$whenCondition15,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition2,$whenCondition1,load01.running.value,load01.state,tfo01.running.value,tfo01.state,tfo01.alphaTfo,tfo01.tap.value,line01.running.value,line01.state,line02.running.value,line02.state,shiftController01.running.value,shiftController01.tap.value,shiftController01.locked,shiftController01.state,shiftController01.valueAboveMax,shiftController01.lookingToIncreaseTap,shiftController01.lookingToDecreaseTap,shiftController01.tValueAboveMaxWhileRunning,shiftController01.tTapUp,shiftController01.tTapDown,shiftController01.valueUnderMin,shiftController01.tValueUnderMinWhileRunning) * Number of discrete states: 14 (load01.running.value,tfo01.running.value,line01.running.value,line02.running.value,shiftController01.state,shiftController01.tTapUp,shiftController01.tap.value,shiftController01.tTapDown,shiftController01.running.value,shiftController01.valueUnderMin,tfo01.tap.value,shiftController01.tValueUnderMinWhileRunning,shiftController01.valueAboveMax,shiftController01.tValueAboveMaxWhileRunning) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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 {(24,18)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004234/0.2579, allocations: 2.387 MB / 0.6863 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00299/0.2609, allocations: 1.333 MB / 0.6876 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.2609, allocations: 448 / 0.6876 GB, free: 0.5039 MB / 0.5137 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Transformers/BaseClasses/BaseTapChangerPhaseShifterInterval.mo:38:5-38:65: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:3565:9-3565:50:writable] Error: Internal error function createOdeSystem failed for component torn nonlinear Equationsystem{{{63:76}, {62:77}, {37:78}, {31:18}, {68:53}, {67:54}, {71:17}, {41:66}, {42:33}, {43:89}, {44:34}, {51:97}, {45:98}, {56:69}, {54:70}, {39:71}, {59:72}, {58:73}}, {38, 57, 53, 55, 60, 46, 32, 33, 47, 48, 34, 49, 50, 52, 40, 61, 36, 64, 65, 72, 66, 35, 69, 70:5, 1, 8, 2, 7, 6, 11, 27, 56, 57, 28, 36, 35, 24, 59, 30, 29, 48, 20, 49, 37, 38, 19, 58} Size: 24 [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:1568:5-1568:72:writable] Error: Internal error SimCodeUtil.createEquationsForSystems failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:822:5-822:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.6258829520011204] Failed to read output from testmodel.py, exit status != 0: 0.2709930799974245 0.285097637 0.09379688100000001 Calling exit ...