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.0009818/0.0009818, 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.001078/0.001078, allocations: 169 kB / 24.17 MB, free: 332 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.8835/0.8835, allocations: 158.6 MB / 186 MB, free: 2.77 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.415/0.415, allocations: 76.92 MB / 315.3 MB, free: 10.58 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.613e-06/1.613e-06, allocations: 0 / 366 MB, free: 9.582 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.732e-05/2.893e-05, allocations: 2.312 kB / 366 MB, free: 9.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SMIB.Standard.GovCt2St4b): time 0.008538/0.008567, allocations: 8.763 MB / 374.8 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005965/0.01453, allocations: 4.856 MB / 379.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006653/0.0152, allocations: 47.69 kB / 379.7 MB, free: 11.86 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.0008747/0.01607, allocations: 0.5272 MB / 380.2 MB, free: 11.33 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.001072/0.01714, allocations: 0.7059 MB / 380.9 MB, free: 10.62 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.001925/0.01907, allocations: 1.8 MB / 382.7 MB, free: 8.816 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001894/0.02096, allocations: 2.901 MB / 385.6 MB, free: 5.914 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006166/0.02158, allocations: 0.5741 MB / 386.2 MB, free: 5.285 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008134/0.02239, allocations: 1.02 MB / 387.2 MB, free: 4.262 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008688/0.02326, allocations: 0.989 MB / 388.2 MB, free: 3.27 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002843/0.02355, allocations: 264 kB / 388.5 MB, free: 3.012 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005251/0.02407, allocations: 495.7 kB / 389 MB, free: 2.527 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003707/0.02444, allocations: 0.6655 MB / 389.6 MB, free: 1.859 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000521/0.02496, allocations: 0.7865 MB / 390.4 MB, free: 1.07 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001689/0.02665, allocations: 2.097 MB / 392.5 MB, free: 14.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.02665, allocations: 0 / 392.5 MB, free: 14.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.02666, allocations: 0 / 392.5 MB, free: 14.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.907e-05/0.02667, allocations: 0 / 392.5 MB, free: 14.96 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.003609/0.03028, allocations: 3.092 MB / 395.6 MB, free: 11.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.03032, allocations: 8.031 kB / 395.6 MB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009855/0.0313, allocations: 0.5083 MB / 396.1 MB, free: 11.31 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.03246, allocations: 1.002 MB / 397.1 MB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002776/0.03274, allocations: 0.5505 MB / 397.7 MB, free: 9.609 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/0.03289, allocations: 171.9 kB / 397.9 MB, free: 9.441 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.0343, allocations: 1.696 MB / 399.5 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.03432, allocations: 0 / 399.5 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-05/0.0344, allocations: 68 kB / 399.6 MB, free: 7.492 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.064e-05/0.03442, allocations: 40 kB / 399.7 MB, free: 7.453 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007218/0.03515, allocations: 0.5038 MB / 400.2 MB, free: 6.934 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004133/0.03928, allocations: 3.815 MB / 404 MB, free: 3.027 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.04039, allocations: 0.8829 MB / 404.9 MB, free: 2.133 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003225/0.04072, allocations: 280.6 kB / 405.1 MB, free: 1.859 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.367e-05/0.0408, allocations: 33.3 kB / 405.2 MB, free: 1.828 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006303/0.04143, allocations: 0.7011 MB / 405.9 MB, free: 1.082 MB / 378.7 MB Notification: Performance of pre-optimization done (n=161): time 2.815e-06/0.04143, allocations: 0 / 405.9 MB, free: 1.082 MB / 378.7 MB Notification: Performance of matching and sorting (n=161): time 0.003659/0.04509, allocations: 1.806 MB / 407.7 MB, free: 15.27 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/0.04522, allocations: 414.8 kB / 408.1 MB, free: 14.77 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.04623, allocations: 1.448 MB / 409.5 MB, free: 13.27 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.582e-05/0.04632, allocations: 69.69 kB / 409.6 MB, free: 13.2 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003079/0.04662, allocations: 0.6194 MB / 410.2 MB, free: 12.56 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003133/0.04694, allocations: 0.5887 MB / 410.8 MB, free: 11.97 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002913/0.04723, allocations: 291.4 kB / 411.1 MB, free: 11.68 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.731e-05/0.0473, allocations: 305.1 kB / 411.4 MB, free: 11.38 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003193/0.04761, allocations: 219.6 kB / 411.6 MB, free: 11.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005513/0.04817, allocations: 0.8702 MB / 412.5 MB, free: 10.08 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.04927, allocations: 1.09 MB / 413.6 MB, free: 8.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.04928, allocations: 0 / 413.6 MB, free: 8.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.002094/0.05137, allocations: 1.294 MB / 414.8 MB, free: 7.602 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.05139, allocations: 8 kB / 414.9 MB, free: 7.594 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.0514, allocations: 8 kB / 414.9 MB, free: 7.586 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00129/0.05269, allocations: 0.5645 MB / 415.4 MB, free: 7.016 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/0.05399, allocations: 0.511 MB / 415.9 MB, free: 6.504 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004657/0.05865, allocations: 4.076 MB / 420 MB, free: 2.246 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005981/0.05925, allocations: 199 kB / 420.2 MB, free: 2.051 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-05/0.05932, allocations: 43.98 kB / 420.3 MB, free: 2.008 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.0006133/0.05993, allocations: 403.9 kB / 420.6 MB, free: 1.625 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005463/0.06048, allocations: 0.8741 MB / 421.5 MB, free: 0.5508 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001091/0.06157, allocations: 1.087 MB / 422.6 MB, free: 15.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.759e-06/0.06157, allocations: 4 kB / 422.6 MB, free: 15.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.002125/0.0637, allocations: 1.298 MB / 423.9 MB, free: 14.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.06371, allocations: 8 kB / 423.9 MB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.06372, allocations: 4 kB / 423.9 MB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001133/0.06485, allocations: 0.56 MB / 424.5 MB, free: 13.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.06609, allocations: 0.5033 MB / 425 MB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004377/0.07046, allocations: 4.079 MB / 429.1 MB, free: 8.738 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000602/0.07106, allocations: 191 kB / 429.3 MB, free: 8.551 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.07e-05/0.07113, allocations: 51.98 kB / 429.3 MB, free: 8.5 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.0003503/0.07149, allocations: 364.3 kB / 429.7 MB, free: 8.141 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001966/0.07168, allocations: 191.7 kB / 429.8 MB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00205/0.07373, allocations: 1.263 MB / 431.1 MB, free: 6.672 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.07374, allocations: 16 kB / 431.1 MB, free: 6.656 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.07374, allocations: 11.94 kB / 431.1 MB, free: 6.645 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.07375, allocations: 7.969 kB / 431.1 MB, free: 6.637 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003186/0.07694, allocations: 2.295 MB / 433.4 MB, free: 4.305 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.07694, allocations: 0 / 433.4 MB, free: 4.305 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001375/0.07832, allocations: 455.5 kB / 433.9 MB, free: 3.859 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001273/0.07959, allocations: 0.552 MB / 434.4 MB, free: 3.301 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.482e-05/0.07969, allocations: 39.97 kB / 434.5 MB, free: 3.262 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004064/0.08375, allocations: 3.772 MB / 438.2 MB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.08375, allocations: 0 / 438.2 MB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002487/0.08624, allocations: 1.708 MB / 440 MB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004068/0.08665, allocations: 242.2 kB / 440.2 MB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001537/0.0868, allocations: 48 kB / 440.2 MB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004778/0.08728, allocations: 91.92 kB / 440.3 MB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002629/0.08754, allocations: 168.9 kB / 440.5 MB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-05/0.0876, allocations: 35.97 kB / 440.5 MB, free: 12.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006097/0.08821, allocations: 0.739 MB / 441.3 MB, free: 12.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08821, allocations: 4 kB / 441.3 MB, free: 12.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001721/0.08993, allocations: 0.9357 MB / 442.2 MB, free: 11.27 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.001142/0.09107, allocations: 0.5188 MB / 442.7 MB, free: 10.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003186/0.09426, allocations: 2.386 MB / 445.1 MB, free: 8.516 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.878e-05/0.09428, allocations: 20 kB / 445.1 MB, free: 8.496 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001138/0.09542, allocations: 0.9816 MB / 446.1 MB, free: 7.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009133/0.09633, allocations: 413.9 kB / 446.5 MB, free: 7.082 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004415/0.1007, allocations: 3.726 MB / 450.2 MB, free: 3.309 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.1011, allocations: 411.7 kB / 450.6 MB, free: 2.879 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006729/0.1018, allocations: 228.2 kB / 450.9 MB, free: 2.652 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000706/0.1025, allocations: 381.1 kB / 451.2 MB, free: 2.277 MB / 426.7 MB Notification: Performance of SimCode: time 1.333e-06/0.1025, allocations: 0 / 451.2 MB, free: 2.277 MB / 426.7 MB Notification: Performance of Templates: time 0.1995/0.302, allocations: 45.9 MB / 497.1 MB, free: 84.71 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Dynawo_Dynawo.Examples.SMIB.Standard.GovCt2St4b.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.2102364981547]