Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_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.001307/0.001307, allocations: 114.3 kB / 19.72 MB, free: 2.168 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.001588/0.001588, allocations: 219.1 kB / 23.03 MB, free: 4.969 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.532/1.532, allocations: 207.6 MB / 233.8 MB, free: 9.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo): time 0.6342/0.6342, allocations: 103.9 MB / 390 MB, free: 20.31 MB / 318.1 MB " [Timeout remaining time 179] Using package Dynawo with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/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_Dynawo_Examples_SMIB_Standard_GovHydro4St4b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.SMIB.Standard.GovHydro4St4b,fileNamePrefix="Dynawo_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.002508/0.002508, allocations: 71.34 kB / 0.551 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.4182, allocations: 76 MB / 0.6252 GB, free: 9.773 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SMIB.Standard.GovHydro4St4b): time 0.009401/0.4276, allocations: 9.905 MB / 0.6349 GB, free: 15.82 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01215/0.4398, allocations: 5.976 MB / 0.6408 GB, free: 9.82 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00222/0.442, allocations: 35.75 kB / 0.6408 GB, free: 9.785 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/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.7.0/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.7.0/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.7.0/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.7.0/Electrical/Machines/OmegaRef/BaseClasses/BaseGeneratorSynchronous.mo:24:3-24:104:writable] Warning: Connector omegaRefPu 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.7.0/Electrical/Machines/OmegaRef/BaseClasses/BaseGeneratorSynchronous.mo:25:3-25:94:writable] Warning: Connector PmPu 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.7.0/Electrical/Machines/OmegaRef/BaseClasses/BaseGeneratorSynchronous.mo:26:3-26:125:writable] Warning: Connector efdPu 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.7.0/Electrical/Machines/OmegaRef/BaseClasses/BaseGeneratorSynchronous.mo:29:3-29:96:writable] Warning: Connector omegaPu 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.7.0/Electrical/Machines/OmegaRef/GeneratorSynchronous.mo:42:3-42:108: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.7.0/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.7.0/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.7.0/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.7.0/Electrical/Machines/OmegaRef/GeneratorSynchronous.mo:46:3-46:123: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.7.0/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.7.0/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.7.0/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.7.0/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.7.0/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.001567/0.4436, allocations: 372.3 kB / 0.6411 GB, free: 9.422 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/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.7.0/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.003032/0.4466, allocations: 0.6872 MB / 0.6418 GB, free: 8.73 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Examples/SMIB/Standard/GovHydro4St4b.mo:46:3-46:54:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Examples/SMIB/Standard/GovHydro4St4b.mo:47:3-47:54:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Examples/SMIB/Standard/GovHydro4St4b.mo:49:3-49:38:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/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.7.0/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.7.0/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.7.0/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.7.0/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.7.0/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.7.0/Electrical/Machines/OmegaRef/BaseClasses_INIT/BaseGeneratorSynchronousExt_INIT.mo:72:5-72:85:writable] Warning: In relation generatorSynchronous.gen_init3.MdPuEfd <> 0.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/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.7.0/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.7.0/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.7.0/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.7.0/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.005833/0.4524, allocations: 2.22 MB / 0.644 GB, free: 6.512 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Machines/OmegaRef/BaseClasses_INIT/BaseGeneratorSynchronousExt_INIT.mo:19:3-19:125:writable] Error: Parameter generatorSynchronous.gen_init3.UseApproximation has neither value nor start value, and is fixed during initialization (fixed=true). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Machines/OmegaRef/BaseClasses_INIT/BaseGeneratorSynchronousExt_INIT.mo:30:3-30:113:writable] Error: Parameter generatorSynchronous.gen_init3.MdPuEfd has neither value nor start value, and is fixed during initialization (fixed=true). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Types.mo:49:35-49:96:writable] Error: Parameter load.s0Pu.re has neither value nor start value, and is fixed during initialization (fixed=true). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Types.mo:50:35-50:101:writable] Error: Parameter load.s0Pu.im has neither value nor start value, and is fixed during initialization (fixed=true). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Types.mo:49:35-49:96:writable] Error: Parameter load.i0Pu.re has neither value nor start value, and is fixed during initialization (fixed=true). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Types.mo:50:35-50:101:writable] Error: Parameter load.i0Pu.im has neither value nor start value, and is fixed during initialization (fixed=true). Notification: Performance of NFFlatten.flatten: time 0.00541/0.4579, allocations: 3.062 MB / 0.647 GB, free: 3.445 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00105/0.4589, allocations: 432.8 kB / 0.6474 GB, free: 2.988 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002061/0.461, allocations: 1.18 MB / 0.6485 GB, free: 1.805 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002036/0.463, allocations: 1.412 MB / 0.6499 GB, free: 396 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005236/0.4635, allocations: 312 kB / 0.6502 GB, free: 84 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001916/0.4654, allocations: 0.8861 MB / 0.6511 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007032/0.4661, allocations: 0.6814 MB / 0.6517 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001528/0.4677, allocations: 1.259 MB / 0.653 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00639/0.4741, allocations: 3.866 MB / 0.6568 GB, free: 9.367 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.4741, allocations: 4 kB / 0.6568 GB, free: 9.363 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4741, allocations: 0 / 0.6568 GB, free: 9.363 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.735e-05/0.4742, allocations: 0 / 0.6568 GB, free: 9.363 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: 402 * Number of variables: 402 Notification: Performance of Generate backend data structure: time 0.01145/0.4856, allocations: 3.497 MB / 0.6602 GB, free: 5.812 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.4857, allocations: 12.03 kB / 0.6602 GB, free: 5.801 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003622/0.486, allocations: 244.3 kB / 0.6604 GB, free: 5.551 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001937/0.488, allocations: 455 kB / 0.6609 GB, free: 5.105 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003122/0.4911, allocations: 1.45 MB / 0.6623 GB, free: 3.621 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006852/0.4918, allocations: 0.6376 MB / 0.6629 GB, free: 2.879 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003671/0.4921, allocations: 172 kB / 0.6631 GB, free: 2.711 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004377/0.4965, allocations: 2.131 MB / 0.6651 GB, free: 464 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.671e-05/0.4966, allocations: 7.938 kB / 0.6651 GB, free: 456 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001764/0.4967, allocations: 67.98 kB / 0.6652 GB, free: 388 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.64e-05/0.4968, allocations: 36 kB / 0.6652 GB, free: 352 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00445/0.5012, allocations: 1.952 MB / 0.6671 GB, free: 14.38 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.01572/0.5169, allocations: 7.846 MB / 0.6748 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006157/0.5231, allocations: 2.037 MB / 0.6768 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00252/0.5256, allocations: 0.9462 MB / 0.6777 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000268/0.5259, allocations: 49.62 kB / 0.6778 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002935/0.5288, allocations: 1.363 MB / 0.6791 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=215): time 4.478e-06/0.5288, allocations: 0 / 0.6791 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of matching and sorting (n=215): time 0.01473/0.5436, allocations: 4.136 MB / 0.6831 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003279/0.5439, allocations: 453.2 kB / 0.6836 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003232/0.5471, allocations: 1.821 MB / 0.6854 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004921/0.5476, allocations: 77.7 kB / 0.6854 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009176/0.5485, allocations: 0.8528 MB / 0.6863 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0011/0.5496, allocations: 0.7632 MB / 0.687 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00096/0.5506, allocations: 0.5222 MB / 0.6875 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.5507, allocations: 301.1 kB / 0.6878 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002817/0.5536, allocations: 1.239 MB / 0.689 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003268/0.5568, allocations: 1.662 MB / 0.6906 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02259/0.5794, allocations: 7.423 MB / 0.6979 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.538e-05/0.5794, allocations: 0 / 0.6979 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=412) (initialization): time 0.01092/0.5903, allocations: 3.98 MB / 0.7018 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001629/0.5905, allocations: 105.8 kB / 0.7019 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.123e-05/0.5906, allocations: 16 kB / 0.7019 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001713/0.5923, allocations: 0.5606 MB / 0.7024 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004387/0.5967, allocations: 0.632 MB / 0.7031 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01437/0.611, allocations: 7.269 MB / 0.7102 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003187/0.6142, allocations: 365.7 kB / 0.7105 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004377/0.6147, allocations: 108 kB / 0.7106 GB, free: 0.5977 MB / 0.5294 GB Warning: Assuming fixed start value for the following 15 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) 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 generatorSynchronous.running.value:DISCRETE(flow=false start = generatorSynchronous.Running0 fixed = true ) type: Boolean generatorSynchronous.omegaPu.value:VARIABLE(flow=false start = 1.0 fixed = true ) 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 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 generatorSynchronous.MdPPuEfd:VARIABLE(unit = \"1\" fixed = true ) \"Direct axis mutual inductance used to determine the excitation voltage in pu\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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,$PRE.avr.limPI1.hysteresisMin.y,$PRE.avr.limPI2.hysteresisMin.y,$PRE.generatorSynchronous.running.value,$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,generatorSynchronous.running.value,avr.limPI2.switch1.u2,avr.limPI2.hysteresisMin.y,avr.limPI2.hysteresisMax.y,avr.limPI1.switch1.u2,avr.limPI1.hysteresisMin.y,avr.limPI1.hysteresisMax.y,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition7,$whenCondition6,$whenCondition8,avr.limPI2.integrator.local_reset,avr.limPI1.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (304): * Single equations (assignments): 299 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.001595/0.6162, allocations: 0.5613 MB / 0.7111 GB, free: 28 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005803/0.6168, allocations: 242.4 kB / 0.7114 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008194/0.625, allocations: 2.815 MB / 0.7141 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-05/0.6251, allocations: 20 kB / 0.7141 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.138e-06/0.6251, allocations: 4 kB / 0.7142 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.401e-05/0.6251, allocations: 7.969 kB / 0.7142 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01658/0.6417, allocations: 6.874 MB / 0.7209 GB, free: 5.844 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-05/0.6417, allocations: 32.14 kB / 0.7209 GB, free: 5.812 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002972/0.6447, allocations: 419.5 kB / 0.7213 GB, free: 5.402 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001658/0.6464, allocations: 0.5648 MB / 0.7219 GB, free: 4.828 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003082/0.6467, allocations: 59.97 kB / 0.7219 GB, free: 4.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01309/0.6598, allocations: 7.034 MB / 0.7288 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.726e-05/0.6598, allocations: 19.88 kB / 0.7288 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01246/0.6722, allocations: 4.579 MB / 0.7333 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001661/0.6739, allocations: 497.7 kB / 0.7337 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004452/0.6743, allocations: 64 kB / 0.7338 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001759/0.6761, allocations: 131.9 kB / 0.7339 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006292/0.6767, allocations: 252.8 kB / 0.7342 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000171/0.6769, allocations: 79.97 kB / 0.7343 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002065/0.679, allocations: 1.184 MB / 0.7354 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.679, allocations: 0 / 0.7354 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002889/0.6819, allocations: 0.7879 MB / 0.7362 GB, free: 5.621 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 14 (avr.limPI1.integrator.y,avr.firstOrder.y,avr.limPI2.integrator.y,avr.firstOrder1.y,generatorSynchronous.omegaPu.value,generatorSynchronous.lambdaDPu,generatorSynchronous.lambdafPu,generatorSynchronous.lambdaQ1Pu,generatorSynchronous.lambdaQ2Pu,generatorSynchronous.theta,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,avr.limPI1.hysteresisMax.y,avr.limPI1.hysteresisMin.y,avr.limPI1.switch1.u2,avr.limPI2.hysteresisMax.y,avr.limPI2.hysteresisMin.y,avr.limPI2.switch1.u2,generatorSynchronous.running.value,generatorSynchronous.state,generatorSynchronous.converter.u,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 (169): * Single equations (assignments): 159 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.01325/0.6951, allocations: 5.675 MB / 0.7417 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008622/0.7037, allocations: 3.495 MB / 0.7451 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/0.7037, allocations: 0 / 0.7451 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005984/0.7097, allocations: 2.397 MB / 0.7475 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00228/0.712, allocations: 318.1 kB / 0.7478 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05156/0.7636, allocations: 22.79 MB / 0.77 GB, free: 2.102 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001501/0.7651, allocations: 1.486 MB / 0.7715 GB, free: 0.582 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001652/0.7667, allocations: 262.9 kB / 0.7717 GB, free: 328 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001551/0.7683, allocations: 0.8586 MB / 0.7726 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of SimCode: time 1.583e-06/0.7683, allocations: 0 / 0.7726 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4932/1.261, allocations: 62.25 MB / 0.8334 GB, free: 118.8 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.11/20.37, allocations: 0 / 0.8334 GB, free: 118.8 MB / 0.6075 GB " [Timeout remaining time 639] (rm -f Dynawo_Dynawo.Examples.SMIB.Standard.GovHydro4St4b.pipe ; mkfifo Dynawo_Dynawo.Examples.SMIB.Standard.GovHydro4St4b.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.SMIB.Standard.GovHydro4St4b.pipe >> ../files/Dynawo_Dynawo.Examples.SMIB.Standard.GovHydro4St4b.sim & python3 -m fmpy simulate --output-file Dynawo_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_Dynawo_Examples_SMIB_Standard_GovHydro4St4b.fmu > Dynawo_Dynawo.Examples.SMIB.Standard.GovHydro4St4b.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 24.01102105099926] Failed to read output from testmodel.py, exit status != 0: 20.589757156001724 20.605838354 20.128164772 Calling exit ...