Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001898/0.001898, 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.002051/0.002051, 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.262/1.262, 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.6833/0.6833, allocations: 90.61 MB / 328.2 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.WTG4ACurrentSource,tolerance=0.0001,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|WTG4A.injector.PInjPu|WTG4A.injector.QInjPu|WTG4A.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource") translateModel(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource,tolerance=0.0001,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|WTG4A.injector.PInjPu|WTG4A.injector.QInjPu|WTG4A.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 433.8 MB, free: 5.473 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.746e-05/2.922e-05, allocations: 2.312 kB / 433.8 MB, free: 5.469 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource): time 0.02637/0.0264, allocations: 15.26 MB / 449.1 MB, free: 6.129 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01601/0.04241, allocations: 7.093 MB / 456.2 MB, free: 15.01 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003811/0.04622, allocations: 103.3 kB / 456.3 MB, free: 14.91 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003521/0.04974, allocations: 0.9611 MB / 457.2 MB, free: 13.94 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.006605/0.05635, allocations: 1.58 MB / 458.8 MB, free: 12.35 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 WTG4A.HvTfo.terminal1.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation WTG4A.HvTfo.terminal1.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:71:5-75:11:writable] Warning: In relation WTG4A.HvTfo.terminal2.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:71:5-75:11:writable] Warning: In relation WTG4A.HvTfo.terminal2.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:112:3-112:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wTG4CurrentSource_INIT.s0Pu) == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.0085/0.06485, allocations: 3.158 MB / 462 MB, free: 9.188 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.01074/0.07559, allocations: 5.741 MB / 467.7 MB, free: 3.434 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004596/0.08018, allocations: 1.275 MB / 469 MB, free: 2.086 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004548/0.08473, allocations: 1.959 MB / 470.9 MB, free: 124 kB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1799/0.2646, allocations: 1.735 MB / 472.7 MB, free: 58.8 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002004/0.2666, allocations: 0.5962 MB / 473.3 MB, free: 58.8 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001954/0.2686, allocations: 0.9181 MB / 474.2 MB, free: 58.8 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008669/0.2694, allocations: 1.274 MB / 475.5 MB, free: 58.8 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00137/0.2708, allocations: 1.534 MB / 477 MB, free: 58.8 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007416/0.2782, allocations: 7.578 MB / 484.6 MB, free: 58.45 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.2782, allocations: 0 / 484.6 MB, free: 58.45 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.2782, allocations: 0 / 484.6 MB, free: 58.45 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002068/0.2784, allocations: 0 / 484.6 MB, free: 58.45 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: 769 * Number of variables: 769 Notification: Performance of Generate backend data structure: time 0.01672/0.2952, allocations: 6.675 MB / 491.3 MB, free: 56.03 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.2952, allocations: 11.75 kB / 491.3 MB, free: 56.03 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005796/0.301, allocations: 1.488 MB / 492.8 MB, free: 55.63 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005003/0.306, allocations: 2.931 MB / 495.7 MB, free: 54.05 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005046/0.3065, allocations: 1.132 MB / 496.8 MB, free: 52.9 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005262/0.307, allocations: 322.1 kB / 497.1 MB, free: 52.8 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006479/0.3135, allocations: 4.423 MB / 0.4898 GB, free: 50.35 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.805e-05/0.3136, allocations: 2.875 kB / 0.4898 GB, free: 50.35 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002883/0.3139, allocations: 133 kB / 0.4899 GB, free: 50.25 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.004e-05/0.3139, allocations: 77.88 kB / 0.49 GB, free: 50.25 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006191/0.3201, allocations: 2.96 MB / 0.4929 GB, free: 49.25 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.02336/0.3435, allocations: 20.73 MB / 0.5131 GB, free: 36.61 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00566/0.3491, allocations: 2.929 MB / 0.516 GB, free: 35.52 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002181/0.3513, allocations: 1.225 MB / 0.5172 GB, free: 35.07 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002435/0.3516, allocations: 53.02 kB / 0.5172 GB, free: 35.06 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003053/0.3546, allocations: 1.982 MB / 0.5192 GB, free: 34.3 MB / 442.7 MB Notification: Performance of pre-optimization done (n=257): time 4.98e-06/0.3546, allocations: 0 / 0.5192 GB, free: 34.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=257): time 0.01118/0.3658, allocations: 4.73 MB / 0.5238 GB, free: 32.6 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.857e-05/0.3659, allocations: 479.4 kB / 0.5243 GB, free: 32.03 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004763/0.3707, allocations: 4.271 MB / 0.5284 GB, free: 28.15 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002906/0.371, allocations: 97.62 kB / 0.5285 GB, free: 28.05 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001373/0.3723, allocations: 2.102 MB / 0.5306 GB, free: 25.95 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007867/0.3731, allocations: 1.027 MB / 0.5316 GB, free: 24.94 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001359/0.3745, allocations: 1.014 MB / 0.5326 GB, free: 23.91 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.186e-05/0.3745, allocations: 483.3 kB / 0.533 GB, free: 23.44 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002693/0.3772, allocations: 1.554 MB / 0.5345 GB, free: 21.86 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003257/0.3805, allocations: 2.873 MB / 0.5373 GB, free: 18.63 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008247/0.3887, allocations: 5.523 MB / 0.5427 GB, free: 12.92 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.335e-05/0.3887, allocations: 0 / 0.5427 GB, free: 12.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=521) (initialization): time 0.009043/0.3978, allocations: 4.971 MB / 0.5476 GB, free: 7.996 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.47e-05/0.3978, allocations: 69.66 kB / 0.5477 GB, free: 7.922 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.881e-05/0.3979, allocations: 8 kB / 0.5477 GB, free: 7.914 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001176/0.399, allocations: 446.7 kB / 0.5481 GB, free: 7.488 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00351/0.4026, allocations: 0.7941 MB / 0.5489 GB, free: 6.742 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004205/0.4068, allocations: 3.562 MB / 0.5523 GB, free: 3.074 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002943/0.4097, allocations: 385.9 kB / 0.5527 GB, free: 2.695 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002762/0.41, allocations: 139.3 kB / 0.5528 GB, free: 2.562 MB / 442.7 MB Warning: Assuming fixed start value for the following 32 variables: WTG4A.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4A.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4A.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4A.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG4A.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4A.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4A.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG4A.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG4A.injector.running:DISCRETE(flow=false start = WTG4A.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4A.LvTfo.running:DISCRETE(flow=false start = WTG4A.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4A.HvTfo.running:DISCRETE(flow=false start = WTG4A.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4A.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4A.wecc_repc.leadLag.X0[1] * WTG4A.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4A.wecc_wtgt.Pmech.y:VARIABLE(flow=false start = WTG4A.wecc_wtgt.Pmech.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean WTG4A.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004051/0.414, allocations: 2.277 MB / 0.5551 GB, free: 316 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004499/0.4185, allocations: 2.832 MB / 0.5578 GB, free: 13.12 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01081/0.4293, allocations: 5.409 MB / 0.5631 GB, free: 7.516 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.481e-05/0.4294, allocations: 4 kB / 0.5631 GB, free: 7.512 MB / 458.7 MB Notification: Performance of matching and sorting (n=521) (initialization_lambda0): time 0.01175/0.4411, allocations: 4.882 MB / 0.5679 GB, free: 2.672 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.144e-05/0.4412, allocations: 69.66 kB / 0.568 GB, free: 2.598 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.802e-05/0.4412, allocations: 8 kB / 0.568 GB, free: 2.59 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001328/0.4426, allocations: 465.1 kB / 0.5684 GB, free: 2.145 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003981/0.4465, allocations: 0.7722 MB / 0.5692 GB, free: 1.418 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006042/0.4526, allocations: 3.567 MB / 0.5726 GB, free: 13.75 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003611/0.4562, allocations: 369.5 kB / 0.573 GB, free: 13.39 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004165/0.4566, allocations: 140 kB / 0.5731 GB, free: 13.25 MB / 474.7 MB Warning: Assuming fixed start value for the following 32 variables: WTG4A.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4A.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4A.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4A.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG4A.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4A.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4A.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG4A.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG4A.injector.running:DISCRETE(flow=false start = WTG4A.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4A.LvTfo.running:DISCRETE(flow=false start = WTG4A.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4A.HvTfo.running:DISCRETE(flow=false start = WTG4A.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4A.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4A.wecc_repc.leadLag.X0[1] * WTG4A.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4A.wecc_wtgt.Pmech.y:VARIABLE(flow=false start = WTG4A.wecc_wtgt.Pmech.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean WTG4A.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 74 ($PRE.WTG4A.HvTfo.state,WTG4A.HvTfo.state,$PRE.WTG4A.LvTfo.state,WTG4A.LvTfo.state,$PRE.WTG4A.injector.state,WTG4A.injector.state,$PRE.line.state,line.state,WTG4A.injector.switchOffSignal3,WTG4A.injector.switchOffSignal2,WTG4A.injector.switchOffSignal1,line.switchOffSignal2,line.switchOffSignal1,WTG4A.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,WTG4A.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$PRE.line.running,$PRE.WTG4A.wecc_reec.iqInjectionLogic.vDip,$PRE.WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$PRE.WTG4A.wecc_regc.offDelay.delaySignal,$PRE.WTG4A.wecc_regc.offDelay.tNext,$PRE.WTG4A.injector.running,$PRE.WTG4A.LvTfo.running,$PRE.WTG4A.HvTfo.running,WTG4A.wecc_regc.QConv0PuNeg.k,WTG4A.wecc_regc.QConv0PuPos.k,$PRE.WTG4A.wecc_regc.offDelay.u,$PRE.WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_repc.freeze,WTG4A.HvTfo.running,WTG4A.LvTfo.running,WTG4A.injector.running,WTG4A.wecc_regc.and2.y,WTG4A.wecc_regc.and1.y,WTG4A.wecc_regc.and1.u[2],WTG4A.wecc_regc.offDelay.tNext,WTG4A.wecc_regc.offDelay.delaySignal,WTG4A.wecc_regc.offDelay.u,WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4A.wecc_reec.iqInjectionLogic.vDip,line.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition7,$whenCondition6,$whenCondition9,$whenCondition8,$whenCondition11,$whenCondition10,$whenCondition13,$whenCondition12,$whenCondition14,$whenCondition16,$whenCondition15,$whenCondition17,$whenCondition19,$whenCondition18,$whenCondition20,WTG4A.wecc_wtgt.dOmegaGenerator.local_reset,WTG4A.wecc_wtgt.dOmegaTurbine.local_reset,WTG4A.wecc_wtgt.dPhi.local_reset,WTG4A.wecc_repc.limPIDFreeze.I.resetLocal,WTG4A.wecc_repc.limPID.I.local_reset,WTG4A.pll.limIntegrator.local_reset,WTG4A.pll.integrator.local_reset,WTG4A.wecc_reec.varLimPIDFreeze.I.resetLocal,WTG4A.wecc_reec.limPIDFreeze.I.resetLocal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (484): * Single equations (assignments): 482 * 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.001215/0.4578, allocations: 0.6302 MB / 0.5738 GB, free: 12.67 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001347/0.4592, allocations: 473.5 kB / 0.5742 GB, free: 12.21 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009063/0.4682, allocations: 3.456 MB / 0.5776 GB, free: 8.746 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.904e-05/0.4683, allocations: 27.94 kB / 0.5776 GB, free: 8.719 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.4683, allocations: 4 kB / 0.5776 GB, free: 8.715 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.353e-05/0.4683, allocations: 15.94 kB / 0.5776 GB, free: 8.699 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0182/0.4865, allocations: 8.255 MB / 0.5857 GB, free: 420 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/0.4865, allocations: 4.656 kB / 0.5857 GB, free: 416 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003149/0.4897, allocations: 484.3 kB / 0.5862 GB, free: 15.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001293/0.491, allocations: 444.5 kB / 0.5866 GB, free: 15.52 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002665/0.4912, allocations: 67.97 kB / 0.5866 GB, free: 15.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00596/0.4972, allocations: 3.561 MB / 0.5901 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.281e-06/0.4972, allocations: 4 kB / 0.5901 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01342/0.5106, allocations: 5.741 MB / 0.5957 GB, free: 5.863 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002397/0.513, allocations: 0.774 MB / 0.5965 GB, free: 5.086 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007051/0.5137, allocations: 75.98 kB / 0.5966 GB, free: 5.012 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002213/0.5159, allocations: 163.8 kB / 0.5967 GB, free: 4.852 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006669/0.5166, allocations: 273.2 kB / 0.597 GB, free: 4.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002373/0.5168, allocations: 91.97 kB / 0.5971 GB, free: 4.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004183/0.521, allocations: 2.374 MB / 0.5994 GB, free: 2.141 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.521, allocations: 0 / 0.5994 GB, free: 2.141 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004944/0.526, allocations: 1.746 MB / 0.6011 GB, free: 400 kB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 23 (WTG4A.wecc_reec.firstOrder.y,WTG4A.wecc_reec.firstOrder1.y,WTG4A.wecc_reec.limPIDFreeze.I.y,WTG4A.wecc_reec.rateLimFirstOrderFreeze1.y,WTG4A.wecc_reec.slewRateLimiter.y,WTG4A.wecc_reec.rateLimFirstOrderFreeze.y,WTG4A.wecc_reec.varLimPIDFreeze.I.y,WTG4A.wecc_regc.rateLimFirstOrderFreeze2.y,WTG4A.wecc_regc.rateLimFirstOrderFreeze1.y,WTG4A.wecc_regc.firstOrder.y,WTG4A.pll.integrator.y,WTG4A.pll.limIntegrator.y,WTG4A.wecc_repc.firstOrder.y,WTG4A.wecc_repc.limPID.I.y,WTG4A.wecc_repc.firstOrder1.y,WTG4A.wecc_repc.firstOrder2.y,WTG4A.wecc_repc.firstOrder3.y,WTG4A.wecc_repc.limPIDFreeze.I.y,WTG4A.wecc_repc.leadLag.x_scaled[1],WTG4A.wecc_wtgt.dPhi.y,WTG4A.wecc_wtgt.dOmegaTurbine.y,WTG4A.wecc_wtgt.dOmegaGenerator.y,WTG4A.wecc_wtgt.Pmech.y) * Number of discrete variables: 40 ($whenCondition20,$whenCondition18,$whenCondition19,$whenCondition17,$whenCondition15,$whenCondition16,$whenCondition14,$whenCondition12,$whenCondition13,$whenCondition10,$whenCondition11,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running,line.state,WTG4A.wecc_reec.iqInjectionLogic.vDip,WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4A.wecc_regc.offDelay.u,WTG4A.wecc_regc.offDelay.delaySignal,WTG4A.wecc_regc.offDelay.tNext,WTG4A.wecc_regc.and1.u[2],WTG4A.wecc_regc.and1.y,WTG4A.wecc_regc.and2.y,WTG4A.injector.running,WTG4A.injector.state,WTG4A.LvTfo.running,WTG4A.LvTfo.state,WTG4A.HvTfo.running,WTG4A.HvTfo.state,WTG4A.wecc_repc.freeze) * Number of discrete states: 10 (WTG4A.HvTfo.running,WTG4A.LvTfo.running,WTG4A.injector.running,line.running,WTG4A.wecc_regc.offDelay.u,WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxPu,WTG4A.wecc_reec.iqInjectionLogic.vDip,WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (254): * Single equations (assignments): 240 * 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.002906/0.5289, allocations: 0.5441 MB / 0.6016 GB, free: 64 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01639/0.5453, allocations: 7.208 MB / 0.6087 GB, free: 8.891 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.301e-05/0.5453, allocations: 4 kB / 0.6087 GB, free: 8.887 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004838/0.5501, allocations: 1.915 MB / 0.6105 GB, free: 7.008 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003669/0.5538, allocations: 0.6302 MB / 0.6111 GB, free: 6.406 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01611/0.5699, allocations: 7.381 MB / 0.6184 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002088/0.572, allocations: 1.606 MB / 0.6199 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002826/0.5748, allocations: 491 kB / 0.6204 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001011/0.5758, allocations: 228.5 kB / 0.6206 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of SimCode: time 1.252e-06/0.5758, allocations: 3.938 kB / 0.6206 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of Templates: time 0.2424/0.8183, allocations: 50.51 MB / 0.6699 GB, free: 177 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.sim & ./Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource -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.WTG4ACurrentSource.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Wind.WECC.WTG4ACurrentSource_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 654] Reference file matches [Calling sys.exit(0), Time elapsed: 16.62521889898926]