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.0009194/0.0009194, allocations: 73.11 kB / 20.67 MB, free: 3.828 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.0009503/0.0009503, allocations: 177 kB / 24.08 MB, free: 428 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.8708/0.8708, allocations: 158.6 MB / 186 MB, free: 2.773 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.3825/0.3825, allocations: 76.92 MB / 315.3 MB, free: 10.64 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.555e-06/2.555e-06, allocations: 0 / 415.9 MB, free: 7.742 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.075e-05/3.33e-05, allocations: 6.25 kB / 415.9 MB, free: 7.734 MB / 394.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource): time 0.01096/0.011, allocations: 11.59 MB / 427.5 MB, free: 12.08 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00971/0.02071, allocations: 6.293 MB / 433.8 MB, free: 5.77 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002543/0.02325, allocations: 91.31 kB / 433.9 MB, free: 5.68 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.001946/0.0252, allocations: 0.6814 MB / 434.5 MB, free: 4.992 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.00313/0.02833, allocations: 0.9539 MB / 435.5 MB, free: 4.031 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005094/0.03342, allocations: 2.866 MB / 438.4 MB, free: 1.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005163/0.03858, allocations: 4.653 MB / 443 MB, free: 12.5 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001866/0.04045, allocations: 1.116 MB / 444.1 MB, free: 11.31 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00247/0.04292, allocations: 1.566 MB / 445.7 MB, free: 9.738 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001376/0.04429, allocations: 1.281 MB / 447 MB, free: 8.453 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008264/0.04512, allocations: 0.4961 MB / 447.5 MB, free: 7.957 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.04624, allocations: 0.7028 MB / 448.2 MB, free: 7.254 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000733/0.04697, allocations: 1.012 MB / 449.2 MB, free: 6.238 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001178/0.04815, allocations: 1.223 MB / 450.4 MB, free: 5.012 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003647/0.0518, allocations: 3.219 MB / 453.6 MB, free: 1.781 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/0.0518, allocations: 4 kB / 453.6 MB, free: 1.777 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.0518, allocations: 0 / 453.6 MB, free: 1.777 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.187e-05/0.05188, allocations: 0 / 453.6 MB, free: 1.777 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.00608/0.05796, allocations: 4.636 MB / 458.3 MB, free: 13.05 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.058, allocations: 8.031 kB / 458.3 MB, free: 13.04 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002351/0.06035, allocations: 1.197 MB / 459.5 MB, free: 11.84 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002267/0.06262, allocations: 2.4 MB / 461.9 MB, free: 9.383 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004392/0.06306, allocations: 0.8553 MB / 462.7 MB, free: 8.371 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003817/0.06344, allocations: 252.3 kB / 463 MB, free: 8.125 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002533/0.06597, allocations: 2.639 MB / 465.6 MB, free: 5.105 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.353e-05/0.06601, allocations: 8 kB / 465.6 MB, free: 5.098 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001486/0.06616, allocations: 104 kB / 465.7 MB, free: 4.996 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.38e-05/0.06619, allocations: 60 kB / 465.8 MB, free: 4.938 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.06738, allocations: 0.8533 MB / 466.6 MB, free: 4.039 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2131/0.2805, allocations: 10.09 MB / 476.7 MB, free: 72.93 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002576/0.2831, allocations: 1.16 MB / 477.9 MB, free: 72.86 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006965/0.2837, allocations: 388 kB / 478.3 MB, free: 72.81 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/0.2839, allocations: 48.19 kB / 478.3 MB, free: 72.8 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001363/0.2852, allocations: 0.9448 MB / 479.3 MB, free: 72.51 MB / 442.7 MB Notification: Performance of pre-optimization done (n=197): time 5.029e-06/0.2852, allocations: 0 / 479.3 MB, free: 72.51 MB / 442.7 MB Notification: Performance of matching and sorting (n=197): time 0.004798/0.29, allocations: 1.983 MB / 481.2 MB, free: 72.31 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/0.2902, allocations: 0.4892 MB / 481.7 MB, free: 71.74 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002483/0.2927, allocations: 2.101 MB / 483.8 MB, free: 71.41 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001555/0.2928, allocations: 80.22 kB / 483.9 MB, free: 71.38 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001231/0.294, allocations: 1.592 MB / 485.5 MB, free: 71.07 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005766/0.2946, allocations: 0.683 MB / 486.2 MB, free: 70.71 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006774/0.2953, allocations: 409.2 kB / 486.6 MB, free: 70.68 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.001e-05/0.2954, allocations: 483.9 kB / 487.1 MB, free: 70.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006683/0.296, allocations: 319.7 kB / 487.4 MB, free: 70.15 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001083/0.2971, allocations: 1.369 MB / 488.7 MB, free: 68.88 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002444/0.2995, allocations: 1.677 MB / 490.4 MB, free: 68.15 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-05/0.2996, allocations: 2.875 kB / 490.4 MB, free: 68.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.003663/0.3032, allocations: 1.835 MB / 492.2 MB, free: 67.82 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.266e-05/0.3033, allocations: 39.48 kB / 492.3 MB, free: 67.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.253e-05/0.3033, allocations: 14.59 kB / 492.3 MB, free: 67.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003595/0.3036, allocations: 214.6 kB / 492.5 MB, free: 67.76 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001784/0.3054, allocations: 486.3 kB / 493 MB, free: 67.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.815e-05/0.3055, allocations: 22.78 kB / 493 MB, free: 67.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/0.3067, allocations: 253.8 kB / 493.3 MB, free: 67.67 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001531/0.3069, allocations: 70.12 kB / 493.3 MB, free: 67.67 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.001406/0.3083, allocations: 0.5839 MB / 493.9 MB, free: 67.47 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00111/0.3094, allocations: 1.355 MB / 495.3 MB, free: 66.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002412/0.3118, allocations: 1.675 MB / 496.9 MB, free: 65.45 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.838e-06/0.3118, allocations: 4.578 kB / 496.9 MB, free: 65.45 MB / 442.7 MB Notification: Performance of matching and sorting (n=275) (initialization_lambda0): time 0.003522/0.3153, allocations: 1.821 MB / 498.8 MB, free: 65.11 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.894e-05/0.3154, allocations: 39.53 kB / 498.8 MB, free: 65.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.201e-05/0.3154, allocations: 11.09 kB / 498.8 MB, free: 65.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000312/0.3157, allocations: 219.2 kB / 499 MB, free: 65.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001709/0.3174, allocations: 475.8 kB / 499.5 MB, free: 65.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-05/0.3175, allocations: 28.22 kB / 499.5 MB, free: 65.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/0.3188, allocations: 248.1 kB / 499.8 MB, free: 64.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001846/0.319, allocations: 61.8 kB / 499.8 MB, free: 64.96 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.wecc_reec.limPIDFreeze.I.resetLocal,WTG4A.wecc_reec.varLimPIDFreeze.I.resetLocal,WTG4A.pll.integrator.local_reset,WTG4A.pll.limIntegrator.local_reset,WTG4A.driveTrainPmConstrant.dPhi.local_reset,WTG4A.driveTrainPmConstrant.dOmegaTurbine.local_reset,WTG4A.driveTrainPmConstrant.dOmegaGenerator.local_reset,WTG4A.wecc_repc.limPID.I.local_reset,WTG4A.wecc_repc.limPIDFreeze.I.resetLocal,$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_regc.rateLimFirstOrderFreeze.local_freeze,WTG4A.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,line.switchOffSignal1.value,line.switchOffSignal2.value,WTG4A.injector.switchOffSignal1.value,WTG4A.injector.switchOffSignal2.value,WTG4A.injector.switchOffSignal3.value) * 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.0007549/0.3197, allocations: 0.5711 MB / 0.4887 GB, free: 64.62 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000614/0.3203, allocations: 390.6 kB / 0.489 GB, free: 64.46 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003983/0.3243, allocations: 1.682 MB / 0.4907 GB, free: 64.25 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.54e-05/0.3244, allocations: 18.91 kB / 0.4907 GB, free: 64.25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.679e-06/0.3244, allocations: 3.031 kB / 0.4907 GB, free: 64.25 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.51e-05/0.3244, allocations: 10.08 kB / 0.4907 GB, free: 64.25 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005102/0.3295, allocations: 3.942 MB / 0.4946 GB, free: 63.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.3295, allocations: 0 / 0.4946 GB, free: 63.74 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/0.3307, allocations: 389 kB / 0.4949 GB, free: 63.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002785/0.331, allocations: 205.9 kB / 0.4951 GB, free: 63.7 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001325/0.3311, allocations: 53.88 kB / 0.4952 GB, free: 63.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.166e-05/0.3312, allocations: 9.594 kB / 0.4952 GB, free: 63.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.3312, allocations: 0.9375 kB / 0.4952 GB, free: 63.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003341/0.3345, allocations: 2.31 MB / 0.4974 GB, free: 63.06 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007094/0.3352, allocations: 0.6139 MB / 0.498 GB, free: 62.63 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002214/0.3354, allocations: 62.31 kB / 0.4981 GB, free: 62.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006667/0.3361, allocations: 143.6 kB / 0.4982 GB, free: 62.56 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003178/0.3364, allocations: 189.2 kB / 0.4984 GB, free: 62.53 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.986e-05/0.3365, allocations: 50.06 kB / 0.4985 GB, free: 62.51 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001315/0.3378, allocations: 1.175 MB / 0.4996 GB, free: 62.27 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3378, allocations: 4 kB / 0.4996 GB, free: 62.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002536/0.3404, allocations: 1.149 MB / 0.5007 GB, free: 61.93 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.0009547/0.3413, allocations: 477.8 kB / 0.5012 GB, free: 61.74 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002994/0.3443, allocations: 2.11 MB / 0.5033 GB, free: 61.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.768e-06/0.3443, allocations: 1.438 kB / 0.5033 GB, free: 61.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009786/0.3453, allocations: 0.7572 MB / 0.504 GB, free: 61.13 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/0.3468, allocations: 0.5649 MB / 0.5045 GB, free: 60.91 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005743/0.3526, allocations: 5.016 MB / 0.5094 GB, free: 58.36 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004531/0.353, allocations: 0.4911 MB / 0.5099 GB, free: 58.23 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0009767/0.354, allocations: 346.5 kB / 0.5103 GB, free: 58.16 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001115/0.3551, allocations: 0.6054 MB / 0.5108 GB, free: 58.08 MB / 442.7 MB Notification: Performance of SimCode: time 1.022e-06/0.3551, allocations: 0 / 0.5108 GB, free: 58.08 MB / 442.7 MB Notification: Performance of Templates: time 0.04351/0.3986, allocations: 40.99 MB / 0.5509 GB, free: 23.7 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.096266351174563]