Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.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.0007463/0.0007463, 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.0007802/0.0007802, 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.8203/0.8203, 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.4132/0.4132, allocations: 90.27 MB / 328.3 MB, free: 14.99 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.WTG4BCurrentSource,tolerance=0.0001,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|WTG4B.injector.PInjPu|WTG4B.injector.QInjPu|WTG4B.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource") translateModel(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource,tolerance=0.0001,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|WTG4B.injector.PInjPu|WTG4B.injector.QInjPu|WTG4B.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.502 GB, free: 16.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.105e-05/3.281e-05, allocations: 3.438 kB / 0.502 GB, free: 16.25 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource): time 0.01253/0.01256, allocations: 13.78 MB / 0.5155 GB, free: 6.992 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01059/0.02316, allocations: 6.778 MB / 0.5221 GB, free: 2.113 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001735/0.02489, allocations: 94.12 kB / 0.5222 GB, free: 2.074 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001637/0.02653, allocations: 0.9278 MB / 0.5231 GB, free: 1.566 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.002199/0.02873, allocations: 1.529 MB / 0.5246 GB, free: 340 kB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:61:5-65:11:writable] Warning: In relation WTG4B.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 WTG4B.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 WTG4B.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 WTG4B.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.003991/0.03272, allocations: 3.054 MB / 0.5276 GB, free: 13.89 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.004499/0.03722, allocations: 5.449 MB / 0.5329 GB, free: 10.34 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001508/0.03873, allocations: 1.207 MB / 0.5341 GB, free: 9.426 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002205/0.04093, allocations: 1.858 MB / 0.5359 GB, free: 8.188 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001368/0.0423, allocations: 1.658 MB / 0.5375 GB, free: 7.004 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004833/0.04278, allocations: 0.5659 MB / 0.5381 GB, free: 6.625 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.04382, allocations: 0.8863 MB / 0.5389 GB, free: 5.738 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006406/0.04446, allocations: 1.203 MB / 0.5401 GB, free: 4.531 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008975/0.04536, allocations: 1.457 MB / 0.5415 GB, free: 3.07 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004959/0.05032, allocations: 7.166 MB / 0.5485 GB, free: 11.88 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.05032, allocations: 0 / 0.5485 GB, free: 11.88 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.05032, allocations: 0 / 0.5485 GB, free: 11.88 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.978e-05/0.05035, allocations: 0 / 0.5485 GB, free: 11.88 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: 714 * Number of variables: 714 Notification: Performance of Generate backend data structure: time 0.00808/0.05843, allocations: 5.851 MB / 0.5542 GB, free: 5.938 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.05848, allocations: 12.03 kB / 0.5543 GB, free: 5.926 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002614/0.0611, allocations: 1.091 MB / 0.5553 GB, free: 4.832 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002927/0.06402, allocations: 2.694 MB / 0.558 GB, free: 2.09 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005698/0.06459, allocations: 1.108 MB / 0.559 GB, free: 0.7773 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003193/0.06491, allocations: 292.3 kB / 0.5593 GB, free: 0.4922 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004305/0.06922, allocations: 3.952 MB / 0.5632 GB, free: 12.28 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.913e-05/0.06926, allocations: 7.938 kB / 0.5632 GB, free: 12.27 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001976/0.06945, allocations: 120 kB / 0.5633 GB, free: 12.15 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-05/0.06953, allocations: 68 kB / 0.5634 GB, free: 12.09 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003956/0.07349, allocations: 3.057 MB / 0.5663 GB, free: 9.016 MB / 490.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.01028/0.08377, allocations: 10.22 MB / 0.5763 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003778/0.08755, allocations: 2.697 MB / 0.579 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001605/0.08916, allocations: 1.271 MB / 0.5802 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001593/0.08931, allocations: 38.36 kB / 0.5802 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002178/0.09149, allocations: 1.864 MB / 0.5821 GB, free: 8.73 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=243): time 4.669e-06/0.0915, allocations: 3.984 kB / 0.5821 GB, free: 8.727 MB / 0.4948 GB Notification: Performance of matching and sorting (n=243): time 0.006886/0.09838, allocations: 4.68 MB / 0.5866 GB, free: 4.035 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002218/0.0986, allocations: 486.8 kB / 0.5871 GB, free: 3.453 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003418/0.102, allocations: 3.228 MB / 0.5902 GB, free: 228 kB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001569/0.1022, allocations: 89.7 kB / 0.5903 GB, free: 132 kB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001445/0.1036, allocations: 1.651 MB / 0.5919 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006717/0.1043, allocations: 0.8485 MB / 0.5928 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008108/0.1051, allocations: 0.6923 MB / 0.5935 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.397e-05/0.1052, allocations: 301.1 kB / 0.5937 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002112/0.1073, allocations: 1.656 MB / 0.5954 GB, free: 10.94 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002618/0.1099, allocations: 2.587 MB / 0.5979 GB, free: 8.098 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01446/0.1244, allocations: 8.385 MB / 0.6061 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.34e-05/0.1244, allocations: 4 kB / 0.6061 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of matching and sorting (n=490) (initialization): time 0.006446/0.1308, allocations: 4.809 MB / 0.6108 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.947e-05/0.1309, allocations: 73.78 kB / 0.6108 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.1309, allocations: 8 kB / 0.6108 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004794/0.1314, allocations: 384.6 kB / 0.6112 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001808/0.1332, allocations: 0.7879 MB / 0.612 GB, free: 9.434 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003449/0.1366, allocations: 2.961 MB / 0.6149 GB, free: 6.375 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001851/0.1385, allocations: 434 kB / 0.6153 GB, free: 5.949 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001811/0.1387, allocations: 131.9 kB / 0.6154 GB, free: 5.82 MB / 0.5261 GB Warning: Assuming fixed start value for the following 31 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) 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 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.PConv0Pu 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.003419/0.1421, allocations: 2.341 MB / 0.6177 GB, free: 3.48 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002774/0.1449, allocations: 2.525 MB / 0.6202 GB, free: 0.6914 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01378/0.1586, allocations: 8.256 MB / 0.6282 GB, free: 8.262 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.041e-05/0.1587, allocations: 0 / 0.6282 GB, free: 8.262 MB / 0.5417 GB Notification: Performance of matching and sorting (n=490) (initialization_lambda0): time 0.006824/0.1655, allocations: 4.704 MB / 0.6328 GB, free: 3.523 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.658e-05/0.1655, allocations: 73.59 kB / 0.6329 GB, free: 3.445 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.1656, allocations: 8 kB / 0.6329 GB, free: 3.438 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004745/0.166, allocations: 380.9 kB / 0.6333 GB, free: 3.062 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001765/0.1678, allocations: 0.7723 MB / 0.634 GB, free: 2.289 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002922/0.1707, allocations: 2.959 MB / 0.6369 GB, free: 15.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/0.1723, allocations: 398.5 kB / 0.6373 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001652/0.1724, allocations: 136 kB / 0.6374 GB, free: 14.7 MB / 0.5573 GB Warning: Assuming fixed start value for the following 31 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) 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 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.PConv0Pu 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: 41 * Number of states: 0 () * Number of discrete variables: 71 ($PRE.WTG4B.HvTfo.state,WTG4B.HvTfo.state,$PRE.WTG4B.LvTfo.state,WTG4B.LvTfo.state,$PRE.WTG4B.injector.state,WTG4B.injector.state,$PRE.line.state,line.state,WTG4B.injector.switchOffSignal3,WTG4B.injector.switchOffSignal2,WTG4B.injector.switchOffSignal1,line.switchOffSignal2,line.switchOffSignal1,WTG4B.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,WTG4B.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$PRE.line.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,line.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition7,$whenCondition6,$whenCondition9,$whenCondition8,$whenCondition11,$whenCondition10,$whenCondition13,$whenCondition12,$whenCondition14,$whenCondition16,$whenCondition15,$whenCondition17,$whenCondition19,$whenCondition18,$whenCondition20,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 (453): * Single equations (assignments): 451 * 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.0007991/0.1732, allocations: 0.5431 MB / 0.6379 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003782/0.1736, allocations: 370 kB / 0.6383 GB, free: 13.81 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004935/0.1785, allocations: 3.537 MB / 0.6418 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/0.1786, allocations: 24 kB / 0.6418 GB, free: 10.23 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1786, allocations: 4 kB / 0.6418 GB, free: 10.23 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.687e-05/0.1786, allocations: 15.89 kB / 0.6418 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008442/0.187, allocations: 6.922 MB / 0.6486 GB, free: 3.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.187, allocations: 8 kB / 0.6486 GB, free: 3.172 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001429/0.1885, allocations: 0.4955 MB / 0.649 GB, free: 2.676 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004342/0.1889, allocations: 364.7 kB / 0.6494 GB, free: 2.316 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001196/0.189, allocations: 67.97 kB / 0.6495 GB, free: 2.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00282/0.1918, allocations: 2.96 MB / 0.6524 GB, free: 15.19 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.1918, allocations: 8 kB / 0.6524 GB, free: 15.18 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006826/0.1987, allocations: 5.582 MB / 0.6578 GB, free: 9.508 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/0.1997, allocations: 0.7509 MB / 0.6585 GB, free: 8.754 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002563/0.1999, allocations: 71.98 kB / 0.6586 GB, free: 8.684 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/0.201, allocations: 219.8 kB / 0.6588 GB, free: 8.469 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000355/0.2013, allocations: 261.4 kB / 0.6591 GB, free: 8.215 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001228/0.2015, allocations: 87.97 kB / 0.6592 GB, free: 8.129 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002145/0.2036, allocations: 2.101 MB / 0.6612 GB, free: 6.039 MB / 0.573 GB Notification: Performance of sort global known variables: time 8e-08/0.2036, allocations: 4 kB / 0.6612 GB, free: 6.035 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002951/0.2066, allocations: 1.664 MB / 0.6628 GB, free: 4.367 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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: 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,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: 10 (WTG4B.HvTfo.running,WTG4B.LvTfo.running,WTG4B.injector.running,line.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 (240): * Single equations (assignments): 226 * 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.0009469/0.2075, allocations: 0.5226 MB / 0.6633 GB, free: 3.996 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.008293/0.2158, allocations: 6.317 MB / 0.6695 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.2158, allocations: 1 kB / 0.6695 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002627/0.2184, allocations: 2.01 MB / 0.6715 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001594/0.22, allocations: 0.5263 MB / 0.672 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008713/0.2287, allocations: 7.117 MB / 0.6789 GB, free: 3.859 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0011/0.2298, allocations: 1.534 MB / 0.6804 GB, free: 2.297 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007141/0.2306, allocations: 240.4 kB / 0.6807 GB, free: 2.062 MB / 0.5886 GB Notification: Performance of SimCode: time 1.503e-06/0.2306, allocations: 0 / 0.6807 GB, free: 2.062 MB / 0.5886 GB Notification: Performance of Templates: time 0.2886/0.5192, allocations: 69.19 MB / 0.7482 GB, free: 125.2 MB / 0.5886 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.sim & ./Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource -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.WTG4BCurrentSource.pipe 2>&1) [Timeout 480] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Wind.WECC.WTG4BCurrentSource_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.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: 8.640448275022209]