Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.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.001677/0.001677, allocations: 91.56 kB / 20.45 MB, free: 4.121 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.0017/0.0017, allocations: 169 kB / 23.82 MB, free: 0.75 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9594/0.9594, allocations: 158.6 MB / 185.7 MB, free: 2.473 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.4157/0.4157, allocations: 76.92 MB / 315 MB, free: 10.7 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.WTG4BCurrentSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource") translateModel(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 415.4 MB, free: 8.047 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.303e-05/3.54e-05, allocations: 2.312 kB / 415.4 MB, free: 8.043 MB / 394.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource): time 0.01701/0.01705, allocations: 11.4 MB / 426.8 MB, free: 12.58 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01007/0.02712, allocations: 6.118 MB / 432.9 MB, free: 6.449 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002749/0.02987, allocations: 87.31 kB / 433 MB, free: 6.363 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.001925/0.03179, allocations: 0.6467 MB / 433.6 MB, free: 5.711 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.003674/0.03546, allocations: 0.8958 MB / 434.5 MB, free: 4.809 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004704/0.04017, allocations: 2.78 MB / 437.3 MB, free: 2.023 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0055/0.04567, allocations: 4.367 MB / 441.7 MB, free: 13.64 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001914/0.04758, allocations: 1.039 MB / 442.7 MB, free: 12.53 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002237/0.04982, allocations: 1.484 MB / 444.2 MB, free: 11.04 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001798/0.05162, allocations: 1.226 MB / 445.4 MB, free: 9.809 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009865/0.0526, allocations: 472 kB / 445.9 MB, free: 9.348 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001292/0.0539, allocations: 0.6677 MB / 446.5 MB, free: 8.68 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008843/0.05478, allocations: 0.9537 MB / 447.5 MB, free: 7.723 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001771/0.05655, allocations: 1.141 MB / 448.6 MB, free: 6.578 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004974/0.06152, allocations: 3.04 MB / 451.7 MB, free: 3.527 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.06153, allocations: 0 / 451.7 MB, free: 3.527 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.06153, allocations: 3.938 kB / 451.7 MB, free: 3.523 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001082/0.06164, allocations: 4 kB / 451.7 MB, free: 3.52 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: 552 * Number of variables: 552 Notification: Performance of Generate backend data structure: time 0.007745/0.06939, allocations: 4.356 MB / 456 MB, free: 15.08 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.06944, allocations: 12.03 kB / 456 MB, free: 15.07 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002788/0.07222, allocations: 1.142 MB / 457.2 MB, free: 13.93 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003398/0.07562, allocations: 2.296 MB / 459.5 MB, free: 11.58 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004703/0.07609, allocations: 0.8432 MB / 460.3 MB, free: 10.58 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003509/0.07644, allocations: 237.3 kB / 460.6 MB, free: 10.35 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003815/0.08026, allocations: 2.609 MB / 463.2 MB, free: 7.379 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.935e-05/0.08032, allocations: 7.984 kB / 463.2 MB, free: 7.371 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001617/0.08048, allocations: 95.94 kB / 463.3 MB, free: 7.277 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.991e-05/0.08052, allocations: 52 kB / 463.3 MB, free: 7.227 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001992/0.08251, allocations: 0.9818 MB / 464.3 MB, free: 6.215 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2018/0.2843, allocations: 9.289 MB / 473.6 MB, free: 74.11 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002364/0.2867, allocations: 1.247 MB / 474.8 MB, free: 74.02 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000662/0.2874, allocations: 446.4 kB / 475.3 MB, free: 73.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.285e-05/0.2874, allocations: 39.59 kB / 475.3 MB, free: 73.97 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001101/0.2885, allocations: 0.9924 MB / 476.3 MB, free: 73.68 MB / 442.7 MB Notification: Performance of pre-optimization done (n=185): time 4.319e-06/0.2885, allocations: 3.25 kB / 476.3 MB, free: 73.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=185): time 0.004031/0.2926, allocations: 2.133 MB / 478.4 MB, free: 73.48 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.2927, allocations: 0.4899 MB / 478.9 MB, free: 72.91 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002186/0.2949, allocations: 2.074 MB / 481 MB, free: 72.58 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001506/0.295, allocations: 73.97 kB / 481.1 MB, free: 72.55 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008484/0.2959, allocations: 1.443 MB / 482.5 MB, free: 72.27 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004209/0.2963, allocations: 0.6296 MB / 483.2 MB, free: 71.94 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005533/0.2968, allocations: 376.2 kB / 483.5 MB, free: 71.91 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.508e-05/0.2969, allocations: 476.8 kB / 484 MB, free: 71.44 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007079/0.2976, allocations: 389.8 kB / 484.4 MB, free: 71.39 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.2987, allocations: 1.362 MB / 485.7 MB, free: 70.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002392/0.3011, allocations: 1.758 MB / 487.5 MB, free: 69.55 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.3011, allocations: 2.812 kB / 487.5 MB, free: 69.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=254) (initialization): time 0.003514/0.3046, allocations: 1.91 MB / 489.4 MB, free: 69.23 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.191e-05/0.3046, allocations: 34.36 kB / 489.4 MB, free: 69.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/0.3046, allocations: 11.47 kB / 489.4 MB, free: 69.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003347/0.305, allocations: 218.2 kB / 489.7 MB, free: 69.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.3061, allocations: 453.5 kB / 490.1 MB, free: 69.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.08e-05/0.3062, allocations: 25.27 kB / 490.1 MB, free: 69.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/0.3073, allocations: 248.7 kB / 490.4 MB, free: 69.13 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/0.3074, allocations: 75.88 kB / 490.4 MB, free: 69.13 MB / 442.7 MB Warning: Assuming fixed start value for the following 26 variables: WTG4B.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4B.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.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 WTG4B.line.running.value:DISCRETE(flow=false start = WTG4B.line.Running0 fixed = true ) type: Boolean WTG4B.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4B.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4B.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_regc.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.injector.running.value:DISCRETE(flow=false start = WTG4B.injector.Running0 fixed = true ) type: Boolean WTG4B.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4B.wecc_repc.leadLag.a_end * WTG4B.wecc_repc.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4B.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001316/0.3087, allocations: 0.6529 MB / 491.1 MB, free: 68.94 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009546/0.3097, allocations: 1.358 MB / 492.5 MB, free: 67.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002046/0.3117, allocations: 1.744 MB / 494.2 MB, free: 67.08 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.855e-06/0.3117, allocations: 3.031 kB / 494.2 MB, free: 67.08 MB / 442.7 MB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.003124/0.3149, allocations: 1.895 MB / 496.1 MB, free: 66.74 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.119e-05/0.3149, allocations: 38.25 kB / 496.1 MB, free: 66.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.3149, allocations: 9.562 kB / 496.1 MB, free: 66.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000246/0.3152, allocations: 220.4 kB / 496.4 MB, free: 66.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/0.3163, allocations: 442.8 kB / 496.8 MB, free: 66.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.808e-05/0.3163, allocations: 21.94 kB / 496.8 MB, free: 66.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/0.3174, allocations: 251.3 kB / 497.1 MB, free: 66.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/0.3175, allocations: 76 kB / 497.1 MB, free: 66.64 MB / 442.7 MB Warning: Assuming fixed start value for the following 26 variables: WTG4B.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4B.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.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 WTG4B.line.running.value:DISCRETE(flow=false start = WTG4B.line.Running0 fixed = true ) type: Boolean WTG4B.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4B.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4B.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_regc.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.injector.running.value:DISCRETE(flow=false start = WTG4B.injector.Running0 fixed = true ) type: Boolean WTG4B.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4B.wecc_repc.leadLag.a_end * WTG4B.wecc_repc.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4B.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: 42 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.WTG4B.injector.state,WTG4B.injector.state,$PRE.WTG4B.line.state,WTG4B.line.state,$PRE.line.state,line.state,WTG4B.injector.switchOffSignal3.value,WTG4B.injector.switchOffSignal2.value,WTG4B.injector.switchOffSignal1.value,line.switchOffSignal2.value,line.switchOffSignal1.value,WTG4B.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,WTG4B.wecc_regc.rateLimFirstOrderFreeze.local_freeze,$PRE.line.running.value,$PRE.WTG4B.line.running.value,$PRE.WTG4B.wecc_reec.iqInjectionLogic.vDip,$PRE.WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$PRE.WTG4B.injector.running.value,$PRE.WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_repc.freeze,WTG4B.injector.running.value,WTG4B.wecc_regc.offDelay.tNext,WTG4B.wecc_regc.offDelay.delaySignal,WTG4B.wecc_regc.offDelay.y,WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4B.wecc_reec.iqInjectionLogic.vDip,WTG4B.line.running.value,line.running.value,$whenCondition17,$whenCondition16,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition12,$whenCondition11,$whenCondition14,$whenCondition13,$whenCondition15,WTG4B.wecc_repc.limPIDFreeze.I.resetLocal,WTG4B.wecc_repc.limPID.I.local_reset,WTG4B.pll.limIntegrator.local_reset,WTG4B.pll.integrator.local_reset,WTG4B.wecc_reec.varLimPIDFreeze.I.resetLocal,WTG4B.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 (244): * Single equations (assignments): 242 * 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.0006393/0.3181, allocations: 0.5447 MB / 497.7 MB, free: 66.31 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004255/0.3186, allocations: 370.9 kB / 498 MB, free: 66.15 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00289/0.3215, allocations: 1.767 MB / 499.8 MB, free: 65.94 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.641e-05/0.3215, allocations: 25.45 kB / 499.8 MB, free: 65.93 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.3215, allocations: 2.188 kB / 499.8 MB, free: 65.93 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.3215, allocations: 6.891 kB / 499.8 MB, free: 65.93 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006096/0.3276, allocations: 4.257 MB / 0.4923 GB, free: 64.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.3276, allocations: 0 / 0.4923 GB, free: 64.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001289/0.3289, allocations: 376.8 kB / 0.4926 GB, free: 64.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002905/0.3292, allocations: 213.8 kB / 0.4928 GB, free: 64.06 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001437/0.3293, allocations: 49.56 kB / 0.4929 GB, free: 64.03 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-05/0.3293, allocations: 9.562 kB / 0.4929 GB, free: 64.03 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3293, allocations: 1.281 kB / 0.4929 GB, free: 64.03 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004443/0.3338, allocations: 2.453 MB / 0.4953 GB, free: 63.11 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/0.3348, allocations: 0.5949 MB / 0.4959 GB, free: 62.72 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002914/0.3351, allocations: 58.42 kB / 0.4959 GB, free: 62.69 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000733/0.3359, allocations: 140.5 kB / 0.4961 GB, free: 62.66 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003117/0.3362, allocations: 182.6 kB / 0.4962 GB, free: 62.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/0.3363, allocations: 65.67 kB / 0.4963 GB, free: 62.61 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001531/0.3378, allocations: 1.225 MB / 0.4975 GB, free: 62.21 MB / 442.7 MB Notification: Performance of sort global known variables: time 2e-07/0.3378, allocations: 5.031 kB / 0.4975 GB, free: 62.21 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002141/0.34, allocations: 1.074 MB / 0.4986 GB, free: 62 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 19 (WTG4B.wecc_reec.firstOrder.y,WTG4B.wecc_reec.firstOrder1.y,WTG4B.wecc_reec.limPIDFreeze.I.y,WTG4B.wecc_reec.varLimPIDFreeze.I.y,WTG4B.wecc_reec.rateLimFirstOrderFreeze1.y,WTG4B.wecc_reec.slewRateLimiter.y,WTG4B.wecc_reec.rateLimFirstOrderFreeze.y,WTG4B.wecc_regc.firstOrder.y,WTG4B.wecc_regc.rateLimFirstOrderFreeze.y,WTG4B.wecc_regc.rateLimFirstOrderFreeze1.y,WTG4B.pll.integrator.y,WTG4B.pll.limIntegrator.y,WTG4B.wecc_repc.firstOrder.y,WTG4B.wecc_repc.limPID.I.y,WTG4B.wecc_repc.firstOrder1.y,WTG4B.wecc_repc.firstOrder2.y,WTG4B.wecc_repc.firstOrder3.y,WTG4B.wecc_repc.limPIDFreeze.I.y,WTG4B.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,WTG4B.line.running.value,WTG4B.line.state,WTG4B.wecc_reec.iqInjectionLogic.vDip,WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4B.wecc_regc.offDelay.y,WTG4B.wecc_regc.offDelay.delaySignal,WTG4B.wecc_regc.offDelay.tNext,WTG4B.injector.running.value,WTG4B.injector.state,WTG4B.wecc_repc.freeze) * Number of discrete states: 12 (WTG4B.injector.running.value,WTG4B.line.running.value,line.running.value,WTG4B.wecc_regc.offDelay.tNext,WTG4B.wecc_regc.offDelay.delaySignal,$whenCondition17,$whenCondition16,WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxPu,WTG4B.wecc_reec.iqInjectionLogic.vDip,WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (184): * Single equations (assignments): 173 * 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.001021/0.341, allocations: 469.1 kB / 0.499 GB, free: 61.83 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004111/0.3451, allocations: 2.241 MB / 0.5012 GB, free: 61.24 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/0.3451, allocations: 1.781 kB / 0.5012 GB, free: 61.24 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001139/0.3462, allocations: 0.8062 MB / 0.502 GB, free: 61.02 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001838/0.3481, allocations: 0.5287 MB / 0.5025 GB, free: 60.82 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00656/0.3546, allocations: 4.731 MB / 0.5071 GB, free: 58.39 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004314/0.3551, allocations: 464 kB / 0.5076 GB, free: 58.28 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001373/0.3564, allocations: 344.8 kB / 0.5079 GB, free: 58.21 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004949/0.3569, allocations: 184 kB / 0.5081 GB, free: 58.19 MB / 442.7 MB Notification: Performance of SimCode: time 2.053e-06/0.3569, allocations: 0 / 0.5081 GB, free: 58.19 MB / 442.7 MB Notification: Performance of Templates: time 0.04599/0.4029, allocations: 38.33 MB / 0.5455 GB, free: 26.75 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.makefile [Timeout 660] (rm -f Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe ; mkfifo Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe >> ../files/Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.sim & ./Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource -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.WTG4BCurrentSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.27512989519164]