Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovHydro4St4b.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.001321/0.001321, allocations: 109.5 kB / 17.14 MB, free: 5.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 204 kB / 20.11 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.481/1.481, allocations: 207.6 MB / 230.5 MB, free: 4.039 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.5813/0.5813, allocations: 114.3 MB / 396.7 MB, free: 3.516 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.SMIB.Standard.GovHydro4St4b,fileNamePrefix="Dynawo_dev_Dynawo_Examples_SMIB_Standard_GovHydro4St4b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.SMIB.Standard.GovHydro4St4b,fileNamePrefix="Dynawo_dev_Dynawo_Examples_SMIB_Standard_GovHydro4St4b",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.00243/0.00243, allocations: 67.89 kB / 0.5604 GB, free: 12.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4368/0.4392, allocations: 78.56 MB / 0.6371 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SMIB.Standard.GovHydro4St4b): time 0.009456/0.4487, allocations: 9.359 MB / 0.6462 GB, free: 7.273 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009086/0.4578, allocations: 5.917 MB / 0.652 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001979/0.4597, allocations: 30.22 kB / 0.652 GB, free: 2.965 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.001343/0.4611, allocations: 380.3 kB / 0.6524 GB, free: 2.738 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Machines/VoltageRegulators/Standard/BaseClasses/RectifierRegulationCharacteristic.mo:22:3-22:139:writable] Warning: In relation avr.rectifierRegulationCharacteristic.ULow == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Machines/VoltageRegulators/Standard/BaseClasses/RectifierRegulationCharacteristic.mo:23:3-23:131:writable] Warning: In relation avr.rectifierRegulationCharacteristic.UHigh == 1.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.002573/0.4637, allocations: 0.6737 MB / 0.6531 GB, free: 2.324 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Examples/SMIB/Standard/GovHydro4St4b.mo:146:3-146:54:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Examples/SMIB/Standard/GovHydro4St4b.mo:147:3-147:54:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Examples/SMIB/Standard/GovHydro4St4b.mo:149:3-149: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.00509/0.4687, allocations: 2.306 MB / 0.6553 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004201/0.4729, allocations: 2.717 MB / 0.658 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009687/0.4739, allocations: 417.3 kB / 0.6584 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002173/0.4761, allocations: 1.055 MB / 0.6594 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002088/0.4782, allocations: 1.266 MB / 0.6606 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000513/0.4787, allocations: 266.2 kB / 0.6609 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002167/0.4809, allocations: 0.8733 MB / 0.6617 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007223/0.4816, allocations: 0.6057 MB / 0.6623 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001438/0.483, allocations: 1.131 MB / 0.6634 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006143/0.4892, allocations: 3.531 MB / 0.6669 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4892, allocations: 0 / 0.6669 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4892, allocations: 0 / 0.6669 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001256/0.4893, allocations: 1.594 kB / 0.6669 GB, free: 10.64 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: 353 * Number of variables: 353 Notification: Performance of Generate backend data structure: time 0.01163/0.5009, allocations: 3.393 MB / 0.6702 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.501, allocations: 13.45 kB / 0.6702 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003688/0.5013, allocations: 220.9 kB / 0.6704 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002151/0.5035, allocations: 435 kB / 0.6708 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002895/0.5064, allocations: 1.443 MB / 0.6722 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005735/0.507, allocations: 478.8 kB / 0.6727 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002803/0.5072, allocations: 160.4 kB / 0.6729 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003794/0.511, allocations: 1.883 MB / 0.6747 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.099e-05/0.5111, allocations: 10.42 kB / 0.6747 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001732/0.5112, allocations: 58.97 kB / 0.6748 GB, free: 5 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.231e-05/0.5113, allocations: 41.95 kB / 0.6748 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003629/0.5149, allocations: 1.624 MB / 0.6764 GB, free: 4.207 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.01281/0.5277, allocations: 8.075 MB / 0.6843 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004376/0.5321, allocations: 1.689 MB / 0.6859 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001859/0.534, allocations: 0.8048 MB / 0.6867 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002504/0.5342, allocations: 119.7 kB / 0.6868 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002337/0.5365, allocations: 1.168 MB / 0.688 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=181): time 4.338e-06/0.5365, allocations: 0 / 0.688 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=181): time 0.01428/0.5508, allocations: 4.056 MB / 0.6919 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000266/0.5511, allocations: 445.1 kB / 0.6924 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00331/0.5544, allocations: 1.755 MB / 0.6941 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002853/0.5547, allocations: 72.95 kB / 0.6941 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008863/0.5556, allocations: 0.8009 MB / 0.6949 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008298/0.5564, allocations: 0.6603 MB / 0.6956 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008824/0.5573, allocations: 478.3 kB / 0.696 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.5574, allocations: 306.2 kB / 0.6963 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002254/0.5597, allocations: 1.051 MB / 0.6973 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002652/0.5623, allocations: 1.485 MB / 0.6988 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01461/0.5769, allocations: 5.759 MB / 0.7044 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.327e-05/0.577, allocations: 0 / 0.7044 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of matching and sorting (n=369) (initialization): time 0.0106/0.5876, allocations: 3.587 MB / 0.7079 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001459/0.5877, allocations: 119.3 kB / 0.708 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.033e-05/0.5878, allocations: 16 kB / 0.708 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001964/0.5897, allocations: 0.5936 MB / 0.7086 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002963/0.5927, allocations: 0.515 MB / 0.7091 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01607/0.6088, allocations: 9.049 MB / 0.718 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002946/0.6117, allocations: 334 kB / 0.7183 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005645/0.6123, allocations: 95.98 kB / 0.7184 GB, free: 14.09 MB / 0.545 GB Warning: Assuming fixed start value for the following 14 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.firstOrder.y:VARIABLE(flow=false start = avr.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real avr.firstOrder1.y:VARIABLE(flow=false start = avr.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real governor.dbPower.aux:DISCRETE(start = governor.dbPower.Aux0 fixed = true ) \"Auxiliary variable to stabilize y when the derivative of u changes\" type: Real governor.dbPower.h:DISCRETE(start = governor.dbPower.H0 fixed = true ) \"Boolean to detect changes of behaviour of u\" type: Boolean 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: 33 * Number of states: 0 () * Number of discrete variables: 40 ($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.intTw.local_reset,governor.intLimG.local_reset,avr.limPI2.integrator.local_reset,avr.limPI1.integrator.local_reset,$PRE.generatorSynchronous.running.value,$PRE.avr.limPI1.hysteresisMin.y,$PRE.avr.limPI2.hysteresisMin.y,$PRE.governor.dbPower.aux,$PRE.governor.dbPower.h,$PRE.load.running.value,$PRE.avr.limPI2.hysteresisMax.y,$PRE.avr.limPI1.hysteresisMax.y,load.running.value,governor.dbPower.h,governor.dbPower.aux,avr.limPI2.switch1.u2,avr.limPI2.hysteresisMin.y,avr.limPI2.hysteresisMax.y,avr.limPI1.switch1.u2,avr.limPI1.hysteresisMin.y,avr.limPI1.hysteresisMax.y,generatorSynchronous.running.value,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition7,$whenCondition6,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (270): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 2 systems {(1,5), (17,9)} Notification: Performance of prepare postOptimizeDAE: time 0.001872/0.6141, allocations: 0.5241 MB / 0.7189 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008732/0.615, allocations: 218.6 kB / 0.7191 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008057/0.6231, allocations: 2.463 MB / 0.7215 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-05/0.6231, allocations: 16 kB / 0.7215 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.374e-05/0.6231, allocations: 7.938 kB / 0.7215 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.056e-05/0.6231, allocations: 7.969 kB / 0.7215 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0131/0.6362, allocations: 5.17 MB / 0.7266 GB, free: 5.547 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.857e-05/0.6363, allocations: 16 kB / 0.7266 GB, free: 5.531 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002635/0.6389, allocations: 351.8 kB / 0.7269 GB, free: 5.188 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001864/0.6408, allocations: 0.5771 MB / 0.7275 GB, free: 4.598 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000252/0.641, allocations: 39.97 kB / 0.7275 GB, free: 4.559 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01505/0.6561, allocations: 8.763 MB / 0.7361 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.6561, allocations: 7.875 kB / 0.7361 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01112/0.6672, allocations: 3.824 MB / 0.7398 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001456/0.6687, allocations: 0.4952 MB / 0.7403 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006699/0.6693, allocations: 44 kB / 0.7404 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001848/0.6712, allocations: 123.8 kB / 0.7405 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006516/0.6718, allocations: 197.2 kB / 0.7407 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001626/0.672, allocations: 55.97 kB / 0.7407 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002455/0.6745, allocations: 1.147 MB / 0.7418 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.6745, allocations: 0 / 0.7418 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003122/0.6776, allocations: 0.7449 MB / 0.7426 GB, free: 4.496 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 14 (generatorSynchronous.omegaPu,generatorSynchronous.lambdaDPu,generatorSynchronous.lambdafPu,generatorSynchronous.lambdaQ1Pu,generatorSynchronous.lambdaQ2Pu,generatorSynchronous.theta,avr.limPI1.integrator.y,avr.firstOrder.y,avr.limPI2.integrator.y,avr.firstOrder1.y,governor.intLimG.y,governor.intTw.y,governor.lagTp.y,governor.tfRTemp.x) * Number of discrete variables: 21 ($whenCondition8,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,generatorSynchronous.running.value,generatorSynchronous.state,generatorSynchronous.converter.u,avr.limPI1.hysteresisMax.y,avr.limPI1.hysteresisMin.y,avr.limPI1.switch1.u2,avr.limPI2.hysteresisMax.y,avr.limPI2.hysteresisMin.y,avr.limPI2.switch1.u2,governor.dbPower.aux,governor.dbPower.h,load.running.value,load.state) * Number of discrete states: 8 (load.running.value,generatorSynchronous.running.value,avr.limPI1.hysteresisMin.y,avr.limPI1.hysteresisMax.y,governor.dbPower.h,governor.dbPower.aux,avr.limPI2.hysteresisMin.y,avr.limPI2.hysteresisMax.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 2 systems {(1,5), (17,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01251/0.6901, allocations: 4.913 MB / 0.7474 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007924/0.698, allocations: 3.305 MB / 0.7506 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.698, allocations: 4 kB / 0.7506 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004457/0.7025, allocations: 1.889 MB / 0.7524 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002415/0.7049, allocations: 284.3 kB / 0.7527 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04614/0.751, allocations: 20.64 MB / 0.7729 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001688/0.7527, allocations: 1.422 MB / 0.7743 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001461/0.7542, allocations: 237.5 kB / 0.7745 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001506/0.7557, allocations: 0.7961 MB / 0.7753 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of SimCode: time 1.142e-06/0.7557, allocations: 0 / 0.7753 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.136/0.8917, allocations: 57.49 MB / 0.8314 GB, free: 9.125 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.49/17.38, allocations: 15.88 kB / 0.8314 GB, free: 9.109 MB / 0.6544 GB " [Timeout remaining time 642] (rm -f Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovHydro4St4b.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovHydro4St4b.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovHydro4St4b.pipe >> ../files/Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovHydro4St4b.sim & python3 -m fmpy simulate --output-file Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovHydro4St4b_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.05 Dynawo_dev_Dynawo_Examples_SMIB_Standard_GovHydro4St4b.fmu > Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovHydro4St4b.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovHydro4St4b_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.SMIB.Standard.GovHydro4St4b_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovHydro4St4b.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.SMIB.Standard.GovHydro4St4b_res.csv. Warning: Get data of variable generatorSynchronous.UPu from file Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovHydro4St4b_res.csv failed! Error: Could not read variable generatorSynchronous.PmPu.value in file Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovHydro4St4b_res.csv. Warning: Get data of variable generatorSynchronous.PmPu.value from file Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovHydro4St4b_res.csv failed! Error: Could not read variable generatorSynchronous.PGenPu in file Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovHydro4St4b_res.csv. Warning: Get data of variable generatorSynchronous.PGenPu from file Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovHydro4St4b_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 21.020869210129604]