Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS.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.001131/0.001131, 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.001009/0.001009, allocations: 169 kB / 23.82 MB, free: 0.7539 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.8086/0.8086, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.4213/0.4213, allocations: 90.57 MB / 328.6 MB, free: 14.73 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.WTG4BCurrentSourceExternalPCS,tolerance=0.001,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|WTG4B.injector.PInjPu|WTG4B.injector.QInjPu|WTG4B.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS") translateModel(Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS,tolerance=0.001,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|WTG4B.injector.PInjPu|WTG4B.injector.QInjPu|WTG4B.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 434.6 MB, free: 5.047 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.558e-05/2.704e-05, allocations: 2.312 kB / 434.6 MB, free: 5.043 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS): time 0.01442/0.01444, allocations: 15.28 MB / 449.9 MB, free: 5.68 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01103/0.02547, allocations: 7.005 MB / 456.9 MB, free: 14.66 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002724/0.02819, allocations: 95.38 kB / 457 MB, free: 14.56 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002063/0.03026, allocations: 0.9418 MB / 458 MB, free: 13.61 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.004198/0.03446, allocations: 1.576 MB / 459.5 MB, free: 12.03 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.004752/0.03921, allocations: 3.255 MB / 462.8 MB, free: 8.766 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.007227/0.04643, allocations: 5.608 MB / 468.4 MB, free: 3.141 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002412/0.04885, allocations: 1.234 MB / 469.6 MB, free: 1.832 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.182/0.2309, allocations: 1.921 MB / 471.6 MB, free: 56.29 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002234/0.2331, allocations: 1.705 MB / 473.3 MB, free: 56.29 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001488/0.2346, allocations: 0.577 MB / 473.8 MB, free: 56.29 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001573/0.2362, allocations: 0.9121 MB / 474.8 MB, free: 56.29 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006178/0.2368, allocations: 1.24 MB / 476 MB, free: 56.29 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001802/0.2386, allocations: 1.5 MB / 477.5 MB, free: 56.25 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004492/0.2431, allocations: 3.964 MB / 481.5 MB, free: 55.72 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2431, allocations: 7.594 kB / 481.5 MB, free: 55.71 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2431, allocations: 0 / 481.5 MB, free: 55.71 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001164/0.2432, allocations: 0 / 481.5 MB, free: 55.71 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: 753 * Number of variables: 753 Notification: Performance of Generate backend data structure: time 0.008494/0.2517, allocations: 6.175 MB / 487.6 MB, free: 53.32 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.2517, allocations: 10.47 kB / 487.7 MB, free: 53.32 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00362/0.2554, allocations: 1.683 MB / 489.3 MB, free: 53.04 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00284/0.2582, allocations: 2.69 MB / 492 MB, free: 52.32 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003576/0.2586, allocations: 1.128 MB / 493.2 MB, free: 51.28 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003052/0.2589, allocations: 317.6 kB / 493.5 MB, free: 51.27 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003474/0.2623, allocations: 3.121 MB / 496.6 MB, free: 50.16 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.979e-05/0.2624, allocations: 5.812 kB / 496.6 MB, free: 50.16 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00018/0.2626, allocations: 127 kB / 496.7 MB, free: 50.16 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.396e-05/0.2626, allocations: 73.56 kB / 496.8 MB, free: 50.16 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002306/0.2649, allocations: 1.359 MB / 498.2 MB, free: 50.11 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.0108/0.2757, allocations: 11.13 MB / 0.4973 GB, free: 42.98 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002888/0.2786, allocations: 1.66 MB / 0.499 GB, free: 42.57 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/0.2796, allocations: 0.6024 MB / 0.4996 GB, free: 42.45 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001893/0.2798, allocations: 58.39 kB / 0.4996 GB, free: 42.45 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001776/0.2816, allocations: 1.253 MB / 0.5008 GB, free: 42.06 MB / 442.7 MB Notification: Performance of pre-optimization done (n=274): time 7.273e-06/0.2816, allocations: 0 / 0.5008 GB, free: 42.06 MB / 442.7 MB Notification: Performance of matching and sorting (n=274): time 0.006561/0.2881, allocations: 2.99 MB / 0.5038 GB, free: 41.34 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.2883, allocations: 484.3 kB / 0.5042 GB, free: 40.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003523/0.2918, allocations: 2.7 MB / 0.5069 GB, free: 39.82 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002424/0.292, allocations: 98.47 kB / 0.5069 GB, free: 39.74 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001008/0.293, allocations: 1.739 MB / 0.5086 GB, free: 38.39 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006643/0.2937, allocations: 0.9532 MB / 0.5096 GB, free: 37.66 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009078/0.2946, allocations: 0.7516 MB / 0.5103 GB, free: 37.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.666e-05/0.2946, allocations: 477.9 kB / 0.5108 GB, free: 36.83 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001366/0.296, allocations: 0.8227 MB / 0.5116 GB, free: 36.66 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001542/0.2975, allocations: 1.909 MB / 0.5134 GB, free: 35.28 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003586/0.3011, allocations: 3.314 MB / 0.5167 GB, free: 33.83 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.301e-05/0.3011, allocations: 3.562 kB / 0.5167 GB, free: 33.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.005041/0.3062, allocations: 3.494 MB / 0.5201 GB, free: 32.86 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.673e-05/0.3063, allocations: 65.52 kB / 0.5201 GB, free: 32.81 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-05/0.3063, allocations: 12.11 kB / 0.5202 GB, free: 32.81 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008895/0.3072, allocations: 422.3 kB / 0.5206 GB, free: 32.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001845/0.309, allocations: 0.7845 MB / 0.5213 GB, free: 32.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002676/0.3117, allocations: 2.745 MB / 0.524 GB, free: 30.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001861/0.3136, allocations: 381.6 kB / 0.5244 GB, free: 30.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002092/0.3138, allocations: 140.2 kB / 0.5245 GB, free: 30.27 MB / 442.7 MB Warning: Assuming fixed start value for the following 33 variables: WTG4B.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4B.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4B.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) ZPcs.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = ZPcs.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Zcc.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Zcc.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Zcc.running:DISCRETE(flow=false start = Zcc.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean ZPcs.running:DISCRETE(flow=false start = ZPcs.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4B.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG4B.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG4B.injector.running:DISCRETE(flow=false start = WTG4B.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.LvTfo.running:DISCRETE(flow=false start = WTG4B.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.HvTfo.running:DISCRETE(flow=false start = WTG4B.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4B.wecc_repc.leadLag.X0[1] * WTG4B.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4B.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean WTG4B.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002167/0.3159, allocations: 1.144 MB / 0.5256 GB, free: 29.82 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001524/0.3175, allocations: 1.903 MB / 0.5275 GB, free: 27.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003443/0.3209, allocations: 3.284 MB / 0.5307 GB, free: 24.53 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.082e-05/0.3209, allocations: 4 kB / 0.5307 GB, free: 24.53 MB / 442.7 MB Notification: Performance of matching and sorting (n=522) (initialization_lambda0): time 0.004721/0.3256, allocations: 3.479 MB / 0.5341 GB, free: 21.41 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.618e-05/0.3257, allocations: 68.44 kB / 0.5342 GB, free: 21.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.3257, allocations: 12 kB / 0.5342 GB, free: 21.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007432/0.3264, allocations: 421.3 kB / 0.5346 GB, free: 20.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001788/0.3282, allocations: 0.7757 MB / 0.5353 GB, free: 20.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002526/0.3308, allocations: 2.753 MB / 0.538 GB, free: 17.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/0.3325, allocations: 369.6 kB / 0.5384 GB, free: 17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001636/0.3327, allocations: 136 kB / 0.5385 GB, free: 16.86 MB / 442.7 MB Warning: Assuming fixed start value for the following 33 variables: WTG4B.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4B.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4B.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) ZPcs.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = ZPcs.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Zcc.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Zcc.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Zcc.running:DISCRETE(flow=false start = Zcc.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean ZPcs.running:DISCRETE(flow=false start = ZPcs.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4B.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG4B.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG4B.injector.running:DISCRETE(flow=false start = WTG4B.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.LvTfo.running:DISCRETE(flow=false start = WTG4B.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.HvTfo.running:DISCRETE(flow=false start = WTG4B.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4B.wecc_repc.leadLag.X0[1] * WTG4B.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4B.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean WTG4B.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 80 ($PRE.WTG4B.HvTfo.state,WTG4B.HvTfo.state,$PRE.WTG4B.LvTfo.state,WTG4B.LvTfo.state,$PRE.WTG4B.injector.state,WTG4B.injector.state,$PRE.ZPcs.state,ZPcs.state,$PRE.Zcc.state,Zcc.state,WTG4B.injector.switchOffSignal3,WTG4B.injector.switchOffSignal2,WTG4B.injector.switchOffSignal1,Zcc.switchOffSignal2,Zcc.switchOffSignal1,ZPcs.switchOffSignal2,ZPcs.switchOffSignal1,WTG4B.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,WTG4B.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$PRE.Zcc.running,$PRE.ZPcs.running,$PRE.WTG4B.wecc_reec.iqInjectionLogic.vDip,$PRE.WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$PRE.WTG4B.wecc_regc.offDelay.delaySignal,$PRE.WTG4B.wecc_regc.offDelay.tNext,$PRE.WTG4B.injector.running,$PRE.WTG4B.LvTfo.running,$PRE.WTG4B.HvTfo.running,WTG4B.wecc_regc.QConv0PuNeg.k,WTG4B.wecc_regc.QConv0PuPos.k,$PRE.WTG4B.wecc_regc.offDelay.u,$PRE.WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_repc.freeze,WTG4B.HvTfo.running,WTG4B.LvTfo.running,WTG4B.injector.running,WTG4B.wecc_regc.and2.y,WTG4B.wecc_regc.and1.y,WTG4B.wecc_regc.and1.u[2],WTG4B.wecc_regc.offDelay.tNext,WTG4B.wecc_regc.offDelay.delaySignal,WTG4B.wecc_regc.offDelay.u,WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4B.wecc_reec.iqInjectionLogic.vDip,ZPcs.running,Zcc.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition12,$whenCondition11,$whenCondition14,$whenCondition13,$whenCondition16,$whenCondition15,$whenCondition17,$whenCondition19,$whenCondition18,$whenCondition20,$whenCondition22,$whenCondition21,$whenCondition23,WTG4B.wecc_repc.limPIDFreeze.I.resetLocal,WTG4B.wecc_repc.limPID.I.local_reset,WTG4B.pll.limIntegrator.local_reset,WTG4B.pll.integrator.local_reset,WTG4B.wecc_reec.varLimPIDFreeze.I.resetLocal,WTG4B.wecc_reec.limPIDFreeze.I.resetLocal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (481): * Single equations (assignments): 479 * 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 {(14,4,31.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007724/0.3334, allocations: 0.6346 MB / 0.5391 GB, free: 16.28 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005576/0.334, allocations: 469.6 kB / 0.5396 GB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003313/0.3373, allocations: 2.35 MB / 0.5419 GB, free: 13.42 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.3373, allocations: 28 kB / 0.5419 GB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3373, allocations: 4 kB / 0.5419 GB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.456e-05/0.3373, allocations: 23.94 kB / 0.5419 GB, free: 13.37 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00664/0.344, allocations: 5.561 MB / 0.5473 GB, free: 7.734 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.344, allocations: 8 kB / 0.5474 GB, free: 7.727 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001471/0.3455, allocations: 499.3 kB / 0.5478 GB, free: 7.266 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007097/0.3462, allocations: 410.1 kB / 0.5482 GB, free: 6.863 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001452/0.3463, allocations: 71.91 kB / 0.5483 GB, free: 6.793 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002392/0.3487, allocations: 2.73 MB / 0.551 GB, free: 3.957 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.3487, allocations: 8 kB / 0.551 GB, free: 3.949 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004489/0.3532, allocations: 3.515 MB / 0.5544 GB, free: 244 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001246/0.3544, allocations: 0.7703 MB / 0.5551 GB, free: 15.46 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000401/0.3548, allocations: 75.98 kB / 0.5552 GB, free: 15.39 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.3558, allocations: 167.8 kB / 0.5554 GB, free: 15.22 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003869/0.3562, allocations: 267.6 kB / 0.5556 GB, free: 14.97 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001382/0.3564, allocations: 95.97 kB / 0.5557 GB, free: 14.88 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001968/0.3583, allocations: 1.554 MB / 0.5572 GB, free: 13.33 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3583, allocations: 0 / 0.5572 GB, free: 13.33 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002891/0.3612, allocations: 1.742 MB / 0.5589 GB, free: 11.59 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 19 (WTG4B.wecc_reec.firstOrder.y,WTG4B.wecc_reec.firstOrder1.y,WTG4B.wecc_reec.limPIDFreeze.I.y,WTG4B.wecc_reec.rateLimFirstOrderFreeze1.y,WTG4B.wecc_reec.slewRateLimiter.y,WTG4B.wecc_reec.rateLimFirstOrderFreeze.y,WTG4B.wecc_reec.varLimPIDFreeze.I.y,WTG4B.wecc_regc.rateLimFirstOrderFreeze2.y,WTG4B.wecc_regc.rateLimFirstOrderFreeze1.y,WTG4B.wecc_regc.firstOrder.y,WTG4B.pll.integrator.y,WTG4B.pll.limIntegrator.y,WTG4B.wecc_repc.firstOrder.y,WTG4B.wecc_repc.limPID.I.y,WTG4B.wecc_repc.firstOrder1.y,WTG4B.wecc_repc.firstOrder2.y,WTG4B.wecc_repc.firstOrder3.y,WTG4B.wecc_repc.limPIDFreeze.I.y,WTG4B.wecc_repc.leadLag.x_scaled[1]) * Number of discrete variables: 45 ($whenCondition23,$whenCondition21,$whenCondition22,$whenCondition20,$whenCondition18,$whenCondition19,$whenCondition17,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,Zcc.running,Zcc.state,ZPcs.running,ZPcs.state,WTG4B.wecc_reec.iqInjectionLogic.vDip,WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4B.wecc_regc.offDelay.u,WTG4B.wecc_regc.offDelay.delaySignal,WTG4B.wecc_regc.offDelay.tNext,WTG4B.wecc_regc.and1.u[2],WTG4B.wecc_regc.and1.y,WTG4B.wecc_regc.and2.y,WTG4B.injector.running,WTG4B.injector.state,WTG4B.LvTfo.running,WTG4B.LvTfo.state,WTG4B.HvTfo.running,WTG4B.HvTfo.state,WTG4B.wecc_repc.freeze) * Number of discrete states: 11 (WTG4B.HvTfo.running,WTG4B.LvTfo.running,WTG4B.injector.running,ZPcs.running,Zcc.running,WTG4B.wecc_regc.offDelay.u,WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxPu,WTG4B.wecc_reec.iqInjectionLogic.vDip,WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (267): * Single equations (assignments): 251 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * 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 {(14,4,31.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001045/0.3623, allocations: 0.5139 MB / 0.5594 GB, free: 11.25 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006787/0.3691, allocations: 4.649 MB / 0.564 GB, free: 6.621 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/0.3691, allocations: 8.25 kB / 0.564 GB, free: 6.613 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002106/0.3712, allocations: 1.268 MB / 0.5652 GB, free: 5.379 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002064/0.3732, allocations: 0.6305 MB / 0.5658 GB, free: 4.777 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009044/0.3823, allocations: 6.397 MB / 0.5721 GB, free: 14.24 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000532/0.3828, allocations: 0.6147 MB / 0.5727 GB, free: 13.61 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001733/0.3845, allocations: 490.9 kB / 0.5732 GB, free: 13.12 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006516/0.3852, allocations: 236.4 kB / 0.5734 GB, free: 12.89 MB / 474.7 MB Notification: Performance of SimCode: time 2.064e-06/0.3852, allocations: 0 / 0.5734 GB, free: 12.89 MB / 474.7 MB Notification: Performance of Templates: time 0.068/0.4532, allocations: 54.66 MB / 0.6268 GB, free: 6.641 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS.sim & ./Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS -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.WTG4BCurrentSourceExternalPCS.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 655] Reference file matches [Calling sys.exit(0), Time elapsed: 10.715154587291181]