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.0009289/0.0009289, allocations: 87.56 kB / 20.45 MB, free: 4.125 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.0008766/0.0008766, allocations: 165 kB / 23.82 MB, free: 0.75 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8776/0.8776, allocations: 158.6 MB / 185.7 MB, free: 2.922 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.4131/0.4131, allocations: 76.91 MB / 314.9 MB, free: 10.73 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 3.096e-06/3.096e-06, allocations: 0 / 414.5 MB, free: 8.895 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.791e-05/4.101e-05, allocations: 2.312 kB / 414.5 MB, free: 8.891 MB / 394.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SMIB.Standard.GovCt2St4b): time 0.008734/0.008775, allocations: 8.929 MB / 423.5 MB, free: 15.92 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007657/0.01643, allocations: 4.732 MB / 428.2 MB, free: 11.17 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001758/0.01819, allocations: 51.69 kB / 428.3 MB, free: 11.12 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.001721/0.01991, allocations: 0.5194 MB / 428.8 MB, free: 10.59 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.002415/0.02233, allocations: 0.7099 MB / 429.5 MB, free: 9.879 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.003387/0.02571, allocations: 1.816 MB / 431.3 MB, free: 8.059 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003761/0.02947, allocations: 2.91 MB / 434.2 MB, free: 5.141 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008794/0.03035, allocations: 0.5439 MB / 434.8 MB, free: 4.551 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001638/0.03199, allocations: 1.028 MB / 435.8 MB, free: 3.52 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009691/0.03296, allocations: 0.9773 MB / 436.8 MB, free: 2.539 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002553/0.03322, allocations: 264 kB / 437 MB, free: 2.281 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007803/0.034, allocations: 483.6 kB / 437.5 MB, free: 1.809 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004265/0.03442, allocations: 0.6694 MB / 438.2 MB, free: 1.137 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006191/0.03504, allocations: 0.7827 MB / 438.9 MB, free: 360 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002691/0.03773, allocations: 2.105 MB / 441.1 MB, free: 14.24 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.03774, allocations: 0 / 441.1 MB, free: 14.24 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.03774, allocations: 0 / 441.1 MB, free: 14.24 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.209e-05/0.03776, allocations: 0 / 441.1 MB, free: 14.24 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.004518/0.04228, allocations: 3.271 MB / 444.3 MB, free: 10.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.04233, allocations: 12.02 kB / 444.3 MB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.04341, allocations: 0.581 MB / 444.9 MB, free: 10.31 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00177/0.04518, allocations: 1.393 MB / 446.3 MB, free: 8.855 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003244/0.0455, allocations: 0.5467 MB / 446.9 MB, free: 8.223 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001938/0.04569, allocations: 172 kB / 447 MB, free: 8.055 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002109/0.0478, allocations: 1.845 MB / 448.9 MB, free: 5.992 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/0.04783, allocations: 3.938 kB / 448.9 MB, free: 5.988 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.04793, allocations: 64 kB / 448.9 MB, free: 5.926 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.715e-05/0.04796, allocations: 40 kB / 449 MB, free: 5.887 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.04914, allocations: 0.7196 MB / 449.7 MB, free: 5.16 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006432/0.05557, allocations: 5.615 MB / 455.3 MB, free: 15.42 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/0.05721, allocations: 0.9985 MB / 456.3 MB, free: 14.41 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005426/0.05775, allocations: 387.4 kB / 456.7 MB, free: 14.04 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001051/0.05786, allocations: 37.3 kB / 456.7 MB, free: 14 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009039/0.05876, allocations: 0.7826 MB / 457.5 MB, free: 13.17 MB / 442.7 MB Notification: Performance of pre-optimization done (n=161): time 4.308e-06/0.05877, allocations: 0 / 457.5 MB, free: 13.17 MB / 442.7 MB Notification: Performance of matching and sorting (n=161): time 0.005391/0.06416, allocations: 2.366 MB / 459.9 MB, free: 10.79 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001617/0.06432, allocations: 410.8 kB / 460.3 MB, free: 10.29 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001842/0.06616, allocations: 1.603 MB / 461.9 MB, free: 8.637 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001841/0.06634, allocations: 65.7 kB / 461.9 MB, free: 8.566 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000648/0.06699, allocations: 1.043 MB / 463 MB, free: 7.508 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004523/0.06744, allocations: 0.5732 MB / 463.6 MB, free: 6.93 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003997/0.06784, allocations: 305.2 kB / 463.9 MB, free: 6.621 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.06798, allocations: 480.8 kB / 464.3 MB, free: 6.148 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005948/0.06857, allocations: 339.5 kB / 464.7 MB, free: 5.809 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000899/0.06947, allocations: 1.102 MB / 465.8 MB, free: 4.457 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001752/0.07122, allocations: 1.359 MB / 467.1 MB, free: 2.98 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.07123, allocations: 0 / 467.1 MB, free: 2.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.003619/0.07485, allocations: 1.806 MB / 468.9 MB, free: 1.156 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.07487, allocations: 8 kB / 468.9 MB, free: 1.148 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.07489, allocations: 4 kB / 468.9 MB, free: 1.145 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001569/0.07646, allocations: 0.6162 MB / 469.5 MB, free: 0.5195 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/0.07784, allocations: 471.4 kB / 470 MB, free: 60 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2028/0.2806, allocations: 5.395 MB / 475.4 MB, free: 79.13 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/0.282, allocations: 184.4 kB / 475.6 MB, free: 79.13 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/0.2821, allocations: 61.91 kB / 475.6 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.001091/0.2832, allocations: 0.5571 MB / 476.2 MB, free: 78.99 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007728/0.284, allocations: 1.099 MB / 477.3 MB, free: 78.1 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001648/0.2856, allocations: 1.347 MB / 478.6 MB, free: 77.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.312e-06/0.2856, allocations: 1.953 kB / 478.6 MB, free: 77.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.003115/0.2887, allocations: 1.813 MB / 480.5 MB, free: 77.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.2887, allocations: 8.25 kB / 480.5 MB, free: 77.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.2888, allocations: 7.75 kB / 480.5 MB, free: 77.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001426/0.2902, allocations: 0.5921 MB / 481.1 MB, free: 77.58 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.2914, allocations: 468.6 kB / 481.5 MB, free: 77.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005221/0.2966, allocations: 5.432 MB / 487 MB, free: 73.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009325/0.2976, allocations: 189.6 kB / 487.1 MB, free: 73.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-05/0.2977, allocations: 58.94 kB / 487.2 MB, free: 73.84 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.0004818/0.2981, allocations: 458.3 kB / 487.6 MB, free: 73.54 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000288/0.2984, allocations: 281.3 kB / 487.9 MB, free: 73.42 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002869/0.3013, allocations: 1.652 MB / 489.6 MB, free: 73.28 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.3013, allocations: 17.58 kB / 489.6 MB, free: 73.28 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.3013, allocations: 0 / 489.6 MB, free: 73.28 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.3013, allocations: 6.891 kB / 489.6 MB, free: 73.28 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004293/0.3056, allocations: 3.067 MB / 492.7 MB, free: 72.83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.3056, allocations: 0 / 492.7 MB, free: 72.83 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001403/0.307, allocations: 429.3 kB / 493.1 MB, free: 72.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001359/0.3084, allocations: 0.5891 MB / 493.7 MB, free: 72.76 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/0.3085, allocations: 39.52 kB / 493.7 MB, free: 72.76 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004687/0.3132, allocations: 5.079 MB / 498.8 MB, free: 69.17 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3132, allocations: 0 / 498.8 MB, free: 69.17 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003601/0.3168, allocations: 2.227 MB / 0.4893 GB, free: 68.44 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006387/0.3174, allocations: 428.2 kB / 0.4897 GB, free: 68.19 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001801/0.3176, allocations: 46.28 kB / 0.4897 GB, free: 68.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005537/0.3182, allocations: 99.45 kB / 0.4898 GB, free: 68.13 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003046/0.3185, allocations: 164.3 kB / 0.49 GB, free: 68.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.86e-05/0.3185, allocations: 53.25 kB / 0.49 GB, free: 68.09 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001115/0.3196, allocations: 0.9761 MB / 0.491 GB, free: 67.74 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3196, allocations: 0 / 0.491 GB, free: 67.74 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002124/0.3218, allocations: 0.9384 MB / 0.4919 GB, free: 67.58 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.0009877/0.3228, allocations: 435.8 kB / 0.4923 GB, free: 67.41 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004911/0.3277, allocations: 2.969 MB / 0.4952 GB, free: 66.21 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/0.3277, allocations: 1.281 kB / 0.4952 GB, free: 66.21 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001744/0.3294, allocations: 1.207 MB / 0.4964 GB, free: 65.66 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/0.3308, allocations: 424.2 kB / 0.4968 GB, free: 65.51 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006161/0.3369, allocations: 3.818 MB / 0.5005 GB, free: 63.52 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005225/0.3375, allocations: 419.8 kB / 0.5009 GB, free: 63.4 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0009267/0.3384, allocations: 267.7 kB / 0.5012 GB, free: 63.34 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004589/0.3388, allocations: 133.1 kB / 0.5013 GB, free: 63.32 MB / 442.7 MB Notification: Performance of SimCode: time 2.274e-06/0.3388, allocations: 4 kB / 0.5013 GB, free: 63.32 MB / 442.7 MB Notification: Performance of Templates: time 0.04622/0.3851, allocations: 43.46 MB / 0.5438 GB, free: 32.15 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.6324780732393265]