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.001779/0.001779, allocations: 100.3 kB / 19.72 MB, free: 1.785 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.002491/0.002491, allocations: 207.5 kB / 23.01 MB, free: 4.621 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.584/1.584, allocations: 207.7 MB / 233.9 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.7031/0.7031, allocations: 115.9 MB / 402 MB, free: 16.04 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.003088/0.003088, allocations: 74.47 kB / 0.5686 GB, free: 41.85 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1693, allocations: 79.04 MB / 0.6458 GB, free: 12.19 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SMIB.Standard.GovHydro4St4b): time 0.01287/0.1821, allocations: 8.296 MB / 0.6539 GB, free: 3.844 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01084/0.193, allocations: 5.473 MB / 0.6592 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001058/0.194, allocations: 31.81 kB / 0.6593 GB, free: 14.32 MB / 0.4981 GB [/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:25:3-25:118:writable] Warning: Connector U0PuVar 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:27:3-27: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:29:3-29: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.0012/0.1952, allocations: 376.6 kB / 0.6596 GB, free: 13.95 MB / 0.4981 GB [/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.001756/0.197, allocations: 0.6756 MB / 0.6603 GB, free: 13.27 MB / 0.4981 GB [/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/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. Notification: Performance of NFTyping.typeClassSections: time 0.004769/0.2018, allocations: 2.258 MB / 0.6625 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003093/0.2049, allocations: 2.741 MB / 0.6652 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006947/0.2055, allocations: 396.3 kB / 0.6655 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001245/0.2068, allocations: 1.059 MB / 0.6666 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001391/0.2082, allocations: 1.143 MB / 0.6677 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003945/0.2086, allocations: 268 kB / 0.6679 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001455/0.21, allocations: 0.8432 MB / 0.6688 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005781/0.2106, allocations: 0.6151 MB / 0.6694 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000879/0.2115, allocations: 0.917 MB / 0.6703 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004113/0.2156, allocations: 3.569 MB / 0.6737 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.2156, allocations: 0 / 0.6737 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2156, allocations: 0 / 0.6737 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.9e-05/0.2156, allocations: 0 / 0.6737 GB, free: 15.41 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 356 * Number of variables: 356 Notification: Performance of Generate backend data structure: time 0.008955/0.2246, allocations: 3.356 MB / 0.677 GB, free: 12 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.2246, allocations: 12.86 kB / 0.677 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002977/0.2249, allocations: 223.1 kB / 0.6772 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001709/0.2266, allocations: 435.2 kB / 0.6777 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002443/0.2291, allocations: 1.368 MB / 0.679 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000868/0.23, allocations: 0.8882 MB / 0.6799 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002577/0.2302, allocations: 159.9 kB / 0.68 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00369/0.2339, allocations: 2.162 MB / 0.6821 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.354e-05/0.2339, allocations: 3.938 kB / 0.6821 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000158/0.2341, allocations: 63.98 kB / 0.6822 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.495e-05/0.2341, allocations: 36 kB / 0.6822 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003455/0.2376, allocations: 1.649 MB / 0.6838 GB, free: 4.598 MB / 0.5137 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.009993/0.2476, allocations: 6.219 MB / 0.6899 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004065/0.2516, allocations: 1.71 MB / 0.6916 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001697/0.2533, allocations: 0.8162 MB / 0.6924 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001608/0.2535, allocations: 44.98 kB / 0.6924 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002246/0.2558, allocations: 1.173 MB / 0.6936 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=181): time 3.948e-06/0.2558, allocations: 4 kB / 0.6936 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of matching and sorting (n=181): time 0.01289/0.2686, allocations: 3.793 MB / 0.6973 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002782/0.2689, allocations: 448.4 kB / 0.6977 GB, free: 6.031 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002494/0.2714, allocations: 1.767 MB / 0.6994 GB, free: 4.215 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001583/0.2716, allocations: 77.69 kB / 0.6995 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008034/0.2724, allocations: 0.8134 MB / 0.7003 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007129/0.2731, allocations: 0.6509 MB / 0.7009 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007812/0.2739, allocations: 473.8 kB / 0.7014 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.274, allocations: 301.1 kB / 0.7017 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002279/0.2763, allocations: 1.184 MB / 0.7028 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002837/0.2791, allocations: 1.862 MB / 0.7046 GB, free: 14.61 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01366/0.2928, allocations: 5.805 MB / 0.7103 GB, free: 8.621 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.528e-05/0.2928, allocations: 4 kB / 0.7103 GB, free: 8.617 MB / 0.545 GB Notification: Performance of matching and sorting (n=368) (initialization): time 0.009608/0.3024, allocations: 3.754 MB / 0.714 GB, free: 4.781 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001504/0.3026, allocations: 131.3 kB / 0.7141 GB, free: 4.641 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.082e-05/0.3026, allocations: 23.98 kB / 0.7141 GB, free: 4.617 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001791/0.3044, allocations: 0.5887 MB / 0.7147 GB, free: 4.016 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002636/0.3071, allocations: 0.5188 MB / 0.7152 GB, free: 3.496 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01497/0.322, allocations: 8.49 MB / 0.7235 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002404/0.3244, allocations: 330 kB / 0.7238 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001903/0.3246, allocations: 95.98 kB / 0.7239 GB, free: 10.14 MB / 0.5606 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 (269): * Single equations (assignments): 262 * 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.001227/0.3258, allocations: 0.5227 MB / 0.7244 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003747/0.3262, allocations: 226.5 kB / 0.7246 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007178/0.3334, allocations: 2.494 MB / 0.7271 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/0.3334, allocations: 16 kB / 0.7271 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.3334, allocations: 8 kB / 0.7271 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.47e-05/0.3334, allocations: 11.95 kB / 0.7271 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01078/0.3442, allocations: 4.743 MB / 0.7317 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.573e-05/0.3443, allocations: 15.98 kB / 0.7318 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002445/0.3467, allocations: 347.9 kB / 0.7321 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001663/0.3484, allocations: 0.5851 MB / 0.7327 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001314/0.3485, allocations: 47.92 kB / 0.7327 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01403/0.3625, allocations: 8.201 MB / 0.7407 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.3625, allocations: 4.031 kB / 0.7407 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01001/0.3725, allocations: 3.863 MB / 0.7445 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00124/0.3738, allocations: 429.9 kB / 0.7449 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000282/0.3741, allocations: 47.94 kB / 0.7449 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001382/0.3754, allocations: 131.8 kB / 0.7451 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005985/0.376, allocations: 213.1 kB / 0.7453 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001253/0.3762, allocations: 51.98 kB / 0.7453 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001919/0.3781, allocations: 1.152 MB / 0.7464 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.3781, allocations: 0 / 0.7464 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002463/0.3806, allocations: 0.7332 MB / 0.7472 GB, free: 1.641 MB / 0.5762 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.01211/0.3927, allocations: 4.964 MB / 0.752 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.007837/0.4005, allocations: 3.473 MB / 0.7554 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.4005, allocations: 0 / 0.7554 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004506/0.405, allocations: 1.899 MB / 0.7573 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001955/0.407, allocations: 280.5 kB / 0.7575 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04437/0.4513, allocations: 21.33 MB / 0.7784 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/0.4524, allocations: 0.8497 MB / 0.7792 GB, free: 152 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001189/0.4536, allocations: 241.7 kB / 0.7794 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001253/0.4548, allocations: 0.8 MB / 0.7802 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of SimCode: time 1.874e-06/0.4548, allocations: 0 / 0.7802 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4824/0.9373, allocations: 60.57 MB / 0.8393 GB, free: 120.2 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.98/17.91, allocations: 7.531 kB / 0.8394 GB, free: 120.2 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] [Calling os._exit(0), Time elapsed: 22.14606119180098] Failed to read output from testmodel.py, exit status != 0: 18.124577809125185 18.1344128 17.916393151 Calling exit ...