Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.SMIB.Standard.GovCt2St4b.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.001365/0.001365, allocations: 100.3 kB / 20.47 MB, free: 1.242 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.001566/0.001566, allocations: 221.5 kB / 23.77 MB, free: 4.145 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.729/1.729, allocations: 207.7 MB / 234.6 MB, free: 9.969 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.6541/0.6541, allocations: 103.8 MB / 390.7 MB, free: 21.45 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: translateModel(Dynawo.Examples.SMIB.Standard.GovCt2St4b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1500,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.SMIB.Standard.GovCt2St4b") translateModel(Dynawo.Examples.SMIB.Standard.GovCt2St4b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1500,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.SMIB.Standard.GovCt2St4b") [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.00313/0.00313, allocations: 75.89 kB / 0.5521 GB, free: 40 kB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4017/0.4049, allocations: 75.98 MB / 0.6263 GB, free: 9.582 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SMIB.Standard.GovCt2St4b): time 0.009525/0.4144, allocations: 8.435 MB / 0.6345 GB, free: 1.109 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01037/0.4248, allocations: 4.589 MB / 0.639 GB, free: 12.5 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002624/0.4274, allocations: 47.69 kB / 0.6391 GB, free: 12.46 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.002319/0.4297, allocations: 0.5313 MB / 0.6396 GB, free: 11.92 MB / 478.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/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. Notification: Performance of NFTyping.typeBindings: time 0.003686/0.4334, allocations: 0.6908 MB / 0.6403 GB, free: 11.23 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.004673/0.4381, allocations: 1.777 MB / 0.642 GB, free: 9.457 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005262/0.4433, allocations: 2.969 MB / 0.6449 GB, free: 6.477 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00128/0.4446, allocations: 0.5869 MB / 0.6455 GB, free: 5.848 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001904/0.4465, allocations: 1.125 MB / 0.6466 GB, free: 4.719 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001541/0.4481, allocations: 1.283 MB / 0.6478 GB, free: 3.43 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003859/0.4484, allocations: 264 kB / 0.6481 GB, free: 3.172 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.4494, allocations: 495.8 kB / 0.6485 GB, free: 2.688 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006548/0.4501, allocations: 0.6579 MB / 0.6492 GB, free: 2.027 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009904/0.4511, allocations: 0.9672 MB / 0.6501 GB, free: 1.055 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004466/0.4556, allocations: 3.523 MB / 0.6536 GB, free: 13.52 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4556, allocations: 4 kB / 0.6536 GB, free: 13.52 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4556, allocations: 0 / 0.6536 GB, free: 13.52 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.645e-05/0.4556, allocations: 0 / 0.6536 GB, free: 13.52 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: 386 * Number of variables: 386 Notification: Performance of Generate backend data structure: time 0.008325/0.4639, allocations: 3.257 MB / 0.6568 GB, free: 10.21 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.464, allocations: 12.03 kB / 0.6568 GB, free: 10.2 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001542/0.4655, allocations: 435 kB / 0.6572 GB, free: 9.773 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002841/0.4684, allocations: 1.448 MB / 0.6586 GB, free: 8.266 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005634/0.4689, allocations: 0.5467 MB / 0.6591 GB, free: 7.633 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002667/0.4692, allocations: 164 kB / 0.6593 GB, free: 7.473 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003944/0.4731, allocations: 2.302 MB / 0.6615 GB, free: 4.984 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/0.4732, allocations: 3.938 kB / 0.6615 GB, free: 4.98 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001761/0.4733, allocations: 67.98 kB / 0.6616 GB, free: 4.914 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.846e-05/0.4734, allocations: 40 kB / 0.6616 GB, free: 4.875 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003398/0.4768, allocations: 1.604 MB / 0.6632 GB, free: 3.266 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01085/0.4876, allocations: 5.343 MB / 0.6684 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003868/0.4915, allocations: 1.618 MB / 0.67 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001631/0.4931, allocations: 0.7778 MB / 0.6708 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001278/0.4933, allocations: 25.31 kB / 0.6708 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002216/0.4955, allocations: 1.171 MB / 0.6719 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=161): time 4.118e-06/0.4955, allocations: 4 kB / 0.6719 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=161): time 0.01153/0.507, allocations: 3.485 MB / 0.6753 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000278/0.5073, allocations: 410.9 kB / 0.6757 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003328/0.5106, allocations: 1.908 MB / 0.6776 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002154/0.5108, allocations: 65.7 kB / 0.6777 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001003/0.5118, allocations: 0.9828 MB / 0.6786 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007611/0.5126, allocations: 0.5771 MB / 0.6792 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005599/0.5132, allocations: 291.5 kB / 0.6795 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.5133, allocations: 309.1 kB / 0.6798 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001727/0.515, allocations: 0.7544 MB / 0.6805 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002242/0.5173, allocations: 1.44 MB / 0.6819 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01031/0.5276, allocations: 3.8 MB / 0.6856 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/0.5276, allocations: 4 kB / 0.6856 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.00748/0.5351, allocations: 2.617 MB / 0.6882 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.5351, allocations: 8 kB / 0.6882 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.819e-05/0.5351, allocations: 7.984 kB / 0.6882 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001493/0.5366, allocations: 0.5285 MB / 0.6887 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002677/0.5393, allocations: 0.511 MB / 0.6892 GB, free: 8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01174/0.551, allocations: 5.754 MB / 0.6948 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00191/0.5529, allocations: 230.9 kB / 0.695 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/0.5531, allocations: 63.98 kB / 0.6951 GB, free: 1.766 MB / 0.5137 GB Warning: Assuming fixed start value for the following 15 variables: load.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = load.State0 fixed = true ) \"Load connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) generatorSynchronous.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = generatorSynchronous.State0 fixed = true ) \"Generator connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) 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 governor.transferFunctCtB.x_scaled[1]:VARIABLE(start = governor.transferFunctCtB.a_end * governor.transferFunctCtB.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] governor.transferFunctSAtSB.x_scaled[1]:VARIABLE(start = governor.transferFunctSAtSB.a_end * governor.transferFunctSAtSB.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] 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.002562/0.5556, allocations: 1.156 MB / 0.6962 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002127/0.5578, allocations: 1.425 MB / 0.6976 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01002/0.5678, allocations: 3.76 MB / 0.7013 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.194e-06/0.5678, allocations: 0 / 0.7013 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.007277/0.5751, allocations: 2.594 MB / 0.7038 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.5751, allocations: 12.09 kB / 0.7038 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.5751, allocations: 4 kB / 0.7038 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001436/0.5765, allocations: 0.5284 MB / 0.7044 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0027/0.5792, allocations: 0.5033 MB / 0.7048 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01174/0.591, allocations: 5.756 MB / 0.7105 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002278/0.5933, allocations: 235.1 kB / 0.7107 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001797/0.5934, allocations: 63.98 kB / 0.7108 GB, free: 1.23 MB / 0.5294 GB Warning: Assuming fixed start value for the following 15 variables: load.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = load.State0 fixed = true ) \"Load connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) generatorSynchronous.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = generatorSynchronous.State0 fixed = true ) \"Generator connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) 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 governor.transferFunctCtB.x_scaled[1]:VARIABLE(start = governor.transferFunctCtB.a_end * governor.transferFunctCtB.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] governor.transferFunctSAtSB.x_scaled[1]:VARIABLE(start = governor.transferFunctSAtSB.a_end * governor.transferFunctSAtSB.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] 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: 27 * 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 (186): * Single equations (assignments): 184 * 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.0007896/0.5942, allocations: 356.6 kB / 0.7111 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006167/0.5948, allocations: 238.5 kB / 0.7113 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007079/0.6019, allocations: 2.427 MB / 0.7137 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.718e-05/0.6019, allocations: 12 kB / 0.7137 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.6019, allocations: 4 kB / 0.7137 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-05/0.602, allocations: 7.969 kB / 0.7137 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009554/0.6115, allocations: 3.926 MB / 0.7176 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.6115, allocations: 0 / 0.7176 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002942/0.6145, allocations: 463.5 kB / 0.718 GB, free: 9.742 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00149/0.616, allocations: 0.5288 MB / 0.7185 GB, free: 9.207 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001485/0.6161, allocations: 47.86 kB / 0.7186 GB, free: 9.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01148/0.6276, allocations: 5.487 MB / 0.7239 GB, free: 3.465 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.6276, allocations: 0 / 0.7239 GB, free: 3.465 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01027/0.6379, allocations: 3.514 MB / 0.7273 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001976/0.6398, allocations: 433.9 kB / 0.7278 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003427/0.6402, allocations: 44.19 kB / 0.7278 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001379/0.6416, allocations: 139.8 kB / 0.7279 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006075/0.6422, allocations: 164.9 kB / 0.7281 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/0.6423, allocations: 51.97 kB / 0.7281 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002554/0.6449, allocations: 1.306 MB / 0.7294 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.6449, allocations: 0 / 0.7294 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003432/0.6483, allocations: 0.9396 MB / 0.7303 GB, free: 12.84 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 23 (generatorSynchronous.omegaPu.value,generatorSynchronous.lambdaDPu,generatorSynchronous.lambdafPu,generatorSynchronous.lambdaQ1Pu,generatorSynchronous.lambdaQ2Pu,generatorSynchronous.theta,governor.derivativetA.x,governor.derivativeKDGovTDGov.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 (133): * Single equations (assignments): 127 * 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.002046/0.6503, allocations: 471.1 kB / 0.7308 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01033/0.6607, allocations: 3.842 MB / 0.7345 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.508e-05/0.6607, allocations: 4 kB / 0.7345 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003961/0.6646, allocations: 1.444 MB / 0.7359 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002515/0.6672, allocations: 364.7 kB / 0.7363 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00962/0.6768, allocations: 4.629 MB / 0.7408 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001169/0.6779, allocations: 0.9584 MB / 0.7418 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007659/0.6787, allocations: 139.4 kB / 0.7419 GB, free: 1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.343e-06/0.6787, allocations: 0 / 0.7419 GB, free: 1 MB / 0.5606 GB Notification: Performance of Templates: time 0.07404/0.7527, allocations: 48.67 MB / 0.7894 GB, free: 388 kB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f Dynawo_Dynawo.Examples.SMIB.Standard.GovCt2St4b.makefile [Timeout 660] (rm -f Dynawo_Dynawo.Examples.SMIB.Standard.GovCt2St4b.pipe ; mkfifo Dynawo_Dynawo.Examples.SMIB.Standard.GovCt2St4b.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.SMIB.Standard.GovCt2St4b.pipe >> ../files/Dynawo_Dynawo.Examples.SMIB.Standard.GovCt2St4b.sim & ./Dynawo_Dynawo.Examples.SMIB.Standard.GovCt2St4b -initialStepSize=0.001 -lv=LOG_STATS -nls=kinsol -s=ida -nlsLS=klu -maxIntegrationOrder=2 -maxStepSize=10 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Dynawo_Dynawo.Examples.SMIB.Standard.GovCt2St4b.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.4277064629714] Failed to read output from testmodel.py, exit status != 0: 1.17246716999216 1.183902971 0.725752569 Calling exit ...