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.001172/0.001172, allocations: 72.95 kB / 20.74 MB, free: 3.75 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.001235/0.001235, allocations: 173 kB / 24.16 MB, free: 336 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.7631/0.7631, allocations: 158.6 MB / 186 MB, free: 2.738 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.3582/0.3582, allocations: 76.91 MB / 315.3 MB, free: 10.62 MB / 298.7 MB " [Timeout remaining time 180] 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 1.383e-06/1.383e-06, allocations: 0 / 366.8 MB, free: 8.805 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.443e-05, allocations: 6.109 kB / 366.8 MB, free: 8.801 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource): time 0.01211/0.01213, allocations: 10.97 MB / 377.8 MB, free: 13.78 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01044/0.02257, allocations: 6.296 MB / 384.1 MB, free: 7.469 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00184/0.02441, allocations: 87.38 kB / 384.2 MB, free: 7.383 MB / 362.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.001475/0.02589, allocations: 0.6505 MB / 384.8 MB, free: 6.727 MB / 362.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.002137/0.02802, allocations: 0.9075 MB / 385.8 MB, free: 5.812 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004157/0.03218, allocations: 2.776 MB / 388.5 MB, free: 3.031 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004256/0.03644, allocations: 4.362 MB / 392.9 MB, free: 14.66 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001576/0.03801, allocations: 1.097 MB / 394 MB, free: 13.47 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001703/0.03972, allocations: 1.468 MB / 395.5 MB, free: 12 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001507/0.04122, allocations: 1.218 MB / 396.7 MB, free: 10.78 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006135/0.04184, allocations: 472 kB / 397.1 MB, free: 10.32 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000898/0.04274, allocations: 0.6754 MB / 397.8 MB, free: 9.641 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006412/0.04338, allocations: 0.9615 MB / 398.8 MB, free: 8.676 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001014/0.04439, allocations: 1.141 MB / 399.9 MB, free: 7.531 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002403/0.04679, allocations: 3.028 MB / 402.9 MB, free: 4.492 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.0468, allocations: 3.938 kB / 402.9 MB, free: 4.488 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.0468, allocations: 0 / 402.9 MB, free: 4.488 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.485e-05/0.04682, allocations: 0 / 402.9 MB, free: 4.488 MB / 378.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.004286/0.05111, allocations: 4.19 MB / 407.1 MB, free: 236 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.05114, allocations: 12.02 kB / 407.1 MB, free: 224 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002117/0.05326, allocations: 1.07 MB / 408.2 MB, free: 15.15 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001589/0.05485, allocations: 1.478 MB / 409.7 MB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003415/0.05519, allocations: 0.8471 MB / 410.5 MB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001988/0.05539, allocations: 232.3 kB / 410.8 MB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001953/0.05734, allocations: 2.39 MB / 413.2 MB, free: 9.684 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.206e-05/0.05737, allocations: 7.938 kB / 413.2 MB, free: 9.676 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/0.05749, allocations: 104 kB / 413.3 MB, free: 9.574 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.656e-05/0.05752, allocations: 52 kB / 413.3 MB, free: 9.523 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009868/0.05851, allocations: 0.6993 MB / 414 MB, free: 8.773 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005608/0.06411, allocations: 6.241 MB / 420.3 MB, free: 2.367 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001492/0.06561, allocations: 1.104 MB / 421.4 MB, free: 1.25 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003905/0.066, allocations: 332.3 kB / 421.7 MB, free: 0.9219 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.965e-05/0.06609, allocations: 33.98 kB / 421.7 MB, free: 0.8906 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007736/0.06686, allocations: 0.9306 MB / 422.7 MB, free: 15.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=185): time 2.865e-06/0.06686, allocations: 0 / 422.7 MB, free: 15.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=185): time 0.002314/0.06918, allocations: 1.458 MB / 424.1 MB, free: 14.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/0.06931, allocations: 0.4888 MB / 424.6 MB, free: 13.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.0706, allocations: 1.897 MB / 426.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.0707, allocations: 73.7 kB / 426.6 MB, free: 11.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00045/0.07115, allocations: 0.9242 MB / 427.5 MB, free: 10.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003253/0.07148, allocations: 0.6313 MB / 428.1 MB, free: 10.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003565/0.07184, allocations: 355.2 kB / 428.5 MB, free: 9.879 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.6e-05/0.07189, allocations: 309.1 kB / 428.8 MB, free: 9.574 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003801/0.07227, allocations: 261.3 kB / 429 MB, free: 9.309 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006482/0.07292, allocations: 1.082 MB / 430.1 MB, free: 7.957 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/0.07428, allocations: 1.442 MB / 431.5 MB, free: 6.363 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.07429, allocations: 4 kB / 431.6 MB, free: 6.359 MB / 410.7 MB Notification: Performance of matching and sorting (n=254) (initialization): time 0.001742/0.07603, allocations: 1.325 MB / 432.9 MB, free: 5.012 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.07607, allocations: 41.64 kB / 432.9 MB, free: 4.965 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.07608, allocations: 8.375 kB / 432.9 MB, free: 4.957 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002296/0.07631, allocations: 212.7 kB / 433.1 MB, free: 4.746 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/0.07734, allocations: 447.3 kB / 433.6 MB, free: 4.309 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.519e-05/0.07736, allocations: 27.92 kB / 433.6 MB, free: 4.281 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006691/0.07802, allocations: 238.8 kB / 433.8 MB, free: 4.047 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.121e-05/0.07811, allocations: 59.98 kB / 433.9 MB, free: 3.988 MB / 410.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.0008059/0.07891, allocations: 0.4974 MB / 434.4 MB, free: 3.488 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006319/0.07954, allocations: 1.086 MB / 435.5 MB, free: 2.137 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001302/0.08084, allocations: 1.427 MB / 436.9 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.769e-06/0.08085, allocations: 4 kB / 436.9 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.001721/0.08257, allocations: 1.317 MB / 438.2 MB, free: 15.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.0826, allocations: 37.7 kB / 438.3 MB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.08261, allocations: 8 kB / 438.3 MB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000208/0.08281, allocations: 213 kB / 438.5 MB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009908/0.0838, allocations: 439.3 kB / 438.9 MB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.606e-05/0.08382, allocations: 27.92 kB / 438.9 MB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006819/0.0845, allocations: 242.9 kB / 439.2 MB, free: 14.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.729e-05/0.08458, allocations: 59.98 kB / 439.2 MB, free: 14.2 MB / 426.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.wecc_reec.limPIDFreeze.I.resetLocal,WTG4B.wecc_reec.varLimPIDFreeze.I.resetLocal,WTG4B.pll.integrator.local_reset,WTG4B.pll.limIntegrator.local_reset,WTG4B.wecc_repc.limPID.I.local_reset,WTG4B.wecc_repc.limPIDFreeze.I.resetLocal,$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_regc.rateLimFirstOrderFreeze.local_freeze,WTG4B.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,line.switchOffSignal1.value,line.switchOffSignal2.value,WTG4B.injector.switchOffSignal1.value,WTG4B.injector.switchOffSignal2.value,WTG4B.injector.switchOffSignal3.value) * 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.0004219/0.085, allocations: 478.2 kB / 439.7 MB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002594/0.08526, allocations: 235.7 kB / 439.9 MB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001761/0.08702, allocations: 1.322 MB / 441.2 MB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.08703, allocations: 23.98 kB / 441.3 MB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.08704, allocations: 4 kB / 441.3 MB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.08705, allocations: 7.969 kB / 441.3 MB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003672/0.09072, allocations: 2.858 MB / 444.1 MB, free: 9.219 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.09073, allocations: 0 / 444.1 MB, free: 9.219 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/0.0918, allocations: 367.5 kB / 444.5 MB, free: 8.859 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001928/0.09199, allocations: 192.7 kB / 444.7 MB, free: 8.668 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.26e-05/0.09208, allocations: 47.97 kB / 444.7 MB, free: 8.621 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/0.09208, allocations: 12 kB / 444.7 MB, free: 8.609 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.09209, allocations: 3.984 kB / 444.7 MB, free: 8.605 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00219/0.09427, allocations: 1.813 MB / 446.6 MB, free: 6.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005189/0.09479, allocations: 305.7 kB / 446.9 MB, free: 6.449 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001998/0.09499, allocations: 71.86 kB / 446.9 MB, free: 6.379 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005809/0.09557, allocations: 131.9 kB / 447.1 MB, free: 6.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002318/0.09581, allocations: 177.6 kB / 447.2 MB, free: 6.078 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-05/0.09588, allocations: 51.97 kB / 447.3 MB, free: 6.027 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009108/0.09679, allocations: 0.9982 MB / 448.3 MB, free: 5.016 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.09679, allocations: 0 / 448.3 MB, free: 5.016 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001459/0.09825, allocations: 1.067 MB / 449.3 MB, free: 3.945 MB / 426.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.001051/0.0993, allocations: 0.5654 MB / 449.9 MB, free: 3.574 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002104/0.1014, allocations: 1.817 MB / 451.7 MB, free: 1.707 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.287e-05/0.1014, allocations: 26.31 kB / 451.8 MB, free: 1.684 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006888/0.1021, allocations: 0.6581 MB / 452.4 MB, free: 1.004 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.1032, allocations: 0.5362 MB / 453 MB, free: 496 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004962/0.1082, allocations: 4.674 MB / 457.6 MB, free: 11.73 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.1085, allocations: 462.9 kB / 458.1 MB, free: 11.26 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008711/0.1094, allocations: 320.7 kB / 458.4 MB, free: 10.94 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009326/0.1103, allocations: 0.5049 MB / 458.9 MB, free: 10.44 MB / 442.7 MB Notification: Performance of SimCode: time 9.52e-07/0.1103, allocations: 4 kB / 458.9 MB, free: 10.43 MB / 442.7 MB Notification: Performance of Templates: time 0.1585/0.2688, allocations: 39.33 MB / 498.2 MB, free: 82.02 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: 3.756111873779446]