Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS.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.0009188/0.0009188, allocations: 77.97 kB / 21.46 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.001594/0.001594, allocations: 163.2 kB / 24.85 MB, free: 8.641 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.8321/0.8321, allocations: 158.6 MB / 186.8 MB, free: 2.801 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.4404/0.4404, allocations: 90.58 MB / 329.7 MB, free: 14.58 MB / 314.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/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.WTG4BCurrentSourceExternalPCS,tolerance=0.001,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|WTG4B.injector.PInjPu|WTG4B.injector.QInjPu|WTG4B.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS") translateModel(Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS,tolerance=0.001,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|WTG4B.injector.PInjPu|WTG4B.injector.QInjPu|WTG4B.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 436 MB, free: 4.703 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.546e-05/2.718e-05, allocations: 2.312 kB / 436 MB, free: 4.699 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS): time 0.01676/0.01678, allocations: 14.71 MB / 450.7 MB, free: 5.91 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01048/0.02726, allocations: 6.962 MB / 457.7 MB, free: 14.93 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002857/0.03012, allocations: 95.38 kB / 457.8 MB, free: 14.84 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002014/0.03213, allocations: 0.9457 MB / 458.7 MB, free: 13.88 MB / 442.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.00403/0.03616, allocations: 1.572 MB / 460.3 MB, free: 12.3 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:112:3-112:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wTG4CurrentSource_INIT.s0Pu) == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.005005/0.04117, allocations: 3.24 MB / 463.5 MB, free: 9.055 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.00604/0.04721, allocations: 5.597 MB / 469.1 MB, free: 3.438 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002167/0.04938, allocations: 1.246 MB / 470.4 MB, free: 2.117 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002795/0.05217, allocations: 1.916 MB / 472.3 MB, free: 200 kB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1916/0.2438, allocations: 1.698 MB / 474 MB, free: 59.12 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001456/0.2453, allocations: 0.5773 MB / 474.5 MB, free: 59.12 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/0.2465, allocations: 0.913 MB / 475.5 MB, free: 59.12 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005706/0.247, allocations: 1.246 MB / 476.7 MB, free: 59.12 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001329/0.2484, allocations: 1.496 MB / 478.2 MB, free: 59.12 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003828/0.2522, allocations: 3.966 MB / 482.2 MB, free: 58.83 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.2522, allocations: 1.438 kB / 482.2 MB, free: 58.83 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2522, allocations: 2.406 kB / 482.2 MB, free: 58.83 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.411e-05/0.2522, allocations: 0.9375 kB / 482.2 MB, free: 58.83 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 753 * Number of variables: 753 Notification: Performance of Generate backend data structure: time 0.007287/0.2595, allocations: 6.218 MB / 488.4 MB, free: 56.43 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.2596, allocations: 8.156 kB / 488.4 MB, free: 56.43 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003633/0.2632, allocations: 1.684 MB / 490.1 MB, free: 56.15 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002244/0.2654, allocations: 2.62 MB / 492.7 MB, free: 55.43 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003485/0.2658, allocations: 1.127 MB / 493.8 MB, free: 54.39 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000319/0.2661, allocations: 325.3 kB / 494.1 MB, free: 54.39 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002673/0.2688, allocations: 2.905 MB / 497 MB, free: 53.15 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.294e-05/0.2688, allocations: 3.375 kB / 497.1 MB, free: 53.15 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000197/0.269, allocations: 127.1 kB / 497.2 MB, free: 53.06 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.066e-05/0.2691, allocations: 74.62 kB / 497.2 MB, free: 53.05 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001529/0.2706, allocations: 1.076 MB / 498.3 MB, free: 52.95 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008874/0.2795, allocations: 10.66 MB / 0.4971 GB, free: 46.29 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00216/0.2816, allocations: 1.51 MB / 0.4985 GB, free: 46.01 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006763/0.2823, allocations: 497.3 kB / 0.499 GB, free: 45.95 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001736/0.2825, allocations: 58.03 kB / 0.4991 GB, free: 45.94 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001361/0.2838, allocations: 1.145 MB / 0.5002 GB, free: 45.7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=274): time 4.098e-06/0.2838, allocations: 0 / 0.5002 GB, free: 45.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=274): time 0.00481/0.2886, allocations: 2.657 MB / 0.5028 GB, free: 45.14 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.436e-05/0.2887, allocations: 488.1 kB / 0.5032 GB, free: 44.6 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002523/0.2913, allocations: 2.592 MB / 0.5058 GB, free: 44.09 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001692/0.2914, allocations: 98.47 kB / 0.5059 GB, free: 44.01 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001/0.2924, allocations: 1.786 MB / 0.5076 GB, free: 42.75 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005793/0.293, allocations: 0.9698 MB / 0.5086 GB, free: 42.06 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009185/0.2939, allocations: 0.7722 MB / 0.5093 GB, free: 41.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.442e-05/0.294, allocations: 481.2 kB / 0.5098 GB, free: 41.33 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/0.2951, allocations: 0.7462 MB / 0.5105 GB, free: 41.16 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001483/0.2966, allocations: 1.863 MB / 0.5123 GB, free: 39.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003283/0.2999, allocations: 3.171 MB / 0.5154 GB, free: 38.47 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-05/0.2999, allocations: 7.531 kB / 0.5154 GB, free: 38.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.004163/0.304, allocations: 3.336 MB / 0.5187 GB, free: 37.51 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.472e-05/0.3041, allocations: 67.67 kB / 0.5187 GB, free: 37.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.3041, allocations: 8.625 kB / 0.5188 GB, free: 37.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007345/0.3048, allocations: 412.2 kB / 0.5191 GB, free: 37.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001779/0.3066, allocations: 0.7791 MB / 0.5199 GB, free: 37.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002243/0.3089, allocations: 2.682 MB / 0.5225 GB, free: 35.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/0.3103, allocations: 380.3 kB / 0.5229 GB, free: 35.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001607/0.3104, allocations: 113.2 kB / 0.523 GB, free: 35.02 MB / 442.7 MB Warning: Assuming fixed start value for the following 33 variables: WTG4B.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4B.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) 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) ZPcs.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = ZPcs.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Zcc.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Zcc.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Zcc.running:DISCRETE(flow=false start = Zcc.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean ZPcs.running:DISCRETE(flow=false start = ZPcs.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_reec.UConv0Pu 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.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.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.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.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze2.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.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG4B.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG4B.injector.running:DISCRETE(flow=false start = WTG4B.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.LvTfo.running:DISCRETE(flow=false start = WTG4B.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.HvTfo.running:DISCRETE(flow=false start = WTG4B.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" 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.X0[1] * WTG4B.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4B.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean WTG4B.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001777/0.3122, allocations: 1.076 MB / 0.524 GB, free: 34.66 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001305/0.3135, allocations: 1.856 MB / 0.5259 GB, free: 33.25 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00296/0.3165, allocations: 3.143 MB / 0.5289 GB, free: 30.25 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.015e-06/0.3165, allocations: 4 kB / 0.5289 GB, free: 30.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=522) (initialization_lambda0): time 0.003798/0.3203, allocations: 3.33 MB / 0.5322 GB, free: 27.29 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.961e-05/0.3203, allocations: 65.38 kB / 0.5322 GB, free: 27.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.3203, allocations: 12 kB / 0.5323 GB, free: 27.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00064/0.321, allocations: 414 kB / 0.5327 GB, free: 26.87 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001682/0.3227, allocations: 0.7715 MB / 0.5334 GB, free: 26.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002154/0.3248, allocations: 2.684 MB / 0.536 GB, free: 23.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/0.3261, allocations: 354.2 kB / 0.5364 GB, free: 23.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001539/0.3263, allocations: 116 kB / 0.5365 GB, free: 22.95 MB / 442.7 MB Warning: Assuming fixed start value for the following 33 variables: WTG4B.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4B.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) 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) ZPcs.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = ZPcs.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Zcc.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Zcc.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Zcc.running:DISCRETE(flow=false start = Zcc.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean ZPcs.running:DISCRETE(flow=false start = ZPcs.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_reec.UConv0Pu 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.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.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.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.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze2.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.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG4B.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG4B.injector.running:DISCRETE(flow=false start = WTG4B.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.LvTfo.running:DISCRETE(flow=false start = WTG4B.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.HvTfo.running:DISCRETE(flow=false start = WTG4B.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" 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.X0[1] * WTG4B.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4B.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean 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: 44 * Number of states: 0 () * Number of discrete variables: 80 ($PRE.WTG4B.HvTfo.state,WTG4B.HvTfo.state,$PRE.WTG4B.LvTfo.state,WTG4B.LvTfo.state,$PRE.WTG4B.injector.state,WTG4B.injector.state,$PRE.ZPcs.state,ZPcs.state,$PRE.Zcc.state,Zcc.state,WTG4B.wecc_reec.limPIDFreeze.I.resetLocal,WTG4B.wecc_reec.varLimPIDFreeze.I.resetLocal,WTG4B.pll.integrator.local_reset,WTG4B.pll.limIntegrator.local_reset,WTG4B.wecc_repc.limPID.I.local_reset,WTG4B.wecc_repc.limPIDFreeze.I.resetLocal,WTG4B.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,WTG4B.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,ZPcs.switchOffSignal1,ZPcs.switchOffSignal2,Zcc.switchOffSignal1,Zcc.switchOffSignal2,WTG4B.injector.switchOffSignal1,WTG4B.injector.switchOffSignal2,WTG4B.injector.switchOffSignal3,$PRE.Zcc.running,$PRE.ZPcs.running,$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.wecc_regc.offDelay.delaySignal,$PRE.WTG4B.wecc_regc.offDelay.tNext,$PRE.WTG4B.injector.running,$PRE.WTG4B.LvTfo.running,$PRE.WTG4B.HvTfo.running,WTG4B.wecc_regc.QConv0PuPos.k,WTG4B.wecc_regc.QConv0PuNeg.k,$PRE.WTG4B.wecc_regc.offDelay.u,$PRE.WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_repc.freeze,WTG4B.HvTfo.running,WTG4B.LvTfo.running,WTG4B.injector.running,WTG4B.wecc_regc.and2.y,WTG4B.wecc_regc.and1.y,WTG4B.wecc_regc.and1.u[2],WTG4B.wecc_regc.offDelay.tNext,WTG4B.wecc_regc.offDelay.delaySignal,WTG4B.wecc_regc.offDelay.u,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,ZPcs.running,Zcc.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition12,$whenCondition11,$whenCondition14,$whenCondition13,$whenCondition16,$whenCondition15,$whenCondition17,$whenCondition19,$whenCondition18,$whenCondition20,$whenCondition22,$whenCondition21,$whenCondition23) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (481): * Single equations (assignments): 479 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,4,31.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00066/0.3269, allocations: 0.6377 MB / 0.5371 GB, free: 22.36 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005064/0.3274, allocations: 469.6 kB / 0.5375 GB, free: 21.9 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002792/0.3302, allocations: 2.123 MB / 0.5396 GB, free: 19.73 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.3302, allocations: 28 kB / 0.5396 GB, free: 19.71 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.3302, allocations: 4 kB / 0.5396 GB, free: 19.7 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/0.3302, allocations: 15.95 kB / 0.5397 GB, free: 19.69 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005526/0.3358, allocations: 4.912 MB / 0.5445 GB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.3358, allocations: 8 kB / 0.5445 GB, free: 14.97 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001428/0.3372, allocations: 0.4928 MB / 0.545 GB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006407/0.3378, allocations: 403.6 kB / 0.5453 GB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001235/0.338, allocations: 71.97 kB / 0.5454 GB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002143/0.3401, allocations: 2.666 MB / 0.548 GB, free: 11.32 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3401, allocations: 8 kB / 0.548 GB, free: 11.32 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003503/0.3436, allocations: 3.16 MB / 0.5511 GB, free: 8.012 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00089/0.3445, allocations: 0.7726 MB / 0.5519 GB, free: 7.238 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002967/0.3448, allocations: 83.98 kB / 0.5519 GB, free: 7.156 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009309/0.3457, allocations: 163.9 kB / 0.5521 GB, free: 6.996 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003166/0.3461, allocations: 261 kB / 0.5523 GB, free: 6.742 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/0.3462, allocations: 71.97 kB / 0.5524 GB, free: 6.672 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009384/0.3471, allocations: 1.403 MB / 0.5538 GB, free: 5.418 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.3471, allocations: 0 / 0.5538 GB, free: 5.418 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002698/0.3498, allocations: 1.742 MB / 0.5555 GB, free: 3.672 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 19 (WTG4B.wecc_reec.firstOrder.y,WTG4B.wecc_reec.firstOrder1.y,WTG4B.wecc_reec.limPIDFreeze.I.y,WTG4B.wecc_reec.rateLimFirstOrderFreeze1.y,WTG4B.wecc_reec.slewRateLimiter.y,WTG4B.wecc_reec.rateLimFirstOrderFreeze.y,WTG4B.wecc_reec.varLimPIDFreeze.I.y,WTG4B.wecc_regc.rateLimFirstOrderFreeze2.y,WTG4B.wecc_regc.rateLimFirstOrderFreeze1.y,WTG4B.wecc_regc.firstOrder.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: 45 ($whenCondition23,$whenCondition21,$whenCondition22,$whenCondition20,$whenCondition18,$whenCondition19,$whenCondition17,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,Zcc.running,Zcc.state,ZPcs.running,ZPcs.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.u,WTG4B.wecc_regc.offDelay.delaySignal,WTG4B.wecc_regc.offDelay.tNext,WTG4B.wecc_regc.and1.u[2],WTG4B.wecc_regc.and1.y,WTG4B.wecc_regc.and2.y,WTG4B.injector.running,WTG4B.injector.state,WTG4B.LvTfo.running,WTG4B.LvTfo.state,WTG4B.HvTfo.running,WTG4B.HvTfo.state,WTG4B.wecc_repc.freeze) * Number of discrete states: 11 (WTG4B.HvTfo.running,WTG4B.LvTfo.running,WTG4B.injector.running,ZPcs.running,Zcc.running,WTG4B.wecc_regc.offDelay.u,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 (267): * Single equations (assignments): 251 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,4,31.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008946/0.3507, allocations: 0.4967 MB / 0.556 GB, free: 3.355 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005196/0.3559, allocations: 4.428 MB / 0.5603 GB, free: 15.04 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.3559, allocations: 0 / 0.5603 GB, free: 15.04 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001524/0.3574, allocations: 1.173 MB / 0.5614 GB, free: 13.93 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001663/0.3591, allocations: 0.6295 MB / 0.5621 GB, free: 13.33 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008098/0.3672, allocations: 6.344 MB / 0.5682 GB, free: 6.883 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000475/0.3677, allocations: 0.6186 MB / 0.5688 GB, free: 6.246 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001426/0.3691, allocations: 466.9 kB / 0.5693 GB, free: 5.785 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001337/0.3704, allocations: 0.6698 MB / 0.5699 GB, free: 5.113 MB / 458.7 MB Notification: Performance of SimCode: time 9.22e-07/0.3704, allocations: 4 kB / 0.57 GB, free: 5.109 MB / 458.7 MB Notification: Performance of Templates: time 0.06207/0.4325, allocations: 57.83 MB / 0.6264 GB, free: 11.68 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS.sim & ./Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -variableFilter=.* -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 655] Reference file matches [Calling sys.exit(0), Time elapsed: 10.78434259770438]