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.001316/0.001316, allocations: 109.1 kB / 17.14 MB, free: 5.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 204 kB / 20.11 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.483/1.483, allocations: 207.6 MB / 230.5 MB, free: 4.039 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 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.5555/0.5555, allocations: 104 MB / 386.4 MB, free: 13.94 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.00245/0.00245, allocations: 67.91 kB / 0.5452 GB, free: 11.54 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1609, allocations: 75.96 MB / 0.6194 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SMIB.Standard.GovHydro4St4b): time 0.0125/0.1734, allocations: 9.862 MB / 0.629 GB, free: 5.582 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3231/0.4965, allocations: 5.945 MB / 0.6348 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001856/0.4983, allocations: 35.03 kB / 0.6349 GB, free: 12.71 MB / 494.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.001047/0.4994, allocations: 374.1 kB / 0.6352 GB, free: 12.71 MB / 494.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.001835/0.5012, allocations: 0.6838 MB / 0.6359 GB, free: 12.71 MB / 494.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.003994/0.5052, allocations: 2.198 MB / 0.638 GB, free: 12.7 MB / 494.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.003528/0.5087, allocations: 3.061 MB / 0.641 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007201/0.5095, allocations: 435 kB / 0.6414 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001679/0.5111, allocations: 1.177 MB / 0.6426 GB, free: 12.4 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001726/0.5129, allocations: 1.411 MB / 0.644 GB, free: 12.15 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005018/0.5134, allocations: 313.4 kB / 0.6443 GB, free: 12.15 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001976/0.5153, allocations: 0.8866 MB / 0.6451 GB, free: 12.14 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006094/0.5159, allocations: 0.6819 MB / 0.6458 GB, free: 12.04 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00112/0.5171, allocations: 1.258 MB / 0.647 GB, free: 11.66 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00546/0.5225, allocations: 3.87 MB / 0.6508 GB, free: 10.34 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.5225, allocations: 0 / 0.6508 GB, free: 10.34 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5225, allocations: 1.844 kB / 0.6508 GB, free: 10.34 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.73e-05/0.5226, allocations: 0 / 0.6508 GB, free: 10.34 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.01063/0.5333, allocations: 3.57 MB / 0.6543 GB, free: 8.453 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/0.5333, allocations: 10.84 kB / 0.6543 GB, free: 8.453 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002954/0.5336, allocations: 241.7 kB / 0.6545 GB, free: 8.301 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001864/0.5355, allocations: 459.1 kB / 0.655 GB, free: 8.129 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002296/0.5378, allocations: 1.517 MB / 0.6564 GB, free: 7.246 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004004/0.5382, allocations: 385.9 kB / 0.6568 GB, free: 6.941 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003844/0.5386, allocations: 178.7 kB / 0.657 GB, free: 6.883 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003812/0.5424, allocations: 2.126 MB / 0.6591 GB, free: 5.473 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.947e-05/0.5424, allocations: 6.031 kB / 0.6591 GB, free: 5.469 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001756/0.5426, allocations: 67.97 kB / 0.6591 GB, free: 5.418 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.314e-05/0.5426, allocations: 38.72 kB / 0.6592 GB, free: 5.418 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003857/0.5465, allocations: 1.95 MB / 0.6611 GB, free: 4.48 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.01047/0.557, allocations: 8.447 MB / 0.6693 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005211/0.5622, allocations: 2.027 MB / 0.6713 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002091/0.5643, allocations: 0.9504 MB / 0.6722 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000256/0.5645, allocations: 128 kB / 0.6724 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002733/0.5672, allocations: 1.364 MB / 0.6737 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=215): time 4.699e-06/0.5672, allocations: 0 / 0.6737 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=215): time 0.0146/0.5818, allocations: 4.361 MB / 0.6779 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002879/0.5821, allocations: 451.2 kB / 0.6784 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003714/0.5858, allocations: 1.829 MB / 0.6802 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003932/0.5862, allocations: 78.33 kB / 0.6802 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009002/0.5871, allocations: 0.8513 MB / 0.6811 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009756/0.5881, allocations: 0.7641 MB / 0.6818 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00111/0.5892, allocations: 0.5215 MB / 0.6823 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.5894, allocations: 301.1 kB / 0.6826 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00278/0.5922, allocations: 1.237 MB / 0.6838 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003174/0.5953, allocations: 1.666 MB / 0.6854 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02133/0.6167, allocations: 7.417 MB / 0.6927 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.491e-05/0.6167, allocations: 4 kB / 0.6927 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=412) (initialization): time 0.01026/0.6269, allocations: 3.983 MB / 0.6966 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001238/0.6271, allocations: 101.6 kB / 0.6967 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.723e-05/0.6271, allocations: 16 kB / 0.6967 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001656/0.6288, allocations: 0.5612 MB / 0.6972 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004198/0.633, allocations: 0.632 MB / 0.6979 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01413/0.6471, allocations: 7.573 MB / 0.7053 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003257/0.6504, allocations: 365.8 kB / 0.7056 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003187/0.6507, allocations: 109.3 kB / 0.7057 GB, free: 14.55 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.001425/0.6521, allocations: 0.5693 MB / 0.7063 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005808/0.6527, allocations: 238.4 kB / 0.7065 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008071/0.6607, allocations: 2.805 MB / 0.7092 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-05/0.6608, allocations: 23.94 kB / 0.7093 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.6608, allocations: 4 kB / 0.7093 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-05/0.6608, allocations: 7.969 kB / 0.7093 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01568/0.6765, allocations: 6.909 MB / 0.716 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.923e-05/0.6765, allocations: 28.03 kB / 0.716 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002902/0.6794, allocations: 415.5 kB / 0.7164 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001638/0.6811, allocations: 0.5606 MB / 0.717 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000228/0.6813, allocations: 63.97 kB / 0.717 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0126/0.6939, allocations: 7.336 MB / 0.7242 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.438e-05/0.6939, allocations: 15.94 kB / 0.7242 GB, free: 10.97 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01151/0.7054, allocations: 4.573 MB / 0.7287 GB, free: 6.234 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001458/0.7069, allocations: 0.573 MB / 0.7292 GB, free: 5.641 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003421/0.7072, allocations: 56 kB / 0.7293 GB, free: 5.586 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001692/0.7089, allocations: 135.9 kB / 0.7294 GB, free: 5.453 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006009/0.7095, allocations: 233 kB / 0.7297 GB, free: 5.227 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001595/0.7097, allocations: 79.91 kB / 0.7297 GB, free: 5.148 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001932/0.7116, allocations: 1.188 MB / 0.7309 GB, free: 3.938 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.7116, allocations: 0 / 0.7309 GB, free: 3.938 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00276/0.7144, allocations: 0.784 MB / 0.7317 GB, free: 3.152 MB / 0.545 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.0131/0.7275, allocations: 5.687 MB / 0.7372 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00826/0.7357, allocations: 3.503 MB / 0.7406 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/0.7358, allocations: 0 / 0.7406 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005718/0.7415, allocations: 2.393 MB / 0.743 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002355/0.7438, allocations: 323.8 kB / 0.7433 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04785/0.7917, allocations: 22.77 MB / 0.7655 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001342/0.793, allocations: 1.489 MB / 0.767 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001528/0.7945, allocations: 266.9 kB / 0.7672 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001387/0.7959, allocations: 0.8546 MB / 0.7681 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of SimCode: time 1.022e-06/0.7959, allocations: 3.938 kB / 0.7681 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1255/0.9214, allocations: 60.34 MB / 0.827 GB, free: 0.8281 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.95/17.88, allocations: 4 kB / 0.827 GB, free: 0.8242 MB / 0.6387 GB " [Timeout remaining time 642] (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: 21.42581989899918] Failed to read output from testmodel.py, exit status != 0: 18.063548671998433 18.088042502 17.560764688 Calling exit ...