Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.ENTSOE.TestCase2.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.001895/0.001895, allocations: 114.1 kB / 19.71 MB, free: 2.18 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.001748/0.001748, allocations: 214.5 kB / 23.02 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.372/1.372, allocations: 207.6 MB / 233.8 MB, free: 9.992 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.6204/0.6204, allocations: 114.4 MB / 400.4 MB, free: 16.29 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) Ignoring simflag -noemit -emit_protected=() since it seems broken on HelloWorld Running command: "" <> buildModelFMU(Dynawo.Examples.ENTSOE.TestCase2,fileNamePrefix="Dynawo_dev_Dynawo_Examples_ENTSOE_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.ENTSOE.TestCase2,fileNamePrefix="Dynawo_dev_Dynawo_Examples_ENTSOE_TestCase2",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.00256/0.00256, allocations: 71.31 kB / 0.5663 GB, free: 43.46 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1475, allocations: 78.64 MB / 0.6431 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.ENTSOE.TestCase2): time 0.01049/0.1579, allocations: 7.322 MB / 0.6503 GB, free: 7.531 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009544/0.1675, allocations: 5.011 MB / 0.6552 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009333/0.1684, allocations: 19.88 kB / 0.6552 GB, free: 2.48 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/OmegaRef/BaseClasses/BaseGeneratorSynchronous.mo:100:3-100:88:writable] Warning: Connector idPu 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/OmegaRef/BaseClasses/BaseGeneratorSynchronous.mo:115:3-115:128:writable] Warning: Connector theta 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/OmegaRef/GeneratorSynchronous.mo:35:3-35: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/Machines/OmegaRef/GeneratorSynchronous.mo:36:3-36:138:writable] Warning: Connector PGenPu 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/OmegaRef/GeneratorSynchronous.mo:37:3-37:142: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/OmegaRef/GeneratorSynchronous.mo:42:3-42:120:writable] Warning: Connector UStatorPu 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/OmegaRef/GeneratorSynchronous.mo:43:3-43:127:writable] Warning: Connector IStatorPu 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/OmegaRef/GeneratorSynchronous.mo:44:3-44:128:writable] Warning: Connector QStatorPu 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/OmegaRef/GeneratorSynchronous.mo:45:3-45:138:writable] Warning: Connector QStatorPuQNom 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/OmegaRef/GeneratorSynchronous.mo:46:3-46:135:writable] Warning: Connector IRotorPu 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/OmegaRef/GeneratorSynchronous.mo:47:3-47:95:writable] Warning: Connector thetaInternal 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/OmegaRef/GeneratorSynchronous.mo:65:3-65:140:writable] Warning: Connector uPu 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/OmegaRef/GeneratorSynchronous.mo:66:3-66:168:writable] Warning: Connector iStatorPu 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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/OmegaRef/BaseClasses_INIT/BaseGeneratorSynchronous_INIT.mo:61:3-61:128:writable] Warning: Connector Theta0 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/OmegaRef/BaseClasses_INIT/BaseGeneratorSynchronous_INIT.mo:65:3-65:89:writable] Warning: Connector Id0Pu 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/OmegaRef/BaseClasses_INIT/BaseGeneratorSynchronous_INIT.mo:70:3-70:118:writable] Warning: Connector Efd0Pu 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/OmegaRef/BaseClasses_INIT/BaseGeneratorSynchronous_INIT.mo:81:3-81:108:writable] Warning: Connector Pm0Pu 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/OmegaRef/BaseClasses_INIT/BaseGeneratorSynchronous_INIT.mo:83:3-83:116:writable] Warning: Connector UStator0Pu 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/OmegaRef/BaseClasses_INIT/BaseGeneratorSynchronous_INIT.mo:84:3-84:117:writable] Warning: Connector IStator0Pu 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/OmegaRef/BaseClasses_INIT/BaseGeneratorSynchronous_INIT.mo:85:3-85:124:writable] Warning: Connector QStator0Pu 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/OmegaRef/BaseClasses_INIT/BaseGeneratorSynchronous_INIT.mo:86:3-86:130:writable] Warning: Connector QStator0PuQNom 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/OmegaRef/BaseClasses_INIT/BaseGeneratorSynchronous_INIT.mo:87:3-87:132:writable] Warning: Connector IRotor0Pu 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/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). Notification: Performance of NFTyping.typeComponents: time 0.001059/0.1695, allocations: 281.6 kB / 0.6555 GB, free: 2.207 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001093/0.1706, allocations: 425.3 kB / 0.6559 GB, free: 1.785 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Examples/ENTSOE/TestCase2.mo:106:3-106:54:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Examples/ENTSOE/TestCase2.mo:107:3-107:54:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Examples/ENTSOE/TestCase2.mo:111:3-111:38:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/OmegaRef/GeneratorSynchronous.mo:85:5-89:11:writable] Warning: In relation generatorSynchronous.uStatorPu.re == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/OmegaRef/GeneratorSynchronous.mo:85:5-89:11:writable] Warning: In relation generatorSynchronous.uStatorPu.im == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/OmegaRef/GeneratorSynchronous.mo:90:5-94:11:writable] Warning: In relation generatorSynchronous.iStatorPu.re == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/OmegaRef/GeneratorSynchronous.mo:90:5-94:11:writable] Warning: In relation generatorSynchronous.iStatorPu.im == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/OmegaRef/BaseClasses/BaseGeneratorSynchronous.mo:133:3-133:117:writable] Warning: In relation generatorSynchronous.SNom <> generatorSynchronous.PNomAlt, <> 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/OmegaRef/BaseClasses_INIT/BaseGeneratorSynchronousInt_INIT.mo:47:5-47:85:writable] Warning: In relation generatorSynchronous.generatorSynchronousInt_INIT.MdPuEfd <> 0.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Loads/LoadAlphaBeta.mo:24:5-30:11:writable] Warning: In relation load.terminal.V.re == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Loads/LoadAlphaBeta.mo:24:5-30:11:writable] Warning: In relation load.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. Notification: Performance of NFTyping.typeClassSections: time 0.003766/0.1743, allocations: 1.777 MB / 0.6576 GB, free: 12 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002272/0.1766, allocations: 2.066 MB / 0.6596 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003491/0.177, allocations: 180.6 kB / 0.6598 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000896/0.1779, allocations: 0.7786 MB / 0.6606 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001004/0.1789, allocations: 0.887 MB / 0.6614 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002314/0.1791, allocations: 187.9 kB / 0.6616 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001041/0.1801, allocations: 0.6871 MB / 0.6623 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003658/0.1805, allocations: 394.7 kB / 0.6627 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006636/0.1812, allocations: 0.7617 MB / 0.6634 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00254/0.1837, allocations: 2.355 MB / 0.6657 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1837, allocations: 0 / 0.6657 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1837, allocations: 0 / 0.6657 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.276e-05/0.1837, allocations: 0 / 0.6657 GB, free: 7.691 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: 236 * Number of variables: 236 Notification: Performance of Generate backend data structure: time 0.006837/0.1906, allocations: 2.412 MB / 0.6681 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.1906, allocations: 8.031 kB / 0.6681 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002006/0.1908, allocations: 152 kB / 0.6682 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/0.1922, allocations: 303.8 kB / 0.6685 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001644/0.1938, allocations: 0.8643 MB / 0.6693 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004125/0.1942, allocations: 473.1 kB / 0.6698 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001753/0.1944, allocations: 111.9 kB / 0.6699 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002184/0.1966, allocations: 1.284 MB / 0.6712 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.588e-05/0.1966, allocations: 7.938 kB / 0.6712 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/0.1967, allocations: 39.98 kB / 0.6712 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.746e-05/0.1967, allocations: 24 kB / 0.6712 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002259/0.199, allocations: 1.185 MB / 0.6724 GB, free: 0.5938 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.007208/0.2062, allocations: 5.536 MB / 0.6778 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002569/0.2088, allocations: 1.166 MB / 0.6789 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/0.2099, allocations: 0.6444 MB / 0.6796 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00016/0.2101, allocations: 40.98 kB / 0.6796 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001538/0.2116, allocations: 0.8975 MB / 0.6805 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=146): time 3.206e-06/0.2116, allocations: 0 / 0.6805 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of matching and sorting (n=146): time 0.01011/0.2217, allocations: 2.862 MB / 0.6833 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001739/0.2219, allocations: 252.4 kB / 0.6835 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002019/0.2239, allocations: 1.19 MB / 0.6847 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001261/0.2241, allocations: 57.7 kB / 0.6847 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004508/0.2245, allocations: 482 kB / 0.6852 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005685/0.2251, allocations: 0.5385 MB / 0.6857 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007599/0.2258, allocations: 420.9 kB / 0.6861 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.226, allocations: 313.1 kB / 0.6864 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00171/0.2277, allocations: 0.8987 MB / 0.6873 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001989/0.2297, allocations: 1.218 MB / 0.6885 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01141/0.2411, allocations: 5.061 MB / 0.6934 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.636e-05/0.2411, allocations: 4 kB / 0.6934 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of matching and sorting (n=333) (initialization): time 0.007543/0.2487, allocations: 3.083 MB / 0.6964 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001304/0.2488, allocations: 119.3 kB / 0.6965 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-05/0.2489, allocations: 16 kB / 0.6966 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001518/0.2504, allocations: 0.5176 MB / 0.6971 GB, free: 6.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002327/0.2527, allocations: 483.4 kB / 0.6975 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01201/0.2647, allocations: 6.668 MB / 0.704 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001932/0.2666, allocations: 270.2 kB / 0.7043 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001603/0.2668, allocations: 91.92 kB / 0.7044 GB, free: 14.68 MB / 0.545 GB Warning: Assuming fixed start value for the following 12 variables: load.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = load.State0 fixed = true ) \"Load connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) generatorSynchronous.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = generatorSynchronous.State0 fixed = true ) \"Generator connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) generatorSynchronous.running.value:DISCRETE(flow=false start = generatorSynchronous.Running0 fixed = true ) type: Boolean generatorSynchronous.omegaPu:VARIABLE(flow=false start = 1.0 unit = \"1\" fixed = true ) \"Angular frequency in pu\" type: Real generatorSynchronous.lambdaDPu:VARIABLE(start = generatorSynchronous.LambdaD0Pu unit = \"1\" fixed = true ) \"Flux of direct axis damper in pu\" type: Real generatorSynchronous.lambdafPu:VARIABLE(start = generatorSynchronous.Lambdaf0Pu unit = \"1\" fixed = true ) \"Flux of excitation winding in pu\" type: Real generatorSynchronous.lambdaQ1Pu:VARIABLE(start = generatorSynchronous.LambdaQ10Pu unit = \"1\" fixed = true ) \"Flux of quadrature axis 1st damper in pu\" type: Real generatorSynchronous.lambdaQ2Pu:VARIABLE(start = generatorSynchronous.LambdaQ20Pu unit = \"1\" fixed = true ) \"Flux of quadrature axis 2nd damper in pu\" type: Real generatorSynchronous.theta:VARIABLE(flow=false start = generatorSynchronous.Theta0 unit = \"rad\" fixed = true ) \"Rotor angle: angle between machine rotor frame and port phasor frame\" type: Real avr.leadLag.x_scaled[1]:VARIABLE(start = avr.leadLag.X0[1] * avr.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] governor.transferFunction.x_scaled[1]:VARIABLE(start = governor.transferFunction.X0[1] * governor.transferFunction.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] load.running.value:DISCRETE(flow=false start = load.Running0 fixed = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 22 ($PRE.load.state,load.state,$PRE.generatorSynchronous.state,generatorSynchronous.converter.u,generatorSynchronous.state,load.switchOffSignal2.value,load.switchOffSignal1.value,generatorSynchronous.switchOffSignal3.value,generatorSynchronous.switchOffSignal2.value,generatorSynchronous.switchOffSignal1.value,governor.limitedFirstOrder.I.local_reset,avr.limitedFirstOrder.I.local_reset,$PRE.generatorSynchronous.running.value,$PRE.load.running.value,load.running.value,generatorSynchronous.running.value,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (239): * Single equations (assignments): 233 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 1 * 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 {(17,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0008236/0.2676, allocations: 403.5 kB / 0.7048 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002291/0.2679, allocations: 143.1 kB / 0.7049 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/0.2689, allocations: 0.5369 MB / 0.7054 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/0.2689, allocations: 19.94 kB / 0.7054 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.336e-05/0.2689, allocations: 4 kB / 0.7055 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.2689, allocations: 3.984 kB / 0.7055 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008514/0.2775, allocations: 4.091 MB / 0.7095 GB, free: 9.395 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.414e-05/0.2775, allocations: 16 kB / 0.7095 GB, free: 9.379 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002078/0.2796, allocations: 295.9 kB / 0.7097 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001373/0.2809, allocations: 0.5063 MB / 0.7102 GB, free: 8.574 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.574e-05/0.281, allocations: 35.92 kB / 0.7103 GB, free: 8.539 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01139/0.2924, allocations: 6.612 MB / 0.7167 GB, free: 1.586 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/0.2924, allocations: 11.92 kB / 0.7167 GB, free: 1.574 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007419/0.2999, allocations: 3.045 MB / 0.7197 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005423/0.3004, allocations: 178.8 kB / 0.7199 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001972/0.3006, allocations: 28 kB / 0.7199 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/0.3016, allocations: 75.92 kB / 0.72 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003855/0.302, allocations: 140.9 kB / 0.7201 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.108e-05/0.3021, allocations: 39.98 kB / 0.7202 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001354/0.3035, allocations: 0.7926 MB / 0.7209 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3035, allocations: 0 / 0.7209 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001778/0.3052, allocations: 0.6007 MB / 0.7215 GB, free: 12.62 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 10 (generatorSynchronous.omegaPu,generatorSynchronous.lambdaDPu,generatorSynchronous.lambdafPu,generatorSynchronous.lambdaQ1Pu,generatorSynchronous.lambdaQ2Pu,generatorSynchronous.theta,avr.limitedFirstOrder.I.y,avr.leadLag.x_scaled[1],governor.transferFunction.x_scaled[1],governor.limitedFirstOrder.I.y) * Number of discrete variables: 11 ($whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,generatorSynchronous.running.value,generatorSynchronous.state,generatorSynchronous.converter.u,load.running.value,load.state) * Number of discrete states: 2 (load.running.value,generatorSynchronous.running.value) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 4 * 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 {(17,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008191/0.3134, allocations: 3.818 MB / 0.7253 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005936/0.3194, allocations: 2.775 MB / 0.728 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.3194, allocations: 0 / 0.728 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003311/0.3227, allocations: 1.435 MB / 0.7294 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/0.324, allocations: 170.7 kB / 0.7295 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03008/0.3541, allocations: 15.5 MB / 0.7447 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009333/0.355, allocations: 1.145 MB / 0.7458 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007385/0.3558, allocations: 169.4 kB / 0.7459 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007421/0.3565, allocations: 491.2 kB / 0.7464 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of SimCode: time 1.883e-06/0.3565, allocations: 4 kB / 0.7464 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3818/0.7384, allocations: 42.86 MB / 0.7883 GB, free: 131.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.29/16.03, allocations: 12.23 kB / 0.7883 GB, free: 131.5 MB / 0.6075 GB " [Timeout remaining time 644] (rm -f Dynawo_dev_Dynawo.Examples.ENTSOE.TestCase2.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.ENTSOE.TestCase2.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.ENTSOE.TestCase2.pipe >> ../files/Dynawo_dev_Dynawo.Examples.ENTSOE.TestCase2.sim & python3 -m fmpy simulate --output-file Dynawo_dev_Dynawo.Examples.ENTSOE.TestCase2_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 Dynawo_dev_Dynawo_Examples_ENTSOE_TestCase2.fmu > Dynawo_dev_Dynawo.Examples.ENTSOE.TestCase2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Dynawo_dev_Dynawo.Examples.ENTSOE.TestCase2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.ENTSOE.TestCase2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.ENTSOE.TestCase2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable generatorSynchronous.UPu in file Dynawo_dev_Dynawo.Examples.ENTSOE.TestCase2_res.csv. Warning: Get data of variable generatorSynchronous.UPu from file Dynawo_dev_Dynawo.Examples.ENTSOE.TestCase2_res.csv failed! Error: Could not read variable generatorSynchronous.efdPu_in in file Dynawo_dev_Dynawo.Examples.ENTSOE.TestCase2_res.csv. Warning: Get data of variable generatorSynchronous.efdPu_in from file Dynawo_dev_Dynawo.Examples.ENTSOE.TestCase2_res.csv failed! Error: Could not read variable avr.EfdPu in file Dynawo_dev_Dynawo.Examples.ENTSOE.TestCase2_res.csv. Warning: Get data of variable avr.EfdPu from file Dynawo_dev_Dynawo.Examples.ENTSOE.TestCase2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.748319770002126]