Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 78.06 kB / 19.96 MB, free: 1.75 MB / 14.72 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.001724/0.001724, allocations: 177 kB / 23.24 MB, free: 4.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.325/1.325, allocations: 158.6 MB / 185 MB, free: 6.379 MB / 174.1 MB " [Timeout remaining time 178] 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.6338/0.6338, allocations: 90.26 MB / 327.5 MB, free: 72 kB / 302.1 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 it seems broken on HelloWorld Ignoring simflag -noemit -noRestart=() since it seems broken on HelloWorld Ignoring simflag -noemit -noRootFinding=() since it seems broken on HelloWorld Running command: translateModel(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource,tolerance=0.0001,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|WTG4A.injector.PInjPu|WTG4A.injector.QInjPu|WTG4A.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource") translateModel(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource,tolerance=0.0001,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|WTG4A.injector.PInjPu|WTG4A.injector.QInjPu|WTG4A.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.5013 GB, free: 48.48 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.757e-05, allocations: 3.5 kB / 0.5013 GB, free: 48.48 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource): time 0.01343/0.01346, allocations: 14.33 MB / 0.5153 GB, free: 38.89 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01254/0.026, allocations: 6.987 MB / 0.5221 GB, free: 33.86 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004199/0.03019, allocations: 100.9 kB / 0.5222 GB, free: 33.82 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002577/0.03277, allocations: 0.9603 MB / 0.5232 GB, free: 33.29 MB / 478.1 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.005116/0.03789, allocations: 1.584 MB / 0.5247 GB, free: 32.21 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:61:5-65:11:writable] Warning: In relation WTG4A.HvTfo.terminal1.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:61:5-65:11:writable] Warning: In relation WTG4A.HvTfo.terminal1.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation WTG4A.HvTfo.terminal2.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation WTG4A.HvTfo.terminal2.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:112:3-112:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wTG4CurrentSource_INIT.s0Pu) == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.00676/0.04465, allocations: 3.158 MB / 0.5278 GB, free: 30.24 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.008098/0.05275, allocations: 5.726 MB / 0.5334 GB, free: 27.12 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002873/0.05562, allocations: 1.28 MB / 0.5346 GB, free: 26.31 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003747/0.05937, allocations: 1.945 MB / 0.5365 GB, free: 25.23 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003833/0.0632, allocations: 1.72 MB / 0.5382 GB, free: 24.46 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001777/0.06498, allocations: 0.5962 MB / 0.5388 GB, free: 24.46 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002304/0.06728, allocations: 0.9237 MB / 0.5397 GB, free: 24.36 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009973/0.06828, allocations: 1.266 MB / 0.5409 GB, free: 23.44 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002551/0.07083, allocations: 1.531 MB / 0.5424 GB, free: 22.48 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00902/0.07985, allocations: 7.554 MB / 0.5498 GB, free: 17.11 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.07985, allocations: 1.281 kB / 0.5498 GB, free: 17.11 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.07986, allocations: 3.938 kB / 0.5498 GB, free: 17.11 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002417/0.0801, allocations: 0 / 0.5498 GB, free: 17.11 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 765 * Number of variables: 765 Notification: Performance of Generate backend data structure: time 0.02026/0.1004, allocations: 6.089 MB / 0.5558 GB, free: 12.93 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/0.1004, allocations: 9.719 kB / 0.5558 GB, free: 12.93 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006849/0.1073, allocations: 1.115 MB / 0.5569 GB, free: 12.41 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005823/0.1131, allocations: 2.84 MB / 0.5596 GB, free: 10.25 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005243/0.1136, allocations: 1.133 MB / 0.5607 GB, free: 9.078 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005496/0.1142, allocations: 310.7 kB / 0.561 GB, free: 8.977 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008154/0.1223, allocations: 4.153 MB / 0.5651 GB, free: 6.098 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.049e-05/0.1224, allocations: 6.656 kB / 0.5651 GB, free: 6.094 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003353/0.1227, allocations: 133.2 kB / 0.5652 GB, free: 5.98 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.984e-05/0.1227, allocations: 75.98 kB / 0.5653 GB, free: 5.906 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006088/0.1288, allocations: 3.172 MB / 0.5684 GB, free: 2.723 MB / 478.1 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.02277/0.1516, allocations: 11.15 MB / 0.5793 GB, free: 7.398 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008205/0.1598, allocations: 3.014 MB / 0.5822 GB, free: 4.387 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003242/0.163, allocations: 1.296 MB / 0.5835 GB, free: 3.09 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002293/0.1633, allocations: 33.98 kB / 0.5835 GB, free: 3.055 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003999/0.1673, allocations: 1.919 MB / 0.5854 GB, free: 1.113 MB / 494.1 MB Notification: Performance of pre-optimization done (n=253): time 5.29e-06/0.1673, allocations: 3.938 kB / 0.5854 GB, free: 1.109 MB / 494.1 MB Notification: Performance of matching and sorting (n=253): time 0.01481/0.1821, allocations: 4.863 MB / 0.5901 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003205/0.1824, allocations: 479 kB / 0.5906 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00667/0.1891, allocations: 3.37 MB / 0.5939 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001096/0.1902, allocations: 89.7 kB / 0.594 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002166/0.1923, allocations: 1.75 MB / 0.5957 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001737/0.1941, allocations: 0.8989 MB / 0.5966 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001608/0.1957, allocations: 0.732 MB / 0.5973 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1958, allocations: 301.1 kB / 0.5976 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003955/0.1998, allocations: 1.705 MB / 0.5992 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004753/0.2045, allocations: 2.681 MB / 0.6019 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03039/0.2349, allocations: 8.669 MB / 0.6103 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.173e-05/0.235, allocations: 4 kB / 0.6103 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=517) (initialization): time 0.01253/0.2475, allocations: 4.993 MB / 0.6152 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.2476, allocations: 69.66 kB / 0.6153 GB, free: 1.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.486e-05/0.2476, allocations: 12 kB / 0.6153 GB, free: 1.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008685/0.2485, allocations: 384.7 kB / 0.6156 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004228/0.2527, allocations: 0.823 MB / 0.6164 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005293/0.258, allocations: 2.964 MB / 0.6193 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004253/0.2623, allocations: 449.7 kB / 0.6198 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005239/0.2628, allocations: 140 kB / 0.6199 GB, free: 12.97 MB / 0.5294 GB Warning: Assuming fixed start value for the following 32 variables: WTG4A.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4A.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4A.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4A.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG4A.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4A.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4A.wecc_reec.PConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG4A.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG4A.injector.running:DISCRETE(flow=false start = WTG4A.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4A.LvTfo.running:DISCRETE(flow=false start = WTG4A.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4A.HvTfo.running:DISCRETE(flow=false start = WTG4A.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4A.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4A.wecc_repc.leadLag.X0[1] * WTG4A.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4A.wecc_wtgt.Pmech.y:VARIABLE(flow=false start = WTG4A.wecc_wtgt.Pmech.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean WTG4A.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005832/0.2686, allocations: 2.427 MB / 0.6223 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004495/0.2731, allocations: 2.614 MB / 0.6248 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02984/0.3029, allocations: 8.544 MB / 0.6332 GB, free: 14.91 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.64e-05/0.303, allocations: 4 kB / 0.6332 GB, free: 14.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=517) (initialization_lambda0): time 0.01244/0.3154, allocations: 4.883 MB / 0.6379 GB, free: 9.988 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.233e-05/0.3155, allocations: 73.72 kB / 0.638 GB, free: 9.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.261e-05/0.3155, allocations: 16 kB / 0.638 GB, free: 9.895 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000847/0.3164, allocations: 380.6 kB / 0.6384 GB, free: 9.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004191/0.3206, allocations: 0.8074 MB / 0.6392 GB, free: 8.711 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005369/0.3259, allocations: 2.96 MB / 0.6421 GB, free: 5.652 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004736/0.3307, allocations: 406.2 kB / 0.6425 GB, free: 5.254 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006738/0.3313, allocations: 140 kB / 0.6426 GB, free: 5.117 MB / 0.545 GB Warning: Assuming fixed start value for the following 32 variables: WTG4A.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4A.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4A.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4A.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG4A.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4A.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4A.wecc_reec.PConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG4A.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG4A.injector.running:DISCRETE(flow=false start = WTG4A.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4A.LvTfo.running:DISCRETE(flow=false start = WTG4A.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4A.HvTfo.running:DISCRETE(flow=false start = WTG4A.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4A.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4A.wecc_repc.leadLag.X0[1] * WTG4A.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4A.wecc_wtgt.Pmech.y:VARIABLE(flow=false start = WTG4A.wecc_wtgt.Pmech.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean WTG4A.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 74 ($PRE.WTG4A.HvTfo.state,WTG4A.HvTfo.state,$PRE.WTG4A.LvTfo.state,WTG4A.LvTfo.state,$PRE.WTG4A.injector.state,WTG4A.injector.state,$PRE.line.state,line.state,WTG4A.injector.switchOffSignal3,WTG4A.injector.switchOffSignal2,WTG4A.injector.switchOffSignal1,line.switchOffSignal2,line.switchOffSignal1,WTG4A.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,WTG4A.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$PRE.line.running,$PRE.WTG4A.wecc_reec.iqInjectionLogic.vDip,$PRE.WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$PRE.WTG4A.wecc_regc.offDelay.delaySignal,$PRE.WTG4A.wecc_regc.offDelay.tNext,$PRE.WTG4A.injector.running,$PRE.WTG4A.LvTfo.running,$PRE.WTG4A.HvTfo.running,WTG4A.wecc_regc.QConv0PuNeg.k,WTG4A.wecc_regc.QConv0PuPos.k,$PRE.WTG4A.wecc_regc.offDelay.u,$PRE.WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_repc.freeze,WTG4A.HvTfo.running,WTG4A.LvTfo.running,WTG4A.injector.running,WTG4A.wecc_regc.and2.y,WTG4A.wecc_regc.and1.y,WTG4A.wecc_regc.and1.u[2],WTG4A.wecc_regc.offDelay.tNext,WTG4A.wecc_regc.offDelay.delaySignal,WTG4A.wecc_regc.offDelay.u,WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4A.wecc_reec.iqInjectionLogic.vDip,line.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition7,$whenCondition6,$whenCondition9,$whenCondition8,$whenCondition11,$whenCondition10,$whenCondition13,$whenCondition12,$whenCondition14,$whenCondition16,$whenCondition15,$whenCondition17,$whenCondition19,$whenCondition18,$whenCondition20,WTG4A.wecc_wtgt.dOmegaGenerator.local_reset,WTG4A.wecc_wtgt.dOmegaTurbine.local_reset,WTG4A.wecc_wtgt.dPhi.local_reset,WTG4A.wecc_repc.limPIDFreeze.I.resetLocal,WTG4A.wecc_repc.limPID.I.local_reset,WTG4A.pll.limIntegrator.local_reset,WTG4A.pll.integrator.local_reset,WTG4A.wecc_reec.varLimPIDFreeze.I.resetLocal,WTG4A.wecc_reec.limPIDFreeze.I.resetLocal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (480): * Single equations (assignments): 478 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,4,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001249/0.3326, allocations: 0.5408 MB / 0.6431 GB, free: 4.578 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001141/0.3337, allocations: 381.6 kB / 0.6435 GB, free: 4.203 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009387/0.3431, allocations: 3.629 MB / 0.647 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.548e-05/0.3431, allocations: 31.94 kB / 0.6471 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.3431, allocations: 4 kB / 0.6471 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.954e-05/0.3432, allocations: 11.95 kB / 0.6471 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01753/0.3607, allocations: 7.112 MB / 0.654 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.712e-05/0.3607, allocations: 4 kB / 0.654 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003292/0.364, allocations: 0.5115 MB / 0.6545 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008524/0.3649, allocations: 372.7 kB / 0.6549 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003037/0.3652, allocations: 72.16 kB / 0.6549 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005249/0.3704, allocations: 2.954 MB / 0.6578 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.3704, allocations: 8.031 kB / 0.6578 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01472/0.3851, allocations: 5.715 MB / 0.6634 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002452/0.3876, allocations: 0.7778 MB / 0.6642 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00105/0.3886, allocations: 75.98 kB / 0.6643 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002935/0.3916, allocations: 219.8 kB / 0.6645 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006947/0.3923, allocations: 265.4 kB / 0.6647 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000251/0.3925, allocations: 87.97 kB / 0.6648 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004872/0.3974, allocations: 2.187 MB / 0.6669 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3974, allocations: 0 / 0.6669 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005491/0.4029, allocations: 1.742 MB / 0.6686 GB, free: 10.07 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 23 (WTG4A.wecc_reec.firstOrder.y,WTG4A.wecc_reec.firstOrder1.y,WTG4A.wecc_reec.limPIDFreeze.I.y,WTG4A.wecc_reec.rateLimFirstOrderFreeze1.y,WTG4A.wecc_reec.slewRateLimiter.y,WTG4A.wecc_reec.rateLimFirstOrderFreeze.y,WTG4A.wecc_reec.varLimPIDFreeze.I.y,WTG4A.wecc_regc.rateLimFirstOrderFreeze2.y,WTG4A.wecc_regc.rateLimFirstOrderFreeze1.y,WTG4A.wecc_regc.firstOrder.y,WTG4A.pll.integrator.y,WTG4A.pll.limIntegrator.y,WTG4A.wecc_repc.firstOrder.y,WTG4A.wecc_repc.limPID.I.y,WTG4A.wecc_repc.firstOrder1.y,WTG4A.wecc_repc.firstOrder2.y,WTG4A.wecc_repc.firstOrder3.y,WTG4A.wecc_repc.limPIDFreeze.I.y,WTG4A.wecc_repc.leadLag.x_scaled[1],WTG4A.wecc_wtgt.dPhi.y,WTG4A.wecc_wtgt.dOmegaTurbine.y,WTG4A.wecc_wtgt.dOmegaGenerator.y,WTG4A.wecc_wtgt.Pmech.y) * Number of discrete variables: 40 ($whenCondition20,$whenCondition18,$whenCondition19,$whenCondition17,$whenCondition15,$whenCondition16,$whenCondition14,$whenCondition12,$whenCondition13,$whenCondition10,$whenCondition11,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running,line.state,WTG4A.wecc_reec.iqInjectionLogic.vDip,WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4A.wecc_regc.offDelay.u,WTG4A.wecc_regc.offDelay.delaySignal,WTG4A.wecc_regc.offDelay.tNext,WTG4A.wecc_regc.and1.u[2],WTG4A.wecc_regc.and1.y,WTG4A.wecc_regc.and2.y,WTG4A.injector.running,WTG4A.injector.state,WTG4A.LvTfo.running,WTG4A.LvTfo.state,WTG4A.HvTfo.running,WTG4A.HvTfo.state,WTG4A.wecc_repc.freeze) * Number of discrete states: 10 (WTG4A.HvTfo.running,WTG4A.LvTfo.running,WTG4A.injector.running,line.running,WTG4A.wecc_regc.offDelay.u,WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxPu,WTG4A.wecc_reec.iqInjectionLogic.vDip,WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (250): * Single equations (assignments): 236 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,4,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001891/0.4048, allocations: 0.5327 MB / 0.6692 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01594/0.4207, allocations: 6.5 MB / 0.6755 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.184e-05/0.4207, allocations: 0 / 0.6755 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005791/0.4265, allocations: 2.12 MB / 0.6776 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003994/0.4305, allocations: 0.5591 MB / 0.6781 GB, free: 488 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01695/0.4475, allocations: 7.423 MB / 0.6854 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002038/0.4495, allocations: 1.606 MB / 0.6869 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.003014/0.4525, allocations: 0.495 MB / 0.6874 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000978/0.4535, allocations: 224.5 kB / 0.6876 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of SimCode: time 1.873e-06/0.4535, allocations: 4 kB / 0.6876 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of Templates: time 0.0894/0.5429, allocations: 49.58 MB / 0.7361 GB, free: 5.223 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.sim & ./Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -variableFilter=.* -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe 2>&1) [Timeout 480] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Wind.WECC.WTG4ACurrentSource_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 655] Reference file matches [Calling sys.exit(0), Time elapsed: 15.779796805232763]