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.001628/0.001628, allocations: 84.56 kB / 19.96 MB, free: 1.754 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.001755/0.001755, allocations: 166.1 kB / 23.24 MB, free: 4.879 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.36/1.36, allocations: 158.6 MB / 185 MB, free: 6.391 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo): time 0.4318/0.4318, allocations: 76.93 MB / 314.2 MB, free: 7.961 MB / 302.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: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 489 MB, free: 1.648 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.067e-05/3.267e-05, allocations: 6.281 kB / 489 MB, free: 1.641 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SMIB.Standard.GovCt2St4b): time 0.01285/0.01288, allocations: 8.431 MB / 497.4 MB, free: 9.172 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0103/0.02319, allocations: 4.611 MB / 0.4902 GB, free: 4.539 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002171/0.02536, allocations: 47.69 kB / 0.4903 GB, free: 4.492 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.002294/0.02765, allocations: 0.5347 MB / 0.4908 GB, free: 3.957 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 operands is deprecated in non-function contexts. [/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 operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeBindings: time 0.003542/0.03119, allocations: 0.7022 MB / 0.4915 GB, free: 3.25 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 operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.005023/0.03622, allocations: 1.801 MB / 0.4933 GB, free: 1.453 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.2964/0.3326, allocations: 2.894 MB / 0.4961 GB, free: 60.06 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001171/0.3338, allocations: 0.5511 MB / 0.4966 GB, free: 59.94 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001658/0.3355, allocations: 1.024 MB / 0.4976 GB, free: 59.9 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001054/0.3365, allocations: 0.9763 MB / 0.4986 GB, free: 59.78 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003316/0.3369, allocations: 268.9 kB / 0.4988 GB, free: 59.78 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008415/0.3377, allocations: 480.2 kB / 0.4993 GB, free: 59.78 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004965/0.3382, allocations: 0.6677 MB / 0.4999 GB, free: 59.66 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006924/0.3389, allocations: 0.7849 MB / 0.5007 GB, free: 59.54 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003447/0.3423, allocations: 3.585 MB / 0.5042 GB, free: 59.24 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3423, allocations: 3.938 kB / 0.5042 GB, free: 59.23 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3423, allocations: 3.281 kB / 0.5042 GB, free: 59.23 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.043e-05/0.3424, allocations: 2.625 kB / 0.5042 GB, free: 59.23 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.007959/0.3503, allocations: 3.216 MB / 0.5074 GB, free: 57.58 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.3504, allocations: 13.03 kB / 0.5074 GB, free: 57.58 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001536/0.3519, allocations: 437.7 kB / 0.5078 GB, free: 57.41 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0025/0.3544, allocations: 1.449 MB / 0.5092 GB, free: 56.61 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003888/0.3548, allocations: 0.551 MB / 0.5097 GB, free: 56.1 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002506/0.3551, allocations: 167.5 kB / 0.5099 GB, free: 56.04 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003935/0.359, allocations: 2.297 MB / 0.5121 GB, free: 54.7 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/0.359, allocations: 2.25 kB / 0.5121 GB, free: 54.7 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001692/0.3592, allocations: 64.92 kB / 0.5122 GB, free: 54.65 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.136e-05/0.3593, allocations: 39.66 kB / 0.5122 GB, free: 54.65 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003548/0.3628, allocations: 1.597 MB / 0.5138 GB, free: 54.11 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01036/0.3732, allocations: 5.332 MB / 0.519 GB, free: 51.04 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004049/0.3772, allocations: 1.616 MB / 0.5206 GB, free: 50.44 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001654/0.3789, allocations: 0.7807 MB / 0.5214 GB, free: 50.12 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001191/0.379, allocations: 24.53 kB / 0.5214 GB, free: 50.12 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002318/0.3813, allocations: 1.165 MB / 0.5225 GB, free: 49.6 MB / 478.1 MB Notification: Performance of pre-optimization done (n=161): time 4.849e-06/0.3813, allocations: 4 kB / 0.5225 GB, free: 49.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=161): time 0.01309/0.3944, allocations: 3.474 MB / 0.5259 GB, free: 48.47 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/0.3945, allocations: 411.6 kB / 0.5263 GB, free: 48 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003406/0.3979, allocations: 1.919 MB / 0.5282 GB, free: 47.26 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002782/0.3982, allocations: 65.42 kB / 0.5282 GB, free: 47.2 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008043/0.399, allocations: 0.9884 MB / 0.5292 GB, free: 46.42 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005598/0.3996, allocations: 0.5685 MB / 0.5298 GB, free: 45.97 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005371/0.4001, allocations: 292.8 kB / 0.53 GB, free: 45.84 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.164e-05/0.4002, allocations: 302.5 kB / 0.5303 GB, free: 45.54 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001646/0.4018, allocations: 0.7584 MB / 0.5311 GB, free: 45.24 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001919/0.4037, allocations: 1.442 MB / 0.5325 GB, free: 44.16 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01099/0.4147, allocations: 3.808 MB / 0.5362 GB, free: 42.74 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.358e-05/0.4147, allocations: 2.062 kB / 0.5362 GB, free: 42.74 MB / 478.1 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.008218/0.4229, allocations: 2.621 MB / 0.5388 GB, free: 41.58 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.672e-05/0.423, allocations: 14.78 kB / 0.5388 GB, free: 41.58 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-05/0.423, allocations: 6.438 kB / 0.5388 GB, free: 41.58 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00162/0.4246, allocations: 0.5151 MB / 0.5393 GB, free: 41.33 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003264/0.4279, allocations: 0.5071 MB / 0.5398 GB, free: 41.23 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01159/0.4395, allocations: 5.745 MB / 0.5454 GB, free: 36.82 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002625/0.4421, allocations: 223.8 kB / 0.5456 GB, free: 36.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001958/0.4423, allocations: 63.8 kB / 0.5457 GB, free: 36.68 MB / 478.1 MB 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.003132/0.4454, allocations: 1.154 MB / 0.5468 GB, free: 36.03 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001932/0.4474, allocations: 1.427 MB / 0.5482 GB, free: 34.84 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01038/0.4577, allocations: 3.763 MB / 0.5519 GB, free: 32.86 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.436e-05/0.4578, allocations: 1.594 kB / 0.5519 GB, free: 32.86 MB / 478.1 MB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.007555/0.4653, allocations: 2.601 MB / 0.5544 GB, free: 30.47 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.4653, allocations: 12.06 kB / 0.5544 GB, free: 30.46 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.4654, allocations: 4 kB / 0.5544 GB, free: 30.46 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00138/0.4667, allocations: 0.5169 MB / 0.5549 GB, free: 29.93 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00298/0.4697, allocations: 0.5052 MB / 0.5554 GB, free: 29.45 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01189/0.4816, allocations: 5.751 MB / 0.561 GB, free: 23.54 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0026/0.4842, allocations: 243.2 kB / 0.5613 GB, free: 23.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004104/0.4846, allocations: 83.66 kB / 0.5613 GB, free: 23.23 MB / 478.1 MB 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.001077/0.4857, allocations: 344.8 kB / 0.5617 GB, free: 22.9 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009686/0.4867, allocations: 230.6 kB / 0.5619 GB, free: 22.68 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007573/0.4942, allocations: 2.436 MB / 0.5643 GB, free: 20.25 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/0.4942, allocations: 19.98 kB / 0.5643 GB, free: 20.23 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.4942, allocations: 0 / 0.5643 GB, free: 20.23 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.141e-05/0.4943, allocations: 7.969 kB / 0.5643 GB, free: 20.22 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01148/0.5058, allocations: 3.928 MB / 0.5681 GB, free: 16.31 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/0.5058, allocations: 0 / 0.5681 GB, free: 16.31 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003192/0.509, allocations: 469.2 kB / 0.5686 GB, free: 15.87 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001425/0.5104, allocations: 0.5109 MB / 0.5691 GB, free: 15.35 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001735/0.5105, allocations: 39.97 kB / 0.5691 GB, free: 15.31 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01055/0.5211, allocations: 5.491 MB / 0.5745 GB, free: 9.629 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.5211, allocations: 4.031 kB / 0.5745 GB, free: 9.625 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009584/0.5307, allocations: 3.517 MB / 0.5779 GB, free: 6.105 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001414/0.5321, allocations: 433 kB / 0.5783 GB, free: 5.684 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006143/0.5327, allocations: 44 kB / 0.5784 GB, free: 5.641 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001813/0.5345, allocations: 139.8 kB / 0.5785 GB, free: 5.504 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005164/0.535, allocations: 167.8 kB / 0.5787 GB, free: 5.344 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001402/0.5352, allocations: 51.97 kB / 0.5787 GB, free: 5.293 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002566/0.5378, allocations: 1.303 MB / 0.58 GB, free: 3.969 MB / 478.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5378, allocations: 0 / 0.58 GB, free: 3.969 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003689/0.5414, allocations: 0.9435 MB / 0.5809 GB, free: 3.023 MB / 478.1 MB 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.001857/0.5433, allocations: 480 kB / 0.5814 GB, free: 2.738 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009983/0.5533, allocations: 3.809 MB / 0.5851 GB, free: 14.95 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/0.5533, allocations: 4 kB / 0.5851 GB, free: 14.94 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004222/0.5575, allocations: 1.45 MB / 0.5865 GB, free: 13.49 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002963/0.5605, allocations: 363.8 kB / 0.5868 GB, free: 13.15 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/0.5718, allocations: 4.357 MB / 0.5911 GB, free: 8.766 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001669/0.5735, allocations: 0.9622 MB / 0.592 GB, free: 7.762 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001785/0.5753, allocations: 296 kB / 0.5923 GB, free: 7.469 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007079/0.576, allocations: 124.5 kB / 0.5924 GB, free: 7.348 MB / 494.1 MB Notification: Performance of SimCode: time 1.543e-06/0.576, allocations: 0 / 0.5924 GB, free: 7.348 MB / 494.1 MB Notification: Performance of Templates: time 0.07898/0.655, allocations: 41.99 MB / 0.6335 GB, free: 13.63 MB / 0.5294 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: 7.220326315611601] Failed to read output from testmodel.py, exit status != 0: 0.6659697815775871 0.6814868150000001 0.33564334700000004 Calling exit ...