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.001644/0.001644, allocations: 75.77 kB / 20.53 MB, free: 1.105 MB / 14.72 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.001634/0.001634, allocations: 166 kB / 23.78 MB, free: 4.184 MB / 14.72 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 1.262/1.262, allocations: 158.6 MB / 185.5 MB, free: 6.25 MB / 174.1 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.5284/0.5284, allocations: 76.97 MB / 314.8 MB, free: 12.75 MB / 302.1 MB " [Timeout remaining time 179] Using package Dynawo with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -emit_protected=() since it seems broken on HelloWorld Running command: translateModel(Dynawo.Examples.SMIB.Standard.GovCt2St4b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1500,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.SMIB.Standard.GovCt2St4b") translateModel(Dynawo.Examples.SMIB.Standard.GovCt2St4b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1500,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.SMIB.Standard.GovCt2St4b") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002481/0.002481, allocations: 71.83 kB / 489.4 MB, free: 31.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1309, allocations: 75.96 MB / 0.5521 GB, free: 13.11 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SMIB.Standard.GovCt2St4b): time 0.01155/0.1425, allocations: 8.428 MB / 0.5604 GB, free: 4.641 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.008605/0.1511, allocations: 4.604 MB / 0.5648 GB, free: 20 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/0.1522, allocations: 47.73 kB / 0.5649 GB, free: 15.97 MB / 494.1 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.001308/0.1535, allocations: 0.5273 MB / 0.5654 GB, free: 15.44 MB / 494.1 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 numbers is only allowed inside functions. [/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 numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.001634/0.1551, allocations: 0.683 MB / 0.5661 GB, free: 14.75 MB / 494.1 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 numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.00345/0.1586, allocations: 1.772 MB / 0.5678 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003509/0.1621, allocations: 2.976 MB / 0.5707 GB, free: 10 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009213/0.163, allocations: 0.5439 MB / 0.5712 GB, free: 9.418 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001569/0.1646, allocations: 1.121 MB / 0.5723 GB, free: 8.293 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001455/0.166, allocations: 1.158 MB / 0.5735 GB, free: 7.129 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003658/0.1664, allocations: 268 kB / 0.5737 GB, free: 6.867 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008388/0.1672, allocations: 483.8 kB / 0.5742 GB, free: 6.395 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006014/0.1678, allocations: 0.654 MB / 0.5748 GB, free: 5.738 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009209/0.1687, allocations: 0.9673 MB / 0.5758 GB, free: 4.766 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00407/0.1728, allocations: 3.529 MB / 0.5792 GB, free: 1.223 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1728, allocations: 0 / 0.5792 GB, free: 1.223 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1728, allocations: 0 / 0.5792 GB, free: 1.223 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.105e-05/0.1728, allocations: 0 / 0.5792 GB, free: 1.223 MB / 494.1 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.007952/0.1808, allocations: 3.257 MB / 0.5824 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.1808, allocations: 12.03 kB / 0.5824 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00155/0.1824, allocations: 439 kB / 0.5828 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002703/0.1851, allocations: 1.448 MB / 0.5842 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005442/0.1856, allocations: 0.5467 MB / 0.5848 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002559/0.1859, allocations: 160 kB / 0.5849 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003808/0.1897, allocations: 2.302 MB / 0.5872 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.404e-05/0.1897, allocations: 3.938 kB / 0.5872 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001697/0.1899, allocations: 71.98 kB / 0.5872 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.354e-05/0.1899, allocations: 40 kB / 0.5873 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003439/0.1934, allocations: 1.596 MB / 0.5888 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01031/0.2037, allocations: 5.347 MB / 0.5941 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003787/0.2075, allocations: 1.607 MB / 0.5956 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001626/0.2091, allocations: 0.7855 MB / 0.5964 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/0.2092, allocations: 29.31 kB / 0.5964 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002206/0.2114, allocations: 1.159 MB / 0.5976 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=161): time 4.167e-06/0.2114, allocations: 4 kB / 0.5976 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=161): time 0.01208/0.2235, allocations: 3.492 MB / 0.601 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002573/0.2238, allocations: 406.9 kB / 0.6014 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003853/0.2276, allocations: 1.919 MB / 0.6032 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002543/0.2279, allocations: 65.7 kB / 0.6033 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001078/0.2289, allocations: 0.9829 MB / 0.6043 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007856/0.2297, allocations: 0.5732 MB / 0.6048 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000667/0.2304, allocations: 287.5 kB / 0.6051 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.2305, allocations: 313.1 kB / 0.6054 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001804/0.2323, allocations: 0.7544 MB / 0.6061 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002353/0.2347, allocations: 1.44 MB / 0.6075 GB, free: 3.277 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01078/0.2455, allocations: 3.811 MB / 0.6113 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.238e-05/0.2455, allocations: 4 kB / 0.6113 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.007584/0.2531, allocations: 2.613 MB / 0.6138 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.999e-05/0.2531, allocations: 8 kB / 0.6138 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/0.2531, allocations: 4 kB / 0.6138 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001556/0.2547, allocations: 0.5217 MB / 0.6143 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002809/0.2575, allocations: 0.5072 MB / 0.6148 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01226/0.2697, allocations: 5.766 MB / 0.6205 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002026/0.2718, allocations: 230.9 kB / 0.6207 GB, free: 5.523 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002908/0.2721, allocations: 64.05 kB / 0.6207 GB, free: 5.461 MB / 0.5294 GB 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.002936/0.275, allocations: 1.155 MB / 0.6219 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002445/0.2774, allocations: 1.421 MB / 0.6233 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01111/0.2886, allocations: 3.776 MB / 0.6269 GB, free: 14.83 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.16e-05/0.2886, allocations: 0 / 0.6269 GB, free: 14.83 MB / 0.545 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.008121/0.2967, allocations: 2.586 MB / 0.6295 GB, free: 12.23 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.2967, allocations: 12 kB / 0.6295 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/0.2967, allocations: 4 kB / 0.6295 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00157/0.2983, allocations: 0.5323 MB / 0.63 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002979/0.3013, allocations: 0.5033 MB / 0.6305 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01246/0.3137, allocations: 5.745 MB / 0.6361 GB, free: 5.223 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002278/0.316, allocations: 235.1 kB / 0.6363 GB, free: 4.992 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003286/0.3163, allocations: 63.98 kB / 0.6364 GB, free: 4.93 MB / 0.545 GB 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.0008698/0.3172, allocations: 355.4 kB / 0.6367 GB, free: 4.582 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000745/0.318, allocations: 238.5 kB / 0.637 GB, free: 4.348 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007591/0.3256, allocations: 2.431 MB / 0.6393 GB, free: 1.895 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/0.3256, allocations: 16 kB / 0.6393 GB, free: 1.879 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.3256, allocations: 0 / 0.6393 GB, free: 1.879 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-05/0.3256, allocations: 7.969 kB / 0.6394 GB, free: 1.871 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01064/0.3362, allocations: 3.926 MB / 0.6432 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.3362, allocations: 0 / 0.6432 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003203/0.3395, allocations: 463.5 kB / 0.6436 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00157/0.341, allocations: 0.5249 MB / 0.6441 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002284/0.3413, allocations: 39.92 kB / 0.6442 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01189/0.3531, allocations: 5.503 MB / 0.6496 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3531, allocations: 0 / 0.6496 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009934/0.3631, allocations: 3.51 MB / 0.653 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001288/0.3644, allocations: 437.9 kB / 0.6534 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005162/0.3649, allocations: 40 kB / 0.6534 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001661/0.3665, allocations: 139.8 kB / 0.6536 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004851/0.367, allocations: 164.9 kB / 0.6537 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001468/0.3672, allocations: 47.97 kB / 0.6538 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002692/0.3699, allocations: 1.31 MB / 0.6551 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.3699, allocations: 0 / 0.6551 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003234/0.3731, allocations: 0.9357 MB / 0.656 GB, free: 0.5352 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 23 (generatorSynchronous.omegaPu.value,generatorSynchronous.lambdaDPu,generatorSynchronous.lambdafPu,generatorSynchronous.lambdaQ1Pu,generatorSynchronous.lambdaQ2Pu,generatorSynchronous.theta,governor.derivativetA.x,governor.derivativeKDGovTDGov.x,governor.firstOrdertActuatorRatelim.y,governor.firstOrdertFLoad.y,governor.firstOrdertPElec.y,governor.integratorKIGov.y,governor.integratorKILoad.y,governor.integratorKIMw.y,governor.lastValue.y,governor.rateLimitFsrt.y,governor.rateLimitPRate.y,governor.transferFunctCtB.x_scaled[1],governor.transferFunctSAtSB.x_scaled[1],avr.limPI1.integrator.y,avr.firstOrder.y,avr.limPI2.integrator.y,avr.firstOrder1.y) * Number of discrete variables: 17 ($whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,generatorSynchronous.running.value,generatorSynchronous.state,generatorSynchronous.converter.u,avr.limPI1.hysteresisMax.y,avr.limPI1.hysteresisMin.y,avr.limPI1.switch1.u2,avr.limPI2.hysteresisMax.y,avr.limPI2.hysteresisMin.y,avr.limPI2.switch1.u2,load.running.value,load.state) * Number of discrete states: 6 (load.running.value,generatorSynchronous.running.value,avr.limPI1.hysteresisMin.y,avr.limPI1.hysteresisMax.y,avr.limPI2.hysteresisMin.y,avr.limPI2.hysteresisMax.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (133): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (17,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001715/0.3748, allocations: 477.9 kB / 0.6564 GB, free: 224 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009669/0.3845, allocations: 3.838 MB / 0.6602 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.3845, allocations: 0 / 0.6602 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003603/0.3881, allocations: 1.444 MB / 0.6616 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/0.3903, allocations: 365.7 kB / 0.6619 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009736/0.4, allocations: 4.561 MB / 0.6664 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001399/0.4014, allocations: 0.9623 MB / 0.6673 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00132/0.4028, allocations: 288.1 kB / 0.6676 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005352/0.4033, allocations: 128.5 kB / 0.6677 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of SimCode: time 6.31e-07/0.4033, allocations: 0 / 0.6677 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.3394/0.7427, allocations: 42.23 MB / 0.709 GB, free: 121.5 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f Dynawo_Dynawo.Examples.SMIB.Standard.GovCt2St4b.makefile [Timeout 660] (rm -f Dynawo_Dynawo.Examples.SMIB.Standard.GovCt2St4b.pipe ; mkfifo Dynawo_Dynawo.Examples.SMIB.Standard.GovCt2St4b.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.SMIB.Standard.GovCt2St4b.pipe >> ../files/Dynawo_Dynawo.Examples.SMIB.Standard.GovCt2St4b.sim & ./Dynawo_Dynawo.Examples.SMIB.Standard.GovCt2St4b -initialStepSize=0.001 -lv=LOG_STATS -nls=kinsol -s=ida -nlsLS=klu -maxIntegrationOrder=2 -maxStepSize=10 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > Dynawo_Dynawo.Examples.SMIB.Standard.GovCt2St4b.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.056980223977007] Failed to read output from testmodel.py, exit status != 0: 0.751996606006287 0.761195663 0.58615952 Calling exit ...