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.001793/0.001793, allocations: 106.1 kB / 17.14 MB, free: 6.023 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.001911/0.001911, allocations: 203.2 kB / 20.11 MB, free: 3.066 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.624/1.624, allocations: 207.6 MB / 230.5 MB, free: 3.98 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.6925/0.6925, allocations: 114.3 MB / 396.7 MB, free: 3.488 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.0026/0.0026, allocations: 71.89 kB / 0.5604 GB, free: 12.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5023/0.5049, allocations: 78.55 MB / 0.6371 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.ENTSOE.TestCase2): time 0.008306/0.5132, allocations: 7.313 MB / 0.6442 GB, free: 8.766 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007555/0.5207, allocations: 4.991 MB / 0.6491 GB, free: 5.125 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.5221, allocations: 15.53 kB / 0.6491 GB, free: 5.121 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.001169/0.5233, allocations: 283.2 kB / 0.6494 GB, free: 4.965 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001772/0.5251, allocations: 424.1 kB / 0.6498 GB, free: 4.68 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.004639/0.5297, allocations: 1.753 MB / 0.6515 GB, free: 3.656 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00321/0.5329, allocations: 2.017 MB / 0.6535 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003845/0.5333, allocations: 181.9 kB / 0.6536 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001214/0.5345, allocations: 0.7719 MB / 0.6544 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00103/0.5355, allocations: 0.8895 MB / 0.6553 GB, free: 1.711 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002818/0.5358, allocations: 186.3 kB / 0.6554 GB, free: 1.711 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001567/0.5374, allocations: 0.689 MB / 0.6561 GB, free: 1.555 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003995/0.5378, allocations: 393.1 kB / 0.6565 GB, free: 1.301 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007638/0.5385, allocations: 0.7576 MB / 0.6572 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004392/0.5429, allocations: 2.34 MB / 0.6595 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.5429, allocations: 1.594 kB / 0.6595 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.395e-06/0.5429, allocations: 0 / 0.6595 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.058e-05/0.543, allocations: 0.75 kB / 0.6595 GB, free: 15.8 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.009746/0.5528, allocations: 2.488 MB / 0.6619 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/0.5528, allocations: 12.8 kB / 0.662 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002721/0.5531, allocations: 157.5 kB / 0.6621 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001834/0.5549, allocations: 312.8 kB / 0.6624 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002446/0.5574, allocations: 0.9216 MB / 0.6633 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003726/0.5577, allocations: 312.5 kB / 0.6636 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002705/0.558, allocations: 112.1 kB / 0.6637 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00304/0.5611, allocations: 1.282 MB / 0.665 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/0.5611, allocations: 5.688 kB / 0.665 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001234/0.5612, allocations: 41.92 kB / 0.665 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.779e-05/0.5612, allocations: 23.53 kB / 0.665 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002574/0.5638, allocations: 1.184 MB / 0.6662 GB, free: 11.8 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.01029/0.5741, allocations: 6.098 MB / 0.6721 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003041/0.5771, allocations: 1.161 MB / 0.6733 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001355/0.5785, allocations: 0.6403 MB / 0.6739 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002298/0.5787, allocations: 112.2 kB / 0.674 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001768/0.5805, allocations: 0.8939 MB / 0.6749 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=146): time 6.212e-06/0.5805, allocations: 3.984 kB / 0.6749 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of matching and sorting (n=146): time 0.01186/0.5924, allocations: 3.096 MB / 0.6779 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001951/0.5926, allocations: 251.6 kB / 0.6781 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002963/0.5955, allocations: 1.183 MB / 0.6793 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003346/0.5959, allocations: 67.41 kB / 0.6794 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000611/0.5965, allocations: 481.6 kB / 0.6798 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000911/0.5974, allocations: 0.5393 MB / 0.6803 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001315/0.5987, allocations: 428.8 kB / 0.6808 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.5988, allocations: 301.1 kB / 0.681 GB, free: 312 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002343/0.6012, allocations: 0.8993 MB / 0.6819 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00256/0.6037, allocations: 1.224 MB / 0.6831 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01457/0.6183, allocations: 5.049 MB / 0.688 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.572e-05/0.6184, allocations: 1.062 kB / 0.688 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of matching and sorting (n=333) (initialization): time 0.01035/0.6287, allocations: 3.085 MB / 0.6911 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000192/0.6289, allocations: 123.7 kB / 0.6912 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.27e-05/0.629, allocations: 14.28 kB / 0.6912 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001722/0.6307, allocations: 0.5149 MB / 0.6917 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002858/0.6335, allocations: 474.6 kB / 0.6921 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01369/0.6472, allocations: 6.987 MB / 0.699 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0026/0.6498, allocations: 266.2 kB / 0.6992 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005211/0.6503, allocations: 80 kB / 0.6993 GB, free: 2.148 MB / 0.5137 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.001438/0.6518, allocations: 427.7 kB / 0.6997 GB, free: 1.73 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000656/0.6524, allocations: 139.1 kB / 0.6998 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/0.6539, allocations: 0.5253 MB / 0.7004 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.438e-05/0.6539, allocations: 15.94 kB / 0.7004 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.38e-05/0.654, allocations: 4 kB / 0.7004 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.283e-05/0.654, allocations: 11.97 kB / 0.7004 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01086/0.6648, allocations: 4.107 MB / 0.7044 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.535e-05/0.6649, allocations: 15.98 kB / 0.7044 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002257/0.6672, allocations: 295.9 kB / 0.7047 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00162/0.6688, allocations: 0.4981 MB / 0.7052 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000202/0.669, allocations: 35.92 kB / 0.7052 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01319/0.6822, allocations: 6.93 MB / 0.712 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/0.6822, allocations: 7.938 kB / 0.712 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009118/0.6913, allocations: 3.033 MB / 0.715 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008821/0.6922, allocations: 263.8 kB / 0.7152 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005742/0.6928, allocations: 35.98 kB / 0.7152 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001589/0.6943, allocations: 71.92 kB / 0.7153 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005549/0.6949, allocations: 137 kB / 0.7154 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001498/0.695, allocations: 39.98 kB / 0.7155 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001957/0.697, allocations: 0.7809 MB / 0.7162 GB, free: 192 kB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.697, allocations: 0 / 0.7162 GB, free: 192 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003114/0.7001, allocations: 0.6125 MB / 0.7168 GB, free: 15.57 MB / 0.545 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.009953/0.7101, allocations: 3.818 MB / 0.7206 GB, free: 11.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007323/0.7174, allocations: 2.775 MB / 0.7233 GB, free: 8.852 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/0.7174, allocations: 4 kB / 0.7233 GB, free: 8.848 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003797/0.7212, allocations: 1.428 MB / 0.7247 GB, free: 7.375 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002343/0.7235, allocations: 179 kB / 0.7248 GB, free: 7.203 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03872/0.7623, allocations: 15.48 MB / 0.74 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/0.7635, allocations: 1.153 MB / 0.7411 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001144/0.7646, allocations: 165.7 kB / 0.7413 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001024/0.7656, allocations: 491.2 kB / 0.7417 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of SimCode: time 1.253e-06/0.7656, allocations: 0 / 0.7417 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1118/0.8774, allocations: 41.46 MB / 0.7822 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.65/16.53, allocations: 15.8 kB / 0.7822 GB, free: 12.1 MB / 0.6075 GB " [Timeout remaining time 643] (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: 20.393864904064685]