Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.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.00137/0.00137, allocations: 82.95 kB / 19.96 MB, free: 1.758 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.001456/0.001456, allocations: 169.2 kB / 23.23 MB, free: 4.887 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.323/1.323, allocations: 158.6 MB / 185 MB, free: 6.402 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.5878/0.5878, allocations: 76.93 MB / 314.2 MB, free: 13.15 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 -noHomotopyOnFirstTry=() since it seems broken on HelloWorld Ignoring simflag -noemit -noRestart=() since it seems broken on HelloWorld Ignoring simflag -noemit -noRootFinding=() since it seems broken on HelloWorld Running command: translateModel(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource") translateModel(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.866e-06/2.866e-06, allocations: 3.281 kB / 489.8 MB, free: 30.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.872e-05/3.159e-05, allocations: 2.844 kB / 489.8 MB, free: 30.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource): time 0.01089/0.01093, allocations: 11.26 MB / 0.4893 GB, free: 23.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009495/0.02042, allocations: 6.236 MB / 0.4954 GB, free: 18.81 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002704/0.02312, allocations: 96.06 kB / 0.4955 GB, free: 18.77 MB / 446.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: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/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/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). Notification: Performance of NFTyping.typeComponents: time 0.002036/0.02516, allocations: 0.6767 MB / 0.4961 GB, free: 18.34 MB / 446.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'. Notification: Performance of NFTyping.typeBindings: time 0.003505/0.02867, allocations: 0.955 MB / 0.4971 GB, free: 17.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005463/0.03413, allocations: 2.896 MB / 0.4999 GB, free: 15.81 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006251/0.04038, allocations: 4.644 MB / 0.5044 GB, free: 13.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00248/0.04286, allocations: 1.119 MB / 0.5055 GB, free: 12.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002213/0.04507, allocations: 1.556 MB / 0.507 GB, free: 11.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001884/0.04696, allocations: 1.283 MB / 0.5083 GB, free: 11.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009904/0.04795, allocations: 0.4932 MB / 0.5088 GB, free: 11.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.04933, allocations: 0.7004 MB / 0.5095 GB, free: 10.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007572/0.05009, allocations: 1.017 MB / 0.5104 GB, free: 10.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001447/0.05154, allocations: 1.224 MB / 0.5116 GB, free: 9.418 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007602/0.05914, allocations: 6.225 MB / 0.5177 GB, free: 6.785 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.05914, allocations: 1.25 kB / 0.5177 GB, free: 6.785 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.05915, allocations: 0 / 0.5177 GB, free: 6.785 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001724/0.05932, allocations: 0 / 0.5177 GB, free: 6.785 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 604 * Number of variables: 604 Notification: Performance of Generate backend data structure: time 0.01327/0.07259, allocations: 4.586 MB / 0.5222 GB, free: 4.117 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.07264, allocations: 8.734 kB / 0.5222 GB, free: 4.117 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005421/0.07806, allocations: 0.9194 MB / 0.5231 GB, free: 3.727 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005425/0.08348, allocations: 2.436 MB / 0.5255 GB, free: 1.836 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005965/0.08408, allocations: 0.8631 MB / 0.5263 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008069/0.08489, allocations: 244.2 kB / 0.5266 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00757/0.09246, allocations: 3.624 MB / 0.5301 GB, free: 14.18 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.449e-05/0.09251, allocations: 5.281 kB / 0.5301 GB, free: 14.18 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003342/0.09285, allocations: 110.6 kB / 0.5302 GB, free: 14.1 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.934e-05/0.09289, allocations: 59.69 kB / 0.5303 GB, free: 14.1 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00666/0.09955, allocations: 2.589 MB / 0.5328 GB, free: 12.76 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01926/0.1188, allocations: 9.601 MB / 0.5422 GB, free: 5.18 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007302/0.1261, allocations: 2.466 MB / 0.5446 GB, free: 3.391 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003008/0.1291, allocations: 1.129 MB / 0.5457 GB, free: 2.258 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001541/0.1293, allocations: 29.98 kB / 0.5457 GB, free: 2.227 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00391/0.1332, allocations: 1.701 MB / 0.5474 GB, free: 484 kB / 462.1 MB Notification: Performance of pre-optimization done (n=197): time 4.96e-06/0.1332, allocations: 0 / 0.5474 GB, free: 484 kB / 462.1 MB Notification: Performance of matching and sorting (n=197): time 0.01259/0.1458, allocations: 4.12 MB / 0.5514 GB, free: 12.33 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003542/0.1461, allocations: 492.7 kB / 0.5519 GB, free: 11.73 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005515/0.1517, allocations: 2.591 MB / 0.5544 GB, free: 9.121 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007138/0.1524, allocations: 77.69 kB / 0.5545 GB, free: 9.039 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001795/0.1542, allocations: 1.482 MB / 0.5559 GB, free: 7.543 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001327/0.1555, allocations: 0.6624 MB / 0.5566 GB, free: 6.875 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008952/0.1564, allocations: 395.8 kB / 0.5569 GB, free: 6.484 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1565, allocations: 305.1 kB / 0.5572 GB, free: 6.184 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003115/0.1597, allocations: 1.124 MB / 0.5583 GB, free: 5.047 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003993/0.1636, allocations: 2.014 MB / 0.5603 GB, free: 2.734 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0261/0.1897, allocations: 5.834 MB / 0.566 GB, free: 12.72 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.313e-05/0.1898, allocations: 0 / 0.566 GB, free: 12.72 MB / 494.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.01497/0.2047, allocations: 3.408 MB / 0.5693 GB, free: 9.289 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.207e-05/0.2048, allocations: 37.7 kB / 0.5694 GB, free: 9.246 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.355e-05/0.2049, allocations: 12.84 kB / 0.5694 GB, free: 9.234 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008827/0.2057, allocations: 316.7 kB / 0.5697 GB, free: 8.922 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004517/0.2103, allocations: 0.5071 MB / 0.5702 GB, free: 8.414 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.166e-05/0.2103, allocations: 27.92 kB / 0.5702 GB, free: 8.387 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004189/0.2145, allocations: 318.5 kB / 0.5705 GB, free: 8.074 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000597/0.2151, allocations: 79.94 kB / 0.5706 GB, free: 7.996 MB / 494.1 MB Warning: Assuming fixed start value for the following 26 variables: WTG4A.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4A.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean WTG4A.line.running.value:DISCRETE(flow=false start = WTG4A.line.Running0 fixed = true ) type: Boolean WTG4A.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG4A.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4A.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4A.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4A.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_regc.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.injector.running.value:DISCRETE(flow=false start = WTG4A.injector.Running0 fixed = true ) type: Boolean WTG4A.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4A.wecc_repc.leadLag.a_end * WTG4A.wecc_repc.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4A.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005513/0.2206, allocations: 1.722 MB / 0.5723 GB, free: 6.277 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00367/0.2243, allocations: 1.959 MB / 0.5742 GB, free: 4.023 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02022/0.2445, allocations: 5.686 MB / 0.5797 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.504e-05/0.2445, allocations: 4 kB / 0.5797 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=275) (initialization_lambda0): time 0.01028/0.2548, allocations: 3.307 MB / 0.583 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.584e-05/0.2549, allocations: 33.7 kB / 0.583 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.347e-05/0.2549, allocations: 12 kB / 0.583 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005091/0.2554, allocations: 316.9 kB / 0.5833 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002981/0.2584, allocations: 499.3 kB / 0.5838 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.536e-05/0.2584, allocations: 35.8 kB / 0.5838 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002857/0.2613, allocations: 298.8 kB / 0.5841 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003436/0.2616, allocations: 83.98 kB / 0.5842 GB, free: 9.566 MB / 0.4981 GB Warning: Assuming fixed start value for the following 26 variables: WTG4A.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4A.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean WTG4A.line.running.value:DISCRETE(flow=false start = WTG4A.line.Running0 fixed = true ) type: Boolean WTG4A.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG4A.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4A.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4A.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4A.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_regc.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.injector.running.value:DISCRETE(flow=false start = WTG4A.injector.Running0 fixed = true ) type: Boolean WTG4A.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4A.wecc_repc.leadLag.a_end * WTG4A.wecc_repc.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4A.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 59 ($PRE.WTG4A.injector.state,WTG4A.injector.state,$PRE.WTG4A.line.state,WTG4A.line.state,$PRE.line.state,line.state,WTG4A.injector.switchOffSignal3.value,WTG4A.injector.switchOffSignal2.value,WTG4A.injector.switchOffSignal1.value,line.switchOffSignal2.value,line.switchOffSignal1.value,WTG4A.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,WTG4A.wecc_regc.rateLimFirstOrderFreeze.local_freeze,$PRE.line.running.value,$PRE.WTG4A.line.running.value,$PRE.WTG4A.wecc_reec.iqInjectionLogic.vDip,$PRE.WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$PRE.WTG4A.injector.running.value,$PRE.WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_repc.freeze,WTG4A.injector.running.value,WTG4A.wecc_regc.offDelay.tNext,WTG4A.wecc_regc.offDelay.delaySignal,WTG4A.wecc_regc.offDelay.y,WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4A.wecc_reec.iqInjectionLogic.vDip,WTG4A.line.running.value,line.running.value,$whenCondition17,$whenCondition16,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition12,$whenCondition11,$whenCondition14,$whenCondition13,$whenCondition15,WTG4A.wecc_repc.limPIDFreeze.I.resetLocal,WTG4A.wecc_repc.limPID.I.local_reset,WTG4A.driveTrainPmConstrant.dOmegaGenerator.local_reset,WTG4A.driveTrainPmConstrant.dOmegaTurbine.local_reset,WTG4A.driveTrainPmConstrant.dPhi.local_reset,WTG4A.pll.limIntegrator.local_reset,WTG4A.pll.integrator.local_reset,WTG4A.wecc_reec.varLimPIDFreeze.I.resetLocal,WTG4A.wecc_reec.limPIDFreeze.I.resetLocal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(8,56.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001246/0.2629, allocations: 487.7 kB / 0.5846 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001187/0.264, allocations: 326 kB / 0.585 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009/0.273, allocations: 3.161 MB / 0.588 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.087e-05/0.2731, allocations: 20 kB / 0.5881 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/0.2731, allocations: 4 kB / 0.5881 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.446e-05/0.2731, allocations: 15.91 kB / 0.5881 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0148/0.2879, allocations: 6.02 MB / 0.594 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.2879, allocations: 0 / 0.594 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002948/0.2909, allocations: 439.4 kB / 0.5944 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005046/0.2914, allocations: 308.7 kB / 0.5947 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002792/0.2916, allocations: 55.97 kB / 0.5947 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.499e-05/0.2917, allocations: 4 kB / 0.5947 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.2917, allocations: 0 / 0.5947 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01228/0.3039, allocations: 4.79 MB / 0.5994 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001919/0.3059, allocations: 0.6223 MB / 0.6 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008424/0.3067, allocations: 60 kB / 0.6001 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002349/0.3091, allocations: 195.8 kB / 0.6003 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005665/0.3096, allocations: 201.6 kB / 0.6004 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002277/0.3099, allocations: 71.97 kB / 0.6005 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003765/0.3136, allocations: 1.722 MB / 0.6022 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.3136, allocations: 0 / 0.6022 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004277/0.3179, allocations: 1.157 MB / 0.6033 GB, free: 5.793 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 22 (WTG4A.wecc_reec.firstOrder.y,WTG4A.wecc_reec.firstOrder1.y,WTG4A.wecc_reec.limPIDFreeze.I.y,WTG4A.wecc_reec.varLimPIDFreeze.I.y,WTG4A.wecc_reec.rateLimFirstOrderFreeze1.y,WTG4A.wecc_reec.slewRateLimiter.y,WTG4A.wecc_reec.rateLimFirstOrderFreeze.y,WTG4A.wecc_regc.firstOrder.y,WTG4A.wecc_regc.rateLimFirstOrderFreeze.y,WTG4A.wecc_regc.rateLimFirstOrderFreeze1.y,WTG4A.pll.integrator.y,WTG4A.pll.limIntegrator.y,WTG4A.driveTrainPmConstrant.dPhi.y,WTG4A.driveTrainPmConstrant.dOmegaTurbine.y,WTG4A.driveTrainPmConstrant.dOmegaGenerator.y,WTG4A.wecc_repc.firstOrder.y,WTG4A.wecc_repc.limPID.I.y,WTG4A.wecc_repc.firstOrder1.y,WTG4A.wecc_repc.firstOrder2.y,WTG4A.wecc_repc.firstOrder3.y,WTG4A.wecc_repc.limPIDFreeze.I.y,WTG4A.wecc_repc.leadLag.x_scaled[1]) * Number of discrete variables: 32 ($whenCondition15,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,$whenCondition16,$whenCondition17,line.running.value,line.state,WTG4A.line.running.value,WTG4A.line.state,WTG4A.wecc_reec.iqInjectionLogic.vDip,WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4A.wecc_regc.offDelay.y,WTG4A.wecc_regc.offDelay.delaySignal,WTG4A.wecc_regc.offDelay.tNext,WTG4A.injector.running.value,WTG4A.injector.state,WTG4A.wecc_repc.freeze) * Number of discrete states: 12 (WTG4A.injector.running.value,WTG4A.line.running.value,line.running.value,WTG4A.wecc_regc.offDelay.tNext,WTG4A.wecc_regc.offDelay.delaySignal,$whenCondition17,$whenCondition16,WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxPu,WTG4A.wecc_reec.iqInjectionLogic.vDip,WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (196): * Single equations (assignments): 185 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 9 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(8,56.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002006/0.3199, allocations: 0.494 MB / 0.6038 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01108/0.331, allocations: 4.252 MB / 0.608 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.331, allocations: 0 / 0.608 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00367/0.3347, allocations: 1.423 MB / 0.6094 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00378/0.3384, allocations: 0.5168 MB / 0.6099 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01293/0.3514, allocations: 5.91 MB / 0.6156 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00161/0.353, allocations: 1.294 MB / 0.6169 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002058/0.355, allocations: 369.6 kB / 0.6172 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007932/0.3558, allocations: 188.5 kB / 0.6174 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of SimCode: time 1.082e-06/0.3558, allocations: 0 / 0.6174 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of Templates: time 0.0691/0.4249, allocations: 37.64 MB / 0.6542 GB, free: 1.898 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.makefile [Timeout 660] (rm -f Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe ; mkfifo Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe >> ../files/Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.sim & ./Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.675384052097797] Failed to read output from testmodel.py, exit status != 0: 0.4343191608786583 0.44930386299999997 0.38688335599999996 Calling exit ...