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.001183/0.001183, allocations: 91.55 kB / 20.45 MB, free: 4.109 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.001381/0.001381, allocations: 173 kB / 23.82 MB, free: 0.7383 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.9894/0.9894, allocations: 158.6 MB / 185.7 MB, free: 2.906 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.3927/0.3927, allocations: 76.92 MB / 315 MB, free: 10.68 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 2.155e-06/2.155e-06, allocations: 0 / 415.4 MB, free: 8.055 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.306e-05/3.522e-05, allocations: 2.312 kB / 415.4 MB, free: 8.051 MB / 394.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource): time 0.01235/0.01239, allocations: 12.05 MB / 427.4 MB, free: 11.93 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01101/0.0234, allocations: 6.344 MB / 433.8 MB, free: 5.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003266/0.02666, allocations: 95.31 kB / 433.9 MB, free: 5.477 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.002669/0.02933, allocations: 0.6814 MB / 434.5 MB, free: 4.789 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.004072/0.0334, allocations: 0.9422 MB / 435.5 MB, free: 3.84 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005496/0.0389, allocations: 2.889 MB / 438.4 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.006931/0.04583, allocations: 4.653 MB / 443 MB, free: 12.29 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002665/0.04849, allocations: 1.124 MB / 444.1 MB, free: 11.09 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002587/0.05108, allocations: 1.554 MB / 445.7 MB, free: 9.531 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002291/0.05337, allocations: 1.288 MB / 447 MB, free: 8.238 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001198/0.05457, allocations: 0.4999 MB / 447.5 MB, free: 7.738 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001379/0.05595, allocations: 0.6989 MB / 448.2 MB, free: 7.039 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009106/0.05686, allocations: 1.024 MB / 449.2 MB, free: 6.012 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001974/0.05883, allocations: 1.219 MB / 450.4 MB, free: 4.789 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005054/0.06389, allocations: 3.215 MB / 453.6 MB, free: 1.562 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.06389, allocations: 0 / 453.6 MB, free: 1.562 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.0639, allocations: 0 / 453.6 MB, free: 1.562 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001247/0.06402, allocations: 0 / 453.6 MB, free: 1.562 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.008391/0.07241, allocations: 4.61 MB / 458.3 MB, free: 12.86 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.07246, allocations: 12.03 kB / 458.3 MB, free: 12.85 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002891/0.07535, allocations: 1.189 MB / 459.5 MB, free: 11.66 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003652/0.079, allocations: 2.45 MB / 461.9 MB, free: 9.148 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004258/0.07943, allocations: 0.8553 MB / 462.8 MB, free: 8.137 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003503/0.07978, allocations: 256.3 kB / 463 MB, free: 7.887 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003832/0.08361, allocations: 2.8 MB / 465.8 MB, free: 4.707 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.759e-05/0.08365, allocations: 7.938 kB / 465.8 MB, free: 4.699 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001848/0.08383, allocations: 104 kB / 465.9 MB, free: 4.598 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.394e-05/0.08388, allocations: 60 kB / 466 MB, free: 4.539 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002133/0.08601, allocations: 1.05 MB / 467 MB, free: 3.461 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2097/0.2957, allocations: 10.47 MB / 477.5 MB, free: 72.83 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002374/0.2981, allocations: 1.281 MB / 478.8 MB, free: 72.75 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007103/0.2988, allocations: 464.4 kB / 479.2 MB, free: 72.71 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001116/0.2989, allocations: 40.34 kB / 479.3 MB, free: 72.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001184/0.3001, allocations: 1.035 MB / 480.3 MB, free: 72.4 MB / 442.7 MB Notification: Performance of pre-optimization done (n=197): time 4.719e-06/0.3001, allocations: 0 / 480.3 MB, free: 72.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=197): time 0.004456/0.3046, allocations: 2.204 MB / 482.5 MB, free: 72.21 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/0.3047, allocations: 0.4946 MB / 483 MB, free: 71.64 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0027/0.3074, allocations: 2.187 MB / 485.2 MB, free: 71.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002115/0.3076, allocations: 76.67 kB / 485.3 MB, free: 71.27 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009799/0.3086, allocations: 1.547 MB / 486.8 MB, free: 70.92 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005172/0.3091, allocations: 0.6678 MB / 487.5 MB, free: 70.56 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004997/0.3096, allocations: 402.9 kB / 487.9 MB, free: 70.53 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.076e-05/0.3097, allocations: 476.8 kB / 488.3 MB, free: 70.06 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000757/0.3104, allocations: 425.6 kB / 488.8 MB, free: 70 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/0.3115, allocations: 1.447 MB / 490.2 MB, free: 68.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002337/0.3138, allocations: 1.885 MB / 492.1 MB, free: 68.01 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.375e-05/0.3138, allocations: 2.875 kB / 492.1 MB, free: 68.01 MB / 442.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.003635/0.3174, allocations: 2.02 MB / 494.1 MB, free: 67.67 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.958e-05/0.3175, allocations: 38.83 kB / 494.2 MB, free: 67.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.3175, allocations: 11.03 kB / 494.2 MB, free: 67.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003254/0.3178, allocations: 225.3 kB / 494.4 MB, free: 67.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.3191, allocations: 480.6 kB / 494.9 MB, free: 67.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.66e-05/0.3191, allocations: 30.77 kB / 494.9 MB, free: 67.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.3204, allocations: 260.4 kB / 495.1 MB, free: 67.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.3205, allocations: 80.22 kB / 495.2 MB, free: 67.52 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.00143/0.322, allocations: 0.6836 MB / 495.9 MB, free: 67.32 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00096/0.3229, allocations: 1.432 MB / 497.3 MB, free: 66.04 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002186/0.3251, allocations: 1.872 MB / 499.2 MB, free: 65.29 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.112e-05/0.3251, allocations: 3.062 kB / 499.2 MB, free: 65.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=275) (initialization_lambda0): time 0.003624/0.3288, allocations: 2.002 MB / 0.4895 GB, free: 64.66 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.526e-05/0.3288, allocations: 44.36 kB / 0.4895 GB, free: 64.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.3288, allocations: 11.34 kB / 0.4895 GB, free: 64.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002744/0.3291, allocations: 226.6 kB / 0.4897 GB, free: 64.58 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.3303, allocations: 467.8 kB / 0.4902 GB, free: 64.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.866e-05/0.3304, allocations: 31.3 kB / 0.4902 GB, free: 64.56 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.3317, allocations: 248.7 kB / 0.4904 GB, free: 64.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001331/0.3318, allocations: 84.56 kB / 0.4905 GB, free: 64.44 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.0007/0.3325, allocations: 0.5755 MB / 0.4911 GB, free: 64.03 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004989/0.333, allocations: 390.6 kB / 0.4915 GB, free: 63.83 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003143/0.3362, allocations: 1.836 MB / 0.4933 GB, free: 63.22 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/0.3362, allocations: 23.09 kB / 0.4933 GB, free: 63.22 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.3362, allocations: 5.656 kB / 0.4933 GB, free: 63.22 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/0.3362, allocations: 9.75 kB / 0.4933 GB, free: 63.22 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007028/0.3432, allocations: 4.456 MB / 0.4976 GB, free: 61.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.3432, allocations: 3.25 kB / 0.4976 GB, free: 61.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001538/0.3448, allocations: 390.3 kB / 0.498 GB, free: 61.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003353/0.3451, allocations: 206.2 kB / 0.4982 GB, free: 61.16 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001527/0.3453, allocations: 61.78 kB / 0.4983 GB, free: 61.13 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.551e-05/0.3453, allocations: 10.31 kB / 0.4983 GB, free: 61.12 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.3453, allocations: 1.438 kB / 0.4983 GB, free: 61.12 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005245/0.3505, allocations: 2.548 MB / 0.5008 GB, free: 60.18 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00132/0.3519, allocations: 0.6225 MB / 0.5014 GB, free: 59.75 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003314/0.3522, allocations: 60.62 kB / 0.5014 GB, free: 59.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007918/0.353, allocations: 148.5 kB / 0.5016 GB, free: 59.68 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003478/0.3533, allocations: 187.9 kB / 0.5018 GB, free: 59.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/0.3535, allocations: 66.67 kB / 0.5018 GB, free: 59.62 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001727/0.3552, allocations: 1.288 MB / 0.5031 GB, free: 59.22 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.3552, allocations: 0.875 kB / 0.5031 GB, free: 59.22 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002402/0.3576, allocations: 1.153 MB / 0.5042 GB, free: 58.89 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.001122/0.3587, allocations: 474.9 kB / 0.5047 GB, free: 58.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00432/0.363, allocations: 2.358 MB / 0.507 GB, free: 58.09 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.363, allocations: 3.719 kB / 0.507 GB, free: 58.09 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001306/0.3643, allocations: 0.8399 MB / 0.5078 GB, free: 57.86 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002144/0.3665, allocations: 0.5621 MB / 0.5083 GB, free: 57.65 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007471/0.374, allocations: 5.062 MB / 0.5133 GB, free: 55.05 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005051/0.3745, allocations: 0.4883 MB / 0.5138 GB, free: 54.93 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001411/0.3759, allocations: 357.9 kB / 0.5141 GB, free: 54.86 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005016/0.3764, allocations: 189.2 kB / 0.5143 GB, free: 54.84 MB / 442.7 MB Notification: Performance of SimCode: time 2.785e-06/0.3764, allocations: 0 / 0.5143 GB, free: 54.84 MB / 442.7 MB Notification: Performance of Templates: time 0.04567/0.422, allocations: 39.7 MB / 0.5531 GB, free: 19.95 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.375035259407014]