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.0008441/0.0008441, allocations: 91.55 kB / 20.97 MB, free: 3.586 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.0009106/0.0009106, allocations: 177.3 kB / 24.28 MB, free: 284 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.848/0.848, allocations: 158.6 MB / 186.1 MB, free: 2.914 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.3997/0.3997, allocations: 76.91 MB / 315.3 MB, free: 10.71 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 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 2.054e-06/2.054e-06, allocations: 0 / 414.4 MB, free: 9.348 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.603e-05/2.808e-05, allocations: 6.25 kB / 414.4 MB, free: 9.34 MB / 394.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SMIB.Standard.GovCt2St4b): time 0.007819/0.007847, allocations: 8.894 MB / 423.3 MB, free: 412 kB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.005531/0.01338, allocations: 4.721 MB / 428 MB, free: 11.66 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006912/0.01407, allocations: 43.75 kB / 428.1 MB, free: 11.62 MB / 410.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.0009572/0.01503, allocations: 0.5271 MB / 428.6 MB, free: 11.09 MB / 410.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.001087/0.01611, allocations: 0.706 MB / 429.3 MB, free: 10.38 MB / 410.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.001917/0.01803, allocations: 1.812 MB / 431.1 MB, free: 8.562 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001737/0.01977, allocations: 2.91 MB / 434 MB, free: 5.645 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005789/0.02035, allocations: 0.5517 MB / 434.6 MB, free: 5.047 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006957/0.02104, allocations: 1.009 MB / 435.6 MB, free: 4.035 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000714/0.02176, allocations: 0.9929 MB / 436.6 MB, free: 3.039 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002246/0.02198, allocations: 264 kB / 436.8 MB, free: 2.781 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004448/0.02243, allocations: 479.6 kB / 437.3 MB, free: 2.312 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003622/0.02279, allocations: 0.6695 MB / 438 MB, free: 1.641 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005182/0.02331, allocations: 0.7865 MB / 438.7 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001647/0.02495, allocations: 2.097 MB / 440.8 MB, free: 14.75 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.02495, allocations: 0 / 440.8 MB, free: 14.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.02496, allocations: 0 / 440.8 MB, free: 14.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.02497, allocations: 0 / 440.8 MB, free: 14.75 MB / 426.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.003776/0.02874, allocations: 3.271 MB / 444.1 MB, free: 11.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.02878, allocations: 8.031 kB / 444.1 MB, free: 11.41 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009318/0.02971, allocations: 0.5927 MB / 444.7 MB, free: 10.81 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001416/0.03113, allocations: 1.386 MB / 446.1 MB, free: 9.363 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002834/0.03141, allocations: 0.5466 MB / 446.6 MB, free: 8.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001728/0.03158, allocations: 172 kB / 446.8 MB, free: 8.562 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0018/0.03338, allocations: 1.841 MB / 448.7 MB, free: 6.504 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.03341, allocations: 4 kB / 448.7 MB, free: 6.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.03351, allocations: 67.94 kB / 448.7 MB, free: 6.434 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.408e-05/0.03354, allocations: 40 kB / 448.8 MB, free: 6.395 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.03471, allocations: 0.7157 MB / 449.5 MB, free: 5.672 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005257/0.03996, allocations: 5.614 MB / 455.1 MB, free: 15.93 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/0.04148, allocations: 0.9917 MB / 456.1 MB, free: 14.93 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005473/0.04203, allocations: 391.4 kB / 456.5 MB, free: 14.55 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.127e-05/0.04212, allocations: 45.23 kB / 456.5 MB, free: 14.5 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008758/0.043, allocations: 0.771 MB / 457.3 MB, free: 13.69 MB / 442.7 MB Notification: Performance of pre-optimization done (n=161): time 2.695e-06/0.043, allocations: 0 / 457.3 MB, free: 13.69 MB / 442.7 MB Notification: Performance of matching and sorting (n=161): time 0.005068/0.04807, allocations: 2.366 MB / 459.7 MB, free: 11.3 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005091/0.04858, allocations: 414.8 kB / 460.1 MB, free: 10.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/0.05, allocations: 1.603 MB / 461.7 MB, free: 9.148 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.447e-05/0.0501, allocations: 65.7 kB / 461.7 MB, free: 9.078 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006173/0.05072, allocations: 1.047 MB / 462.8 MB, free: 8.016 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003619/0.05108, allocations: 0.5693 MB / 463.3 MB, free: 7.441 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003473/0.05143, allocations: 305.2 kB / 463.6 MB, free: 7.133 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.05155, allocations: 484.8 kB / 464.1 MB, free: 6.656 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005852/0.05213, allocations: 343.5 kB / 464.4 MB, free: 6.312 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009632/0.0531, allocations: 1.098 MB / 465.5 MB, free: 4.965 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002282/0.05538, allocations: 1.359 MB / 466.9 MB, free: 3.488 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.05539, allocations: 0 / 466.9 MB, free: 3.488 MB / 442.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.003201/0.05859, allocations: 1.806 MB / 468.7 MB, free: 1.664 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.05861, allocations: 8.406 kB / 468.7 MB, free: 1.656 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.05862, allocations: 11.98 kB / 468.7 MB, free: 1.645 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001449/0.06007, allocations: 0.6003 MB / 469.3 MB, free: 1.035 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.06136, allocations: 479.4 kB / 469.8 MB, free: 0.5664 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1942/0.2556, allocations: 5.396 MB / 475.2 MB, free: 79.13 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/0.257, allocations: 190 kB / 475.4 MB, free: 79.13 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.159e-05/0.257, allocations: 62.34 kB / 475.4 MB, free: 79.13 MB / 442.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.001083/0.2581, allocations: 0.5474 MB / 476 MB, free: 78.99 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007663/0.2589, allocations: 1.101 MB / 477.1 MB, free: 78.09 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001679/0.2606, allocations: 1.352 MB / 478.4 MB, free: 77.72 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.739e-06/0.2606, allocations: 0 / 478.4 MB, free: 77.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.003007/0.2636, allocations: 1.803 MB / 480.2 MB, free: 77.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.2636, allocations: 11.3 kB / 480.3 MB, free: 77.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.2636, allocations: 5.5 kB / 480.3 MB, free: 77.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001362/0.265, allocations: 0.594 MB / 480.9 MB, free: 77.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/0.2662, allocations: 475.8 kB / 481.3 MB, free: 77.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005086/0.2713, allocations: 5.424 MB / 486.7 MB, free: 73.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007288/0.272, allocations: 190.4 kB / 486.9 MB, free: 73.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.078e-05/0.2721, allocations: 69.16 kB / 487 MB, free: 73.83 MB / 442.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.0004178/0.2725, allocations: 451.3 kB / 487.4 MB, free: 73.54 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000275/0.2728, allocations: 283.8 kB / 487.7 MB, free: 73.42 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002909/0.2757, allocations: 1.646 MB / 489.4 MB, free: 73.28 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/0.2757, allocations: 18.12 kB / 489.4 MB, free: 73.27 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.2757, allocations: 6.312 kB / 489.4 MB, free: 73.27 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.2757, allocations: 9.891 kB / 489.4 MB, free: 73.27 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004219/0.28, allocations: 3.052 MB / 492.4 MB, free: 72.83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.28, allocations: 3.094 kB / 492.5 MB, free: 72.83 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001447/0.2814, allocations: 426.6 kB / 492.9 MB, free: 72.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001354/0.2828, allocations: 0.5961 MB / 493.5 MB, free: 72.76 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/0.2829, allocations: 41.42 kB / 493.5 MB, free: 72.76 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004642/0.2875, allocations: 5.082 MB / 498.6 MB, free: 69.17 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2875, allocations: 0 / 498.6 MB, free: 69.17 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003399/0.2909, allocations: 2.225 MB / 0.4891 GB, free: 68.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004913/0.2914, allocations: 426.7 kB / 0.4895 GB, free: 68.27 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001664/0.2916, allocations: 50.11 kB / 0.4895 GB, free: 68.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000534/0.2921, allocations: 101 kB / 0.4896 GB, free: 68.21 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002746/0.2924, allocations: 163.3 kB / 0.4898 GB, free: 68.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.495e-05/0.2924, allocations: 49.95 kB / 0.4898 GB, free: 68.17 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001027/0.2935, allocations: 0.9722 MB / 0.4908 GB, free: 67.82 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2935, allocations: 0 / 0.4908 GB, free: 67.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001996/0.2955, allocations: 0.9412 MB / 0.4917 GB, free: 67.66 MB / 442.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.001083/0.2965, allocations: 448.9 kB / 0.4921 GB, free: 67.49 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004452/0.301, allocations: 2.961 MB / 0.495 GB, free: 66.29 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.301, allocations: 1.281 kB / 0.495 GB, free: 66.29 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001587/0.3026, allocations: 1.217 MB / 0.4962 GB, free: 65.74 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.3036, allocations: 408.4 kB / 0.4966 GB, free: 65.59 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005117/0.3088, allocations: 3.815 MB / 0.5003 GB, free: 63.61 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004379/0.3092, allocations: 413.4 kB / 0.5007 GB, free: 63.49 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007251/0.3099, allocations: 272.2 kB / 0.501 GB, free: 63.42 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003556/0.3103, allocations: 132.7 kB / 0.5011 GB, free: 63.4 MB / 442.7 MB Notification: Performance of SimCode: time 1.463e-06/0.3103, allocations: 1.094 kB / 0.5011 GB, free: 63.4 MB / 442.7 MB Notification: Performance of Templates: time 0.04711/0.3574, allocations: 43.46 MB / 0.5435 GB, free: 32.19 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: 4.408700878964737]