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.00102/0.00102, allocations: 80.45 kB / 20.71 MB, free: 3.859 MB / 18.57 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.0008645/0.0008645, allocations: 169.2 kB / 23.98 MB, free: 0.582 MB / 18.57 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 0.9129/0.9129, allocations: 158.6 MB / 185.7 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] 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.406/0.406, allocations: 76.91 MB / 314.9 MB, free: 10.72 MB / 298.7 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.124e-06/2.124e-06, allocations: 0 / 489.7 MB, free: 28.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.869e-05/4.082e-05, allocations: 4.938 kB / 489.7 MB, free: 28.29 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SMIB.Standard.GovCt2St4b): time 0.007873/0.007914, allocations: 8.45 MB / 498.1 MB, free: 22.61 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.005834/0.01375, allocations: 4.607 MB / 0.491 GB, free: 19.36 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.01477, allocations: 47.19 kB / 0.491 GB, free: 19.34 MB / 442.7 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.001087/0.01585, allocations: 0.5287 MB / 0.4915 GB, free: 19.06 MB / 442.7 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.001284/0.01714, allocations: 0.7056 MB / 0.4922 GB, free: 18.59 MB / 442.7 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.002039/0.01918, allocations: 1.795 MB / 0.494 GB, free: 17.54 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002046/0.02122, allocations: 2.903 MB / 0.4968 GB, free: 16.06 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006538/0.02188, allocations: 0.5486 MB / 0.4973 GB, free: 15.71 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007963/0.02267, allocations: 1.028 MB / 0.4983 GB, free: 15.19 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008444/0.02352, allocations: 0.9796 MB / 0.4993 GB, free: 14.81 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003179/0.02383, allocations: 265.9 kB / 0.4996 GB, free: 14.81 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006191/0.02445, allocations: 478.4 kB / 0.5 GB, free: 14.75 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003854/0.02484, allocations: 0.6744 MB / 0.5007 GB, free: 14.3 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005328/0.02537, allocations: 0.7836 MB / 0.5014 GB, free: 13.84 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003107/0.02848, allocations: 3.578 MB / 0.5049 GB, free: 12.41 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.02848, allocations: 4 kB / 0.5049 GB, free: 12.41 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.02849, allocations: 0 / 0.5049 GB, free: 12.41 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.225e-05/0.02851, allocations: 9.094 kB / 0.5049 GB, free: 12.4 MB / 442.7 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.005045/0.03355, allocations: 3.219 MB / 0.5081 GB, free: 10.6 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.03361, allocations: 10.69 kB / 0.5081 GB, free: 10.6 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009234/0.03453, allocations: 443.8 kB / 0.5085 GB, free: 10.43 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001951/0.03648, allocations: 1.45 MB / 0.5099 GB, free: 9.535 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003191/0.0368, allocations: 0.5438 MB / 0.5105 GB, free: 9.027 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002244/0.03702, allocations: 161.7 kB / 0.5106 GB, free: 8.973 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0028/0.03982, allocations: 2.305 MB / 0.5129 GB, free: 7.617 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.937e-05/0.03985, allocations: 1.219 kB / 0.5129 GB, free: 7.617 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001223/0.03997, allocations: 65.39 kB / 0.5129 GB, free: 7.57 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.563e-05/0.04001, allocations: 40.66 kB / 0.513 GB, free: 7.566 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002459/0.04247, allocations: 1.601 MB / 0.5145 GB, free: 7.008 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006638/0.04911, allocations: 5.326 MB / 0.5197 GB, free: 3.797 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00249/0.0516, allocations: 1.61 MB / 0.5213 GB, free: 3.18 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/0.05268, allocations: 0.7858 MB / 0.5221 GB, free: 2.863 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.884e-05/0.05278, allocations: 23.5 kB / 0.5221 GB, free: 2.859 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001443/0.05422, allocations: 1.169 MB / 0.5232 GB, free: 2.211 MB / 442.7 MB Notification: Performance of pre-optimization done (n=161): time 3.577e-06/0.05422, allocations: 1.188 kB / 0.5232 GB, free: 2.211 MB / 442.7 MB Notification: Performance of matching and sorting (n=161): time 0.006628/0.06085, allocations: 3.489 MB / 0.5266 GB, free: 400 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001519/0.061, allocations: 409.5 kB / 0.527 GB, free: 15.92 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002165/0.06317, allocations: 1.906 MB / 0.5289 GB, free: 14.9 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.06328, allocations: 68.47 kB / 0.529 GB, free: 14.84 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006347/0.06391, allocations: 0.9898 MB / 0.5299 GB, free: 13.96 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004509/0.06436, allocations: 0.5698 MB / 0.5305 GB, free: 13.45 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003723/0.06473, allocations: 296.6 kB / 0.5308 GB, free: 13.27 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.232e-05/0.06481, allocations: 302.5 kB / 0.5311 GB, free: 12.98 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/0.06588, allocations: 0.7574 MB / 0.5318 GB, free: 12.59 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001409/0.06729, allocations: 1.438 MB / 0.5332 GB, free: 11.39 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005968/0.07326, allocations: 3.804 MB / 0.5369 GB, free: 8.184 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.07327, allocations: 4 kB / 0.5369 GB, free: 8.18 MB / 458.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.003996/0.07726, allocations: 2.617 MB / 0.5395 GB, free: 5.547 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.07729, allocations: 8 kB / 0.5395 GB, free: 5.539 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.0773, allocations: 8.406 kB / 0.5395 GB, free: 5.531 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008563/0.07816, allocations: 0.5208 MB / 0.54 GB, free: 5.004 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/0.07949, allocations: 0.5072 MB / 0.5405 GB, free: 4.496 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00689/0.08638, allocations: 5.757 MB / 0.5461 GB, free: 14.56 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009129/0.0873, allocations: 231 kB / 0.5463 GB, free: 14.33 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.21e-05/0.08739, allocations: 63.98 kB / 0.5464 GB, free: 14.27 MB / 474.7 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.001685/0.08907, allocations: 1.144 MB / 0.5475 GB, free: 13.13 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001272/0.09035, allocations: 1.421 MB / 0.5489 GB, free: 11.51 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005552/0.0959, allocations: 3.78 MB / 0.5526 GB, free: 7.641 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.099e-06/0.0959, allocations: 3.984 kB / 0.5526 GB, free: 7.637 MB / 474.7 MB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.00396/0.09986, allocations: 2.593 MB / 0.5551 GB, free: 5.027 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.09988, allocations: 8 kB / 0.5551 GB, free: 5.02 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.393e-06/0.09989, allocations: 4.406 kB / 0.5551 GB, free: 5.016 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007803/0.1007, allocations: 0.5208 MB / 0.5557 GB, free: 4.488 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/0.102, allocations: 0.5033 MB / 0.5561 GB, free: 3.984 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006751/0.1087, allocations: 5.756 MB / 0.5618 GB, free: 14.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009195/0.1096, allocations: 239.1 kB / 0.562 GB, free: 13.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.623e-05/0.1097, allocations: 59.98 kB / 0.5621 GB, free: 13.75 MB / 490.7 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.0005519/0.1103, allocations: 377 kB / 0.5624 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000258/0.1105, allocations: 226.6 kB / 0.5626 GB, free: 13.16 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003874/0.1144, allocations: 2.431 MB / 0.565 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.1144, allocations: 19.94 kB / 0.565 GB, free: 10.69 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.1144, allocations: 0 / 0.565 GB, free: 10.69 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.1144, allocations: 7.969 kB / 0.565 GB, free: 10.68 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00557/0.12, allocations: 3.928 MB / 0.5689 GB, free: 6.703 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.12, allocations: 0 / 0.5689 GB, free: 6.703 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001504/0.1215, allocations: 463.5 kB / 0.5693 GB, free: 6.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007966/0.1223, allocations: 0.5245 MB / 0.5698 GB, free: 5.719 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-05/0.1224, allocations: 39.98 kB / 0.5699 GB, free: 5.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006395/0.1288, allocations: 5.479 MB / 0.5752 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1288, allocations: 4.031 kB / 0.5752 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004958/0.1338, allocations: 3.522 MB / 0.5787 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006006/0.1344, allocations: 429.9 kB / 0.5791 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/0.1345, allocations: 47.94 kB / 0.5791 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006698/0.1352, allocations: 135.8 kB / 0.5792 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002874/0.1355, allocations: 165 kB / 0.5794 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-05/0.1355, allocations: 47.98 kB / 0.5794 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001385/0.1369, allocations: 1.303 MB / 0.5807 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.1369, allocations: 4 kB / 0.5807 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002192/0.1391, allocations: 0.9397 MB / 0.5816 GB, free: 9.352 MB / 0.4948 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.00108/0.1402, allocations: 488.5 kB / 0.5821 GB, free: 9.047 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005355/0.1456, allocations: 3.8 MB / 0.5858 GB, free: 5.207 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.1456, allocations: 4 kB / 0.5858 GB, free: 5.203 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001876/0.1474, allocations: 1.452 MB / 0.5872 GB, free: 3.727 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.1486, allocations: 365 kB / 0.5876 GB, free: 3.387 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005758/0.1544, allocations: 4.415 MB / 0.5919 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007237/0.1551, allocations: 0.9584 MB / 0.5928 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003905/0.1555, allocations: 144.5 kB / 0.593 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of SimCode: time 1.212e-06/0.1555, allocations: 0 / 0.593 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of Templates: time 0.03597/0.1915, allocations: 48.79 MB / 0.6406 GB, free: 13.05 MB / 0.5573 GB " [Timeout remaining time 660] 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.4473723247647285] Failed to read output from testmodel.py, exit status != 0: 0.197594846598804 0.20594583200000002 0.17575384300000002 Calling exit ...