Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovCt2St4b.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.001917/0.001917, allocations: 112.1 kB / 16.41 MB, free: 6.449 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.002251/0.002251, allocations: 191.7 kB / 19.35 MB, free: 3.711 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.471/1.471, allocations: 205.1 MB / 227.2 MB, free: 12.14 MB / 190.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.4644/0.4644, allocations: 100.7 MB / 377.3 MB, free: 5 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.GovCt2St4b,fileNamePrefix="Dynawo_dev_Dynawo_Examples_SMIB_Standard_GovCt2St4b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.SMIB.Standard.GovCt2St4b,fileNamePrefix="Dynawo_dev_Dynawo_Examples_SMIB_Standard_GovCt2St4b",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.003362/0.003362, allocations: 67.91 kB / 0.5276 GB, free: 1.926 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3874/0.3907, allocations: 71.47 MB / 0.5974 GB, free: 24.91 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SMIB.Standard.GovCt2St4b): time 0.009039/0.3998, allocations: 9.56 MB / 0.6067 GB, free: 17.27 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007138/0.407, allocations: 4.867 MB / 0.6115 GB, free: 12.78 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00156/0.4086, allocations: 35.88 kB / 0.6115 GB, free: 12.75 MB / 462.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.001259/0.4099, allocations: 0.5235 MB / 0.612 GB, free: 12.22 MB / 462.1 MB [/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'. [/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. Notification: Performance of NFTyping.typeBindings: time 0.001868/0.4118, allocations: 0.6322 MB / 0.6126 GB, free: 11.58 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0-master/Examples/SMIB/Standard/GovCt2St4b.mo:159:3-159: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/GovCt2St4b.mo:160:3-160: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/GovCt2St4b.mo:162:3-162: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.00302/0.4148, allocations: 1.853 MB / 0.6144 GB, free: 9.73 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002375/0.4172, allocations: 2.937 MB / 0.6173 GB, free: 6.789 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008552/0.418, allocations: 0.8558 MB / 0.6181 GB, free: 5.887 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009684/0.419, allocations: 1.085 MB / 0.6192 GB, free: 4.797 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008925/0.4199, allocations: 1.26 MB / 0.6204 GB, free: 3.531 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002844/0.4202, allocations: 264 kB / 0.6207 GB, free: 3.273 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006873/0.4209, allocations: 491.9 kB / 0.6212 GB, free: 2.793 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003646/0.4213, allocations: 0.6579 MB / 0.6218 GB, free: 2.133 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006393/0.4219, allocations: 1.212 MB / 0.623 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003578/0.4255, allocations: 3.494 MB / 0.6264 GB, free: 13.41 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.4255, allocations: 0 / 0.6264 GB, free: 13.41 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4255, allocations: 0 / 0.6264 GB, free: 13.41 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.134e-05/0.4256, allocations: 0 / 0.6264 GB, free: 13.41 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 386 * Number of variables: 386 Notification: Performance of Generate backend data structure: time 0.007966/0.4336, allocations: 3.336 MB / 0.6297 GB, free: 10 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.4336, allocations: 12.03 kB / 0.6297 GB, free: 9.992 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003126/0.4339, allocations: 231.9 kB / 0.6299 GB, free: 9.754 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001554/0.4355, allocations: 454.9 kB / 0.6303 GB, free: 9.309 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002556/0.4381, allocations: 1.526 MB / 0.6318 GB, free: 7.711 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004146/0.4385, allocations: 375.9 kB / 0.6322 GB, free: 7.301 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002501/0.4388, allocations: 163.9 kB / 0.6323 GB, free: 7.141 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003558/0.4423, allocations: 1.928 MB / 0.6342 GB, free: 5.125 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.046e-05/0.4424, allocations: 0 / 0.6342 GB, free: 5.125 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001688/0.4425, allocations: 68 kB / 0.6343 GB, free: 5.059 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.613e-05/0.4426, allocations: 39.94 kB / 0.6343 GB, free: 5.02 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003381/0.446, allocations: 1.597 MB / 0.6359 GB, free: 3.418 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01148/0.4575, allocations: 6.789 MB / 0.6425 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004002/0.4615, allocations: 1.721 MB / 0.6442 GB, free: 10.59 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001704/0.4632, allocations: 0.845 MB / 0.645 GB, free: 9.738 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001319/0.4634, allocations: 33.22 kB / 0.645 GB, free: 9.707 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002174/0.4656, allocations: 1.098 MB / 0.6461 GB, free: 8.582 MB / 494.1 MB Notification: Performance of pre-optimization done (n=160): time 2.996e-06/0.4656, allocations: 0 / 0.6461 GB, free: 8.582 MB / 494.1 MB Notification: Performance of matching and sorting (n=160): time 0.01226/0.4779, allocations: 3.671 MB / 0.6497 GB, free: 4.859 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002893/0.4782, allocations: 436.5 kB / 0.6501 GB, free: 4.332 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003345/0.4815, allocations: 2.069 MB / 0.6521 GB, free: 2.227 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001994/0.4817, allocations: 65.7 kB / 0.6522 GB, free: 2.156 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009443/0.4827, allocations: 0.9646 MB / 0.6531 GB, free: 1.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006373/0.4833, allocations: 0.5693 MB / 0.6537 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005222/0.4839, allocations: 291.5 kB / 0.654 GB, free: 324 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.484, allocations: 305.1 kB / 0.6543 GB, free: 16 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001725/0.4857, allocations: 0.7583 MB / 0.655 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00212/0.4879, allocations: 1.096 MB / 0.6561 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01065/0.4985, allocations: 3.7 MB / 0.6597 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.929e-06/0.4986, allocations: 0 / 0.6597 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.007815/0.5064, allocations: 2.648 MB / 0.6623 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/0.5064, allocations: 8 kB / 0.6623 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.142e-05/0.5065, allocations: 7.938 kB / 0.6623 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001544/0.508, allocations: 0.5286 MB / 0.6628 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002943/0.511, allocations: 0.4994 MB / 0.6633 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01314/0.5241, allocations: 6.162 MB / 0.6693 GB, free: 128 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002239/0.5264, allocations: 238.8 kB / 0.6695 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003678/0.5268, allocations: 67.97 kB / 0.6696 GB, free: 15.82 MB / 0.5137 GB Warning: Assuming fixed start value for the following 13 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.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.derivativetA.x:VARIABLE(start = governor.derivativetA.x_start fixed = true ) \"State of block\" type: Real governor.integratorKIMw.y:VARIABLE(flow=false start = governor.integratorKIMw.Y0 fixed = true ) \"Connector of Real output signal\" 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.002917/0.5297, allocations: 1.07 MB / 0.6706 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001975/0.5317, allocations: 1.014 MB / 0.6716 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01044/0.5422, allocations: 3.505 MB / 0.6751 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.51e-05/0.5422, allocations: 3.984 kB / 0.6751 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=211) (initialization_lambda0): time 0.0072/0.5494, allocations: 2.449 MB / 0.6775 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.5495, allocations: 8 kB / 0.6775 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/0.5495, allocations: 8 kB / 0.6775 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001405/0.5509, allocations: 0.4975 MB / 0.678 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002722/0.5536, allocations: 487.5 kB / 0.6784 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01284/0.5665, allocations: 5.974 MB / 0.6843 GB, free: 348 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001994/0.5685, allocations: 207.2 kB / 0.6845 GB, free: 140 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002558/0.5688, allocations: 59.98 kB / 0.6845 GB, free: 80 kB / 0.5137 GB Warning: Assuming fixed start value for the following 13 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.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.derivativetA.x:VARIABLE(start = governor.derivativetA.x_start fixed = true ) \"State of block\" type: Real governor.integratorKIMw.y:VARIABLE(flow=false start = governor.integratorKIMw.Y0 fixed = true ) \"Connector of Real output signal\" 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: 25 * Number of states: 0 () * Number of discrete variables: 35 ($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.firstOrdertActuatorRatelim.local_freeze,$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,avr.limPI2.integrator.local_reset,avr.limPI1.integrator.local_reset,governor.integratorKILoad.local_reset,governor.integratorKIGov.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (181): * Single equations (assignments): 179 * 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.0008123/0.5696, allocations: 348 kB / 0.6848 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007644/0.5704, allocations: 250.4 kB / 0.6851 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007473/0.5779, allocations: 2.433 MB / 0.6875 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/0.5779, allocations: 16 kB / 0.6875 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/0.5779, allocations: 4 kB / 0.6875 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.722e-05/0.5779, allocations: 11.91 kB / 0.6875 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01081/0.5887, allocations: 4.524 MB / 0.6919 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.5888, allocations: 3.938 kB / 0.6919 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003097/0.5919, allocations: 463.5 kB / 0.6924 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001511/0.5934, allocations: 0.5245 MB / 0.6929 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001732/0.5936, allocations: 43.97 kB / 0.6929 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01216/0.6058, allocations: 5.903 MB / 0.6987 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.6058, allocations: 8.094 kB / 0.6987 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01021/0.616, allocations: 3.512 MB / 0.7021 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00157/0.6177, allocations: 0.5146 MB / 0.7026 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006714/0.6183, allocations: 43.98 kB / 0.7027 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00177/0.6201, allocations: 135.8 kB / 0.7028 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005361/0.6207, allocations: 153.1 kB / 0.7029 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001489/0.6209, allocations: 51.97 kB / 0.703 GB, free: 12.71 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003037/0.6239, allocations: 1.425 MB / 0.7044 GB, free: 11.27 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/0.6239, allocations: 0 / 0.7044 GB, free: 11.27 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003463/0.6274, allocations: 0.8892 MB / 0.7052 GB, free: 10.38 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 23 (governor.derivativeKDGovTDGov.x,generatorSynchronous.omegaPu.value,generatorSynchronous.lambdaDPu,generatorSynchronous.lambdafPu,generatorSynchronous.lambdaQ1Pu,generatorSynchronous.lambdaQ2Pu,generatorSynchronous.theta,governor.derivativetA.x,governor.firstOrdertActuatorRatelim.y,governor.firstOrdertFLoad.y,governor.firstOrdertPElec.y,governor.integratorKIGov.y,governor.integratorKILoad.y,governor.integratorKIMw.y,governor.lastValue.y,governor.rateLimitFsrt.y,governor.rateLimitPRate.y,governor.transferFunctCtB.x_scaled[1],governor.transferFunctSAtSB.x_scaled[1],avr.limPI1.integrator.y,avr.firstOrder.y,avr.limPI2.integrator.y,avr.firstOrder1.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 (132): * Single equations (assignments): 126 * 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.01116/0.6386, allocations: 4.438 MB / 0.7096 GB, free: 6.047 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009867/0.6485, allocations: 3.928 MB / 0.7134 GB, free: 2.074 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.6485, allocations: 0 / 0.7134 GB, free: 2.074 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00376/0.6523, allocations: 1.522 MB / 0.7149 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002658/0.6549, allocations: 373.6 kB / 0.7152 GB, free: 176 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04665/0.7016, allocations: 19.68 MB / 0.7345 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002076/0.7037, allocations: 1.525 MB / 0.736 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001808/0.7056, allocations: 281 kB / 0.7362 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001685/0.7073, allocations: 0.9015 MB / 0.7371 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of SimCode: time 1.373e-06/0.7073, allocations: 0 / 0.7371 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4473/1.155, allocations: 62.6 MB / 0.7982 GB, free: 158.8 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.16/25.32, allocations: 4.5 kB / 0.7982 GB, free: 158.8 MB / 0.6075 GB " [Timeout remaining time 635] (rm -f Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovCt2St4b.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovCt2St4b.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovCt2St4b.pipe >> ../files/Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovCt2St4b.sim & python3 -m fmpy simulate --output-file Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovCt2St4b_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 Dynawo_dev_Dynawo_Examples_SMIB_Standard_GovCt2St4b.fmu > Dynawo_dev_Dynawo.Examples.SMIB.Standard.GovCt2St4b.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 28.791116510052234] Failed to read output from testmodel.py, exit status != 0: 25.499933243962005 25.514799448 25.086362844 Calling exit ...