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.0009315/0.0009315, allocations: 91.55 kB / 20.97 MB, free: 3.582 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.0009088/0.0009088, allocations: 177 kB / 24.28 MB, free: 280 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8548/0.8548, allocations: 158.6 MB / 186.1 MB, free: 2.91 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.4011/0.4011, allocations: 76.92 MB / 315.3 MB, free: 10.74 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 -noHomotopyOnFirstTry=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRestart=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRootFinding=() since the simulation runtime does not accept it 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 1.764e-06/1.764e-06, allocations: 0 / 415.2 MB, free: 8.562 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.828e-05, allocations: 2.312 kB / 415.2 MB, free: 8.559 MB / 394.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource): time 0.01633/0.01636, allocations: 12 MB / 427.2 MB, free: 12.5 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01417/0.03054, allocations: 6.332 MB / 433.5 MB, free: 6.145 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004098/0.03463, allocations: 91.31 kB / 433.6 MB, free: 6.055 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: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.001442/0.03607, allocations: 0.6814 MB / 434.3 MB, free: 5.367 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'. Notification: Performance of NFTyping.typeBindings: time 0.002663/0.03874, allocations: 0.9461 MB / 435.2 MB, free: 4.414 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005068/0.04381, allocations: 2.885 MB / 438.1 MB, free: 1.523 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00582/0.04962, allocations: 4.653 MB / 442.8 MB, free: 12.86 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001586/0.05121, allocations: 1.116 MB / 443.9 MB, free: 11.68 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001746/0.05296, allocations: 1.554 MB / 445.4 MB, free: 10.12 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.05401, allocations: 1.296 MB / 446.7 MB, free: 8.816 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008209/0.05483, allocations: 0.4961 MB / 447.2 MB, free: 8.32 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008385/0.05567, allocations: 0.7028 MB / 447.9 MB, free: 7.617 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000526/0.0562, allocations: 1.012 MB / 449 MB, free: 6.602 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008665/0.05706, allocations: 1.219 MB / 450.2 MB, free: 5.379 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002887/0.05995, allocations: 3.215 MB / 453.4 MB, free: 2.152 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.05995, allocations: 0 / 453.4 MB, free: 2.152 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.05995, allocations: 4 kB / 453.4 MB, free: 2.148 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.575e-05/0.05998, allocations: 0 / 453.4 MB, free: 2.148 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: 604 * Number of variables: 604 Notification: Performance of Generate backend data structure: time 0.005156/0.06514, allocations: 4.61 MB / 458 MB, free: 13.45 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.768e-05/0.06516, allocations: 8.031 kB / 458 MB, free: 13.44 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00254/0.0677, allocations: 1.189 MB / 459.2 MB, free: 12.25 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002508/0.07021, allocations: 2.454 MB / 461.7 MB, free: 9.734 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003537/0.07056, allocations: 0.8553 MB / 462.5 MB, free: 8.723 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000237/0.0708, allocations: 256.3 kB / 462.8 MB, free: 8.473 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002955/0.07376, allocations: 2.8 MB / 465.6 MB, free: 5.293 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.427e-05/0.07379, allocations: 7.938 kB / 465.6 MB, free: 5.285 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001561/0.07395, allocations: 108 kB / 465.7 MB, free: 5.18 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.203e-05/0.07398, allocations: 59.98 kB / 465.7 MB, free: 5.121 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001845/0.07582, allocations: 1.058 MB / 466.8 MB, free: 4.035 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2101/0.286, allocations: 10.47 MB / 477.3 MB, free: 91.79 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001959/0.2879, allocations: 1.282 MB / 478.5 MB, free: 91.7 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006247/0.2885, allocations: 461.4 kB / 479 MB, free: 91.65 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.205e-05/0.2886, allocations: 40.89 kB / 479 MB, free: 91.65 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001059/0.2897, allocations: 1.026 MB / 480.1 MB, free: 91.35 MB / 442.7 MB Notification: Performance of pre-optimization done (n=197): time 2.815e-06/0.2897, allocations: 4.922 kB / 480.1 MB, free: 91.35 MB / 442.7 MB Notification: Performance of matching and sorting (n=197): time 0.003693/0.2934, allocations: 2.217 MB / 482.3 MB, free: 90.9 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.639e-05/0.2935, allocations: 0.4896 MB / 482.8 MB, free: 90.33 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002033/0.2955, allocations: 2.188 MB / 485 MB, free: 89.55 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001267/0.2956, allocations: 78.2 kB / 485 MB, free: 89.48 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008327/0.2965, allocations: 1.544 MB / 486.6 MB, free: 88.49 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004425/0.2969, allocations: 0.6687 MB / 487.2 MB, free: 88.04 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004169/0.2973, allocations: 397.1 kB / 487.6 MB, free: 87.86 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.262e-05/0.2974, allocations: 484.1 kB / 488.1 MB, free: 87.39 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006879/0.2981, allocations: 414 kB / 488.5 MB, free: 87.29 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009817/0.299, allocations: 1.444 MB / 490 MB, free: 85.93 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002191/0.3012, allocations: 1.904 MB / 491.9 MB, free: 84.83 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.3012, allocations: 2.875 kB / 491.9 MB, free: 84.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.002932/0.3042, allocations: 2.015 MB / 493.9 MB, free: 84.16 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/0.3042, allocations: 37.27 kB / 493.9 MB, free: 84.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.3042, allocations: 12.5 kB / 493.9 MB, free: 84.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002801/0.3045, allocations: 219.4 kB / 494.1 MB, free: 84.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/0.3057, allocations: 484 kB / 494.6 MB, free: 84.03 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.797e-05/0.3057, allocations: 28.08 kB / 494.6 MB, free: 84.03 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000862/0.3065, allocations: 265.2 kB / 494.9 MB, free: 83.94 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.3067, allocations: 79.31 kB / 495 MB, free: 83.93 MB / 442.7 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.001164/0.3078, allocations: 0.6731 MB / 495.7 MB, free: 83.65 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001008/0.3088, allocations: 1.434 MB / 497.1 MB, free: 82.28 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002135/0.311, allocations: 1.875 MB / 499 MB, free: 81.14 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.041e-06/0.311, allocations: 3.219 kB / 499 MB, free: 81.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=275) (initialization_lambda0): time 0.002994/0.314, allocations: 2.003 MB / 0.4892 GB, free: 80.44 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/0.314, allocations: 36.67 kB / 0.4893 GB, free: 80.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.314, allocations: 15.73 kB / 0.4893 GB, free: 80.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002633/0.3143, allocations: 226.3 kB / 0.4895 GB, free: 80.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/0.3155, allocations: 476.1 kB / 0.4899 GB, free: 80.31 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.622e-05/0.3155, allocations: 28.09 kB / 0.49 GB, free: 80.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008896/0.3164, allocations: 259.9 kB / 0.4902 GB, free: 80.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/0.3165, allocations: 83.77 kB / 0.4903 GB, free: 80.2 MB / 442.7 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: 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.0005705/0.3171, allocations: 0.571 MB / 0.4909 GB, free: 79.76 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003966/0.3175, allocations: 383.8 kB / 0.4912 GB, free: 79.57 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002944/0.3204, allocations: 1.843 MB / 0.493 GB, free: 78.95 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/0.3204, allocations: 19.53 kB / 0.493 GB, free: 78.95 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.3204, allocations: 2.375 kB / 0.493 GB, free: 78.95 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/0.3204, allocations: 9.984 kB / 0.4931 GB, free: 78.95 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006379/0.3268, allocations: 4.454 MB / 0.4974 GB, free: 76.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.3268, allocations: 1.438 kB / 0.4974 GB, free: 76.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00129/0.3281, allocations: 391.8 kB / 0.4978 GB, free: 76.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002564/0.3284, allocations: 209.5 kB / 0.498 GB, free: 76.88 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001281/0.3285, allocations: 53.33 kB / 0.498 GB, free: 76.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/0.3285, allocations: 7.375 kB / 0.498 GB, free: 76.84 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3285, allocations: 0 / 0.498 GB, free: 76.84 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004039/0.3326, allocations: 2.558 MB / 0.5005 GB, free: 75.89 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007917/0.3333, allocations: 0.6277 MB / 0.5011 GB, free: 75.48 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002625/0.3336, allocations: 58.84 kB / 0.5012 GB, free: 75.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000727/0.3343, allocations: 142.6 kB / 0.5013 GB, free: 75.41 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003163/0.3346, allocations: 190 kB / 0.5015 GB, free: 75.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001088/0.3348, allocations: 64.55 kB / 0.5016 GB, free: 75.36 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001476/0.3362, allocations: 1.29 MB / 0.5028 GB, free: 74.95 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3362, allocations: 0 / 0.5028 GB, free: 74.95 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002289/0.3385, allocations: 1.151 MB / 0.504 GB, free: 74.73 MB / 442.7 MB 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.0008959/0.3394, allocations: 488.1 kB / 0.5044 GB, free: 74.51 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003463/0.3429, allocations: 2.363 MB / 0.5067 GB, free: 73.81 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.3429, allocations: 3.031 kB / 0.5067 GB, free: 73.81 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.3439, allocations: 0.8404 MB / 0.5076 GB, free: 73.54 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/0.3452, allocations: 0.5525 MB / 0.5081 GB, free: 73.34 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005728/0.351, allocations: 5.068 MB / 0.513 GB, free: 69.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.3514, allocations: 498.1 kB / 0.5135 GB, free: 69.53 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001008/0.3524, allocations: 364.6 kB / 0.5139 GB, free: 69.27 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004339/0.3528, allocations: 188.1 kB / 0.5141 GB, free: 69.09 MB / 442.7 MB Notification: Performance of SimCode: time 1.823e-06/0.3528, allocations: 0 / 0.5141 GB, free: 69.09 MB / 442.7 MB Notification: Performance of Templates: time 0.04066/0.3935, allocations: 37.91 MB / 0.5511 GB, free: 32.97 MB / 442.7 MB " [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=240 -lv LOG_STATS > Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.147085485048592]