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.001875/0.001875, allocations: 91.61 kB / 20.24 MB, free: 4.188 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.002618/0.002618, allocations: 161.3 kB / 23.54 MB, free: 0.8789 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 1.274/1.274, allocations: 158.6 MB / 185.4 MB, free: 2.902 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.6798/0.6798, allocations: 90.6 MB / 328.3 MB, free: 14.61 MB / 314.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -noHomotopyOnFirstTry=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRestart=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRootFinding=() since the simulation runtime does not accept it Running command: translateModel(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource,tolerance=0.0001,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|WTG4B.injector.PInjPu|WTG4B.injector.QInjPu|WTG4B.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource") translateModel(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource,tolerance=0.0001,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|WTG4B.injector.PInjPu|WTG4B.injector.QInjPu|WTG4B.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 433.8 MB, free: 5.441 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.347e-05/2.483e-05, allocations: 2.312 kB / 433.8 MB, free: 5.438 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource): time 0.02156/0.02158, allocations: 14.7 MB / 448.5 MB, free: 6.66 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01423/0.03581, allocations: 6.869 MB / 455.4 MB, free: 15.77 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002727/0.03854, allocations: 91.44 kB / 455.5 MB, free: 15.68 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002394/0.04093, allocations: 0.9379 MB / 456.4 MB, free: 14.74 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.004528/0.04546, allocations: 1.533 MB / 457.9 MB, free: 13.2 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70: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:66:5-70: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:71:5-75: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:71:5-75: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.006773/0.05224, allocations: 3.049 MB / 461 MB, free: 10.14 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.008892/0.06113, allocations: 5.456 MB / 466.5 MB, free: 4.668 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002741/0.06387, allocations: 1.206 MB / 467.7 MB, free: 3.391 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003037/0.0669, allocations: 1.873 MB / 469.5 MB, free: 1.512 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1632/0.2301, allocations: 1.656 MB / 471.2 MB, free: 58.45 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001467/0.2315, allocations: 0.5659 MB / 471.8 MB, free: 58.45 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001595/0.2331, allocations: 0.8856 MB / 472.6 MB, free: 58.45 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007492/0.2339, allocations: 1.213 MB / 473.9 MB, free: 58.45 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001147/0.235, allocations: 1.457 MB / 475.3 MB, free: 58.45 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006513/0.2415, allocations: 7.198 MB / 482.5 MB, free: 58.18 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2415, allocations: 0 / 482.5 MB, free: 58.18 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.2415, allocations: 0 / 482.5 MB, free: 58.18 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001689/0.2417, allocations: 0 / 482.5 MB, free: 58.18 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 718 * Number of variables: 718 Notification: Performance of Generate backend data structure: time 0.01501/0.2567, allocations: 6.39 MB / 488.9 MB, free: 55.88 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.2568, allocations: 8.312 kB / 488.9 MB, free: 55.88 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005388/0.2621, allocations: 1.447 MB / 490.4 MB, free: 55.6 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00392/0.2661, allocations: 2.777 MB / 493.1 MB, free: 54.44 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004691/0.2665, allocations: 1.111 MB / 494.2 MB, free: 53.3 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004232/0.267, allocations: 301.3 kB / 494.5 MB, free: 53.21 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005781/0.2727, allocations: 4.182 MB / 498.7 MB, free: 50.9 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.839e-05/0.2728, allocations: 2.781 kB / 498.7 MB, free: 50.9 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002796/0.2731, allocations: 122.8 kB / 498.8 MB, free: 50.81 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.762e-05/0.2731, allocations: 70.09 kB / 498.9 MB, free: 50.81 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005615/0.2787, allocations: 2.841 MB / 0.49 GB, free: 49.86 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02147/0.3002, allocations: 18.51 MB / 0.5081 GB, free: 38.72 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005525/0.3057, allocations: 2.614 MB / 0.5106 GB, free: 37.77 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002223/0.3079, allocations: 1.196 MB / 0.5118 GB, free: 37.34 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002325/0.3082, allocations: 60.17 kB / 0.5118 GB, free: 37.32 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003036/0.3112, allocations: 1.927 MB / 0.5137 GB, free: 36.62 MB / 442.7 MB Notification: Performance of pre-optimization done (n=247): time 4.618e-06/0.3112, allocations: 0 / 0.5137 GB, free: 36.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=247): time 0.01087/0.3221, allocations: 4.526 MB / 0.5181 GB, free: 35.05 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.3222, allocations: 490.3 kB / 0.5186 GB, free: 34.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004963/0.3271, allocations: 4.028 MB / 0.5225 GB, free: 32.82 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004613/0.3276, allocations: 86.05 kB / 0.5226 GB, free: 32.75 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001427/0.329, allocations: 1.98 MB / 0.5246 GB, free: 31 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009221/0.33, allocations: 0.9699 MB / 0.5255 GB, free: 30.12 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00135/0.3313, allocations: 0.9779 MB / 0.5265 GB, free: 29.21 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.17e-05/0.3314, allocations: 476.8 kB / 0.5269 GB, free: 28.75 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002726/0.3341, allocations: 1.506 MB / 0.5284 GB, free: 27.38 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003278/0.3374, allocations: 2.746 MB / 0.5311 GB, free: 24.52 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008098/0.3455, allocations: 5.239 MB / 0.5362 GB, free: 19.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.349e-05/0.3455, allocations: 4 kB / 0.5362 GB, free: 19.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=494) (initialization): time 0.009024/0.3545, allocations: 4.77 MB / 0.5408 GB, free: 14.56 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.748e-05/0.3546, allocations: 69.66 kB / 0.5409 GB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.107e-05/0.3546, allocations: 8.609 kB / 0.5409 GB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/0.3558, allocations: 443.5 kB / 0.5413 GB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003557/0.3593, allocations: 0.7573 MB / 0.5421 GB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004277/0.3636, allocations: 3.567 MB / 0.5456 GB, free: 9.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003102/0.3667, allocations: 374 kB / 0.5459 GB, free: 9.312 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002863/0.367, allocations: 128 kB / 0.546 GB, free: 9.188 MB / 442.7 MB 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.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG4B.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG4B.injector.running:DISCRETE(flow=false start = WTG4B.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.LvTfo.running:DISCRETE(flow=false start = WTG4B.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.HvTfo.running:DISCRETE(flow=false start = WTG4B.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4B.wecc_repc.leadLag.X0[1] * WTG4B.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4B.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean WTG4B.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004047/0.371, allocations: 2.193 MB / 0.5482 GB, free: 7.023 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003089/0.3741, allocations: 2.709 MB / 0.5508 GB, free: 3.996 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008306/0.3824, allocations: 5.129 MB / 0.5558 GB, free: 14.7 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.41e-05/0.3824, allocations: 4 kB / 0.5558 GB, free: 14.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=494) (initialization_lambda0): time 0.01113/0.3936, allocations: 4.69 MB / 0.5604 GB, free: 10.04 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.046e-05/0.3937, allocations: 69.59 kB / 0.5605 GB, free: 9.965 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.386e-05/0.3937, allocations: 12 kB / 0.5605 GB, free: 9.953 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001307/0.395, allocations: 446.8 kB / 0.5609 GB, free: 9.527 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003843/0.3988, allocations: 0.7447 MB / 0.5617 GB, free: 8.828 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005896/0.4047, allocations: 3.558 MB / 0.5651 GB, free: 5.164 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003307/0.408, allocations: 354.3 kB / 0.5655 GB, free: 4.816 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000369/0.4084, allocations: 132 kB / 0.5656 GB, free: 4.688 MB / 458.7 MB 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.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG4B.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG4B.injector.running:DISCRETE(flow=false start = WTG4B.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.LvTfo.running:DISCRETE(flow=false start = WTG4B.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.HvTfo.running:DISCRETE(flow=false start = WTG4B.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4B.wecc_repc.leadLag.X0[1] * WTG4B.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4B.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean WTG4B.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 71 ($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.QConv0PuNeg.k,WTG4B.wecc_regc.QConv0PuPos.k,$PRE.WTG4B.wecc_regc.offDelay.u,$PRE.WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_repc.freeze,WTG4B.HvTfo.running,WTG4B.LvTfo.running,WTG4B.injector.running,WTG4B.wecc_regc.and2.y,WTG4B.wecc_regc.and1.y,WTG4B.wecc_regc.and1.u[2],WTG4B.wecc_regc.offDelay.tNext,WTG4B.wecc_regc.offDelay.delaySignal,WTG4B.wecc_regc.offDelay.u,WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4B.wecc_reec.iqInjectionLogic.vDip,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 (457): * Single equations (assignments): 455 * 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.001173/0.4096, allocations: 0.6212 MB / 0.5662 GB, free: 4.129 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001062/0.4106, allocations: 453.6 kB / 0.5666 GB, free: 3.684 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009021/0.4197, allocations: 3.369 MB / 0.5699 GB, free: 312 kB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/0.4197, allocations: 24 kB / 0.5699 GB, free: 288 kB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.4197, allocations: 4 kB / 0.57 GB, free: 284 kB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.609e-05/0.4197, allocations: 15.95 kB / 0.57 GB, free: 268 kB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01823/0.438, allocations: 8.008 MB / 0.5778 GB, free: 8.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.39e-05/0.438, allocations: 11.52 kB / 0.5778 GB, free: 8.223 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003048/0.441, allocations: 475.7 kB / 0.5783 GB, free: 7.781 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001277/0.4423, allocations: 430.8 kB / 0.5787 GB, free: 7.359 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002351/0.4425, allocations: 71.95 kB / 0.5787 GB, free: 7.289 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0059/0.4484, allocations: 3.54 MB / 0.5822 GB, free: 3.637 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.056e-05/0.4484, allocations: 15.36 kB / 0.5822 GB, free: 3.625 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01279/0.4612, allocations: 5.59 MB / 0.5877 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002026/0.4633, allocations: 0.7429 MB / 0.5884 GB, free: 13.13 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005138/0.4638, allocations: 75.98 kB / 0.5885 GB, free: 13.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002043/0.4658, allocations: 163.8 kB / 0.5886 GB, free: 12.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006374/0.4665, allocations: 276.8 kB / 0.5889 GB, free: 12.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002319/0.4667, allocations: 87.91 kB / 0.589 GB, free: 12.54 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003988/0.4707, allocations: 2.272 MB / 0.5912 GB, free: 10.28 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4707, allocations: 0 / 0.5912 GB, free: 10.28 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0044/0.4751, allocations: 1.66 MB / 0.5928 GB, free: 8.617 MB / 490.7 MB 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 (244): * Single equations (assignments): 230 * 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.003104/0.4782, allocations: 0.5403 MB / 0.5933 GB, free: 8.297 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01542/0.4936, allocations: 6.991 MB / 0.6002 GB, free: 1.352 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-05/0.4936, allocations: 4.25 kB / 0.6002 GB, free: 1.348 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004463/0.4981, allocations: 1.873 MB / 0.602 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003222/0.5013, allocations: 0.6176 MB / 0.6026 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01501/0.5163, allocations: 6.989 MB / 0.6094 GB, free: 7.781 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001991/0.5183, allocations: 1.523 MB / 0.6109 GB, free: 6.23 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002716/0.521, allocations: 470 kB / 0.6114 GB, free: 5.766 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009739/0.522, allocations: 224.5 kB / 0.6116 GB, free: 5.547 MB / 0.4948 GB Notification: Performance of SimCode: time 1.203e-06/0.522, allocations: 0 / 0.6116 GB, free: 5.547 MB / 0.4948 GB Notification: Performance of Templates: time 0.09267/0.6147, allocations: 49.15 MB / 0.6596 GB, free: 4.762 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.makefile [Timeout 660] (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 & ./Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -variableFilter=.* -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource_res.mat","/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] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 8.047745927935466]