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.001381/0.001381, allocations: 87.56 kB / 20.44 MB, free: 4.129 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.001573/0.001573, allocations: 165 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.8951/0.8951, allocations: 158.6 MB / 185.7 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.4318/0.4318, allocations: 90.56 MB / 328.6 MB, free: 14.72 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 2.435e-06/2.435e-06, allocations: 4 kB / 434.7 MB, free: 5.039 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.771e-05/3.015e-05, allocations: 9.625 kB / 434.7 MB, free: 5.031 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS): time 0.01505/0.01508, allocations: 15.28 MB / 449.9 MB, free: 5.676 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01152/0.02659, allocations: 7.001 MB / 456.9 MB, free: 14.66 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001537/0.02813, allocations: 95.38 kB / 457 MB, free: 14.56 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00168/0.02981, 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.002371/0.03218, allocations: 1.576 MB / 459.6 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.003805/0.03599, allocations: 3.263 MB / 462.8 MB, free: 8.758 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.004537/0.04052, allocations: 5.593 MB / 468.4 MB, free: 3.145 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001475/0.042, allocations: 1.238 MB / 469.6 MB, free: 1.832 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1763/0.2183, allocations: 1.922 MB / 471.6 MB, free: 56.25 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002098/0.2204, allocations: 1.703 MB / 473.3 MB, free: 56.25 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001206/0.2216, allocations: 0.5756 MB / 473.8 MB, free: 56.25 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001094/0.2227, allocations: 0.913 MB / 474.8 MB, free: 56.25 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005636/0.2232, allocations: 1.238 MB / 476 MB, free: 56.25 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001151/0.2244, allocations: 1.503 MB / 477.5 MB, free: 56.2 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003496/0.2279, allocations: 3.966 MB / 481.5 MB, free: 55.67 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.2279, allocations: 0 / 481.5 MB, free: 55.67 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2279, allocations: 0 / 481.5 MB, free: 55.67 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.449e-05/0.228, allocations: 0 / 481.5 MB, free: 55.67 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.007479/0.2354, allocations: 6.174 MB / 487.6 MB, free: 53.28 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.2355, allocations: 10.66 kB / 487.7 MB, free: 53.28 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003582/0.2391, allocations: 1.684 MB / 489.3 MB, free: 52.99 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002376/0.2414, allocations: 2.696 MB / 492 MB, free: 52.27 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003318/0.2418, allocations: 1.13 MB / 493.2 MB, free: 51.23 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000302/0.2421, allocations: 317 kB / 493.5 MB, free: 51.23 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003216/0.2453, allocations: 3.125 MB / 496.6 MB, free: 50.11 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.833e-05/0.2453, allocations: 3.562 kB / 496.6 MB, free: 50.11 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001985/0.2455, allocations: 129.4 kB / 496.7 MB, free: 50.11 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.369e-05/0.2456, allocations: 71.16 kB / 496.8 MB, free: 50.11 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002257/0.2478, allocations: 1.355 MB / 498.2 MB, free: 50.05 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.008772/0.2566, allocations: 11.14 MB / 0.4974 GB, free: 42.91 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002769/0.2594, allocations: 1.66 MB / 0.499 GB, free: 42.51 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009742/0.2603, allocations: 0.5999 MB / 0.4996 GB, free: 42.38 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001994/0.2605, allocations: 55.81 kB / 0.4996 GB, free: 42.38 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001702/0.2622, allocations: 1.244 MB / 0.5008 GB, free: 42 MB / 442.7 MB Notification: Performance of pre-optimization done (n=274): time 4.488e-06/0.2622, allocations: 0 / 0.5008 GB, free: 42 MB / 442.7 MB Notification: Performance of matching and sorting (n=274): time 0.005727/0.268, allocations: 2.994 MB / 0.5038 GB, free: 41.28 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.2681, allocations: 483.9 kB / 0.5042 GB, free: 40.74 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002765/0.2708, allocations: 2.703 MB / 0.5069 GB, free: 39.76 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000154/0.271, allocations: 98.45 kB / 0.5069 GB, free: 39.68 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008406/0.2718, allocations: 1.74 MB / 0.5086 GB, free: 38.34 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004769/0.2723, allocations: 0.9566 MB / 0.5096 GB, free: 37.6 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008383/0.2731, allocations: 0.7528 MB / 0.5103 GB, free: 37.24 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.348e-05/0.2732, allocations: 478.2 kB / 0.5108 GB, free: 36.77 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/0.2744, allocations: 0.8161 MB / 0.5116 GB, free: 36.61 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001474/0.2759, allocations: 1.912 MB / 0.5134 GB, free: 35.22 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003464/0.2793, allocations: 3.306 MB / 0.5167 GB, free: 33.78 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/0.2793, allocations: 3.406 kB / 0.5167 GB, free: 33.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.004243/0.2836, allocations: 3.498 MB / 0.5201 GB, free: 32.8 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.847e-05/0.2836, allocations: 66.72 kB / 0.5201 GB, free: 32.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.2837, allocations: 13.88 kB / 0.5202 GB, free: 32.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007657/0.2844, allocations: 420.9 kB / 0.5206 GB, free: 32.67 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001768/0.2862, allocations: 0.7813 MB / 0.5213 GB, free: 32.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002566/0.2888, allocations: 2.75 MB / 0.524 GB, free: 30.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/0.29, allocations: 383.7 kB / 0.5244 GB, free: 30.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001794/0.2902, allocations: 137 kB / 0.5245 GB, free: 30.21 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.001845/0.2921, allocations: 1.145 MB / 0.5256 GB, free: 29.77 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001439/0.2935, allocations: 1.907 MB / 0.5275 GB, free: 27.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003327/0.2968, allocations: 3.283 MB / 0.5307 GB, free: 24.47 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.584e-06/0.2968, allocations: 0 / 0.5307 GB, free: 24.47 MB / 442.7 MB Notification: Performance of matching and sorting (n=522) (initialization_lambda0): time 0.004102/0.3009, allocations: 3.482 MB / 0.5341 GB, free: 21.36 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.956e-05/0.301, allocations: 65.52 kB / 0.5342 GB, free: 21.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.301, allocations: 12 kB / 0.5342 GB, free: 21.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000673/0.3017, allocations: 428.8 kB / 0.5346 GB, free: 20.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001686/0.3033, allocations: 0.7692 MB / 0.5353 GB, free: 20.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002417/0.3058, allocations: 2.746 MB / 0.538 GB, free: 17.37 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/0.307, allocations: 362.2 kB / 0.5384 GB, free: 17.01 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001571/0.3071, allocations: 140 kB / 0.5385 GB, free: 16.88 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.0005936/0.3077, allocations: 0.6476 MB / 0.5391 GB, free: 16.29 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004321/0.3082, allocations: 469.6 kB / 0.5396 GB, free: 15.83 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003276/0.3114, allocations: 2.352 MB / 0.5419 GB, free: 13.43 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.3114, allocations: 28 kB / 0.5419 GB, free: 13.4 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3115, allocations: 4 kB / 0.5419 GB, free: 13.4 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.4e-05/0.3115, allocations: 15.95 kB / 0.5419 GB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006289/0.3178, allocations: 5.565 MB / 0.5473 GB, free: 7.746 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.3178, allocations: 4 kB / 0.5473 GB, free: 7.742 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001531/0.3193, allocations: 0.4915 MB / 0.5478 GB, free: 7.277 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006904/0.32, allocations: 409.9 kB / 0.5482 GB, free: 6.875 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001341/0.3201, allocations: 79.89 kB / 0.5483 GB, free: 6.797 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002487/0.3226, allocations: 2.735 MB / 0.551 GB, free: 3.957 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.3226, allocations: 7.281 kB / 0.551 GB, free: 3.953 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004299/0.3269, allocations: 3.511 MB / 0.5544 GB, free: 248 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/0.328, allocations: 0.7664 MB / 0.5551 GB, free: 15.47 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002814/0.3283, allocations: 79.98 kB / 0.5552 GB, free: 15.39 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009671/0.3292, allocations: 171.8 kB / 0.5554 GB, free: 15.22 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003664/0.3296, allocations: 264 kB / 0.5556 GB, free: 14.97 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001462/0.3298, allocations: 99.94 kB / 0.5557 GB, free: 14.88 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001566/0.3313, allocations: 1.558 MB / 0.5573 GB, free: 13.33 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3313, allocations: 0 / 0.5573 GB, free: 13.33 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002648/0.334, allocations: 1.738 MB / 0.559 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.0009672/0.3349, allocations: 0.4952 MB / 0.5594 GB, free: 11.27 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006324/0.3413, allocations: 4.658 MB / 0.564 GB, free: 6.629 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3413, allocations: 4.062 kB / 0.564 GB, free: 6.625 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00173/0.343, allocations: 1.261 MB / 0.5652 GB, free: 5.395 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/0.3446, allocations: 0.6376 MB / 0.5658 GB, free: 4.789 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008283/0.3529, allocations: 6.394 MB / 0.5721 GB, free: 14.25 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005012/0.3534, allocations: 0.6147 MB / 0.5727 GB, free: 13.62 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001322/0.3547, allocations: 498.9 kB / 0.5732 GB, free: 13.13 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006477/0.3554, allocations: 236.5 kB / 0.5734 GB, free: 12.9 MB / 474.7 MB Notification: Performance of SimCode: time 1.052e-06/0.3554, allocations: 0 / 0.5734 GB, free: 12.9 MB / 474.7 MB Notification: Performance of Templates: time 0.05851/0.4139, allocations: 52.35 MB / 0.6245 GB, free: 8.941 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 656] Reference file matches [Calling sys.exit(0), Time elapsed: 10.69635645719245]