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.000847/0.000847, allocations: 76.45 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.0008843/0.0008843, allocations: 169.2 kB / 23.23 MB, free: 1.332 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.9049/0.9049, allocations: 158.6 MB / 185 MB, free: 3.055 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.4417/0.4417, allocations: 90.27 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.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: Performance of FrontEnd - loaded program: time 2.425e-06/2.425e-06, allocations: 1.062 kB / 0.5008 GB, free: 16.51 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.617e-05, allocations: 2.281 kB / 0.5008 GB, free: 16.5 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource): time 0.01354/0.01356, allocations: 14.32 MB / 0.5148 GB, free: 6.898 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01141/0.02497, allocations: 6.998 MB / 0.5216 GB, free: 1.844 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002791/0.02776, allocations: 106.2 kB / 0.5217 GB, free: 1.797 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001827/0.02959, allocations: 0.9634 MB / 0.5227 GB, free: 1.262 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.003244/0.03283, allocations: 1.583 MB / 0.5242 GB, free: 0 / 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 WTG4A.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 WTG4A.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 WTG4A.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 WTG4A.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.005745/0.03858, allocations: 3.156 MB / 0.5273 GB, free: 13.47 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.006686/0.04526, allocations: 5.729 MB / 0.5329 GB, free: 9.73 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001835/0.0471, allocations: 1.286 MB / 0.5341 GB, free: 8.762 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002628/0.04973, allocations: 1.945 MB / 0.536 GB, free: 7.461 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00192/0.05165, allocations: 1.717 MB / 0.5377 GB, free: 6.234 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007339/0.05238, allocations: 0.5979 MB / 0.5383 GB, free: 5.641 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/0.05357, allocations: 0.9251 MB / 0.5392 GB, free: 4.715 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006896/0.05426, allocations: 1.269 MB / 0.5405 GB, free: 3.441 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001172/0.05543, allocations: 1.527 MB / 0.5419 GB, free: 1.91 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005599/0.06103, allocations: 7.555 MB / 0.5493 GB, free: 10.33 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.06103, allocations: 8 kB / 0.5493 GB, free: 10.32 MB / 474.7 MB Notification: Performance of FrontEnd: time 6.121e-06/0.06104, allocations: 0 / 0.5493 GB, free: 10.32 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.419e-05/0.06113, allocations: 0 / 0.5493 GB, free: 10.32 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: 765 * Number of variables: 765 Notification: Performance of Generate backend data structure: time 0.009977/0.07111, allocations: 6.085 MB / 0.5553 GB, free: 4.148 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.07116, allocations: 12.02 kB / 0.5553 GB, free: 4.137 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003935/0.07155, allocations: 421.7 kB / 0.5557 GB, free: 3.715 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002821/0.07438, allocations: 1.118 MB / 0.5568 GB, free: 2.594 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00358/0.07796, allocations: 2.829 MB / 0.5595 GB, free: 15.71 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007499/0.07871, allocations: 1.128 MB / 0.5606 GB, free: 14.38 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003466/0.07905, allocations: 316.3 kB / 0.5609 GB, free: 14.07 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005481/0.08453, allocations: 4.149 MB / 0.565 GB, free: 9.648 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.204e-05/0.08457, allocations: 7.938 kB / 0.565 GB, free: 9.641 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002142/0.08479, allocations: 132 kB / 0.5651 GB, free: 9.512 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.552e-05/0.08482, allocations: 76 kB / 0.5652 GB, free: 9.438 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004293/0.08912, allocations: 3.164 MB / 0.5683 GB, free: 6.262 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.01272/0.1018, allocations: 11.62 MB / 0.5796 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004303/0.1061, allocations: 3.014 MB / 0.5826 GB, free: 7.438 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001689/0.1078, allocations: 1.289 MB / 0.5838 GB, free: 6.145 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001773/0.108, allocations: 41.92 kB / 0.5839 GB, free: 6.102 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00236/0.1104, allocations: 1.915 MB / 0.5857 GB, free: 4.164 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=253): time 3.817e-06/0.1104, allocations: 4 kB / 0.5857 GB, free: 4.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=253): time 0.008655/0.119, allocations: 4.899 MB / 0.5905 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001709/0.1192, allocations: 482.9 kB / 0.591 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004705/0.1239, allocations: 3.747 MB / 0.5947 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001914/0.1241, allocations: 89.69 kB / 0.5947 GB, free: 10.81 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00115/0.1252, allocations: 1.74 MB / 0.5964 GB, free: 9.059 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007942/0.126, allocations: 0.8951 MB / 0.5973 GB, free: 8.156 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009396/0.127, allocations: 0.7559 MB / 0.598 GB, free: 7.391 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.044e-05/0.127, allocations: 301.1 kB / 0.5983 GB, free: 7.094 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002226/0.1293, allocations: 1.737 MB / 0.6 GB, free: 5.34 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002929/0.1322, allocations: 2.722 MB / 0.6027 GB, free: 2.32 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01487/0.1471, allocations: 8.793 MB / 0.6113 GB, free: 9.344 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.429e-05/0.1471, allocations: 4 kB / 0.6113 GB, free: 9.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.007345/0.1544, allocations: 5.121 MB / 0.6163 GB, free: 4.191 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.798e-05/0.1545, allocations: 69.69 kB / 0.6163 GB, free: 4.117 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.123e-05/0.1545, allocations: 12 kB / 0.6164 GB, free: 4.105 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005513/0.1551, allocations: 391.4 kB / 0.6167 GB, free: 3.723 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002004/0.1571, allocations: 0.8463 MB / 0.6176 GB, free: 2.875 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003154/0.1602, allocations: 3.004 MB / 0.6205 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002021/0.1622, allocations: 497.2 kB / 0.621 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004834/0.1627, allocations: 144 kB / 0.6211 GB, free: 15.13 MB / 0.5417 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.0036/0.1663, allocations: 2.444 MB / 0.6235 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002597/0.1689, allocations: 2.675 MB / 0.6261 GB, free: 9.723 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01616/0.1851, allocations: 8.648 MB / 0.6345 GB, free: 0.8906 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.613e-05/0.1851, allocations: 4 kB / 0.6346 GB, free: 0.8867 MB / 0.5417 GB Notification: Performance of matching and sorting (n=537) (initialization_lambda0): time 0.01073/0.1958, allocations: 5.024 MB / 0.6395 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.1959, allocations: 69.66 kB / 0.6395 GB, free: 11.76 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/0.196, allocations: 12.06 kB / 0.6395 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006794/0.1966, allocations: 388.6 kB / 0.6399 GB, free: 11.37 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003093/0.1997, allocations: 0.8308 MB / 0.6407 GB, free: 10.54 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003907/0.2036, allocations: 2.994 MB / 0.6436 GB, free: 7.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003426/0.2071, allocations: 429.9 kB / 0.6441 GB, free: 7.008 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000799/0.2079, allocations: 144 kB / 0.6442 GB, free: 6.867 MB / 0.5573 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.001288/0.2092, allocations: 0.5471 MB / 0.6447 GB, free: 6.324 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00119/0.2103, allocations: 413.3 kB / 0.6451 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006645/0.217, allocations: 3.647 MB / 0.6487 GB, free: 2.25 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.008e-05/0.217, allocations: 24 kB / 0.6487 GB, free: 2.227 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.217, allocations: 4 kB / 0.6487 GB, free: 2.223 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.152e-05/0.217, allocations: 15.94 kB / 0.6487 GB, free: 2.207 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01528/0.2323, allocations: 7.443 MB / 0.656 GB, free: 10.63 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/0.2323, allocations: 11.94 kB / 0.656 GB, free: 10.62 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001614/0.2339, allocations: 0.5037 MB / 0.6565 GB, free: 10.11 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005573/0.2345, allocations: 376.6 kB / 0.6569 GB, free: 9.742 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001717/0.2347, allocations: 67.97 kB / 0.6569 GB, free: 9.676 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003337/0.238, allocations: 2.979 MB / 0.6598 GB, free: 6.582 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.238, allocations: 4 kB / 0.6598 GB, free: 6.578 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008402/0.2464, allocations: 5.763 MB / 0.6655 GB, free: 0.6602 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001489/0.2479, allocations: 0.8207 MB / 0.6663 GB, free: 15.83 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004106/0.2483, allocations: 75.92 kB / 0.6663 GB, free: 15.76 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/0.2495, allocations: 215.8 kB / 0.6665 GB, free: 15.55 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003871/0.2499, allocations: 265.4 kB / 0.6668 GB, free: 15.29 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001346/0.2501, allocations: 91.95 kB / 0.6669 GB, free: 15.2 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003004/0.2531, allocations: 2.447 MB / 0.6693 GB, free: 12.74 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.2531, allocations: 0 / 0.6693 GB, free: 12.74 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003312/0.2564, allocations: 1.692 MB / 0.6709 GB, free: 11.04 MB / 0.5886 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.008586/0.265, allocations: 6.748 MB / 0.6775 GB, free: 4.293 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.2386/0.5036, allocations: 6.603 MB / 0.684 GB, free: 165.8 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.204e-05/0.5036, allocations: 2.375 kB / 0.684 GB, free: 165.8 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.003563/0.5072, allocations: 2.117 MB / 0.686 GB, free: 165.6 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002435/0.5096, allocations: 0.5709 MB / 0.6866 GB, free: 165.6 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06388/0.5735, allocations: 34.79 MB / 0.7206 GB, free: 150.5 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/0.5746, allocations: 1.607 MB / 0.7221 GB, free: 150.2 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001608/0.5762, allocations: 0.5254 MB / 0.7226 GB, free: 150.2 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001386/0.5776, allocations: 1.719 MB / 0.7243 GB, free: 148.8 MB / 0.5886 GB Notification: Performance of SimCode: time 1.042e-06/0.5776, allocations: 3.906 kB / 0.7243 GB, free: 148.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08801/0.6656, allocations: 87.89 MB / 0.8102 GB, free: 63.86 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.52, allocations: 14.72 kB / 0.8102 GB, free: 63.85 MB / 0.5886 GB " [Timeout remaining time 648] (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.61859854310751]