Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovSteamEuSt4b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 114.7 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 189.9 kB / 20.78 MB, free: 1.5 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.432/1.432, allocations: 207.6 MB / 231.4 MB, free: 3.168 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/package.mo): time 0.5484/0.5484, allocations: 101.8 MB / 385.3 MB, free: 15.39 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-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Ignoring simflag -noemit -emit_protected=() since it seems broken on HelloWorld Running command: "" <> buildModelFMU(Dynawo.Examples.SMIB.Standard.GovSteamEuSt4b,fileNamePrefix="Dynawo_dev_Dynawo_Examples_SMIB_Standard_GovSteamEuSt4b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.SMIB.Standard.GovSteamEuSt4b,fileNamePrefix="Dynawo_dev_Dynawo_Examples_SMIB_Standard_GovSteamEuSt4b",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002911/0.002911, allocations: 67.89 kB / 0.5445 GB, free: 14.27 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1927, allocations: 75.38 MB / 0.6181 GB, free: 2.797 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SMIB.Standard.GovSteamEuSt4b): time 0.01188/0.2046, allocations: 9.33 MB / 0.6272 GB, free: 9.414 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009551/0.2142, allocations: 5.189 MB / 0.6323 GB, free: 4.203 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001662/0.2158, allocations: 43.75 kB / 0.6323 GB, free: 4.16 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:22:3-22:125:writable] Warning: Connector switchOffSignal3 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/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-master/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-master/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-master/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-master/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-master/Electrical/Machines/OmegaRef/GeneratorSynchronous.mo:43:3-43:115:writable] Warning: Connector IStatorPu is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/Electrical/Machines/OmegaRef/GeneratorSynchronous.mo:44:3-44:116:writable] Warning: Connector QStatorPu is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/Electrical/Machines/OmegaRef/GeneratorSynchronous.mo:45:3-45:126:writable] Warning: Connector QStatorPuQNom is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/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-master/Electrical/Machines/OmegaRef/GeneratorSynchronous.mo:47:3-47:95:writable] Warning: Connector thetaInternal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/Electrical/Loads/BaseClasses/BaseLoad.mo:32:3-32:125:writable] Warning: Connector UPu is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.00133/0.2172, allocations: 451.7 kB / 0.6327 GB, free: 3.719 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/Electrical/Controls/Machines/VoltageRegulators/Standard/BaseClasses/RectifierRegulationCharacteristic.mo:22:3-22:139:writable] Warning: In relation avr.rectifierRegulationCharacteristic.ULow == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/Electrical/Controls/Machines/VoltageRegulators/Standard/BaseClasses/RectifierRegulationCharacteristic.mo:23:3-23:131:writable] Warning: In relation avr.rectifierRegulationCharacteristic.UHigh == 1.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001747/0.2189, allocations: 0.6012 MB / 0.6333 GB, free: 3.113 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/Examples/SMIB/Standard/GovSteamEuSt4b.mo:154:3-154:54:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/Examples/SMIB/Standard/GovSteamEuSt4b.mo:155:3-155:54:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/Examples/SMIB/Standard/GovSteamEuSt4b.mo:157:3-157:38:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/Electrical/Machines/OmegaRef/BaseClasses/BaseGeneratorSynchronous.mo:133:3-133:117:writable] Warning: In relation generatorSynchronous.SNom <> generatorSynchronous.PNomAlt, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:40:5-44:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:40:5-44:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.004659/0.2236, allocations: 2.31 MB / 0.6356 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.2872/0.5107, allocations: 2.948 MB / 0.6385 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.5118, allocations: 0.5616 MB / 0.639 GB, free: 13.9 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001456/0.5132, allocations: 1.086 MB / 0.6401 GB, free: 13.72 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001191/0.5144, allocations: 1.209 MB / 0.6412 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003406/0.5147, allocations: 266.3 kB / 0.6415 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008212/0.5156, allocations: 489.2 kB / 0.642 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004827/0.516, allocations: 0.6106 MB / 0.6426 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001002/0.517, allocations: 1.17 MB / 0.6437 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004868/0.5219, allocations: 3.423 MB / 0.647 GB, free: 12.49 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.5219, allocations: 2.281 kB / 0.647 GB, free: 12.49 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5219, allocations: 2.594 kB / 0.6471 GB, free: 12.49 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001009/0.522, allocations: 0 / 0.6471 GB, free: 12.49 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: 382 * Number of variables: 382 Notification: Performance of Generate backend data structure: time 0.009529/0.5316, allocations: 3.209 MB / 0.6502 GB, free: 11.12 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.5316, allocations: 9.781 kB / 0.6502 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003476/0.532, allocations: 231.1 kB / 0.6504 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001829/0.5338, allocations: 424.7 kB / 0.6508 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003107/0.5369, allocations: 1.459 MB / 0.6522 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004694/0.5374, allocations: 323.1 kB / 0.6526 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003717/0.5377, allocations: 161.2 kB / 0.6527 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004512/0.5422, allocations: 2.136 MB / 0.6548 GB, free: 9.492 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.344e-05/0.5423, allocations: 3.281 kB / 0.6548 GB, free: 9.492 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001719/0.5424, allocations: 64.5 kB / 0.6549 GB, free: 9.445 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-05/0.5425, allocations: 40.91 kB / 0.6549 GB, free: 9.441 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00436/0.5469, allocations: 1.804 MB / 0.6567 GB, free: 8.879 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01127/0.5581, allocations: 8.13 MB / 0.6646 GB, free: 3.438 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004794/0.5629, allocations: 1.96 MB / 0.6665 GB, free: 2.512 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001747/0.5647, allocations: 0.8301 MB / 0.6673 GB, free: 2.09 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001281/0.5648, allocations: 28.55 kB / 0.6673 GB, free: 2.086 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002161/0.567, allocations: 1.078 MB / 0.6684 GB, free: 1.461 MB / 494.1 MB Notification: Performance of pre-optimization done (n=154): time 3.897e-06/0.567, allocations: 0 / 0.6684 GB, free: 1.461 MB / 494.1 MB Notification: Performance of matching and sorting (n=154): time 0.0118/0.5788, allocations: 3.542 MB / 0.6719 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003212/0.5791, allocations: 0.5049 MB / 0.6724 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002921/0.582, allocations: 1.671 MB / 0.674 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002595/0.5823, allocations: 65.83 kB / 0.674 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000965/0.5832, allocations: 0.9109 MB / 0.6749 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006938/0.5839, allocations: 0.5531 MB / 0.6755 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005999/0.5845, allocations: 308.5 kB / 0.6758 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.5847, allocations: 305.1 kB / 0.6761 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002103/0.5868, allocations: 0.8433 MB / 0.6769 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002418/0.5892, allocations: 1.244 MB / 0.6781 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01043/0.5996, allocations: 3.751 MB / 0.6818 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.625e-06/0.5996, allocations: 0 / 0.6818 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.007685/0.6073, allocations: 2.672 MB / 0.6844 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.6073, allocations: 8.5 kB / 0.6844 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.6074, allocations: 6.125 kB / 0.6844 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001246/0.6086, allocations: 462.6 kB / 0.6848 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002574/0.6112, allocations: 469 kB / 0.6853 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01003/0.6212, allocations: 4.137 MB / 0.6893 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002688/0.6239, allocations: 266.8 kB / 0.6896 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002387/0.6241, allocations: 67.97 kB / 0.6896 GB, free: 2.926 MB / 0.4981 GB Warning: Assuming fixed start value for the following 12 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.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 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 load.running.value:DISCRETE(flow=false start = load.Running0 fixed = true ) type: Boolean 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) Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002887/0.627, allocations: 1.048 MB / 0.6907 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002021/0.629, allocations: 1.101 MB / 0.6917 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009365/0.6384, allocations: 3.393 MB / 0.695 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.143e-06/0.6384, allocations: 0 / 0.695 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of matching and sorting (n=211) (initialization_lambda0): time 0.007491/0.6459, allocations: 2.416 MB / 0.6974 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.6459, allocations: 12.12 kB / 0.6974 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.6459, allocations: 4 kB / 0.6974 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001255/0.6472, allocations: 448.5 kB / 0.6978 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002321/0.6495, allocations: 412.5 kB / 0.6982 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01001/0.6595, allocations: 4.136 MB / 0.7023 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002354/0.6619, allocations: 223.4 kB / 0.7025 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001592/0.662, allocations: 59.98 kB / 0.7026 GB, free: 5.469 MB / 0.5137 GB Warning: Assuming fixed start value for the following 12 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.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 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 load.running.value:DISCRETE(flow=false start = load.Running0 fixed = true ) type: Boolean 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) Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 38 ($PRE.load.state,load.state,$PRE.generatorSynchronous.running.value,$PRE.avr.limPI1.hysteresisMin.y,$PRE.avr.limPI2.hysteresisMin.y,$PRE.load.running.value,$PRE.avr.limPI2.hysteresisMax.y,$PRE.avr.limPI1.hysteresisMax.y,load.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,generatorSynchronous.running.value,$whenCondition1,$whenCondition3,$whenCondition2,$whenCondition4,$whenCondition6,$whenCondition5,$PRE.generatorSynchronous.state,generatorSynchronous.converter.u,generatorSynchronous.state,load.switchOffSignal2.value,load.switchOffSignal1.value,generatorSynchronous.switchOffSignal3.value,generatorSynchronous.switchOffSignal2.value,generatorSynchronous.switchOffSignal1.value,governor.limIntegratortRh.local_reset,governor.limIntegratorPID.local_reset,governor.limIntegratorIv.local_reset,governor.limIntegratorCv.local_reset,governor.integratortB.local_reset,avr.limitedFirstOrder.I.local_reset,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 (186): * Single equations (assignments): 185 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(17,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0007944/0.6628, allocations: 357.4 kB / 0.7029 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005155/0.6633, allocations: 234.5 kB / 0.7031 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007574/0.6709, allocations: 2.421 MB / 0.7055 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.856e-05/0.6709, allocations: 19.94 kB / 0.7055 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.6709, allocations: 0 / 0.7055 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.98e-05/0.671, allocations: 7.969 kB / 0.7055 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01072/0.6817, allocations: 4.438 MB / 0.7098 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.6817, allocations: 0 / 0.7098 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002755/0.6844, allocations: 401.7 kB / 0.7102 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001263/0.6857, allocations: 447.9 kB / 0.7107 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002026/0.6859, allocations: 43.91 kB / 0.7107 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009607/0.6955, allocations: 4.045 MB / 0.7146 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.6955, allocations: 0 / 0.7146 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01031/0.7058, allocations: 3.574 MB / 0.7181 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001343/0.7072, allocations: 491.1 kB / 0.7186 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003028/0.7075, allocations: 40 kB / 0.7186 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/0.7088, allocations: 163.8 kB / 0.7188 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005047/0.7093, allocations: 172.5 kB / 0.719 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/0.7095, allocations: 47.97 kB / 0.719 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001902/0.7114, allocations: 1.119 MB / 0.7201 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7114, allocations: 0 / 0.7201 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002586/0.7139, allocations: 0.8696 MB / 0.7209 GB, free: 2.496 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 23 (generatorSynchronous.omegaPu.value,generatorSynchronous.lambdaDPu,generatorSynchronous.lambdafPu,generatorSynchronous.lambdaQ1Pu,generatorSynchronous.lambdaQ2Pu,generatorSynchronous.theta,avr.limPI1.integrator.y,avr.firstOrder.y,avr.limPI2.integrator.y,avr.limitedFirstOrder.I.y,avr.firstOrder1.y,governor.derivativetDPctPc.x,governor.firstOrdertEn.y,governor.firstOrdertfT.y,governor.firstOrdertHp.y,governor.firstOrdertLp.y,governor.firstOrdertOmega.y,governor.firstOrdertP.y,governor.integratortB.y,governor.limIntegratorCv.y,governor.limIntegratorIv.y,governor.limIntegratorPID.y,governor.limIntegratortRh.y) * Number of discrete variables: 17 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,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,load.running.value,load.state) * Number of discrete states: 6 (generatorSynchronous.running.value,load.running.value,avr.limPI1.hysteresisMax.y,avr.limPI1.hysteresisMin.y,avr.limPI2.hysteresisMax.y,avr.limPI2.hysteresisMin.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(17,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01137/0.7253, allocations: 4.492 MB / 0.7253 GB, free: 14.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009935/0.7352, allocations: 3.644 MB / 0.7289 GB, free: 10.57 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.7353, allocations: 0 / 0.7289 GB, free: 10.57 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003753/0.739, allocations: 1.368 MB / 0.7302 GB, free: 9.207 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00225/0.7413, allocations: 395.2 kB / 0.7306 GB, free: 8.836 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03923/0.7805, allocations: 18.1 MB / 0.7483 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001396/0.7819, allocations: 1.461 MB / 0.7497 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00147/0.7833, allocations: 276 kB / 0.75 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001378/0.7847, allocations: 0.8351 MB / 0.7508 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of SimCode: time 9.12e-07/0.7847, allocations: 0 / 0.7508 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1237/0.9084, allocations: 60.98 MB / 0.8103 GB, free: 7.09 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.26/17.17, allocations: 7.156 kB / 0.8103 GB, free: 7.086 MB / 0.6231 GB " [Timeout remaining time 643] (rm -f Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovSteamEuSt4b.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovSteamEuSt4b.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovSteamEuSt4b.pipe >> ../files/Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovSteamEuSt4b.sim & python3 -m fmpy simulate --output-file Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovSteamEuSt4b_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 Dynawo_dev_Dynawo_Examples_SMIB_Standard_GovSteamEuSt4b.fmu > Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovSteamEuSt4b.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.404625307011884] Failed to read output from testmodel.py, exit status != 0: 17.34971234400291 17.36814608 16.842328663 Calling exit ...