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.001023/0.001023, allocations: 91.55 kB / 20.97 MB, free: 3.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 181 kB / 24.28 MB, free: 280 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8623/0.8623, allocations: 158.6 MB / 186.1 MB, free: 2.898 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.403/0.403, allocations: 76.92 MB / 315.3 MB, free: 10.71 MB / 298.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -noHomotopyOnFirstTry=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRestart=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRootFinding=() since the simulation runtime does not accept it Running command: translateModel(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource") translateModel(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 415.2 MB, free: 8.559 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.601e-05/2.792e-05, allocations: 2.312 kB / 415.2 MB, free: 8.555 MB / 394.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource): time 0.01124/0.01127, allocations: 11.34 MB / 426.5 MB, free: 13.15 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.009891/0.02116, allocations: 6.102 MB / 432.7 MB, free: 7.031 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002763/0.02392, allocations: 91.31 kB / 432.7 MB, free: 6.941 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.001743/0.02566, allocations: 0.6427 MB / 433.4 MB, free: 6.293 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.002646/0.02831, allocations: 0.9036 MB / 434.3 MB, free: 5.383 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005199/0.03351, allocations: 2.772 MB / 437.1 MB, free: 2.605 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005671/0.03918, allocations: 4.371 MB / 441.4 MB, free: 14.21 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001801/0.04098, allocations: 1.039 MB / 442.5 MB, free: 13.1 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002282/0.04326, allocations: 1.472 MB / 443.9 MB, free: 11.62 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001335/0.0446, allocations: 1.222 MB / 445.2 MB, free: 10.4 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008395/0.04544, allocations: 475.9 kB / 445.6 MB, free: 9.934 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009818/0.04642, allocations: 0.6716 MB / 446.3 MB, free: 9.262 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005815/0.047, allocations: 0.9537 MB / 447.3 MB, free: 8.305 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001343/0.04834, allocations: 1.149 MB / 448.4 MB, free: 7.152 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002981/0.05133, allocations: 3.028 MB / 451.4 MB, free: 4.113 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.05133, allocations: 0 / 451.4 MB, free: 4.113 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.05133, allocations: 0 / 451.4 MB, free: 4.113 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.757e-05/0.05135, allocations: 4 kB / 451.4 MB, free: 4.109 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 552 * Number of variables: 552 Notification: Performance of Generate backend data structure: time 0.004914/0.05626, allocations: 4.363 MB / 455.8 MB, free: 15.66 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.05631, allocations: 8.031 kB / 455.8 MB, free: 15.66 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002548/0.05886, allocations: 1.138 MB / 456.9 MB, free: 14.52 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002199/0.06106, allocations: 2.3 MB / 459.2 MB, free: 12.16 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000394/0.06145, allocations: 0.8432 MB / 460.1 MB, free: 11.16 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002328/0.06168, allocations: 237.3 kB / 460.3 MB, free: 10.93 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002788/0.06447, allocations: 2.609 MB / 462.9 MB, free: 7.965 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.375e-05/0.06451, allocations: 4 kB / 462.9 MB, free: 7.961 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001556/0.06466, allocations: 107.9 kB / 463 MB, free: 7.855 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.673e-05/0.0647, allocations: 52 kB / 463.1 MB, free: 7.805 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001706/0.0664, allocations: 0.9818 MB / 464.1 MB, free: 6.793 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2084/0.2748, allocations: 9.29 MB / 473.4 MB, free: 93.39 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002042/0.2768, allocations: 1.242 MB / 474.6 MB, free: 93.3 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005972/0.2774, allocations: 448.2 kB / 475 MB, free: 93.25 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.744e-05/0.2775, allocations: 35.25 kB / 475.1 MB, free: 93.25 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009609/0.2784, allocations: 1.001 MB / 476.1 MB, free: 92.95 MB / 442.7 MB Notification: Performance of pre-optimization done (n=185): time 2.865e-06/0.2784, allocations: 0 / 476.1 MB, free: 92.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=185): time 0.003533/0.282, allocations: 2.129 MB / 478.2 MB, free: 92.76 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.838e-05/0.2821, allocations: 0.4892 MB / 478.7 MB, free: 92.19 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001722/0.2838, allocations: 2.07 MB / 480.8 MB, free: 91.73 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001043/0.2839, allocations: 77.78 kB / 480.8 MB, free: 91.67 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006735/0.2846, allocations: 1.442 MB / 482.3 MB, free: 90.75 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003183/0.2849, allocations: 0.6266 MB / 482.9 MB, free: 90.34 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004258/0.2853, allocations: 372.5 kB / 483.3 MB, free: 90.17 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.606e-05/0.2853, allocations: 480.7 kB / 483.7 MB, free: 89.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006627/0.286, allocations: 390.2 kB / 484.1 MB, free: 89.6 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000955/0.287, allocations: 1.368 MB / 485.5 MB, free: 88.32 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002137/0.2891, allocations: 1.762 MB / 487.3 MB, free: 87.33 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/0.2891, allocations: 6.688 kB / 487.3 MB, free: 87.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=254) (initialization): time 0.002762/0.2919, allocations: 1.898 MB / 489.2 MB, free: 86.68 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.002e-05/0.2919, allocations: 36.64 kB / 489.2 MB, free: 86.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.2919, allocations: 9 kB / 489.2 MB, free: 86.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002974/0.2922, allocations: 221.8 kB / 489.4 MB, free: 86.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.2933, allocations: 455 kB / 489.9 MB, free: 86.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3e-05/0.2934, allocations: 28.23 kB / 489.9 MB, free: 86.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007992/0.2942, allocations: 246.6 kB / 490.1 MB, free: 86.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.2943, allocations: 76.16 kB / 490.2 MB, free: 86.47 MB / 442.7 MB Warning: Assuming fixed start value for the following 26 variables: WTG4B.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4B.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean WTG4B.line.running.value:DISCRETE(flow=false start = WTG4B.line.Running0 fixed = true ) type: Boolean WTG4B.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4B.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4B.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_regc.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.injector.running.value:DISCRETE(flow=false start = WTG4B.injector.Running0 fixed = true ) type: Boolean WTG4B.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4B.wecc_repc.leadLag.a_end * WTG4B.wecc_repc.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4B.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001126/0.2954, allocations: 0.6458 MB / 490.9 MB, free: 86.21 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009005/0.2963, allocations: 1.357 MB / 492.2 MB, free: 84.92 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001939/0.2982, allocations: 1.744 MB / 494 MB, free: 83.88 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.975e-06/0.2982, allocations: 3.031 kB / 494 MB, free: 83.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.002655/0.3009, allocations: 1.887 MB / 495.8 MB, free: 83.21 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.3009, allocations: 45.03 kB / 495.9 MB, free: 83.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.3009, allocations: 11.61 kB / 495.9 MB, free: 83.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002254/0.3011, allocations: 226.6 kB / 496.1 MB, free: 83.13 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.3022, allocations: 440.1 kB / 496.6 MB, free: 83.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-05/0.3023, allocations: 29.22 kB / 496.6 MB, free: 83.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008248/0.3031, allocations: 248.7 kB / 496.8 MB, free: 83 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.3032, allocations: 74.92 kB / 496.9 MB, free: 82.99 MB / 442.7 MB Warning: Assuming fixed start value for the following 26 variables: WTG4B.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4B.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean WTG4B.line.running.value:DISCRETE(flow=false start = WTG4B.line.Running0 fixed = true ) type: Boolean WTG4B.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4B.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4B.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_regc.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.injector.running.value:DISCRETE(flow=false start = WTG4B.injector.Running0 fixed = true ) type: Boolean WTG4B.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4B.wecc_repc.leadLag.a_end * WTG4B.wecc_repc.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4B.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.WTG4B.injector.state,WTG4B.injector.state,$PRE.WTG4B.line.state,WTG4B.line.state,$PRE.line.state,line.state,WTG4B.injector.switchOffSignal3.value,WTG4B.injector.switchOffSignal2.value,WTG4B.injector.switchOffSignal1.value,line.switchOffSignal2.value,line.switchOffSignal1.value,WTG4B.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,WTG4B.wecc_regc.rateLimFirstOrderFreeze.local_freeze,$PRE.line.running.value,$PRE.WTG4B.line.running.value,$PRE.WTG4B.wecc_reec.iqInjectionLogic.vDip,$PRE.WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$PRE.WTG4B.injector.running.value,$PRE.WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_repc.freeze,WTG4B.injector.running.value,WTG4B.wecc_regc.offDelay.tNext,WTG4B.wecc_regc.offDelay.delaySignal,WTG4B.wecc_regc.offDelay.y,WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4B.wecc_reec.iqInjectionLogic.vDip,WTG4B.line.running.value,line.running.value,$whenCondition17,$whenCondition16,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition12,$whenCondition11,$whenCondition14,$whenCondition13,$whenCondition15,WTG4B.wecc_repc.limPIDFreeze.I.resetLocal,WTG4B.wecc_repc.limPID.I.local_reset,WTG4B.pll.limIntegrator.local_reset,WTG4B.pll.integrator.local_reset,WTG4B.wecc_reec.varLimPIDFreeze.I.resetLocal,WTG4B.wecc_reec.limPIDFreeze.I.resetLocal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (244): * Single equations (assignments): 242 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(8,56.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005432/0.3038, allocations: 0.5571 MB / 497.5 MB, free: 82.56 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004541/0.3042, allocations: 364.9 kB / 497.8 MB, free: 82.38 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00289/0.3071, allocations: 1.77 MB / 499.6 MB, free: 81.78 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-05/0.3071, allocations: 18.53 kB / 499.6 MB, free: 81.78 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/0.3071, allocations: 2.469 kB / 499.6 MB, free: 81.78 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.3071, allocations: 10.03 kB / 499.6 MB, free: 81.78 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005613/0.3127, allocations: 4.259 MB / 0.4921 GB, free: 79.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.3128, allocations: 0 / 0.4921 GB, free: 79.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/0.314, allocations: 372.3 kB / 0.4924 GB, free: 79.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002554/0.3143, allocations: 212.4 kB / 0.4926 GB, free: 79.81 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001166/0.3144, allocations: 49.28 kB / 0.4927 GB, free: 79.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.3144, allocations: 9.812 kB / 0.4927 GB, free: 79.78 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3144, allocations: 1.156 kB / 0.4927 GB, free: 79.78 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004079/0.3185, allocations: 2.458 MB / 0.4951 GB, free: 78.85 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007106/0.3192, allocations: 0.5973 MB / 0.4957 GB, free: 78.46 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002568/0.3195, allocations: 57.98 kB / 0.4957 GB, free: 78.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000682/0.3201, allocations: 138.3 kB / 0.4958 GB, free: 78.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003139/0.3205, allocations: 183.1 kB / 0.496 GB, free: 78.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.802e-05/0.3206, allocations: 66.17 kB / 0.4961 GB, free: 78.35 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001492/0.322, allocations: 1.225 MB / 0.4973 GB, free: 77.95 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.322, allocations: 5.219 kB / 0.4973 GB, free: 77.95 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002201/0.3242, allocations: 1.07 MB / 0.4983 GB, free: 77.74 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 19 (WTG4B.wecc_reec.firstOrder.y,WTG4B.wecc_reec.firstOrder1.y,WTG4B.wecc_reec.limPIDFreeze.I.y,WTG4B.wecc_reec.varLimPIDFreeze.I.y,WTG4B.wecc_reec.rateLimFirstOrderFreeze1.y,WTG4B.wecc_reec.slewRateLimiter.y,WTG4B.wecc_reec.rateLimFirstOrderFreeze.y,WTG4B.wecc_regc.firstOrder.y,WTG4B.wecc_regc.rateLimFirstOrderFreeze.y,WTG4B.wecc_regc.rateLimFirstOrderFreeze1.y,WTG4B.pll.integrator.y,WTG4B.pll.limIntegrator.y,WTG4B.wecc_repc.firstOrder.y,WTG4B.wecc_repc.limPID.I.y,WTG4B.wecc_repc.firstOrder1.y,WTG4B.wecc_repc.firstOrder2.y,WTG4B.wecc_repc.firstOrder3.y,WTG4B.wecc_repc.limPIDFreeze.I.y,WTG4B.wecc_repc.leadLag.x_scaled[1]) * Number of discrete variables: 32 ($whenCondition15,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,$whenCondition16,$whenCondition17,line.running.value,line.state,WTG4B.line.running.value,WTG4B.line.state,WTG4B.wecc_reec.iqInjectionLogic.vDip,WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4B.wecc_regc.offDelay.y,WTG4B.wecc_regc.offDelay.delaySignal,WTG4B.wecc_regc.offDelay.tNext,WTG4B.injector.running.value,WTG4B.injector.state,WTG4B.wecc_repc.freeze) * Number of discrete states: 12 (WTG4B.injector.running.value,WTG4B.line.running.value,line.running.value,WTG4B.wecc_regc.offDelay.tNext,WTG4B.wecc_regc.offDelay.delaySignal,$whenCondition17,$whenCondition16,WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxPu,WTG4B.wecc_reec.iqInjectionLogic.vDip,WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (184): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 9 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(8,56.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009948/0.3252, allocations: 472.3 kB / 0.4988 GB, free: 77.55 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003583/0.3288, allocations: 2.244 MB / 0.501 GB, free: 76.88 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.3288, allocations: 1.719 kB / 0.501 GB, free: 76.88 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009922/0.3298, allocations: 0.8059 MB / 0.5018 GB, free: 76.61 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/0.331, allocations: 0.5288 MB / 0.5023 GB, free: 76.42 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005526/0.3366, allocations: 4.722 MB / 0.5069 GB, free: 73.99 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/0.3369, allocations: 467.3 kB / 0.5073 GB, free: 73.87 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000911/0.3379, allocations: 338 kB / 0.5077 GB, free: 73.75 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004149/0.3383, allocations: 184.5 kB / 0.5078 GB, free: 73.58 MB / 442.7 MB Notification: Performance of SimCode: time 1.333e-06/0.3383, allocations: 0 / 0.5078 GB, free: 73.58 MB / 442.7 MB Notification: Performance of Templates: time 0.03993/0.3782, allocations: 36.56 MB / 0.5435 GB, free: 39.34 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.makefile [Timeout 660] (rm -f Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe ; mkfifo Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe >> ../files/Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.sim & ./Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.14035798702389]