Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.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.0018/0.0018, allocations: 91.56 kB / 20.45 MB, free: 4.125 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.002214/0.002214, allocations: 169 kB / 23.82 MB, free: 0.7578 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.8663/0.8663, allocations: 158.6 MB / 185.7 MB, free: 2.934 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.4266/0.4266, allocations: 90.56 MB / 328.6 MB, free: 14.68 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.WTG3CurrentSource1,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.WTG3CurrentSource1") translateModel(Dynawo.Examples.Wind.WECC.WTG3CurrentSource1,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.WTG3CurrentSource1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 0 / 434.6 MB, free: 5.02 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.379e-05/3.637e-05, allocations: 9.688 kB / 434.7 MB, free: 5.012 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG3CurrentSource1): time 0.01968/0.01971, allocations: 17.18 MB / 451.8 MB, free: 3.75 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01334/0.03305, allocations: 7.89 MB / 459.7 MB, free: 11.84 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004082/0.03714, allocations: 115.2 kB / 459.8 MB, free: 11.72 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003234/0.04037, allocations: 1.097 MB / 460.9 MB, free: 10.62 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.005538/0.04591, allocations: 1.68 MB / 462.6 MB, free: 8.926 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.006705/0.05261, allocations: 3.735 MB / 466.3 MB, free: 5.18 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.2385/0.2912, allocations: 6.676 MB / 473 MB, free: 55.91 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003619/0.2948, allocations: 1.503 MB / 474.5 MB, free: 55.68 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003489/0.2983, allocations: 2.261 MB / 476.8 MB, free: 55.68 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002739/0.301, allocations: 1.984 MB / 478.8 MB, free: 55.52 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001593/0.3026, allocations: 0.6975 MB / 479.5 MB, free: 55.52 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001856/0.3045, allocations: 1.03 MB / 480.5 MB, free: 55.51 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001119/0.3056, allocations: 1.479 MB / 482 MB, free: 55.25 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002112/0.3077, allocations: 1.785 MB / 483.8 MB, free: 54.98 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006063/0.3137, allocations: 4.615 MB / 488.4 MB, free: 54.35 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.037e-05/0.3138, allocations: 3.422 kB / 488.4 MB, free: 54.35 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3138, allocations: 0 / 488.4 MB, free: 54.35 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001972/0.314, allocations: 3.938 kB / 488.4 MB, free: 54.35 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: 889 * Number of variables: 889 Notification: Performance of Generate backend data structure: time 0.01289/0.3268, allocations: 6.883 MB / 495.3 MB, free: 50.62 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.957e-05/0.3269, allocations: 9.375 kB / 495.3 MB, free: 50.62 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003942/0.3308, allocations: 1.622 MB / 496.9 MB, free: 50.05 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004543/0.3354, allocations: 3.265 MB / 0.4884 GB, free: 48.28 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005753/0.336, allocations: 1.182 MB / 0.4896 GB, free: 47.11 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004519/0.3364, allocations: 382.3 kB / 0.49 GB, free: 46.98 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005104/0.3415, allocations: 3.731 MB / 0.4936 GB, free: 44.95 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.369e-05/0.3416, allocations: 5.875 kB / 0.4936 GB, free: 44.95 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002409/0.3418, allocations: 151 kB / 0.4938 GB, free: 44.84 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.912e-05/0.3419, allocations: 87.86 kB / 0.4938 GB, free: 44.84 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003069/0.345, allocations: 1.515 MB / 0.4953 GB, free: 44.61 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.01738/0.3623, allocations: 13.97 MB / 0.509 GB, free: 35.27 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004182/0.3665, allocations: 1.888 MB / 0.5108 GB, free: 34.8 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00135/0.3679, allocations: 0.6339 MB / 0.5114 GB, free: 34.66 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002366/0.3681, allocations: 61.67 kB / 0.5115 GB, free: 34.66 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001929/0.37, allocations: 1.277 MB / 0.5127 GB, free: 34.26 MB / 442.7 MB Notification: Performance of pre-optimization done (n=291): time 5.56e-06/0.37, allocations: 0 / 0.5127 GB, free: 34.26 MB / 442.7 MB Notification: Performance of matching and sorting (n=291): time 0.006186/0.3762, allocations: 2.948 MB / 0.5156 GB, free: 33.47 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.3763, allocations: 0.5785 MB / 0.5162 GB, free: 32.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004014/0.3804, allocations: 3.274 MB / 0.5194 GB, free: 31.59 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005265/0.3809, allocations: 99.14 kB / 0.5195 GB, free: 31.52 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001487/0.3824, allocations: 2.117 MB / 0.5215 GB, free: 29.88 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001063/0.3834, allocations: 1.038 MB / 0.5225 GB, free: 29.08 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001115/0.3846, allocations: 0.8454 MB / 0.5234 GB, free: 28.68 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.39e-05/0.3846, allocations: 476.8 kB / 0.5238 GB, free: 28.21 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001435/0.386, allocations: 0.8691 MB / 0.5247 GB, free: 28.02 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001831/0.3879, allocations: 2.193 MB / 0.5268 GB, free: 26.32 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004243/0.3921, allocations: 3.547 MB / 0.5303 GB, free: 24.66 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.516e-05/0.3921, allocations: 7.531 kB / 0.5303 GB, free: 24.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=579) (initialization): time 0.006229/0.3983, allocations: 3.73 MB / 0.5339 GB, free: 21.61 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.447e-05/0.3984, allocations: 73.69 kB / 0.534 GB, free: 21.53 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.46e-05/0.3985, allocations: 12 kB / 0.534 GB, free: 21.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008497/0.3993, allocations: 340.5 kB / 0.5343 GB, free: 21.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003289/0.4026, allocations: 1.257 MB / 0.5356 GB, free: 19.99 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00252/0.4051, allocations: 2.535 MB / 0.538 GB, free: 17.37 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003226/0.4084, allocations: 453.5 kB / 0.5385 GB, free: 16.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004672/0.4088, allocations: 148 kB / 0.5386 GB, free: 16.78 MB / 442.7 MB Warning: Assuming fixed start value for the following 36 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_wtgp.limitedIntegrator.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.limitedIntegrator.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgp.limitedIntegrator1.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.limitedIntegrator1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real 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.003027/0.4118, allocations: 1.209 MB / 0.5398 GB, free: 15.59 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00183/0.4137, allocations: 2.192 MB / 0.5419 GB, free: 12.96 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004228/0.4179, allocations: 3.522 MB / 0.5454 GB, free: 9.176 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.468e-05/0.4179, allocations: 4 kB / 0.5454 GB, free: 9.172 MB / 442.7 MB Notification: Performance of matching and sorting (n=579) (initialization_lambda0): time 0.006002/0.4239, allocations: 3.715 MB / 0.549 GB, free: 5.449 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.017e-05/0.424, allocations: 73.83 kB / 0.5491 GB, free: 5.371 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.424, allocations: 15.98 kB / 0.5491 GB, free: 5.355 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006996/0.4247, allocations: 338.2 kB / 0.5494 GB, free: 5.023 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003066/0.4278, allocations: 1.244 MB / 0.5506 GB, free: 3.832 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002254/0.43, allocations: 2.537 MB / 0.5531 GB, free: 1.199 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002725/0.4327, allocations: 433.9 kB / 0.5535 GB, free: 0.7734 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002802/0.433, allocations: 152 kB / 0.5537 GB, free: 0.625 MB / 442.7 MB Warning: Assuming fixed start value for the following 36 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_wtgp.limitedIntegrator.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.limitedIntegrator.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgp.limitedIntegrator1.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.limitedIntegrator1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real 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: 53 * Number of states: 0 () * Number of discrete variables: 75 ($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_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_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,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreeze.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (541): * Single equations (assignments): 539 * 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.001011/0.434, allocations: 0.6749 MB / 0.5543 GB, free: 20 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001126/0.4352, allocations: 0.5258 MB / 0.5548 GB, free: 15.49 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004099/0.4393, allocations: 2.389 MB / 0.5572 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.738e-05/0.4393, allocations: 31.94 kB / 0.5572 GB, free: 13.02 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.4393, allocations: 4 kB / 0.5572 GB, free: 13.02 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-05/0.4393, allocations: 11.95 kB / 0.5572 GB, free: 13.01 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009755/0.4491, allocations: 6.028 MB / 0.5631 GB, free: 6.887 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/0.4491, allocations: 7.984 kB / 0.5631 GB, free: 6.879 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002825/0.4519, allocations: 0.9043 MB / 0.564 GB, free: 6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007443/0.4526, allocations: 333.3 kB / 0.5643 GB, free: 5.672 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002202/0.4529, allocations: 83.95 kB / 0.5644 GB, free: 5.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002539/0.4554, allocations: 2.513 MB / 0.5668 GB, free: 2.973 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/0.4554, allocations: 7.188 kB / 0.5669 GB, free: 2.969 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006069/0.4615, allocations: 3.627 MB / 0.5704 GB, free: 15.14 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002063/0.4635, allocations: 0.8868 MB / 0.5713 GB, free: 14.25 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006141/0.4641, allocations: 87.98 kB / 0.5713 GB, free: 14.16 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/0.4655, allocations: 199.8 kB / 0.5715 GB, free: 13.96 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004851/0.4659, allocations: 293 kB / 0.5718 GB, free: 13.68 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/0.4661, allocations: 99.95 kB / 0.5719 GB, free: 13.58 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002588/0.4687, allocations: 1.881 MB / 0.5737 GB, free: 11.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4687, allocations: 0 / 0.5737 GB, free: 11.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004308/0.473, allocations: 1.972 MB / 0.5757 GB, free: 9.719 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 28 (WTG3.wecc_wtgp.limitedIntegrator.y,WTG3.wecc_wtgp.limitedIntegrator1.y,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreeze.integrator.y,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) * Number of discrete variables: 40 ($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.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 (288): * Single equations (assignments): 274 * 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.001468/0.4745, allocations: 0.5009 MB / 0.5762 GB, free: 9.402 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008146/0.4826, allocations: 4.839 MB / 0.5809 GB, free: 4.605 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/0.4826, allocations: 0 / 0.5809 GB, free: 4.605 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002233/0.4849, allocations: 1.279 MB / 0.5821 GB, free: 3.363 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003075/0.4879, allocations: 0.7374 MB / 0.5829 GB, free: 2.664 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0128/0.5007, allocations: 7.637 MB / 0.5903 GB, free: 10.86 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007736/0.5015, allocations: 0.7149 MB / 0.591 GB, free: 10.13 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002499/0.504, allocations: 0.5497 MB / 0.5916 GB, free: 9.574 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008323/0.5048, allocations: 268.4 kB / 0.5918 GB, free: 9.312 MB / 490.7 MB Notification: Performance of SimCode: time 2.605e-06/0.5048, allocations: 4 kB / 0.5918 GB, free: 9.309 MB / 490.7 MB Notification: Performance of Templates: time 0.06878/0.5736, allocations: 55.21 MB / 0.6457 GB, free: 2.594 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.sim & ./Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1 -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.WTG3CurrentSource1.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Wind.WECC.WTG3CurrentSource1_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.854182064067572]