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.0009718/0.0009718, allocations: 91.55 kB / 20.97 MB, free: 3.578 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.00092/0.00092, allocations: 177 kB / 24.27 MB, free: 280 kB / 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.7992/0.7992, allocations: 158.6 MB / 186.1 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.4356/0.4356, allocations: 90.57 MB / 328.9 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.743e-06/1.743e-06, allocations: 0 / 434.5 MB, free: 5.559 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.625e-05/2.799e-05, allocations: 6.25 kB / 434.5 MB, free: 5.551 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS): time 0.01284/0.01287, allocations: 15.21 MB / 449.7 MB, free: 6.266 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.009701/0.02257, allocations: 6.993 MB / 456.7 MB, free: 15.25 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001695/0.02426, allocations: 95.38 kB / 456.8 MB, free: 15.16 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001548/0.02581, allocations: 0.9418 MB / 457.7 MB, free: 14.21 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.002637/0.02845, allocations: 1.58 MB / 459.3 MB, free: 12.62 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.003671/0.03212, allocations: 3.252 MB / 462.5 MB, free: 9.363 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.003908/0.03603, allocations: 5.604 MB / 468.1 MB, free: 3.742 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00128/0.03731, allocations: 1.242 MB / 469.4 MB, free: 2.426 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00139/0.0387, allocations: 1.916 MB / 471.3 MB, free: 0.5039 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1611/0.1998, allocations: 1.694 MB / 473 MB, free: 58.52 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001256/0.201, allocations: 0.5749 MB / 473.6 MB, free: 58.52 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/0.2022, allocations: 0.9154 MB / 474.5 MB, free: 58.52 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005396/0.2028, allocations: 1.242 MB / 475.7 MB, free: 58.52 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001177/0.2039, allocations: 1.502 MB / 477.2 MB, free: 58.52 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003302/0.2072, allocations: 3.961 MB / 481.2 MB, free: 58.24 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2072, allocations: 0 / 481.2 MB, free: 58.24 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2072, allocations: 0.9375 kB / 481.2 MB, free: 58.24 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.476e-05/0.2073, allocations: 0 / 481.2 MB, free: 58.24 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.007512/0.2148, allocations: 6.176 MB / 487.4 MB, free: 55.85 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.2149, allocations: 11.91 kB / 487.4 MB, free: 55.85 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00395/0.2188, allocations: 1.685 MB / 489.1 MB, free: 55.57 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002365/0.2212, allocations: 2.695 MB / 491.8 MB, free: 54.85 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003266/0.2215, allocations: 1.125 MB / 492.9 MB, free: 53.81 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000293/0.2218, allocations: 321.7 kB / 493.2 MB, free: 53.79 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003072/0.2249, allocations: 3.121 MB / 496.3 MB, free: 52.16 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.177e-05/0.2249, allocations: 6.094 kB / 496.3 MB, free: 52.16 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001917/0.2251, allocations: 125.8 kB / 496.4 MB, free: 52.07 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.548e-05/0.2251, allocations: 71.81 kB / 496.5 MB, free: 52.07 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002179/0.2273, allocations: 1.36 MB / 497.9 MB, free: 51.85 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.008985/0.2363, allocations: 11.13 MB / 0.4971 GB, free: 44.73 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002735/0.239, allocations: 1.667 MB / 0.4987 GB, free: 44.32 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009943/0.24, allocations: 0.5955 MB / 0.4993 GB, free: 44.2 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001795/0.2402, allocations: 59.52 kB / 0.4993 GB, free: 44.2 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001655/0.2419, allocations: 1.249 MB / 0.5006 GB, free: 43.82 MB / 442.7 MB Notification: Performance of pre-optimization done (n=274): time 4.027e-06/0.2419, allocations: 0 / 0.5006 GB, free: 43.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=274): time 0.005695/0.2476, allocations: 2.994 MB / 0.5035 GB, free: 43.09 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.194e-05/0.2477, allocations: 483.6 kB / 0.504 GB, free: 42.55 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002706/0.2504, allocations: 2.7 MB / 0.5066 GB, free: 41.57 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001549/0.2505, allocations: 99.17 kB / 0.5067 GB, free: 41.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009177/0.2514, allocations: 1.738 MB / 0.5084 GB, free: 40.15 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005018/0.2519, allocations: 0.9535 MB / 0.5093 GB, free: 39.41 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008597/0.2528, allocations: 0.751 MB / 0.51 GB, free: 39.06 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.352e-05/0.2528, allocations: 479 kB / 0.5105 GB, free: 38.59 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001257/0.2541, allocations: 0.8198 MB / 0.5113 GB, free: 38.42 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001532/0.2556, allocations: 1.914 MB / 0.5132 GB, free: 37.04 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003507/0.2591, allocations: 3.306 MB / 0.5164 GB, free: 35.59 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.2591, allocations: 3.188 kB / 0.5164 GB, free: 35.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.004372/0.2635, allocations: 3.497 MB / 0.5198 GB, free: 34.61 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.638e-05/0.2635, allocations: 68.38 kB / 0.5199 GB, free: 34.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.2636, allocations: 11.75 kB / 0.5199 GB, free: 34.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007608/0.2643, allocations: 414.5 kB / 0.5203 GB, free: 34.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001793/0.2661, allocations: 0.7829 MB / 0.5211 GB, free: 34.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00258/0.2687, allocations: 2.753 MB / 0.5237 GB, free: 32.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/0.2701, allocations: 385 kB / 0.5241 GB, free: 32.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001715/0.2702, allocations: 137.1 kB / 0.5242 GB, free: 32.03 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.001765/0.272, allocations: 1.145 MB / 0.5254 GB, free: 31.38 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001432/0.2734, allocations: 1.908 MB / 0.5272 GB, free: 29.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003398/0.2768, allocations: 3.279 MB / 0.5304 GB, free: 26.09 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.835e-06/0.2768, allocations: 4 kB / 0.5304 GB, free: 26.08 MB / 442.7 MB Notification: Performance of matching and sorting (n=522) (initialization_lambda0): time 0.004185/0.281, allocations: 3.482 MB / 0.5338 GB, free: 22.95 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.014e-05/0.2811, allocations: 69.66 kB / 0.5339 GB, free: 22.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.2811, allocations: 8 kB / 0.5339 GB, free: 22.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006641/0.2817, allocations: 424.4 kB / 0.5343 GB, free: 22.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001724/0.2835, allocations: 0.7717 MB / 0.5351 GB, free: 21.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002514/0.286, allocations: 2.752 MB / 0.5377 GB, free: 18.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/0.2875, allocations: 362.2 kB / 0.5381 GB, free: 18.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001711/0.2876, allocations: 136 kB / 0.5382 GB, free: 18.38 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.0008991/0.2885, allocations: 0.6517 MB / 0.5389 GB, free: 17.79 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000483/0.289, allocations: 465.6 kB / 0.5393 GB, free: 17.33 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00349/0.2925, allocations: 2.353 MB / 0.5416 GB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.2925, allocations: 28 kB / 0.5416 GB, free: 14.9 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.2925, allocations: 4 kB / 0.5416 GB, free: 14.9 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.837e-05/0.2925, allocations: 15.95 kB / 0.5416 GB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006779/0.2993, allocations: 5.559 MB / 0.5471 GB, free: 9.258 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.2993, allocations: 12 kB / 0.5471 GB, free: 9.246 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001503/0.3008, allocations: 0.4923 MB / 0.5476 GB, free: 8.781 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007281/0.3016, allocations: 408.7 kB / 0.548 GB, free: 8.379 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001348/0.3017, allocations: 75.91 kB / 0.548 GB, free: 8.305 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002606/0.3043, allocations: 2.731 MB / 0.5507 GB, free: 5.469 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.3043, allocations: 7.469 kB / 0.5507 GB, free: 5.465 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004853/0.3092, allocations: 3.511 MB / 0.5541 GB, free: 1.754 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001128/0.3103, allocations: 0.774 MB / 0.5549 GB, free: 0.9766 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003214/0.3106, allocations: 71.98 kB / 0.555 GB, free: 0.9062 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.3117, allocations: 171.8 kB / 0.5551 GB, free: 0.7383 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004213/0.3121, allocations: 260.1 kB / 0.5554 GB, free: 500 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001268/0.3122, allocations: 103.9 kB / 0.5555 GB, free: 396 kB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001797/0.314, allocations: 1.554 MB / 0.557 GB, free: 14.84 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.314, allocations: 0 / 0.557 GB, free: 14.84 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003174/0.3172, allocations: 1.738 MB / 0.5587 GB, free: 13.1 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.3182, allocations: 0.5019 MB / 0.5592 GB, free: 12.78 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006308/0.3245, allocations: 4.647 MB / 0.5637 GB, free: 8.148 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.3246, allocations: 8.125 kB / 0.5637 GB, free: 8.141 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001743/0.3263, allocations: 1.265 MB / 0.565 GB, free: 6.91 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/0.328, allocations: 0.6345 MB / 0.5656 GB, free: 6.309 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008302/0.3363, allocations: 6.402 MB / 0.5718 GB, free: 15.77 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004884/0.3368, allocations: 0.6225 MB / 0.5724 GB, free: 15.12 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001431/0.3382, allocations: 486.9 kB / 0.5729 GB, free: 14.64 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006086/0.3388, allocations: 235.7 kB / 0.5731 GB, free: 14.42 MB / 474.7 MB Notification: Performance of SimCode: time 1.162e-06/0.3388, allocations: 0 / 0.5731 GB, free: 14.42 MB / 474.7 MB Notification: Performance of Templates: time 0.0571/0.3959, allocations: 52.36 MB / 0.6243 GB, free: 10.46 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.88628313690424]