Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource2.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.001721/0.001721, allocations: 95.55 kB / 20.45 MB, free: 4.113 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.001322/0.001322, allocations: 169 kB / 23.82 MB, free: 0.7461 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.8611/0.8611, allocations: 158.6 MB / 185.7 MB, free: 2.922 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.4327/0.4327, allocations: 90.56 MB / 328.6 MB, free: 14.7 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.WTG3CurrentSource2,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|WTG3.injector.PInjPu|WTG3.injector.QInjPu|WTG3.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource2") translateModel(Dynawo.Examples.Wind.WECC.WTG3CurrentSource2,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|WTG3.injector.PInjPu|WTG3.injector.QInjPu|WTG3.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 434.7 MB, free: 5.035 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.525e-05/3.713e-05, allocations: 2.312 kB / 434.7 MB, free: 5.031 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG3CurrentSource2): time 0.01953/0.01957, allocations: 17.97 MB / 452.6 MB, free: 2.969 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01503/0.0346, allocations: 8.404 MB / 461 MB, free: 10.54 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006924/0.04152, allocations: 127.1 kB / 461.2 MB, free: 10.41 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005273/0.04679, allocations: 1.147 MB / 462.3 MB, free: 9.258 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.009733/0.05653, allocations: 1.727 MB / 464 MB, free: 7.52 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:112:3-112:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wTG4CurrentSource_INIT.s0Pu) == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.01007/0.0666, allocations: 4.106 MB / 468.1 MB, free: 3.402 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.2296/0.2962, allocations: 7.184 MB / 475.3 MB, free: 55.99 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004216/0.3004, allocations: 1.646 MB / 477 MB, free: 55.75 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004207/0.3046, allocations: 2.414 MB / 479.4 MB, free: 55.5 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003625/0.3083, allocations: 2.09 MB / 481.5 MB, free: 55.21 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002127/0.3104, allocations: 0.7691 MB / 482.2 MB, free: 55.21 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002376/0.3128, allocations: 1.091 MB / 483.3 MB, free: 55.21 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001587/0.3144, allocations: 1.598 MB / 484.9 MB, free: 54.93 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002711/0.3171, allocations: 1.911 MB / 486.8 MB, free: 54.64 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007657/0.3247, allocations: 4.947 MB / 491.8 MB, free: 52.32 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.3247, allocations: 3.938 kB / 491.8 MB, free: 52.32 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3247, allocations: 3.938 kB / 491.8 MB, free: 52.32 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001477/0.3249, allocations: 0 / 491.8 MB, free: 52.32 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: 967 * Number of variables: 967 Notification: Performance of Generate backend data structure: time 0.01391/0.3388, allocations: 7.248 MB / 499 MB, free: 48.32 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.3388, allocations: 7.344 kB / 499.1 MB, free: 48.32 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004866/0.3437, allocations: 1.678 MB / 0.489 GB, free: 47.73 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005413/0.3491, allocations: 3.55 MB / 0.4925 GB, free: 45.8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006768/0.3498, allocations: 1.353 MB / 0.4938 GB, free: 44.44 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006045/0.3504, allocations: 411.5 kB / 0.4942 GB, free: 44.3 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00656/0.357, allocations: 4.149 MB / 0.4982 GB, free: 41.95 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.841e-05/0.357, allocations: 5.875 kB / 0.4982 GB, free: 41.95 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003188/0.3574, allocations: 167.3 kB / 0.4984 GB, free: 41.83 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.058e-05/0.3574, allocations: 93.56 kB / 0.4985 GB, free: 41.83 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004246/0.3617, allocations: 1.645 MB / 0.5001 GB, free: 41.59 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.01933/0.381, allocations: 15.7 MB / 0.5154 GB, free: 30.85 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004035/0.3851, allocations: 1.974 MB / 0.5174 GB, free: 30.34 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001141/0.3862, allocations: 0.6575 MB / 0.518 GB, free: 30.2 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002124/0.3864, allocations: 69.5 kB / 0.5181 GB, free: 30.19 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001722/0.3881, allocations: 1.331 MB / 0.5194 GB, free: 29.78 MB / 442.7 MB Notification: Performance of pre-optimization done (n=310): time 4.429e-06/0.3881, allocations: 0 / 0.5194 GB, free: 29.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=310): time 0.006495/0.3946, allocations: 3.087 MB / 0.5224 GB, free: 28.95 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001546/0.3948, allocations: 0.6797 MB / 0.523 GB, free: 28.16 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004116/0.3989, allocations: 3.403 MB / 0.5264 GB, free: 26.92 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003606/0.3993, allocations: 100.5 kB / 0.5265 GB, free: 26.84 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001431/0.4007, allocations: 2.268 MB / 0.5287 GB, free: 25.1 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009734/0.4017, allocations: 1.102 MB / 0.5298 GB, free: 24.25 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001063/0.4027, allocations: 0.8803 MB / 0.5306 GB, free: 23.83 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.348e-05/0.4028, allocations: 480.7 kB / 0.5311 GB, free: 23.36 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001435/0.4042, allocations: 0.8861 MB / 0.5319 GB, free: 23.17 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001906/0.4061, allocations: 2.438 MB / 0.5343 GB, free: 21.08 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004157/0.4103, allocations: 3.692 MB / 0.5379 GB, free: 17.16 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.612e-05/0.4103, allocations: 4 kB / 0.5379 GB, free: 17.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=601) (initialization): time 0.005727/0.416, allocations: 3.862 MB / 0.5417 GB, free: 13.28 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.29e-05/0.4161, allocations: 73.69 kB / 0.5418 GB, free: 13.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/0.4161, allocations: 12 kB / 0.5418 GB, free: 13.19 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007702/0.4169, allocations: 341.2 kB / 0.5421 GB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002589/0.4195, allocations: 1.135 MB / 0.5432 GB, free: 11.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002355/0.4218, allocations: 2.542 MB / 0.5457 GB, free: 9.145 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002787/0.4246, allocations: 473.5 kB / 0.5461 GB, free: 8.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002299/0.4248, allocations: 160 kB / 0.5463 GB, free: 8.523 MB / 442.7 MB Warning: Assuming fixed start value for the following 34 variables: WTG3.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG3.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG3.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.HvTfo.State0 fixed = true ) \"Transformer 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 WTG3.HvTfo.running:DISCRETE(flow=false start = WTG3.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_wtgq.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_wtgq.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.omegaRefWTGQPu0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.limitedIntegratorFreeze.y:VARIABLE(flow=false start = WTG3.wecc_wtgq.limitedIntegratorFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG3.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG3.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG3.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG3.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG3.wecc_repc.leadLag.X0[1] * WTG3.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG3.injector.running:DISCRETE(flow=false start = WTG3.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG3.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.PConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG3.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG3.LvTfo.running:DISCRETE(flow=false start = WTG3.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG3.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002755/0.4276, allocations: 1.236 MB / 0.5475 GB, free: 7.309 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00188/0.4295, allocations: 2.429 MB / 0.5499 GB, free: 4.379 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004228/0.4337, allocations: 3.668 MB / 0.5535 GB, free: 428 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.701e-05/0.4337, allocations: 8 kB / 0.5535 GB, free: 420 kB / 442.7 MB Notification: Performance of matching and sorting (n=601) (initialization_lambda0): time 0.006657/0.4404, allocations: 3.84 MB / 0.5572 GB, free: 12.55 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.129e-05/0.4404, allocations: 73.66 kB / 0.5573 GB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.4404, allocations: 19.91 kB / 0.5573 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007388/0.4412, allocations: 347.1 kB / 0.5576 GB, free: 12.12 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002808/0.444, allocations: 1.122 MB / 0.5587 GB, free: 11.06 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002696/0.4467, allocations: 2.533 MB / 0.5612 GB, free: 8.414 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002895/0.4496, allocations: 461.9 kB / 0.5616 GB, free: 7.961 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003194/0.4499, allocations: 164 kB / 0.5618 GB, free: 7.801 MB / 458.7 MB Warning: Assuming fixed start value for the following 34 variables: WTG3.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG3.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG3.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.HvTfo.State0 fixed = true ) \"Transformer 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 WTG3.HvTfo.running:DISCRETE(flow=false start = WTG3.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_wtgq.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_wtgq.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.omegaRefWTGQPu0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.limitedIntegratorFreeze.y:VARIABLE(flow=false start = WTG3.wecc_wtgq.limitedIntegratorFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG3.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG3.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG3.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG3.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG3.wecc_repc.leadLag.X0[1] * WTG3.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG3.injector.running:DISCRETE(flow=false start = WTG3.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG3.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.PConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG3.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG3.LvTfo.running:DISCRETE(flow=false start = WTG3.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG3.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 83 ($PRE.WTG3.LvTfo.state,WTG3.LvTfo.state,$PRE.WTG3.injector.state,WTG3.injector.state,$PRE.WTG3.HvTfo.state,WTG3.HvTfo.state,$PRE.line.state,line.state,WTG3.injector.switchOffSignal3,WTG3.injector.switchOffSignal2,WTG3.injector.switchOffSignal1,line.switchOffSignal2,line.switchOffSignal1,WTG3.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,WTG3.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$PRE.line.running,$PRE.WTG3.HvTfo.running,$PRE.WTG3.wecc_regc.offDelay.delaySignal,$PRE.WTG3.wecc_regc.offDelay.tNext,$PRE.WTG3.injector.running,$PRE.WTG3.wecc_reec.iqInjectionLogic.vDip,$PRE.WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.WTG3.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$PRE.WTG3.LvTfo.running,WTG3.wecc_regc.QConv0PuNeg.k,WTG3.wecc_regc.QConv0PuPos.k,$PRE.WTG3.wecc_reec.currentLimitsCalculation1.vDip,$PRE.WTG3.wecc_regc.offDelay.u,WTG3.LvTfo.running,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.greater3.y,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.greater2.y,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.greater1.y,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.greater.y,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.fMin,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.fMax,WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG3.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG3.wecc_reec.currentLimitsCalculation1.vDip,WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG3.wecc_reec.iqInjectionLogic.vDip,WTG3.injector.running,WTG3.wecc_repc.freeze,WTG3.wecc_regc.and2.y,WTG3.wecc_regc.and1.y,WTG3.wecc_regc.and1.u[2],WTG3.wecc_regc.offDelay.tNext,WTG3.wecc_regc.offDelay.delaySignal,WTG3.wecc_regc.offDelay.u,WTG3.HvTfo.running,line.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition15,$whenCondition14,$whenCondition17,$whenCondition16,$whenCondition19,$whenCondition18,$whenCondition20,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.integrator.local_reset,WTG3.wecc_wtgp.antiWindupIntegrator1.integrator.local_reset,WTG3.wecc_wtgp.antiWindupIntegrator.integrator.local_reset,WTG3.wecc_reec.varLimPIDFreeze.I.resetLocal,WTG3.wecc_reec.limPIDFreeze.I.resetLocal,WTG3.pll.limIntegrator.local_reset,WTG3.pll.integrator.local_reset,WTG3.wecc_repc.limPIDFreeze.I.resetLocal,WTG3.wecc_repc.limPID.I.local_reset,WTG3.wecc_wtgt.dOmegaGenerator.local_reset,WTG3.wecc_wtgt.dOmegaTurbine.local_reset,WTG3.wecc_wtgt.dPhi.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (564): * Single equations (assignments): 562 * 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.001156/0.4511, allocations: 0.6898 MB / 0.5625 GB, free: 7.191 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001293/0.4523, allocations: 0.5595 MB / 0.563 GB, free: 6.629 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004529/0.4569, allocations: 2.49 MB / 0.5655 GB, free: 4.09 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.02e-05/0.4569, allocations: 32 kB / 0.5655 GB, free: 4.059 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.617e-06/0.4569, allocations: 4 kB / 0.5655 GB, free: 4.055 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.113e-05/0.4569, allocations: 15.94 kB / 0.5655 GB, free: 4.039 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0114/0.4683, allocations: 6.322 MB / 0.5717 GB, free: 13.65 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/0.4683, allocations: 7.938 kB / 0.5717 GB, free: 13.64 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002393/0.4707, allocations: 0.7675 MB / 0.5724 GB, free: 12.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007872/0.4715, allocations: 335.4 kB / 0.5728 GB, free: 12.57 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002466/0.4718, allocations: 79.97 kB / 0.5728 GB, free: 12.49 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002771/0.4745, allocations: 2.521 MB / 0.5753 GB, free: 9.867 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/0.4745, allocations: 7.562 kB / 0.5753 GB, free: 9.863 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007901/0.4824, allocations: 3.772 MB / 0.579 GB, free: 5.898 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003066/0.4855, allocations: 0.9412 MB / 0.5799 GB, free: 4.953 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001029/0.4865, allocations: 91.98 kB / 0.58 GB, free: 4.863 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001761/0.4883, allocations: 215.8 kB / 0.5802 GB, free: 4.652 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006943/0.489, allocations: 297.2 kB / 0.5805 GB, free: 4.363 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001997/0.4892, allocations: 107.9 kB / 0.5806 GB, free: 4.258 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003576/0.4928, allocations: 1.956 MB / 0.5825 GB, free: 2.301 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.4928, allocations: 0 / 0.5825 GB, free: 2.301 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006365/0.4991, allocations: 2.069 MB / 0.5845 GB, free: 232 kB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 28 (WTG3.wecc_wtgq.firstOrder.y,WTG3.wecc_wtgq.firstOrder1.y,WTG3.wecc_wtgq.limitedIntegratorFreeze.y,WTG3.wecc_wtgt.dPhi.y,WTG3.wecc_wtgt.dOmegaTurbine.y,WTG3.wecc_wtgt.dOmegaGenerator.y,WTG3.wecc_regc.rateLimFirstOrderFreeze2.y,WTG3.wecc_regc.rateLimFirstOrderFreeze1.y,WTG3.wecc_regc.firstOrder.y,WTG3.wecc_repc.firstOrder.y,WTG3.wecc_repc.limPID.I.y,WTG3.wecc_repc.firstOrder1.y,WTG3.wecc_repc.firstOrder2.y,WTG3.wecc_repc.firstOrder3.y,WTG3.wecc_repc.limPIDFreeze.I.y,WTG3.wecc_repc.leadLag.x_scaled[1],WTG3.pll.integrator.y,WTG3.pll.limIntegrator.y,WTG3.wecc_reec.firstOrder.y,WTG3.wecc_reec.firstOrder1.y,WTG3.wecc_reec.limPIDFreeze.I.y,WTG3.wecc_reec.rateLimFirstOrderFreeze1.y,WTG3.wecc_reec.slewRateLimiter.y,WTG3.wecc_reec.rateLimFirstOrderFreeze.y,WTG3.wecc_reec.varLimPIDFreeze.I.y,WTG3.wecc_wtgp.antiWindupIntegrator.integrator.y,WTG3.wecc_wtgp.antiWindupIntegrator1.integrator.y,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.integrator.y) * Number of discrete variables: 46 ($whenCondition20,$whenCondition18,$whenCondition19,$whenCondition16,$whenCondition17,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running,line.state,WTG3.HvTfo.running,WTG3.HvTfo.state,WTG3.wecc_regc.offDelay.u,WTG3.wecc_regc.offDelay.delaySignal,WTG3.wecc_regc.offDelay.tNext,WTG3.wecc_regc.and1.u[2],WTG3.wecc_regc.and1.y,WTG3.wecc_regc.and2.y,WTG3.wecc_repc.freeze,WTG3.injector.running,WTG3.injector.state,WTG3.wecc_reec.iqInjectionLogic.vDip,WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG3.wecc_reec.currentLimitsCalculation1.vDip,WTG3.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.fMax,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.fMin,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.greater.y,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.greater1.y,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.greater2.y,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.greater3.y,WTG3.LvTfo.running,WTG3.LvTfo.state) * Number of discrete states: 10 (WTG3.LvTfo.running,WTG3.injector.running,WTG3.HvTfo.running,line.running,WTG3.wecc_regc.offDelay.u,WTG3.wecc_reec.currentLimitsCalculation1.vDip,WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG3.wecc_reec.currentLimitsCalculation1.ipMaxPu,WTG3.wecc_reec.iqInjectionLogic.vDip,WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (307): * Single equations (assignments): 293 * 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.001719/0.5009, allocations: 0.5175 MB / 0.585 GB, free: 15.89 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009677/0.5105, allocations: 4.984 MB / 0.5899 GB, free: 10.94 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/0.5105, allocations: 4.062 kB / 0.5899 GB, free: 10.94 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002326/0.5129, allocations: 1.345 MB / 0.5912 GB, free: 9.637 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003267/0.5161, allocations: 0.8038 MB / 0.592 GB, free: 8.871 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01337/0.5295, allocations: 7.986 MB / 0.5998 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00096/0.5305, allocations: 0.7518 MB / 0.6005 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002726/0.5332, allocations: 0.5822 MB / 0.6011 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008055/0.534, allocations: 284.4 kB / 0.6014 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of SimCode: time 2.434e-06/0.534, allocations: 0 / 0.6014 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of Templates: time 0.07475/0.6088, allocations: 58.07 MB / 0.6581 GB, free: 5.516 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource2.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource2.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource2.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource2.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource2.sim & ./Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource2 -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.WTG3CurrentSource2.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Wind.WECC.WTG3CurrentSource2_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 6.177650857716799]