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.0007144/0.0007144, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009381/0.001652, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006822/0.0006822, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008294/0.001512, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.795/0.795, allocations: 158.6 MB / 171 MB, free: 2.59 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1263/0.9213, allocations: 49.49 MB / 220.5 MB, free: 1.441 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo): time 0.452/0.452, allocations: 100.5 MB / 321.8 MB, free: 4.727 MB / 314.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04852/0.5005, allocations: 35.71 MB / 357.5 MB, free: 1.324 MB / 346.7 MB " [Timeout remaining time 179] Using package Dynawo with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -noHomotopyOnFirstTry=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRestart=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRootFinding=() since the simulation runtime does not accept it Running command: translateModel(Dynawo.Examples.Wind.WECC.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.303e-06/1.303e-06, allocations: 0 / 359 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.678e-05/1.809e-05, allocations: 2.312 kB / 359 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource): time 0.01218/0.0122, allocations: 15.22 MB / 374.3 MB, free: 492 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01067/0.02288, allocations: 7.48 MB / 381.8 MB, free: 8.977 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001894/0.02477, allocations: 99.38 kB / 381.8 MB, free: 8.879 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001571/0.02634, allocations: 0.9999 MB / 382.8 MB, free: 7.871 MB / 378.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.002751/0.02909, allocations: 1.755 MB / 384.6 MB, free: 6.105 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:87:3-87:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wtgCurrentSource_INIT.s0Pu) == 0.0, == on Real operands is not allowed in non-function contexts. Use --allowNonStandardModelica=realEquality to ignore this error. [Non-standard Modelica: --allowNonStandardModelica=realEquality] Notification: Performance of NFTyping.typeClassSections: time 0.003405/0.0325, allocations: 3.045 MB / 387.6 MB, free: 3.055 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003776/0.03627, allocations: 5.712 MB / 393.4 MB, free: 13.34 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001315/0.03759, allocations: 1.352 MB / 394.7 MB, free: 11.89 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003008/0.0406, allocations: 3.806 MB / 398.5 MB, free: 7.996 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001243/0.04184, allocations: 1.779 MB / 400.3 MB, free: 6.211 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005031/0.04234, allocations: 0.6094 MB / 400.9 MB, free: 5.602 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.0434, allocations: 0.9564 MB / 401.9 MB, free: 4.645 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005926/0.044, allocations: 0.9775 MB / 402.8 MB, free: 3.664 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008967/0.04489, allocations: 1.231 MB / 404.1 MB, free: 2.43 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003215/0.04811, allocations: 3.763 MB / 407.8 MB, free: 14.65 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.786e-05/0.04813, allocations: 0 / 407.8 MB, free: 14.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.04813, allocations: 0 / 407.8 MB, free: 14.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.262e-05/0.04816, allocations: 0 / 407.8 MB, free: 14.65 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 785 * Number of variables: 785 Notification: Performance of Generate backend data structure: time 0.007629/0.05579, allocations: 6.942 MB / 414.8 MB, free: 7.609 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.05582, allocations: 8.031 kB / 414.8 MB, free: 7.602 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003749/0.05957, allocations: 1.745 MB / 416.5 MB, free: 5.855 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002175/0.06175, allocations: 1.803 MB / 418.3 MB, free: 4.008 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006197/0.06237, allocations: 1.078 MB / 419.4 MB, free: 2.738 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003062/0.06267, allocations: 339.9 kB / 419.7 MB, free: 2.406 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00277/0.06544, allocations: 2.935 MB / 422.7 MB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.194e-05/0.06548, allocations: 4 kB / 422.7 MB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001714/0.06566, allocations: 136 kB / 422.8 MB, free: 15.06 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-05/0.06569, allocations: 76 kB / 422.9 MB, free: 14.99 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/0.06705, allocations: 0.9694 MB / 423.9 MB, free: 13.99 MB / 426.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.007629/0.07468, allocations: 8.224 MB / 432.1 MB, free: 5.582 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002034/0.07671, allocations: 1.433 MB / 433.5 MB, free: 4.125 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007186/0.07743, allocations: 415.9 kB / 433.9 MB, free: 3.715 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002049/0.07763, allocations: 65.86 kB / 434 MB, free: 3.648 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001415/0.07905, allocations: 1.096 MB / 435.1 MB, free: 2.496 MB / 426.7 MB Notification: Performance of pre-optimization done (n=266): time 5.279e-06/0.07905, allocations: 0 / 435.1 MB, free: 2.496 MB / 426.7 MB Notification: Performance of matching and sorting (n=266): time 0.003439/0.08249, allocations: 1.932 MB / 437 MB, free: 0.5586 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/0.08255, allocations: 123.1 kB / 437.1 MB, free: 432 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001834/0.08438, allocations: 2.576 MB / 439.7 MB, free: 13.85 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001478/0.08453, allocations: 89.7 kB / 439.8 MB, free: 13.76 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006379/0.08517, allocations: 1.248 MB / 441 MB, free: 12.49 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004597/0.08563, allocations: 0.9492 MB / 442 MB, free: 11.54 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007012/0.08633, allocations: 0.7672 MB / 442.8 MB, free: 10.76 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.757e-05/0.08638, allocations: 309.1 kB / 443.1 MB, free: 10.45 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001148/0.08753, allocations: 0.7511 MB / 443.8 MB, free: 9.684 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001391/0.08892, allocations: 1.699 MB / 445.5 MB, free: 7.691 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003395/0.09232, allocations: 3.222 MB / 448.7 MB, free: 4.285 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.408e-06/0.09233, allocations: 4 kB / 448.7 MB, free: 4.281 MB / 442.7 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.003526/0.09585, allocations: 2.798 MB / 451.5 MB, free: 1.461 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.22e-05/0.09592, allocations: 73.59 kB / 451.6 MB, free: 1.383 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.09593, allocations: 19.88 kB / 451.6 MB, free: 1.363 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005707/0.0965, allocations: 320.5 kB / 451.9 MB, free: 1.047 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00207/0.09857, allocations: 0.9557 MB / 452.9 MB, free: 92 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1559/0.2545, allocations: 1.83 MB / 454.7 MB, free: 54.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00207/0.2565, allocations: 395 kB / 455.1 MB, free: 54.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000176/0.2567, allocations: 106.9 kB / 455.2 MB, free: 54.39 MB / 442.7 MB 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.rateLimFirstOrderFreeze.Y0 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.001987/0.2587, allocations: 1.04 MB / 456.3 MB, free: 54.24 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001332/0.26, allocations: 1.701 MB / 458 MB, free: 53.24 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003482/0.2635, allocations: 3.197 MB / 461.2 MB, free: 52.64 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.178e-05/0.2635, allocations: 3.438 kB / 461.2 MB, free: 52.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=539) (initialization_lambda0): time 0.003339/0.2669, allocations: 2.783 MB / 463.9 MB, free: 52.46 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.982e-05/0.2669, allocations: 72.3 kB / 464 MB, free: 52.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.2669, allocations: 11.16 kB / 464 MB, free: 52.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005225/0.2674, allocations: 330.9 kB / 464.3 MB, free: 52.42 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001892/0.2693, allocations: 0.9451 MB / 465.3 MB, free: 52.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/0.2708, allocations: 1.839 MB / 467.1 MB, free: 51.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.272, allocations: 374.1 kB / 467.5 MB, free: 51.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001425/0.2721, allocations: 106.5 kB / 467.6 MB, free: 51.3 MB / 442.7 MB 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.rateLimFirstOrderFreeze.Y0 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.wecc_reec.limPIDFreeze.I.resetLocal,WTG4A.wecc_reec.varLimPIDFreeze.I.resetLocal,WTG4A.pll.integrator.local_reset,WTG4A.pll.limIntegrator.local_reset,WTG4A.wecc_repc.limPID.I.local_reset,WTG4A.wecc_repc.limPIDFreeze.I.resetLocal,WTG4A.wecc_wtgt.dPhi.local_reset,WTG4A.wecc_wtgt.dOmegaTurbine.local_reset,WTG4A.wecc_wtgt.dOmegaGenerator.local_reset,WTG4A.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,WTG4A.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,line.switchOffSignal1,line.switchOffSignal2,WTG4A.switchOffSignal1,WTG4A.switchOffSignal2,WTG4A.switchOffSignal3,$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.QConv0PuPos.k,WTG4A.wecc_regc.QConv0PuNeg.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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (501): * Single equations (assignments): 499 * 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.0005422/0.2727, allocations: 0.5564 MB / 468.2 MB, free: 51.08 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003167/0.273, allocations: 308.6 kB / 468.5 MB, free: 51.08 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001995/0.275, allocations: 1.64 MB / 470.1 MB, free: 50.93 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.275, allocations: 29.09 kB / 470.1 MB, free: 50.93 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.275, allocations: 2.906 kB / 470.1 MB, free: 50.93 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.586e-05/0.275, allocations: 14.81 kB / 470.1 MB, free: 50.93 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004539/0.2795, allocations: 3.839 MB / 474 MB, free: 50.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-06/0.2795, allocations: 5.969 kB / 474 MB, free: 50.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001434/0.281, allocations: 0.559 MB / 474.5 MB, free: 50.39 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006927/0.2817, allocations: 409.3 kB / 474.9 MB, free: 50.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005014/0.2822, allocations: 313.8 kB / 475.3 MB, free: 50.38 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000102/0.2823, allocations: 69.78 kB / 475.3 MB, free: 50.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/0.2837, allocations: 1.829 MB / 477.2 MB, free: 49.24 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.2837, allocations: 5.844 kB / 477.2 MB, free: 49.24 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002498/0.2862, allocations: 2.429 MB / 479.6 MB, free: 48.59 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002601/0.2865, allocations: 77.91 kB / 479.7 MB, free: 48.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008108/0.2873, allocations: 164.2 kB / 479.8 MB, free: 48.59 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002692/0.2875, allocations: 252.4 kB / 480.1 MB, free: 48.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.465e-05/0.2876, allocations: 66.23 kB / 480.1 MB, free: 48.59 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008862/0.2885, allocations: 1.338 MB / 481.5 MB, free: 48.48 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2885, allocations: 0 / 481.5 MB, free: 48.48 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002258/0.2908, allocations: 1.82 MB / 483.3 MB, free: 47.46 MB / 442.7 MB 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 (263): * Single equations (assignments): 249 * 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.001287/0.2921, allocations: 0.6485 MB / 483.9 MB, free: 47.21 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004241/0.2963, allocations: 4.153 MB / 488.1 MB, free: 43.95 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.068e-05/0.2964, allocations: 60.94 kB / 488.2 MB, free: 43.89 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009591/0.2973, allocations: 0.9734 MB / 489.1 MB, free: 43.14 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.2987, allocations: 0.8253 MB / 490 MB, free: 42.63 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006874/0.3056, allocations: 6.732 MB / 496.7 MB, free: 36.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.306, allocations: 0.6457 MB / 497.3 MB, free: 35.65 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001333/0.3073, allocations: 0.5229 MB / 497.9 MB, free: 35.12 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001098/0.3084, allocations: 0.6136 MB / 498.5 MB, free: 34.53 MB / 442.7 MB Notification: Performance of SimCode: time 6.81e-07/0.3084, allocations: 0 / 498.5 MB, free: 34.53 MB / 442.7 MB Notification: Performance of Templates: time 0.05398/0.3624, allocations: 54.96 MB / 0.5405 GB, free: 12.92 MB / 474.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.840675021521747]