Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.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.0009185/0.0009185, allocations: 80.45 kB / 20.71 MB, free: 3.859 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.000813/0.000813, allocations: 169.2 kB / 23.98 MB, free: 0.5781 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.8029/0.8029, allocations: 158.6 MB / 185.7 MB, free: 3.039 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.4146/0.4146, allocations: 90.27 MB / 328.3 MB, free: 15 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 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.WTG3CurrentSource1,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|WTG3.injector.PInjPu|WTG3.injector.QInjPu|WTG3.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1") translateModel(Dynawo.Examples.Wind.WECC.WTG3CurrentSource1,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|WTG3.injector.PInjPu|WTG3.injector.QInjPu|WTG3.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.502 GB, free: 16.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.891e-05/3.079e-05, allocations: 7.031 kB / 0.502 GB, free: 16.21 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG3CurrentSource1): time 0.01374/0.01378, allocations: 16.02 MB / 0.5177 GB, free: 5.461 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01225/0.02603, allocations: 7.789 MB / 0.5253 GB, free: 15.8 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002757/0.02879, allocations: 116.2 kB / 0.5254 GB, free: 15.75 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001852/0.03064, allocations: 1.094 MB / 0.5265 GB, free: 14.92 MB / 458.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.003228/0.03387, allocations: 1.669 MB / 0.5281 GB, free: 13.53 MB / 458.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:61:5-65:11:writable] Warning: In relation WTG3.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 WTG3.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 WTG3.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 WTG3.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.005369/0.03923, allocations: 3.753 MB / 0.5318 GB, free: 10.52 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.006212/0.04545, allocations: 6.676 MB / 0.5383 GB, free: 6.16 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002058/0.0475, allocations: 1.506 MB / 0.5397 GB, free: 4.898 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002421/0.04993, allocations: 2.255 MB / 0.542 GB, free: 2.637 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001564/0.05149, allocations: 1.978 MB / 0.5439 GB, free: 0.6523 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005922/0.05208, allocations: 0.6993 MB / 0.5446 GB, free: 15.95 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00158/0.05366, allocations: 1.031 MB / 0.5456 GB, free: 14.92 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007568/0.05442, allocations: 1.479 MB / 0.547 GB, free: 13.44 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001176/0.05559, allocations: 1.78 MB / 0.5488 GB, free: 11.65 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006321/0.06192, allocations: 8.786 MB / 0.5573 GB, free: 2.84 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.06192, allocations: 0 / 0.5573 GB, free: 2.84 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.06192, allocations: 4 kB / 0.5573 GB, free: 2.836 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.772e-05/0.06198, allocations: 0 / 0.5573 GB, free: 2.836 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 885 * Number of variables: 885 Notification: Performance of Generate backend data structure: time 0.009414/0.07139, allocations: 6.871 MB / 0.564 GB, free: 11.87 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.07144, allocations: 8.031 kB / 0.5641 GB, free: 11.86 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002654/0.07409, allocations: 1.2 MB / 0.5652 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003761/0.07785, allocations: 3.338 MB / 0.5685 GB, free: 7.246 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005926/0.07844, allocations: 1.291 MB / 0.5697 GB, free: 5.727 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003498/0.07879, allocations: 367.9 kB / 0.5701 GB, free: 5.367 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005391/0.08418, allocations: 4.887 MB / 0.5749 GB, free: 164 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.587e-05/0.08423, allocations: 7.938 kB / 0.5749 GB, free: 156 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002313/0.08446, allocations: 148 kB / 0.575 GB, free: 8 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-05/0.08451, allocations: 88.05 kB / 0.5751 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004682/0.08919, allocations: 3.671 MB / 0.5787 GB, free: 12.24 MB / 0.4948 GB 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.01338/0.1026, allocations: 12.97 MB / 0.5914 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004935/0.1075, allocations: 3.372 MB / 0.5946 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001955/0.1095, allocations: 1.533 MB / 0.5961 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001803/0.1096, allocations: 50.34 kB / 0.5962 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002559/0.1122, allocations: 2.185 MB / 0.5983 GB, free: 7.832 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=287): time 5.381e-06/0.1122, allocations: 0 / 0.5983 GB, free: 7.832 MB / 0.5105 GB Notification: Performance of matching and sorting (n=287): time 0.008319/0.1205, allocations: 5.483 MB / 0.6037 GB, free: 2.289 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002012/0.1207, allocations: 0.576 MB / 0.6042 GB, free: 1.582 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004014/0.1247, allocations: 3.909 MB / 0.6081 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001707/0.1249, allocations: 101.7 kB / 0.6082 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001161/0.1261, allocations: 2.046 MB / 0.6102 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006905/0.1268, allocations: 1.023 MB / 0.6112 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008992/0.1277, allocations: 0.8154 MB / 0.612 GB, free: 9.617 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.983e-05/0.1277, allocations: 301.1 kB / 0.6122 GB, free: 9.32 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002456/0.1302, allocations: 1.946 MB / 0.6141 GB, free: 7.348 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003229/0.1334, allocations: 3.127 MB / 0.6172 GB, free: 3.859 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01601/0.1494, allocations: 9.758 MB / 0.6267 GB, free: 9.828 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.631e-05/0.1494, allocations: 4 kB / 0.6267 GB, free: 9.824 MB / 0.5417 GB Notification: Performance of matching and sorting (n=575) (initialization): time 0.008057/0.1575, allocations: 5.626 MB / 0.6322 GB, free: 4.105 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.431e-05/0.1576, allocations: 73.88 kB / 0.6323 GB, free: 4.027 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-05/0.1576, allocations: 12 kB / 0.6323 GB, free: 4.016 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005389/0.1581, allocations: 391.9 kB / 0.6327 GB, free: 3.633 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003212/0.1613, allocations: 1.401 MB / 0.634 GB, free: 2.23 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003432/0.1648, allocations: 2.981 MB / 0.637 GB, free: 15.15 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002092/0.1669, allocations: 0.5092 MB / 0.6375 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002072/0.1671, allocations: 152 kB / 0.6376 GB, free: 14.49 MB / 0.5573 GB Warning: Assuming fixed start value for the following 36 variables: WTG3.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG3.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG3.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.HvTfo.State0 fixed = true ) \"Transformer 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 WTG3.HvTfo.running:DISCRETE(flow=false start = WTG3.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_wtgp.limitedIntegrator.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.limitedIntegrator.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgp.limitedIntegrator1.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.limitedIntegrator1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_wtgq.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.omegaRefWTGQPu0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.limitedIntegratorFreeze.y:VARIABLE(flow=false start = WTG3.wecc_wtgq.limitedIntegratorFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG3.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG3.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG3.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG3.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG3.wecc_repc.leadLag.X0[1] * WTG3.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG3.injector.running:DISCRETE(flow=false start = WTG3.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG3.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.PConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG3.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG3.LvTfo.running:DISCRETE(flow=false start = WTG3.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG3.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004173/0.1713, allocations: 2.775 MB / 0.6403 GB, free: 11.71 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003274/0.1745, allocations: 3.065 MB / 0.6433 GB, free: 8.289 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01747/0.192, allocations: 9.633 MB / 0.6527 GB, free: 14.38 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.141e-05/0.192, allocations: 0 / 0.6527 GB, free: 14.38 MB / 0.573 GB Notification: Performance of matching and sorting (n=575) (initialization_lambda0): time 0.008309/0.2003, allocations: 5.521 MB / 0.6581 GB, free: 8.762 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 6.289e-05/0.2004, allocations: 73.59 kB / 0.6582 GB, free: 8.684 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/0.2004, allocations: 12 kB / 0.6582 GB, free: 8.672 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004668/0.2009, allocations: 397.2 kB / 0.6586 GB, free: 8.281 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003193/0.2041, allocations: 1.389 MB / 0.6599 GB, free: 6.891 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003023/0.2071, allocations: 2.968 MB / 0.6628 GB, free: 3.824 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002256/0.2093, allocations: 489.8 kB / 0.6633 GB, free: 3.344 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000194/0.2095, allocations: 156 kB / 0.6634 GB, free: 3.191 MB / 0.573 GB Warning: Assuming fixed start value for the following 36 variables: WTG3.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG3.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG3.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.HvTfo.State0 fixed = true ) \"Transformer 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 WTG3.HvTfo.running:DISCRETE(flow=false start = WTG3.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_wtgp.limitedIntegrator.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.limitedIntegrator.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgp.limitedIntegrator1.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.limitedIntegrator1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_wtgq.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.omegaRefWTGQPu0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.limitedIntegratorFreeze.y:VARIABLE(flow=false start = WTG3.wecc_wtgq.limitedIntegratorFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG3.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG3.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG3.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG3.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG3.wecc_repc.leadLag.X0[1] * WTG3.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG3.injector.running:DISCRETE(flow=false start = WTG3.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG3.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.PConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG3.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG3.LvTfo.running:DISCRETE(flow=false start = WTG3.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG3.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 75 ($PRE.WTG3.LvTfo.state,WTG3.LvTfo.state,$PRE.WTG3.injector.state,WTG3.injector.state,$PRE.WTG3.HvTfo.state,WTG3.HvTfo.state,$PRE.line.state,line.state,WTG3.injector.switchOffSignal3,WTG3.injector.switchOffSignal2,WTG3.injector.switchOffSignal1,line.switchOffSignal2,line.switchOffSignal1,WTG3.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,WTG3.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$PRE.line.running,$PRE.WTG3.HvTfo.running,$PRE.WTG3.wecc_regc.offDelay.delaySignal,$PRE.WTG3.wecc_regc.offDelay.tNext,$PRE.WTG3.injector.running,$PRE.WTG3.wecc_reec.iqInjectionLogic.vDip,$PRE.WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.WTG3.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$PRE.WTG3.LvTfo.running,WTG3.wecc_regc.QConv0PuNeg.k,WTG3.wecc_regc.QConv0PuPos.k,$PRE.WTG3.wecc_reec.currentLimitsCalculation1.vDip,$PRE.WTG3.wecc_regc.offDelay.u,WTG3.LvTfo.running,WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG3.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG3.wecc_reec.currentLimitsCalculation1.vDip,WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG3.wecc_reec.iqInjectionLogic.vDip,WTG3.injector.running,WTG3.wecc_repc.freeze,WTG3.wecc_regc.and2.y,WTG3.wecc_regc.and1.y,WTG3.wecc_regc.and1.u[2],WTG3.wecc_regc.offDelay.tNext,WTG3.wecc_regc.offDelay.delaySignal,WTG3.wecc_regc.offDelay.u,WTG3.HvTfo.running,line.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition15,$whenCondition14,$whenCondition17,$whenCondition16,$whenCondition19,$whenCondition18,$whenCondition20,WTG3.wecc_reec.varLimPIDFreeze.I.resetLocal,WTG3.wecc_reec.limPIDFreeze.I.resetLocal,WTG3.pll.limIntegrator.local_reset,WTG3.pll.integrator.local_reset,WTG3.wecc_repc.limPIDFreeze.I.resetLocal,WTG3.wecc_repc.limPID.I.local_reset,WTG3.wecc_wtgt.dOmegaGenerator.local_reset,WTG3.wecc_wtgt.dOmegaTurbine.local_reset,WTG3.wecc_wtgt.dPhi.local_reset,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreeze.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (537): * Single equations (assignments): 535 * 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.0009342/0.2105, allocations: 0.5813 MB / 0.664 GB, free: 2.617 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004562/0.2109, allocations: 449.1 kB / 0.6644 GB, free: 2.176 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005996/0.2169, allocations: 4.141 MB / 0.6685 GB, free: 13.97 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.2169, allocations: 28 kB / 0.6685 GB, free: 13.95 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.2169, allocations: 11.94 kB / 0.6685 GB, free: 13.93 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.779e-05/0.217, allocations: 15.94 kB / 0.6685 GB, free: 13.92 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0107/0.2276, allocations: 8.125 MB / 0.6765 GB, free: 5.621 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.2277, allocations: 4 kB / 0.6765 GB, free: 5.617 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00322/0.2309, allocations: 1.073 MB / 0.6775 GB, free: 4.543 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00047/0.2313, allocations: 368.7 kB / 0.6779 GB, free: 4.18 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001496/0.2315, allocations: 79.97 kB / 0.6779 GB, free: 4.102 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002868/0.2344, allocations: 2.952 MB / 0.6808 GB, free: 1.047 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.2344, allocations: 8 kB / 0.6808 GB, free: 1.039 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2681/0.5025, allocations: 6.541 MB / 0.6872 GB, free: 161.1 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00127/0.5038, allocations: 0.8825 MB / 0.6881 GB, free: 160.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003295/0.5041, allocations: 83.92 kB / 0.6882 GB, free: 160.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/0.5054, allocations: 270 kB / 0.6884 GB, free: 160.7 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004393/0.5058, allocations: 303 kB / 0.6887 GB, free: 160.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/0.506, allocations: 99.28 kB / 0.6888 GB, free: 160.6 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002914/0.5089, allocations: 2.543 MB / 0.6913 GB, free: 159.7 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.61e-07/0.5089, allocations: 0 / 0.6913 GB, free: 159.7 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003624/0.5125, allocations: 1.968 MB / 0.6932 GB, free: 159.4 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 28 (WTG3.wecc_wtgp.limitedIntegrator.y,WTG3.wecc_wtgp.limitedIntegrator1.y,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreeze.integrator.y,WTG3.wecc_wtgq.firstOrder.y,WTG3.wecc_wtgq.firstOrder1.y,WTG3.wecc_wtgq.limitedIntegratorFreeze.y,WTG3.wecc_wtgt.dPhi.y,WTG3.wecc_wtgt.dOmegaTurbine.y,WTG3.wecc_wtgt.dOmegaGenerator.y,WTG3.wecc_regc.rateLimFirstOrderFreeze2.y,WTG3.wecc_regc.rateLimFirstOrderFreeze1.y,WTG3.wecc_regc.firstOrder.y,WTG3.wecc_repc.firstOrder.y,WTG3.wecc_repc.limPID.I.y,WTG3.wecc_repc.firstOrder1.y,WTG3.wecc_repc.firstOrder2.y,WTG3.wecc_repc.firstOrder3.y,WTG3.wecc_repc.limPIDFreeze.I.y,WTG3.wecc_repc.leadLag.x_scaled[1],WTG3.pll.integrator.y,WTG3.pll.limIntegrator.y,WTG3.wecc_reec.firstOrder.y,WTG3.wecc_reec.firstOrder1.y,WTG3.wecc_reec.limPIDFreeze.I.y,WTG3.wecc_reec.rateLimFirstOrderFreeze1.y,WTG3.wecc_reec.slewRateLimiter.y,WTG3.wecc_reec.rateLimFirstOrderFreeze.y,WTG3.wecc_reec.varLimPIDFreeze.I.y) * Number of discrete variables: 40 ($whenCondition20,$whenCondition18,$whenCondition19,$whenCondition16,$whenCondition17,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running,line.state,WTG3.HvTfo.running,WTG3.HvTfo.state,WTG3.wecc_regc.offDelay.u,WTG3.wecc_regc.offDelay.delaySignal,WTG3.wecc_regc.offDelay.tNext,WTG3.wecc_regc.and1.u[2],WTG3.wecc_regc.and1.y,WTG3.wecc_regc.and2.y,WTG3.wecc_repc.freeze,WTG3.injector.running,WTG3.injector.state,WTG3.wecc_reec.iqInjectionLogic.vDip,WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG3.wecc_reec.currentLimitsCalculation1.vDip,WTG3.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG3.LvTfo.running,WTG3.LvTfo.state) * Number of discrete states: 10 (WTG3.LvTfo.running,WTG3.injector.running,WTG3.HvTfo.running,line.running,WTG3.wecc_regc.offDelay.u,WTG3.wecc_reec.currentLimitsCalculation1.vDip,WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG3.wecc_reec.currentLimitsCalculation1.ipMaxPu,WTG3.wecc_reec.iqInjectionLogic.vDip,WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (284): * Single equations (assignments): 270 * 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.00101/0.5135, allocations: 0.5478 MB / 0.6937 GB, free: 159.2 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0111/0.5246, allocations: 7.332 MB / 0.7009 GB, free: 156.3 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/0.5246, allocations: 3.094 kB / 0.7009 GB, free: 156.3 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.003495/0.5281, allocations: 2.475 MB / 0.7033 GB, free: 155.2 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002017/0.5301, allocations: 0.6425 MB / 0.7039 GB, free: 155 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01161/0.5418, allocations: 8.842 MB / 0.7126 GB, free: 150.7 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001872/0.5436, allocations: 1.871 MB / 0.7144 GB, free: 150.4 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009319/0.5446, allocations: 286.3 kB / 0.7147 GB, free: 150.4 MB / 0.5886 GB Notification: Performance of SimCode: time 1.011e-06/0.5446, allocations: 0 / 0.7147 GB, free: 150.4 MB / 0.5886 GB Notification: Performance of Templates: time 0.05595/0.6005, allocations: 83.8 MB / 0.7965 GB, free: 74.42 MB / 0.5886 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.sim & ./Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1 -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.WTG3CurrentSource1.pipe 2>&1) [Timeout 480] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Wind.WECC.WTG3CurrentSource1_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 9.361342296935618]