Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_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.001205/0.001205, allocations: 96.36 kB / 19.72 MB, free: 436 kB / 13.93 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.001033/0.001033, allocations: 212.7 kB / 23.01 MB, free: 2.973 MB / 13.93 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 1.244/1.244, allocations: 207.7 MB / 233.9 MB, free: 11.45 MB / 186.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.4687/0.4687, allocations: 120.7 MB / 406.8 MB, free: 1.348 MB / 330.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 it seems broken on HelloWorld Ignoring simflag -noemit -noRestart=() since it seems broken on HelloWorld Ignoring simflag -noemit -noRootFinding=() since it seems broken on HelloWorld Running command: "" <> buildModelFMU(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Wind_WECC_WTG4ACurrentSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Wind_WECC_WTG4ACurrentSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 79.83 kB / 0.5774 GB, free: 5.652 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4095/0.4107, allocations: 80.37 MB / 0.6559 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource): time 0.01456/0.4253, allocations: 14.3 MB / 0.6699 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01315/0.4384, allocations: 6.987 MB / 0.6767 GB, free: 8.801 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004988/0.4434, allocations: 95.38 kB / 0.6768 GB, free: 8.707 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.004302/0.4477, allocations: 0.9653 MB / 0.6777 GB, free: 7.734 MB / 0.4948 GB [/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.008368/0.4561, allocations: 1.553 MB / 0.6792 GB, free: 6.172 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:61:5-65:11:writable] Warning: In relation WTG4A.HvTfo.terminal1.V.re == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:61:5-65:11:writable] Warning: In relation WTG4A.HvTfo.terminal1.V.im == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation WTG4A.HvTfo.terminal2.V.re == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation WTG4A.HvTfo.terminal2.V.im == 0.0, == on Real numbers is only allowed inside functions. [/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 numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.007505/0.4636, allocations: 3.143 MB / 0.6823 GB, free: 3.047 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.008158/0.4717, allocations: 5.684 MB / 0.6879 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002815/0.4745, allocations: 1.275 MB / 0.6891 GB, free: 12 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003214/0.4778, allocations: 2.105 MB / 0.6912 GB, free: 9.891 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002622/0.4804, allocations: 2.048 MB / 0.6932 GB, free: 7.832 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.001069/0.4814, allocations: 0.5938 MB / 0.6937 GB, free: 7.238 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001837/0.4833, allocations: 0.9255 MB / 0.6946 GB, free: 6.312 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001004/0.4843, allocations: 1.25 MB / 0.6959 GB, free: 5.059 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.002232/0.4865, allocations: 1.861 MB / 0.6977 GB, free: 3.188 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.009049/0.4956, allocations: 7.39 MB / 0.7049 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.4956, allocations: 0 / 0.7049 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.476e-06/0.4956, allocations: 0 / 0.7049 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000316/0.4959, allocations: 3.938 kB / 0.7049 GB, free: 11.77 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 765 * Number of variables: 765 Notification: Performance of Generate backend data structure: time 0.01631/0.5122, allocations: 6.132 MB / 0.7109 GB, free: 5.543 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/0.5123, allocations: 16.03 kB / 0.7109 GB, free: 5.527 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008866/0.5132, allocations: 421.7 kB / 0.7113 GB, free: 5.105 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003798/0.5169, allocations: 1.114 MB / 0.7124 GB, free: 3.988 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005218/0.5222, allocations: 2.845 MB / 0.7152 GB, free: 1.102 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008607/0.523, allocations: 1.139 MB / 0.7163 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007711/0.5238, allocations: 311.9 kB / 0.7166 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00698/0.5308, allocations: 4.157 MB / 0.7206 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.694e-05/0.5308, allocations: 3.938 kB / 0.7207 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003439/0.5312, allocations: 132 kB / 0.7208 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.001e-05/0.5312, allocations: 76 kB / 0.7208 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006014/0.5372, allocations: 3.168 MB / 0.7239 GB, free: 7.629 MB / 0.5417 GB 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.02181/0.559, allocations: 11.61 MB / 0.7353 GB, free: 11.81 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005539/0.5646, allocations: 3.014 MB / 0.7382 GB, free: 8.801 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002113/0.5667, allocations: 1.296 MB / 0.7395 GB, free: 7.5 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002088/0.5669, allocations: 41.98 kB / 0.7395 GB, free: 7.461 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002828/0.5697, allocations: 1.911 MB / 0.7414 GB, free: 5.523 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=253): time 7.854e-06/0.5697, allocations: 0 / 0.7414 GB, free: 5.523 MB / 0.5573 GB Notification: Performance of matching and sorting (n=253): time 0.01001/0.5797, allocations: 4.913 MB / 0.7462 GB, free: 0.6055 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000213/0.58, allocations: 482.9 kB / 0.7467 GB, free: 32 kB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00709/0.587, allocations: 3.743 MB / 0.7503 GB, free: 12.27 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001183/0.5882, allocations: 89.69 kB / 0.7504 GB, free: 12.17 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001627/0.5899, allocations: 1.74 MB / 0.7521 GB, free: 10.42 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001434/0.5913, allocations: 0.9105 MB / 0.753 GB, free: 9.5 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001323/0.5926, allocations: 0.7637 MB / 0.7537 GB, free: 8.727 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 8.024e-05/0.5927, allocations: 301.1 kB / 0.754 GB, free: 8.43 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002639/0.5953, allocations: 1.741 MB / 0.7557 GB, free: 6.672 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003283/0.5986, allocations: 2.714 MB / 0.7584 GB, free: 3.668 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01803/0.6167, allocations: 8.793 MB / 0.767 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.871e-05/0.6167, allocations: 4 kB / 0.767 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.01008/0.6268, allocations: 5.124 MB / 0.772 GB, free: 5.535 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.769e-05/0.6268, allocations: 69.66 kB / 0.772 GB, free: 5.461 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.983e-05/0.6269, allocations: 12 kB / 0.772 GB, free: 5.449 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006122/0.6275, allocations: 389.3 kB / 0.7724 GB, free: 5.066 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002707/0.6302, allocations: 0.8503 MB / 0.7732 GB, free: 4.215 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00348/0.6337, allocations: 3.002 MB / 0.7762 GB, free: 1.098 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003792/0.6375, allocations: 497.2 kB / 0.7766 GB, free: 0.6094 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005577/0.638, allocations: 140 kB / 0.7768 GB, free: 484 kB / 0.5886 GB Warning: Assuming fixed start value for the following 32 variables: WTG4A.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4A.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) 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) 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:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4A.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_reec.UConv0Pu 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.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.PConv0Pu 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.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.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze2.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.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG4A.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG4A.injector.running:DISCRETE(flow=false start = WTG4A.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4A.LvTfo.running:DISCRETE(flow=false start = WTG4A.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4A.HvTfo.running:DISCRETE(flow=false start = WTG4A.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" 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.X0[1] * WTG4A.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4A.wecc_wtgt.Pmech.y:VARIABLE(flow=false start = WTG4A.wecc_wtgt.Pmech.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean WTG4A.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004983/0.643, allocations: 2.476 MB / 0.7792 GB, free: 14 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002912/0.6459, allocations: 2.663 MB / 0.7818 GB, free: 11.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01768/0.6636, allocations: 8.637 MB / 0.7902 GB, free: 2.227 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.079e-05/0.6636, allocations: 4 kB / 0.7902 GB, free: 2.223 MB / 0.6042 GB Notification: Performance of matching and sorting (n=537) (initialization_lambda0): time 0.01037/0.674, allocations: 5.027 MB / 0.7951 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000112/0.6741, allocations: 69.66 kB / 0.7952 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.451e-05/0.6741, allocations: 12 kB / 0.7952 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006793/0.6748, allocations: 381.1 kB / 0.7956 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002837/0.6776, allocations: 0.8308 MB / 0.7964 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003862/0.6815, allocations: 3.01 MB / 0.7993 GB, free: 8.758 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003344/0.6849, allocations: 418.3 kB / 0.7997 GB, free: 8.348 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000436/0.6853, allocations: 140 kB / 0.7999 GB, free: 8.211 MB / 0.6198 GB Warning: Assuming fixed start value for the following 32 variables: WTG4A.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4A.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) 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) 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:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4A.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_reec.UConv0Pu 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.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.PConv0Pu 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.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.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze2.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.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG4A.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG4A.injector.running:DISCRETE(flow=false start = WTG4A.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4A.LvTfo.running:DISCRETE(flow=false start = WTG4A.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4A.HvTfo.running:DISCRETE(flow=false start = WTG4A.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" 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.X0[1] * WTG4A.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4A.wecc_wtgt.Pmech.y:VARIABLE(flow=false start = WTG4A.wecc_wtgt.Pmech.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean 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: 47 * Number of states: 0 () * Number of discrete variables: 78 ($PRE.WTG4A.HvTfo.state,WTG4A.HvTfo.state,$PRE.WTG4A.LvTfo.state,WTG4A.LvTfo.state,$PRE.WTG4A.injector.state,WTG4A.injector.state,$PRE.line.state,line.state,WTG4A.injector.switchOffSignal3,WTG4A.injector.switchOffSignal2,WTG4A.injector.switchOffSignal1,line.switchOffSignal2,line.switchOffSignal1,WTG4A.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,WTG4A.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$PRE.line.running,$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.wecc_regc.offDelay.delaySignal,$PRE.WTG4A.wecc_regc.offDelay.tNext,$PRE.WTG4A.injector.running,$PRE.WTG4A.LvTfo.running,$PRE.WTG4A.HvTfo.running,WTG4A.wecc_regc.QConv0PuPos.k,WTG4A.wecc_regc.and1.u[1],WTG4A.wecc_regc.QConv0PuPos.y,WTG4A.wecc_regc.QConv0PuNeg.k,WTG4A.wecc_regc.and2.u[2],WTG4A.wecc_regc.QConv0PuNeg.y,$PRE.WTG4A.wecc_regc.offDelay.u,$PRE.WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_repc.freeze,WTG4A.HvTfo.running,WTG4A.LvTfo.running,WTG4A.injector.running,WTG4A.wecc_regc.and2.y,WTG4A.wecc_regc.and1.y,WTG4A.wecc_regc.and1.u[2],WTG4A.wecc_regc.offDelay.tNext,WTG4A.wecc_regc.offDelay.delaySignal,WTG4A.wecc_regc.offDelay.u,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,line.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition7,$whenCondition6,$whenCondition9,$whenCondition8,$whenCondition11,$whenCondition10,$whenCondition13,$whenCondition12,$whenCondition14,$whenCondition16,$whenCondition15,$whenCondition17,$whenCondition19,$whenCondition18,$whenCondition20,WTG4A.wecc_wtgt.dOmegaGenerator.local_reset,WTG4A.wecc_wtgt.dOmegaTurbine.local_reset,WTG4A.wecc_wtgt.dPhi.local_reset,WTG4A.wecc_repc.limPIDFreeze.I.resetLocal,WTG4A.wecc_repc.limPID.I.local_reset,WTG4A.pll.limIntegrator.local_reset,WTG4A.pll.integrator.local_reset,WTG4A.wecc_reec.varLimPIDFreeze.I.resetLocal,WTG4A.wecc_reec.limPIDFreeze.I.resetLocal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (500): * Single equations (assignments): 498 * 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 {(10,4,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001072/0.6864, allocations: 0.544 MB / 0.8004 GB, free: 7.664 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009071/0.6873, allocations: 425.2 kB / 0.8008 GB, free: 7.246 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005829/0.6931, allocations: 3.651 MB / 0.8044 GB, free: 3.574 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.765e-05/0.6931, allocations: 27.98 kB / 0.8044 GB, free: 3.547 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.6931, allocations: 4 kB / 0.8044 GB, free: 3.543 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.939e-05/0.6931, allocations: 11.95 kB / 0.8044 GB, free: 3.531 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01339/0.7065, allocations: 7.443 MB / 0.8117 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.81e-05/0.7066, allocations: 4 kB / 0.8117 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001861/0.7084, allocations: 0.5188 MB / 0.8122 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006445/0.7091, allocations: 372.7 kB / 0.8125 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003292/0.7094, allocations: 63.97 kB / 0.8126 GB, free: 11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003623/0.713, allocations: 2.983 MB / 0.8155 GB, free: 7.902 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.713, allocations: 11.94 kB / 0.8155 GB, free: 7.891 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01007/0.7231, allocations: 5.764 MB / 0.8212 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002095/0.7252, allocations: 0.8207 MB / 0.822 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006529/0.7258, allocations: 71.98 kB / 0.822 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00139/0.7272, allocations: 215.8 kB / 0.8222 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004224/0.7276, allocations: 269.4 kB / 0.8225 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001361/0.7278, allocations: 87.97 kB / 0.8226 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.3638/1.092, allocations: 2.45 MB / 0.825 GB, free: 152.6 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.02e-07/1.092, allocations: 0 / 0.825 GB, free: 152.6 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.006673/1.098, allocations: 1.688 MB / 0.8266 GB, free: 152.6 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 23 (WTG4A.wecc_reec.firstOrder.y,WTG4A.wecc_reec.firstOrder1.y,WTG4A.wecc_reec.limPIDFreeze.I.y,WTG4A.wecc_reec.rateLimFirstOrderFreeze1.y,WTG4A.wecc_reec.slewRateLimiter.y,WTG4A.wecc_reec.rateLimFirstOrderFreeze.y,WTG4A.wecc_reec.varLimPIDFreeze.I.y,WTG4A.wecc_regc.rateLimFirstOrderFreeze2.y,WTG4A.wecc_regc.rateLimFirstOrderFreeze1.y,WTG4A.wecc_regc.firstOrder.y,WTG4A.pll.integrator.y,WTG4A.pll.limIntegrator.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],WTG4A.wecc_wtgt.dPhi.y,WTG4A.wecc_wtgt.dOmegaTurbine.y,WTG4A.wecc_wtgt.dOmegaGenerator.y,WTG4A.wecc_wtgt.Pmech.y) * Number of discrete variables: 40 ($whenCondition20,$whenCondition18,$whenCondition19,$whenCondition17,$whenCondition15,$whenCondition16,$whenCondition14,$whenCondition12,$whenCondition13,$whenCondition10,$whenCondition11,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running,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.u,WTG4A.wecc_regc.offDelay.delaySignal,WTG4A.wecc_regc.offDelay.tNext,WTG4A.wecc_regc.and1.u[2],WTG4A.wecc_regc.and1.y,WTG4A.wecc_regc.and2.y,WTG4A.injector.running,WTG4A.injector.state,WTG4A.LvTfo.running,WTG4A.LvTfo.state,WTG4A.HvTfo.running,WTG4A.HvTfo.state,WTG4A.wecc_repc.freeze) * Number of discrete states: 10 (WTG4A.HvTfo.running,WTG4A.LvTfo.running,WTG4A.injector.running,line.running,WTG4A.wecc_regc.offDelay.u,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 (250): * Single equations (assignments): 236 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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 {(10,4,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01016/1.108, allocations: 6.769 MB / 0.8332 GB, free: 150 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01252/1.121, allocations: 6.611 MB / 0.8397 GB, free: 147.3 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.916e-05/1.121, allocations: 0 / 0.8397 GB, free: 147.3 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.003772/1.125, allocations: 2.13 MB / 0.8418 GB, free: 146.1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003126/1.128, allocations: 0.5752 MB / 0.8423 GB, free: 145.6 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0578/1.186, allocations: 34.75 MB / 0.8763 GB, free: 112.7 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001295/1.187, allocations: 1.618 MB / 0.8778 GB, free: 111.1 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002316/1.189, allocations: 0.5243 MB / 0.8784 GB, free: 110.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001858/1.191, allocations: 1.725 MB / 0.88 GB, free: 108.8 MB / 0.6355 GB Notification: Performance of SimCode: time 2.315e-06/1.191, allocations: 0 / 0.88 GB, free: 108.8 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1045/1.296, allocations: 87.77 MB / 0.9657 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.631/10.93, allocations: 7.844 kB / 0.9658 GB, free: 21.39 MB / 0.6355 GB " [Timeout remaining time 649] (rm -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.sim & python3 -m fmpy simulate --output-file Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Dynawo_dev_Dynawo_Examples_Wind_WECC_WTG4ACurrentSource.fmu > Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Wind.WECC.WTG4ACurrentSource_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable WTG4A.injector.PInjPu in file Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource_res.csv. Warning: Get data of variable WTG4A.injector.PInjPu from file Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource_res.csv failed! Error: Could not read variable WTG4A.injector.QInjPu in file Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource_res.csv. Warning: Get data of variable WTG4A.injector.QInjPu from file Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource_res.csv failed! Error: Could not read variable WTG4A.injector.UPu in file Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource_res.csv. Warning: Get data of variable WTG4A.injector.UPu from file Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.06923200469464]