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.0008797/0.0008797, allocations: 77.88 kB / 21.45 MB, free: 3.043 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.0008999/0.0008999, allocations: 163.2 kB / 24.85 MB, free: 8.715 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.7608/0.7608, allocations: 158.6 MB / 186.8 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.3653/0.3653, allocations: 76.92 MB / 316.1 MB, free: 10.59 MB / 298.7 MB " [Timeout remaining time 180] Using package Dynawo with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -noHomotopyOnFirstTry=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRestart=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRootFinding=() since the simulation runtime does not accept it Running command: translateModel(Dynawo.Examples.Wind.WECC.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 1.102e-06/1.102e-06, allocations: 0 / 416.7 MB, free: 7.723 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.106e-05, allocations: 6.312 kB / 416.7 MB, free: 7.715 MB / 394.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource): time 0.009632/0.009653, allocations: 11.59 MB / 428.3 MB, free: 12.06 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006721/0.01637, allocations: 6.289 MB / 434.6 MB, free: 5.754 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008313/0.0172, allocations: 95.31 kB / 434.7 MB, free: 5.66 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.0009885/0.01819, allocations: 0.6775 MB / 435.3 MB, free: 4.977 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.001315/0.01951, allocations: 0.9501 MB / 436.3 MB, free: 4.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002777/0.02228, allocations: 2.873 MB / 439.2 MB, free: 1.141 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002983/0.02527, allocations: 4.649 MB / 443.8 MB, free: 12.48 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001158/0.02643, allocations: 1.12 MB / 444.9 MB, free: 11.29 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001176/0.0276, allocations: 1.558 MB / 446.5 MB, free: 9.727 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009143/0.02852, allocations: 1.285 MB / 447.8 MB, free: 8.438 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003791/0.0289, allocations: 0.4922 MB / 448.3 MB, free: 7.945 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007738/0.02967, allocations: 0.7067 MB / 449 MB, free: 7.238 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005166/0.03019, allocations: 1.02 MB / 450 MB, free: 6.215 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007021/0.03089, allocations: 1.223 MB / 451.2 MB, free: 4.988 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002362/0.03325, allocations: 3.219 MB / 454.4 MB, free: 1.758 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.03325, allocations: 0 / 454.4 MB, free: 1.758 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.03325, allocations: 0 / 454.4 MB, free: 1.758 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.77e-05/0.03327, allocations: 0 / 454.4 MB, free: 1.758 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.004986/0.03826, allocations: 4.632 MB / 459.1 MB, free: 13.03 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.03829, allocations: 12.03 kB / 459.1 MB, free: 13.02 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002339/0.04063, allocations: 1.189 MB / 460.3 MB, free: 11.83 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002065/0.04269, allocations: 2.396 MB / 462.7 MB, free: 9.375 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004673/0.04316, allocations: 0.8631 MB / 463.5 MB, free: 8.355 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002446/0.04341, allocations: 256.2 kB / 463.8 MB, free: 8.105 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00233/0.04574, allocations: 2.632 MB / 466.4 MB, free: 5.094 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.586e-05/0.04577, allocations: 11.88 kB / 466.4 MB, free: 5.082 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001561/0.04593, allocations: 108 kB / 466.5 MB, free: 4.977 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.108e-05/0.04596, allocations: 56 kB / 466.6 MB, free: 4.922 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/0.04783, allocations: 0.8534 MB / 467.4 MB, free: 4.023 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1417/0.1896, allocations: 10.09 MB / 477.5 MB, free: 72.24 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001668/0.1912, allocations: 1.166 MB / 478.7 MB, free: 72.16 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004439/0.1917, allocations: 391 kB / 479.1 MB, free: 72.12 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.983e-05/0.1918, allocations: 37.53 kB / 479.1 MB, free: 72.11 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007922/0.1926, allocations: 0.9458 MB / 480 MB, free: 71.82 MB / 442.7 MB Notification: Performance of pre-optimization done (n=197): time 3.216e-06/0.1926, allocations: 0.5 kB / 480 MB, free: 71.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=197): time 0.003073/0.1956, allocations: 1.979 MB / 482 MB, free: 71.62 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.232e-05/0.1957, allocations: 497.4 kB / 482.5 MB, free: 71.05 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/0.197, allocations: 2.108 MB / 484.6 MB, free: 70.71 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001105/0.1971, allocations: 77.14 kB / 484.7 MB, free: 70.68 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007091/0.1978, allocations: 1.586 MB / 486.3 MB, free: 70.38 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000319/0.1982, allocations: 0.6795 MB / 487 MB, free: 70.02 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004264/0.1986, allocations: 413 kB / 487.4 MB, free: 69.99 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 2.816e-05/0.1986, allocations: 480.7 kB / 487.8 MB, free: 69.52 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004357/0.199, allocations: 325.7 kB / 488.1 MB, free: 69.46 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006427/0.1997, allocations: 1.366 MB / 489.5 MB, free: 68.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001454/0.2011, allocations: 1.675 MB / 491.2 MB, free: 67.47 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.2011, allocations: 2.906 kB / 491.2 MB, free: 67.47 MB / 442.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.002238/0.2034, allocations: 1.84 MB / 493 MB, free: 67.14 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/0.2034, allocations: 34.33 kB / 493.1 MB, free: 67.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.2034, allocations: 11.16 kB / 493.1 MB, free: 67.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002259/0.2037, allocations: 216.9 kB / 493.3 MB, free: 67.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.2048, allocations: 487 kB / 493.8 MB, free: 67.08 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/0.2048, allocations: 23.19 kB / 493.8 MB, free: 67.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007759/0.2056, allocations: 257.8 kB / 494 MB, free: 67.03 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.439e-05/0.2057, allocations: 67.41 kB / 494.1 MB, free: 67.03 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.0008651/0.2066, allocations: 0.586 MB / 494.7 MB, free: 66.84 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000647/0.2072, allocations: 1.358 MB / 496 MB, free: 65.56 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001418/0.2086, allocations: 1.668 MB / 497.7 MB, free: 64.82 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.54e-06/0.2086, allocations: 3.156 kB / 497.7 MB, free: 64.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=275) (initialization_lambda0): time 0.002207/0.2109, allocations: 1.826 MB / 499.5 MB, free: 64.47 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.2109, allocations: 43.22 kB / 499.6 MB, free: 64.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.2109, allocations: 10.47 kB / 499.6 MB, free: 64.44 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000197/0.2111, allocations: 217.8 kB / 499.8 MB, free: 64.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/0.2122, allocations: 477.1 kB / 0.4886 GB, free: 64.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.918e-05/0.2122, allocations: 22.78 kB / 0.4886 GB, free: 64.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008031/0.213, allocations: 252.9 kB / 0.4888 GB, free: 64.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.2131, allocations: 66.53 kB / 0.4889 GB, free: 64.36 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.0004027/0.2135, allocations: 0.5716 MB / 0.4894 GB, free: 64.03 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003649/0.2139, allocations: 385.9 kB / 0.4898 GB, free: 63.86 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002327/0.2162, allocations: 1.68 MB / 0.4914 GB, free: 63.65 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.2162, allocations: 19.69 kB / 0.4915 GB, free: 63.65 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.2162, allocations: 2.188 kB / 0.4915 GB, free: 63.65 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/0.2163, allocations: 10.41 kB / 0.4915 GB, free: 63.65 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004708/0.221, allocations: 3.941 MB / 0.4953 GB, free: 63.17 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.221, allocations: 0 / 0.4953 GB, free: 63.17 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00129/0.2223, allocations: 399.8 kB / 0.4957 GB, free: 63.17 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002215/0.2225, allocations: 199 kB / 0.4959 GB, free: 63.14 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001048/0.2226, allocations: 54.45 kB / 0.4959 GB, free: 63.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.163e-06/0.2226, allocations: 6.75 kB / 0.496 GB, free: 63.14 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2226, allocations: 0 / 0.496 GB, free: 63.14 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003029/0.2256, allocations: 2.314 MB / 0.4982 GB, free: 62.45 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006506/0.2263, allocations: 0.6136 MB / 0.4988 GB, free: 62.05 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002328/0.2265, allocations: 62.91 kB / 0.4989 GB, free: 62.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007002/0.2272, allocations: 142.3 kB / 0.499 GB, free: 61.98 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002446/0.2275, allocations: 188.6 kB / 0.4992 GB, free: 61.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.902e-05/0.2275, allocations: 54.52 kB / 0.4992 GB, free: 61.93 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000915/0.2285, allocations: 1.171 MB / 0.5004 GB, free: 61.69 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2285, allocations: 0 / 0.5004 GB, free: 61.69 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001698/0.2302, allocations: 1.149 MB / 0.5015 GB, free: 61.46 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.0008345/0.231, allocations: 478.8 kB / 0.502 GB, free: 61.29 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00263/0.2336, allocations: 2.103 MB / 0.504 GB, free: 60.85 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.2336, allocations: 8.875 kB / 0.504 GB, free: 60.84 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009163/0.2345, allocations: 0.7608 MB / 0.5048 GB, free: 60.67 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/0.2359, allocations: 0.5603 MB / 0.5053 GB, free: 60.46 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005042/0.2409, allocations: 5.017 MB / 0.5102 GB, free: 57.91 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.2413, allocations: 0.4904 MB / 0.5107 GB, free: 57.79 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0009625/0.2422, allocations: 344.6 kB / 0.511 GB, free: 57.72 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/0.2434, allocations: 0.6 MB / 0.5116 GB, free: 57.63 MB / 442.7 MB Notification: Performance of SimCode: time 6.41e-07/0.2434, allocations: 3.281 kB / 0.5116 GB, free: 57.63 MB / 442.7 MB Notification: Performance of Templates: time 0.03877/0.2821, allocations: 41.98 MB / 0.5526 GB, free: 22.05 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: 3.826805481221527]