Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008629/0.0008629, allocations: 72.52 kB / 19.95 MB, free: 4.613 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.001301/0.001301, allocations: 173.2 kB / 23.23 MB, free: 1.328 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.9516/0.9516, allocations: 158.6 MB / 185 MB, free: 3.031 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.4696/0.4696, allocations: 90.28 MB / 327.5 MB, free: 15 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 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.WTG4BCurrentSource,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Wind_WECC_WTG4BCurrentSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource,fileNamePrefix="Dynawo_dev_Dynawo_Examples_Wind_WECC_WTG4BCurrentSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.5008 GB, free: 16.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.695e-05, allocations: 2.281 kB / 0.5008 GB, free: 16.52 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource): time 0.01236/0.01239, allocations: 13.77 MB / 0.5143 GB, free: 7.258 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01165/0.02404, allocations: 6.771 MB / 0.5209 GB, free: 2.387 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003671/0.02771, allocations: 89.62 kB / 0.521 GB, free: 2.352 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002099/0.02981, allocations: 0.9361 MB / 0.5219 GB, free: 1.836 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.0045/0.03431, allocations: 1.528 MB / 0.5234 GB, free: 0.6641 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:61:5-65:11:writable] Warning: In relation WTG4B.HvTfo.terminal1.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:61:5-65:11:writable] Warning: In relation WTG4B.HvTfo.terminal1.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation WTG4B.HvTfo.terminal2.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation WTG4B.HvTfo.terminal2.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/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.006646/0.04095, allocations: 3.055 MB / 0.5263 GB, free: 14.22 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.007506/0.04846, allocations: 5.457 MB / 0.5317 GB, free: 10.66 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002236/0.0507, allocations: 1.203 MB / 0.5329 GB, free: 9.754 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003441/0.05414, allocations: 1.861 MB / 0.5347 GB, free: 8.512 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002217/0.05635, allocations: 1.65 MB / 0.5363 GB, free: 7.336 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001176/0.05753, allocations: 0.5659 MB / 0.5368 GB, free: 7.16 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001318/0.05885, allocations: 0.8901 MB / 0.5377 GB, free: 6.27 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006776/0.05952, allocations: 1.211 MB / 0.5389 GB, free: 5.055 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001518/0.06104, allocations: 1.445 MB / 0.5403 GB, free: 3.605 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006297/0.06734, allocations: 7.166 MB / 0.5473 GB, free: 12.42 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.06734, allocations: 0 / 0.5473 GB, free: 12.42 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.06735, allocations: 0 / 0.5473 GB, free: 12.42 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002014/0.06755, allocations: 0 / 0.5473 GB, free: 12.42 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 714 * Number of variables: 714 Notification: Performance of Generate backend data structure: time 0.01179/0.07933, allocations: 5.863 MB / 0.553 GB, free: 6.461 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/0.07939, allocations: 8.031 kB / 0.553 GB, free: 6.453 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004004/0.07979, allocations: 396.4 kB / 0.5534 GB, free: 6.059 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002704/0.08249, allocations: 1.079 MB / 0.5545 GB, free: 4.977 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003422/0.08591, allocations: 2.702 MB / 0.5571 GB, free: 2.227 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000479/0.08639, allocations: 1.108 MB / 0.5582 GB, free: 0.9141 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003034/0.0867, allocations: 296.3 kB / 0.5585 GB, free: 0.625 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004285/0.09098, allocations: 3.952 MB / 0.5623 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.61e-05/0.09102, allocations: 3.938 kB / 0.5623 GB, free: 12.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002025/0.09122, allocations: 120 kB / 0.5624 GB, free: 12.29 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.495e-05/0.09126, allocations: 68 kB / 0.5625 GB, free: 12.22 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0044/0.09566, allocations: 3.061 MB / 0.5655 GB, free: 9.145 MB / 490.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.01113/0.1068, allocations: 10.64 MB / 0.5759 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004152/0.1109, allocations: 2.699 MB / 0.5785 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00178/0.1127, allocations: 1.261 MB / 0.5798 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001997/0.1129, allocations: 41.92 kB / 0.5798 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002427/0.1153, allocations: 1.879 MB / 0.5816 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=243): time 4.379e-06/0.1153, allocations: 0 / 0.5816 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of matching and sorting (n=243): time 0.007626/0.123, allocations: 4.711 MB / 0.5862 GB, free: 3.691 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001585/0.1231, allocations: 478.9 kB / 0.5867 GB, free: 3.117 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003557/0.1267, allocations: 3.565 MB / 0.5902 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001613/0.1268, allocations: 85.69 kB / 0.5902 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001373/0.1282, allocations: 1.634 MB / 0.5918 GB, free: 13.83 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006168/0.1288, allocations: 0.8485 MB / 0.5927 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008381/0.1297, allocations: 0.7081 MB / 0.5934 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.299e-05/0.1298, allocations: 305.1 kB / 0.5937 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002208/0.132, allocations: 1.673 MB / 0.5953 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002625/0.1346, allocations: 2.616 MB / 0.5978 GB, free: 7.406 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01468/0.1493, allocations: 8.463 MB / 0.6061 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.807e-05/0.1493, allocations: 8 kB / 0.6061 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.006993/0.1563, allocations: 4.904 MB / 0.6109 GB, free: 9.824 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.1e-05/0.1564, allocations: 69.66 kB / 0.611 GB, free: 9.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.1564, allocations: 8 kB / 0.611 GB, free: 9.742 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005484/0.1569, allocations: 373.3 kB / 0.6113 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001933/0.1589, allocations: 0.8112 MB / 0.6121 GB, free: 8.562 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003538/0.1624, allocations: 2.984 MB / 0.615 GB, free: 5.469 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002245/0.1646, allocations: 469.4 kB / 0.6155 GB, free: 5.008 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001869/0.1648, allocations: 136 kB / 0.6156 GB, free: 4.875 MB / 0.5261 GB Warning: Assuming fixed start value for the following 31 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) 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 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.PConv0Pu 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.003882/0.1687, allocations: 2.366 MB / 0.6179 GB, free: 2.512 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002746/0.1715, allocations: 2.557 MB / 0.6204 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01417/0.1856, allocations: 8.315 MB / 0.6285 GB, free: 7.207 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.195e-05/0.1856, allocations: 0 / 0.6285 GB, free: 7.207 MB / 0.5417 GB Notification: Performance of matching and sorting (n=502) (initialization_lambda0): time 0.007222/0.1929, allocations: 4.799 MB / 0.6332 GB, free: 2.375 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 5.654e-05/0.1929, allocations: 67.69 kB / 0.6333 GB, free: 2.305 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.1929, allocations: 12.75 kB / 0.6333 GB, free: 2.293 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004796/0.1934, allocations: 380.6 kB / 0.6337 GB, free: 1.918 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001844/0.1952, allocations: 0.7918 MB / 0.6344 GB, free: 1.125 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003189/0.1984, allocations: 2.99 MB / 0.6374 GB, free: 14.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002052/0.2005, allocations: 406.4 kB / 0.6378 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001879/0.2007, allocations: 131.9 kB / 0.6379 GB, free: 13.49 MB / 0.5573 GB Warning: Assuming fixed start value for the following 31 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) 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 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.PConv0Pu 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: 41 * Number of states: 0 () * Number of discrete variables: 75 ($PRE.WTG4B.HvTfo.state,WTG4B.HvTfo.state,$PRE.WTG4B.LvTfo.state,WTG4B.LvTfo.state,$PRE.WTG4B.injector.state,WTG4B.injector.state,$PRE.line.state,line.state,WTG4B.injector.switchOffSignal3,WTG4B.injector.switchOffSignal2,WTG4B.injector.switchOffSignal1,line.switchOffSignal2,line.switchOffSignal1,WTG4B.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,WTG4B.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$PRE.line.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.and1.u[1],WTG4B.wecc_regc.QConv0PuPos.y,WTG4B.wecc_regc.QConv0PuNeg.k,WTG4B.wecc_regc.and2.u[2],WTG4B.wecc_regc.QConv0PuNeg.y,$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,line.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition7,$whenCondition6,$whenCondition9,$whenCondition8,$whenCondition11,$whenCondition10,$whenCondition13,$whenCondition12,$whenCondition14,$whenCondition16,$whenCondition15,$whenCondition17,$whenCondition19,$whenCondition18,$whenCondition20,WTG4B.wecc_repc.limPIDFreeze.I.resetLocal,WTG4B.wecc_repc.limPID.I.local_reset,WTG4B.pll.limIntegrator.local_reset,WTG4B.pll.integrator.local_reset,WTG4B.wecc_reec.varLimPIDFreeze.I.resetLocal,WTG4B.wecc_reec.limPIDFreeze.I.resetLocal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (465): * Single equations (assignments): 463 * 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.0009229/0.2016, allocations: 0.5414 MB / 0.6384 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004631/0.2021, allocations: 397.5 kB / 0.6388 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005402/0.2075, allocations: 3.559 MB / 0.6423 GB, free: 8.992 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.568e-05/0.2075, allocations: 27.98 kB / 0.6423 GB, free: 8.965 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.2075, allocations: 4 kB / 0.6423 GB, free: 8.961 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.664e-05/0.2075, allocations: 11.95 kB / 0.6423 GB, free: 8.949 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009137/0.2166, allocations: 7.231 MB / 0.6494 GB, free: 1.605 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.2166, allocations: 4 kB / 0.6494 GB, free: 1.602 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00149/0.2181, allocations: 0.5039 MB / 0.6499 GB, free: 1.098 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000482/0.2186, allocations: 371.7 kB / 0.6502 GB, free: 0.7344 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001352/0.2188, allocations: 71.91 kB / 0.6503 GB, free: 0.6641 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003107/0.2219, allocations: 2.971 MB / 0.6532 GB, free: 13.58 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.2219, allocations: 4 kB / 0.6532 GB, free: 13.58 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007726/0.2296, allocations: 5.623 MB / 0.6587 GB, free: 7.863 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001423/0.231, allocations: 0.7897 MB / 0.6595 GB, free: 7.07 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003318/0.2313, allocations: 75.98 kB / 0.6595 GB, free: 6.996 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/0.2325, allocations: 223.8 kB / 0.6597 GB, free: 6.777 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003992/0.2329, allocations: 257.4 kB / 0.66 GB, free: 6.527 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001319/0.2331, allocations: 87.95 kB / 0.6601 GB, free: 6.441 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002952/0.236, allocations: 2.34 MB / 0.6624 GB, free: 4.121 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.41e-07/0.236, allocations: 0 / 0.6624 GB, free: 4.121 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003028/0.239, allocations: 1.606 MB / 0.6639 GB, free: 2.512 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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: 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,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: 10 (WTG4B.HvTfo.running,WTG4B.LvTfo.running,WTG4B.injector.running,line.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 (240): * Single equations (assignments): 226 * 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.008683/0.2477, allocations: 6.609 MB / 0.6704 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01096/0.2587, allocations: 6.374 MB / 0.6766 GB, free: 5.523 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.2587, allocations: 0 / 0.6766 GB, free: 5.523 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002979/0.2617, allocations: 2.096 MB / 0.6786 GB, free: 3.414 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002283/0.264, allocations: 0.5389 MB / 0.6792 GB, free: 2.891 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2819/0.5459, allocations: 33.2 MB / 0.7116 GB, free: 153.9 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001846/0.5477, allocations: 1.528 MB / 0.7131 GB, free: 153.7 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001999/0.5497, allocations: 0.5049 MB / 0.7136 GB, free: 153.7 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001436/0.5511, allocations: 1.615 MB / 0.7152 GB, free: 152.4 MB / 0.5886 GB Notification: Performance of SimCode: time 1.573e-06/0.5511, allocations: 0 / 0.7152 GB, free: 152.4 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08451/0.6357, allocations: 86.16 MB / 0.7993 GB, free: 75.12 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/10.99, allocations: 7.984 kB / 0.7993 GB, free: 75.11 MB / 0.5886 GB " [Timeout remaining time 649] (rm -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.sim & python3 -m fmpy simulate --output-file Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 0.001 Dynawo_dev_Dynawo_Examples_Wind_WECC_WTG4BCurrentSource.fmu > Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Wind.WECC.WTG4BCurrentSource_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable WTG4B.injector.PInjPu in file Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource_res.csv. Warning: Get data of variable WTG4B.injector.PInjPu from file Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource_res.csv failed! Error: Could not read variable WTG4B.injector.QInjPu in file Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource_res.csv. Warning: Get data of variable WTG4B.injector.QInjPu from file Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource_res.csv failed! Error: Could not read variable WTG4B.injector.UPu in file Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource_res.csv. Warning: Get data of variable WTG4B.injector.UPu from file Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.258009005337954]