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.001047/0.001047, allocations: 72.95 kB / 20.74 MB, free: 3.75 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.0009439/0.0009439, allocations: 173 kB / 24.16 MB, free: 336 kB / 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.7527/0.7527, allocations: 158.6 MB / 186 MB, free: 2.766 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.3729/0.3729, allocations: 76.92 MB / 315.3 MB, free: 10.63 MB / 298.7 MB " [Timeout remaining time 180] 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 the simulation runtime does not accept it 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 1.353e-06/1.353e-06, allocations: 0 / 366 MB, free: 9.633 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.536e-05, allocations: 2.312 kB / 366 MB, free: 9.629 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SMIB.Standard.GovCt2St4b): time 0.007355/0.00738, allocations: 8.704 MB / 374.7 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006159/0.01354, allocations: 4.863 MB / 379.6 MB, free: 12 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005993/0.01414, allocations: 43.75 kB / 379.6 MB, free: 11.96 MB / 362.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.0008477/0.01499, allocations: 0.5232 MB / 380.1 MB, free: 11.43 MB / 362.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.001044/0.01603, allocations: 0.7099 MB / 380.9 MB, free: 10.72 MB / 362.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.002064/0.01809, allocations: 1.826 MB / 382.7 MB, free: 8.891 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00169/0.01978, allocations: 2.894 MB / 385.6 MB, free: 5.992 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005501/0.02033, allocations: 0.5741 MB / 386.2 MB, free: 5.363 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006602/0.02099, allocations: 1.024 MB / 387.2 MB, free: 4.336 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007668/0.02176, allocations: 0.9851 MB / 388.2 MB, free: 3.348 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000226/0.02199, allocations: 268 kB / 388.4 MB, free: 3.086 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004954/0.02248, allocations: 479.7 kB / 388.9 MB, free: 2.617 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003539/0.02284, allocations: 0.6733 MB / 389.6 MB, free: 1.941 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004496/0.02329, allocations: 0.7788 MB / 390.3 MB, free: 1.16 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001499/0.02478, allocations: 2.101 MB / 392.4 MB, free: 15.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.02479, allocations: 0 / 392.4 MB, free: 15.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.02479, allocations: 0 / 392.4 MB, free: 15.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.0248, allocations: 0 / 392.4 MB, free: 15.05 MB / 378.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.003411/0.02821, allocations: 3.085 MB / 395.5 MB, free: 11.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.84e-05/0.02824, allocations: 12.03 kB / 395.5 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008426/0.02908, allocations: 0.5121 MB / 396.1 MB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.03019, allocations: 1.002 MB / 397.1 MB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002737/0.03046, allocations: 0.5466 MB / 397.6 MB, free: 9.699 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/0.03062, allocations: 168 kB / 397.8 MB, free: 9.535 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.03195, allocations: 1.692 MB / 399.5 MB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.03198, allocations: 3.938 kB / 399.5 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.762e-05/0.03207, allocations: 71.98 kB / 399.5 MB, free: 7.582 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-05/0.03209, allocations: 36 kB / 399.6 MB, free: 7.547 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007159/0.0328, allocations: 0.5077 MB / 400.1 MB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004201/0.037, allocations: 3.815 MB / 403.9 MB, free: 3.117 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.03813, allocations: 0.886 MB / 404.8 MB, free: 2.223 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003279/0.03846, allocations: 268.7 kB / 405 MB, free: 1.961 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.996e-05/0.03855, allocations: 37.3 kB / 405.1 MB, free: 1.926 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006266/0.03917, allocations: 0.7088 MB / 405.8 MB, free: 1.172 MB / 378.7 MB Notification: Performance of pre-optimization done (n=161): time 2.885e-06/0.03918, allocations: 0 / 405.8 MB, free: 1.172 MB / 378.7 MB Notification: Performance of matching and sorting (n=161): time 0.003771/0.04295, allocations: 1.806 MB / 407.6 MB, free: 15.36 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/0.04307, allocations: 414.8 kB / 408 MB, free: 14.86 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.04408, allocations: 1.445 MB / 409.4 MB, free: 13.37 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.509e-05/0.04416, allocations: 65.7 kB / 409.5 MB, free: 13.3 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003151/0.04448, allocations: 0.6232 MB / 410.1 MB, free: 12.66 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00031/0.04479, allocations: 0.5848 MB / 410.7 MB, free: 12.07 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000292/0.04508, allocations: 295.3 kB / 411 MB, free: 11.77 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.932e-05/0.04514, allocations: 301.1 kB / 411.3 MB, free: 11.48 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003238/0.04546, allocations: 219.6 kB / 411.5 MB, free: 11.26 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005528/0.04601, allocations: 0.8741 MB / 412.4 MB, free: 10.18 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.04712, allocations: 1.082 MB / 413.5 MB, free: 9.012 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.04712, allocations: 8 kB / 413.5 MB, free: 9.004 MB / 394.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.002113/0.04924, allocations: 1.298 MB / 414.8 MB, free: 7.691 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.04926, allocations: 11.98 kB / 414.8 MB, free: 7.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.04926, allocations: 4.047 kB / 414.8 MB, free: 7.676 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001246/0.05051, allocations: 0.5606 MB / 415.3 MB, free: 7.109 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.05167, allocations: 475.4 kB / 415.8 MB, free: 6.645 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004356/0.05603, allocations: 4.049 MB / 419.9 MB, free: 2.418 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000582/0.05661, allocations: 187 kB / 420 MB, free: 2.234 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.821e-05/0.05668, allocations: 43.98 kB / 420.1 MB, free: 2.191 MB / 394.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.0006136/0.05729, allocations: 412.3 kB / 420.5 MB, free: 1.793 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005499/0.05784, allocations: 0.878 MB / 421.4 MB, free: 0.7148 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001086/0.05893, allocations: 1.079 MB / 422.4 MB, free: 15.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.817e-06/0.05893, allocations: 0 / 422.4 MB, free: 15.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.002092/0.06102, allocations: 1.306 MB / 423.8 MB, free: 14.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.06103, allocations: 8 kB / 423.8 MB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.06104, allocations: 4 kB / 423.8 MB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/0.06222, allocations: 0.5679 MB / 424.3 MB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.06337, allocations: 467.4 kB / 424.8 MB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004166/0.06754, allocations: 4.047 MB / 428.8 MB, free: 8.984 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005847/0.06812, allocations: 187.1 kB / 429 MB, free: 8.801 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.774e-05/0.06819, allocations: 47.98 kB / 429.1 MB, free: 8.754 MB / 410.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,governor.integratorKIGov.local_reset,governor.integratorKILoad.local_reset,avr.limPI1.integrator.local_reset,avr.limPI2.integrator.local_reset,$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,governor.firstOrdertActuatorRatelim.local_freeze,generatorSynchronous.switchOffSignal1.value,generatorSynchronous.switchOffSignal2.value,generatorSynchronous.switchOffSignal3.value,load.switchOffSignal1.value,load.switchOffSignal2.value) * 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.0003382/0.06853, allocations: 367.2 kB / 429.4 MB, free: 8.395 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002086/0.06874, allocations: 195.7 kB / 429.6 MB, free: 8.203 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002098/0.07084, allocations: 1.275 MB / 430.9 MB, free: 6.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/0.07084, allocations: 16 kB / 430.9 MB, free: 6.895 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.07085, allocations: 4 kB / 430.9 MB, free: 6.891 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.07086, allocations: 7.969 kB / 430.9 MB, free: 6.883 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003126/0.07398, allocations: 2.288 MB / 433.2 MB, free: 4.559 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.07399, allocations: 3.984 kB / 433.2 MB, free: 4.555 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001328/0.07532, allocations: 427.5 kB / 433.6 MB, free: 4.137 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001145/0.07646, allocations: 0.5443 MB / 434.2 MB, free: 3.586 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-05/0.07654, allocations: 35.98 kB / 434.2 MB, free: 3.551 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00391/0.08045, allocations: 3.737 MB / 437.9 MB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.08045, allocations: 8.031 kB / 437.9 MB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002484/0.08293, allocations: 1.704 MB / 439.7 MB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000411/0.08334, allocations: 250.2 kB / 439.9 MB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/0.08349, allocations: 40 kB / 439.9 MB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004803/0.08397, allocations: 95.86 kB / 440 MB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002175/0.08419, allocations: 168.9 kB / 440.2 MB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.636e-05/0.08425, allocations: 35.98 kB / 440.2 MB, free: 13.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005618/0.08481, allocations: 0.7351 MB / 441 MB, free: 12.54 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.08481, allocations: 0 / 441 MB, free: 12.54 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00146/0.08627, allocations: 0.9396 MB / 441.9 MB, free: 11.59 MB / 426.7 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.001025/0.08729, allocations: 0.5223 MB / 442.4 MB, free: 11.26 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002916/0.09021, allocations: 2.383 MB / 444.8 MB, free: 8.832 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.531e-05/0.09023, allocations: 20 kB / 444.8 MB, free: 8.812 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001121/0.09135, allocations: 0.9846 MB / 445.8 MB, free: 7.793 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008783/0.09223, allocations: 417.7 kB / 446.2 MB, free: 7.395 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004083/0.09631, allocations: 3.717 MB / 449.9 MB, free: 3.625 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.09662, allocations: 415.7 kB / 450.3 MB, free: 3.191 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006163/0.09724, allocations: 232.1 kB / 450.6 MB, free: 2.961 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006503/0.09789, allocations: 377.1 kB / 450.9 MB, free: 2.59 MB / 426.7 MB Notification: Performance of SimCode: time 9.42e-07/0.09789, allocations: 4 kB / 450.9 MB, free: 2.586 MB / 426.7 MB Notification: Performance of Templates: time 0.1711/0.269, allocations: 45.88 MB / 496.8 MB, free: 85.03 MB / 442.7 MB " [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=240 -lv LOG_STATS > Dynawo_Dynawo.Examples.SMIB.Standard.GovCt2St4b.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.948497476056218]