Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.SMIB.Standard.GovSteamEuSt4b.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.001298/0.001298, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.001696/0.001696, allocations: 214 kB / 23.01 MB, free: 4.992 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.472/1.472, allocations: 207.7 MB / 233.9 MB, free: 9.797 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.6054/0.6054, allocations: 103.8 MB / 389.9 MB, free: 21.15 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.GovSteamEuSt4b,fileNamePrefix="Dynawo_Dynawo_Examples_SMIB_Standard_GovSteamEuSt4b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.SMIB.Standard.GovSteamEuSt4b,fileNamePrefix="Dynawo_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.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.003591/0.003591, allocations: 75.89 kB / 0.5509 GB, free: 328 kB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3627, allocations: 76 MB / 0.6251 GB, free: 9.559 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SMIB.Standard.GovSteamEuSt4b): time 0.007682/0.3704, allocations: 7.792 MB / 0.6327 GB, free: 1.727 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008524/0.379, allocations: 4.671 MB / 0.6373 GB, free: 13.04 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001665/0.3806, allocations: 55.56 kB / 0.6373 GB, free: 12.98 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.001381/0.382, allocations: 428.2 kB / 0.6377 GB, free: 12.57 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.002264/0.3843, allocations: 0.5702 MB / 0.6383 GB, free: 11.99 MB / 478.1 MB [/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. Notification: Performance of NFTyping.typeClassSections: time 0.00466/0.3889, allocations: 2.091 MB / 0.6403 GB, free: 9.918 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003925/0.3928, allocations: 2.735 MB / 0.643 GB, free: 7.176 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009976/0.3938, allocations: 0.4945 MB / 0.6435 GB, free: 6.641 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001683/0.3955, allocations: 1.035 MB / 0.6445 GB, free: 5.602 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001352/0.3969, allocations: 1.006 MB / 0.6455 GB, free: 4.59 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003915/0.3973, allocations: 247.9 kB / 0.6457 GB, free: 4.348 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008976/0.3982, allocations: 451.8 kB / 0.6461 GB, free: 3.906 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005504/0.3987, allocations: 0.5567 MB / 0.6467 GB, free: 3.348 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008819/0.3996, allocations: 0.8546 MB / 0.6475 GB, free: 2.488 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004007/0.4036, allocations: 3.153 MB / 0.6506 GB, free: 15.32 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4036, allocations: 0 / 0.6506 GB, free: 15.32 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.4036, allocations: 4 kB / 0.6506 GB, free: 15.32 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.683e-05/0.4037, allocations: 0 / 0.6506 GB, free: 15.32 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: 345 * Number of variables: 345 Notification: Performance of Generate backend data structure: time 0.007679/0.4114, allocations: 2.943 MB / 0.6535 GB, free: 12.33 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.4114, allocations: 8.031 kB / 0.6535 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002872/0.4117, allocations: 210.8 kB / 0.6537 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001565/0.4133, allocations: 411.1 kB / 0.6541 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002367/0.4156, allocations: 1.267 MB / 0.6553 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004962/0.4161, allocations: 496.1 kB / 0.6558 GB, free: 9.844 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002507/0.4164, allocations: 151.9 kB / 0.6559 GB, free: 9.695 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004071/0.4204, allocations: 2.351 MB / 0.6582 GB, free: 7.098 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.941e-05/0.4205, allocations: 3.938 kB / 0.6582 GB, free: 7.094 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001518/0.4206, allocations: 60 kB / 0.6583 GB, free: 7.035 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.453e-05/0.4207, allocations: 36 kB / 0.6583 GB, free: 7 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003603/0.4243, allocations: 1.571 MB / 0.6599 GB, free: 5.422 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01021/0.4345, allocations: 5.816 MB / 0.6655 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0049/0.4394, allocations: 1.861 MB / 0.6674 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001804/0.4412, allocations: 0.7816 MB / 0.6681 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001196/0.4413, allocations: 21.31 kB / 0.6681 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002313/0.4436, allocations: 1.016 MB / 0.6691 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=147): time 4.348e-06/0.4436, allocations: 0 / 0.6691 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=147): time 0.01351/0.4571, allocations: 3.622 MB / 0.6727 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003454/0.4575, allocations: 488 kB / 0.6731 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00264/0.4601, allocations: 1.583 MB / 0.6747 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003106/0.4604, allocations: 69.69 kB / 0.6747 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008595/0.4613, allocations: 0.853 MB / 0.6756 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006745/0.462, allocations: 0.5267 MB / 0.6761 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005323/0.4625, allocations: 299.5 kB / 0.6764 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.4626, allocations: 305.1 kB / 0.6767 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001979/0.4646, allocations: 0.7895 MB / 0.6774 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0027/0.4673, allocations: 1.611 MB / 0.679 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01079/0.4781, allocations: 3.697 MB / 0.6826 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/0.4781, allocations: 0 / 0.6826 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.008498/0.4866, allocations: 2.66 MB / 0.6852 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.743e-05/0.4866, allocations: 8 kB / 0.6852 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.301e-05/0.4867, allocations: 8 kB / 0.6852 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001703/0.4884, allocations: 0.5331 MB / 0.6858 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002778/0.4911, allocations: 443.4 kB / 0.6862 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01276/0.5039, allocations: 5.811 MB / 0.6919 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00214/0.506, allocations: 258.9 kB / 0.6921 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001956/0.5062, allocations: 59.98 kB / 0.6922 GB, free: 3.414 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.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = generatorSynchronous.State0 fixed = true ) \"Generator connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) generatorSynchronous.running.value:DISCRETE(flow=false start = generatorSynchronous.Running0 fixed = true ) type: Boolean generatorSynchronous.omegaPu.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 Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002725/0.509, allocations: 1.101 MB / 0.6932 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002533/0.5115, allocations: 1.58 MB / 0.6948 GB, free: 492 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01019/0.5217, allocations: 3.626 MB / 0.6983 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.902e-06/0.5217, allocations: 4 kB / 0.6983 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of matching and sorting (n=208) (initialization_lambda0): time 0.007832/0.5295, allocations: 2.606 MB / 0.7009 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.5296, allocations: 15.44 kB / 0.7009 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.5296, allocations: 12 kB / 0.7009 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00149/0.5311, allocations: 0.5328 MB / 0.7014 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002492/0.5335, allocations: 427.4 kB / 0.7018 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01231/0.5459, allocations: 5.814 MB / 0.7075 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002124/0.548, allocations: 247.1 kB / 0.7077 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000164/0.5481, allocations: 67.98 kB / 0.7078 GB, free: 2.797 MB / 0.5294 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.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = generatorSynchronous.State0 fixed = true ) \"Generator connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) generatorSynchronous.running.value:DISCRETE(flow=false start = generatorSynchronous.Running0 fixed = true ) type: Boolean generatorSynchronous.omegaPu.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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 37 ($PRE.load.state,load.state,$PRE.generatorSynchronous.state,generatorSynchronous.converter.u,generatorSynchronous.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,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,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.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 (178): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (17,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0006464/0.5488, allocations: 352.2 kB / 0.7081 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000436/0.5492, allocations: 210.7 kB / 0.7083 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00741/0.5566, allocations: 2.406 MB / 0.7107 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/0.5567, allocations: 16 kB / 0.7107 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.5567, allocations: 11.92 kB / 0.7107 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.41e-05/0.5567, allocations: 3.984 kB / 0.7107 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00986/0.5665, allocations: 3.896 MB / 0.7145 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.5665, allocations: 0 / 0.7145 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00263/0.5692, allocations: 363.6 kB / 0.7149 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001552/0.5707, allocations: 0.5206 MB / 0.7154 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001523/0.5709, allocations: 35.98 kB / 0.7154 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01189/0.5828, allocations: 5.556 MB / 0.7208 GB, free: 5.113 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5828, allocations: 0 / 0.7208 GB, free: 5.113 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01003/0.5928, allocations: 3.5 MB / 0.7243 GB, free: 1.594 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/0.5939, allocations: 390.1 kB / 0.7246 GB, free: 1.211 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002851/0.5942, allocations: 44.12 kB / 0.7247 GB, free: 1.168 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/0.5955, allocations: 151.8 kB / 0.7248 GB, free: 1.02 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000482/0.596, allocations: 173 kB / 0.725 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/0.5961, allocations: 47.91 kB / 0.725 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001628/0.5977, allocations: 1.057 MB / 0.7261 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.5977, allocations: 4 kB / 0.7261 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002538/0.6003, allocations: 0.8307 MB / 0.7269 GB, free: 14.92 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 22 (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.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 ($whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,generatorSynchronous.running.value,generatorSynchronous.state,generatorSynchronous.converter.u,avr.limPI1.hysteresisMax.y,avr.limPI1.hysteresisMin.y,avr.limPI1.switch1.u2,avr.limPI2.hysteresisMax.y,avr.limPI2.hysteresisMin.y,avr.limPI2.switch1.u2,load.running.value,load.state) * Number of discrete states: 6 (load.running.value,generatorSynchronous.running.value,avr.limPI1.hysteresisMin.y,avr.limPI1.hysteresisMax.y,avr.limPI2.hysteresisMin.y,avr.limPI2.hysteresisMax.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (17,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01136/0.6116, allocations: 4.426 MB / 0.7312 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01022/0.6219, allocations: 3.889 MB / 0.735 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/0.6219, allocations: 4 kB / 0.735 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00388/0.6258, allocations: 1.443 MB / 0.7364 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/0.6277, allocations: 380.5 kB / 0.7368 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03912/0.6668, allocations: 17.32 MB / 0.7537 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/0.6679, allocations: 0.8305 MB / 0.7545 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001355/0.6692, allocations: 243.4 kB / 0.7547 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001186/0.6704, allocations: 0.7687 MB / 0.7555 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of SimCode: time 1.202e-06/0.6704, allocations: 0 / 0.7555 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4109/1.081, allocations: 61.98 MB / 0.816 GB, free: 136.2 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.13/17.22, allocations: 7.344 kB / 0.816 GB, free: 136.2 MB / 0.6075 GB " [Timeout remaining time 643] (rm -f Dynawo_Dynawo.Examples.SMIB.Standard.GovSteamEuSt4b.pipe ; mkfifo Dynawo_Dynawo.Examples.SMIB.Standard.GovSteamEuSt4b.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.SMIB.Standard.GovSteamEuSt4b.pipe >> ../files/Dynawo_Dynawo.Examples.SMIB.Standard.GovSteamEuSt4b.sim & python3 -m fmpy simulate --output-file Dynawo_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_Dynawo_Examples_SMIB_Standard_GovSteamEuSt4b.fmu > Dynawo_Dynawo.Examples.SMIB.Standard.GovSteamEuSt4b.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.738086280878633] Failed to read output from testmodel.py, exit status != 0: 17.42962446110323 17.439847845 17.033976178 Calling exit ...