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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 102.7 kB / 17.09 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001832/0.001832, allocations: 194.8 kB / 20.05 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.402/1.402, allocations: 205.1 MB / 227.9 MB, free: 4.387 MB / 174.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0-master/package.mo): time 0.5478/0.5478, allocations: 106.8 MB / 384.1 MB, free: 14.21 MB / 318.1 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002341/0.002341, allocations: 71.89 kB / 0.5372 GB, free: 2.09 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1428, allocations: 72.94 MB / 0.6084 GB, free: 9.125 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0-master/Types.mo:49:35-49:96:writable] Warning: Prefix 'flow' used outside connector declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0-master/Types.mo:50:35-50:101:writable] Warning: Prefix 'flow' used outside connector declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0-master/Electrical/Loads/Load_INIT.mo:25:3-25:132:writable] Warning: Prefix 'flow' used outside connector declaration. Notification: Performance of NFInst.instantiate(Dynawo.Examples.SMIB.Standard.GovHydro4St4b): time 0.01212/0.155, allocations: 9.367 MB / 0.6175 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009758/0.1648, allocations: 5.865 MB / 0.6233 GB, free: 9.816 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001273/0.1661, allocations: 27.88 kB / 0.6233 GB, free: 9.789 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0-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 1.8.0-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 1.8.0-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 1.8.0-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 1.8.0-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 1.8.0-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 1.8.0-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 1.8.0-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 1.8.0-master/Electrical/Machines/OmegaRef/GeneratorSynchronous.mo:43:3-43:115: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 1.8.0-master/Electrical/Machines/OmegaRef/GeneratorSynchronous.mo:44:3-44:116: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 1.8.0-master/Electrical/Machines/OmegaRef/GeneratorSynchronous.mo:45:3-45:126: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 1.8.0-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 1.8.0-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 1.8.0-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 1.8.0-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 1.8.0-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 1.8.0-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 1.8.0-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 1.8.0-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 1.8.0-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 1.8.0-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 1.8.0-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 1.8.0-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.001178/0.1673, allocations: 383.8 kB / 0.6237 GB, free: 9.414 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0-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 1.8.0-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.001834/0.1691, allocations: 0.6287 MB / 0.6243 GB, free: 8.781 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0-master/Examples/SMIB/Standard/GovHydro4St4b.mo:145:3-145:54:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0-master/Examples/SMIB/Standard/GovHydro4St4b.mo:146:3-146:54:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0-master/Examples/SMIB/Standard/GovHydro4St4b.mo:148:3-148:38:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0-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 1.8.0-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 1.8.0-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 1.8.0-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 1.8.0-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 1.8.0-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 1.8.0-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 1.8.0-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 1.8.0-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 1.8.0-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 1.8.0-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 1.8.0-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.004761/0.1739, allocations: 2.324 MB / 0.6265 GB, free: 6.461 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003402/0.1773, allocations: 2.768 MB / 0.6292 GB, free: 3.688 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008753/0.1782, allocations: 0.6013 MB / 0.6298 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00135/0.1795, allocations: 1.035 MB / 0.6308 GB, free: 2.016 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00134/0.1809, allocations: 1.249 MB / 0.6321 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003461/0.1812, allocations: 264 kB / 0.6323 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2828/0.4641, allocations: 0.8686 MB / 0.6332 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006182/0.4647, allocations: 0.6043 MB / 0.6337 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009672/0.4657, allocations: 1.144 MB / 0.6349 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004415/0.4701, allocations: 3.534 MB / 0.6383 GB, free: 13.22 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.4702, allocations: 0.7031 kB / 0.6383 GB, free: 13.22 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.4702, allocations: 0 / 0.6383 GB, free: 13.22 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.083e-05/0.4703, allocations: 3.938 kB / 0.6383 GB, free: 13.21 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 360 * Number of variables: 360 Notification: Performance of Generate backend data structure: time 0.01041/0.4807, allocations: 3.404 MB / 0.6416 GB, free: 11.79 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.4807, allocations: 10.39 kB / 0.6417 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003261/0.4811, allocations: 215.3 kB / 0.6419 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002033/0.4831, allocations: 437.5 kB / 0.6423 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002584/0.4857, allocations: 1.453 MB / 0.6437 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003766/0.4861, allocations: 341.6 kB / 0.644 GB, free: 10.92 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002817/0.4864, allocations: 158.5 kB / 0.6442 GB, free: 10.92 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003653/0.4901, allocations: 1.908 MB / 0.646 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.364e-05/0.4901, allocations: 2.531 kB / 0.646 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001609/0.4903, allocations: 58.03 kB / 0.6461 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.001e-05/0.4903, allocations: 35 kB / 0.6461 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003441/0.4938, allocations: 1.629 MB / 0.6477 GB, free: 10.5 MB / 494.1 MB 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.01147/0.5053, allocations: 8.111 MB / 0.6556 GB, free: 6.211 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003856/0.5091, allocations: 1.785 MB / 0.6574 GB, free: 6.07 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001531/0.5107, allocations: 0.8878 MB / 0.6582 GB, free: 5.957 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002083/0.5109, allocations: 121.7 kB / 0.6584 GB, free: 5.859 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001922/0.5129, allocations: 1.157 MB / 0.6595 GB, free: 5.375 MB / 494.1 MB Notification: Performance of pre-optimization done (n=182): time 3.807e-06/0.5129, allocations: 0 / 0.6595 GB, free: 5.375 MB / 494.1 MB Notification: Performance of matching and sorting (n=182): time 0.01221/0.5251, allocations: 4.007 MB / 0.6634 GB, free: 3.492 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.5252, allocations: 447.4 kB / 0.6638 GB, free: 2.98 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002797/0.528, allocations: 1.755 MB / 0.6655 GB, free: 2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004759/0.5285, allocations: 73.7 kB / 0.6656 GB, free: 1.941 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005997/0.5291, allocations: 0.8254 MB / 0.6664 GB, free: 1.227 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006362/0.5298, allocations: 0.6609 MB / 0.6671 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007704/0.5306, allocations: 476.4 kB / 0.6675 GB, free: 404 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.347e-05/0.5306, allocations: 306 kB / 0.6678 GB, free: 96 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002111/0.5327, allocations: 1.044 MB / 0.6688 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002599/0.5353, allocations: 1.467 MB / 0.6703 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01466/0.55, allocations: 5.772 MB / 0.6759 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.115e-05/0.5501, allocations: 2.75 kB / 0.6759 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=370) (initialization): time 0.009279/0.5594, allocations: 3.591 MB / 0.6794 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001353/0.5596, allocations: 119.5 kB / 0.6795 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.125e-05/0.5596, allocations: 25.62 kB / 0.6796 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00166/0.5613, allocations: 0.58 MB / 0.6801 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00287/0.5642, allocations: 0.5117 MB / 0.6806 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0148/0.579, allocations: 9.019 MB / 0.6894 GB, free: 432 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00278/0.5818, allocations: 330 kB / 0.6897 GB, free: 100 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003165/0.5821, allocations: 99.98 kB / 0.6898 GB, free: 0 / 0.4981 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(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 (271): * Single equations (assignments): 264 * 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.00134/0.5835, allocations: 0.54 MB / 0.6904 GB, free: 15.5 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005456/0.584, allocations: 222.6 kB / 0.6906 GB, free: 15.28 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007043/0.5911, allocations: 2.465 MB / 0.693 GB, free: 12.82 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.222e-05/0.5911, allocations: 20 kB / 0.693 GB, free: 12.8 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.5912, allocations: 3.938 kB / 0.693 GB, free: 12.79 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.169e-05/0.5912, allocations: 7.969 kB / 0.693 GB, free: 12.79 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01098/0.6022, allocations: 5.17 MB / 0.6981 GB, free: 7.609 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.72e-05/0.6022, allocations: 12 kB / 0.6981 GB, free: 7.598 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002478/0.6047, allocations: 338.5 kB / 0.6984 GB, free: 7.277 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001673/0.6064, allocations: 0.5803 MB / 0.699 GB, free: 6.688 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001742/0.6066, allocations: 43.98 kB / 0.699 GB, free: 6.645 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01428/0.6209, allocations: 8.743 MB / 0.7075 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-06/0.621, allocations: 4.094 kB / 0.7075 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01083/0.6318, allocations: 3.83 MB / 0.7113 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001375/0.6332, allocations: 0.4981 MB / 0.7118 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007216/0.6339, allocations: 48 kB / 0.7118 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001884/0.6358, allocations: 111.9 kB / 0.7119 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006165/0.6365, allocations: 180.4 kB / 0.7121 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001908/0.6367, allocations: 55.97 kB / 0.7122 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00247/0.6392, allocations: 1.156 MB / 0.7133 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.41e-07/0.6392, allocations: 0 / 0.7133 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003669/0.6429, allocations: 0.741 MB / 0.714 GB, free: 6.691 MB / 0.5294 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 (135): * Single equations (assignments): 124 * 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.01242/0.6553, allocations: 4.904 MB / 0.7188 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01165/0.667, allocations: 8.251 MB / 0.7268 GB, free: 9.645 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/0.667, allocations: 4.062 kB / 0.7269 GB, free: 9.641 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00469/0.6717, allocations: 1.942 MB / 0.7287 GB, free: 7.676 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003026/0.6748, allocations: 284.7 kB / 0.729 GB, free: 7.402 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04725/0.7221, allocations: 20.69 MB / 0.7492 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00168/0.7238, allocations: 1.433 MB / 0.7506 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001606/0.7254, allocations: 241.7 kB / 0.7509 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001529/0.727, allocations: 0.8075 MB / 0.7516 GB, free: 15.82 MB / 0.5763 GB Notification: Performance of SimCode: time 1.333e-06/0.727, allocations: 0 / 0.7516 GB, free: 15.82 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1201/0.8471, allocations: 56.99 MB / 0.8073 GB, free: 7.105 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.52/17.36, allocations: 4 kB / 0.8073 GB, free: 7.102 MB / 0.6231 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: 20.911591631826013]