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.001098/0.001098, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001664/0.002763, allocations: 440 kB / 10.41 MB, free: 284 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.001048/0.001048, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001434/0.002482, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.8438/0.8438, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1252/0.969, allocations: 49.51 MB / 220.7 MB, free: 1.355 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] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/Examples/GridFollowing/FourVSC/FourVSCDynamicLinesPlant.mo:214:26-227:16:writable] Warning: Lexer treating \\ as \\\\, since \\ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/Examples/GridFollowing/FourVSC/FourVSCDynamicLinesPlant.mo:214:26-229:28:writable] Warning: Lexer treating \\ as \\\\, since \\ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo): time 0.4757/0.4757, allocations: 106.6 MB / 328 MB, free: 14.63 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06838/0.5441, allocations: 37.89 MB / 365.9 MB, free: 8.98 MB / 362.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.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.292e-06/1.292e-06, allocations: 0 / 367.5 MB, free: 7.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.181e-05, allocations: 2.312 kB / 367.5 MB, free: 7.406 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource): time 0.01812/0.01814, allocations: 14.66 MB / 382.2 MB, free: 8.688 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01652/0.03466, allocations: 7.255 MB / 389.4 MB, free: 1.418 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004536/0.0392, allocations: 95.38 kB / 389.5 MB, free: 1.324 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003651/0.04285, allocations: 0.9651 MB / 390.5 MB, free: 360 kB / 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.007374/0.05022, allocations: 1.696 MB / 392.2 MB, free: 14.64 MB / 394.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.005261/0.05548, allocations: 2.952 MB / 395.1 MB, free: 11.69 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00493/0.06041, allocations: 5.432 MB / 400.6 MB, free: 6.242 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001478/0.06189, allocations: 1.269 MB / 401.8 MB, free: 4.875 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003136/0.06502, allocations: 3.65 MB / 405.5 MB, free: 1.137 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001237/0.06626, allocations: 1.701 MB / 407.2 MB, free: 15.43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006268/0.06689, allocations: 0.5703 MB / 407.7 MB, free: 14.86 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001088/0.06798, allocations: 0.9214 MB / 408.7 MB, free: 13.94 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005713/0.06855, allocations: 0.9425 MB / 409.6 MB, free: 12.99 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008531/0.0694, allocations: 1.169 MB / 410.8 MB, free: 11.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003411/0.07281, allocations: 3.58 MB / 414.4 MB, free: 8.227 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.485e-05/0.07283, allocations: 4 kB / 414.4 MB, free: 8.223 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.07283, allocations: 0 / 414.4 MB, free: 8.223 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.57e-05/0.07285, allocations: 0 / 414.4 MB, free: 8.223 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: 734 * Number of variables: 734 Notification: Performance of Generate backend data structure: time 0.007165/0.08002, allocations: 6.655 MB / 421 MB, free: 1.461 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.08005, allocations: 12.03 kB / 421 MB, free: 1.449 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003824/0.08387, allocations: 1.722 MB / 422.8 MB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001966/0.08584, allocations: 1.707 MB / 424.5 MB, free: 13.97 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006036/0.08645, allocations: 1.061 MB / 425.5 MB, free: 12.72 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002849/0.08673, allocations: 308 kB / 425.8 MB, free: 12.42 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002474/0.0892, allocations: 2.785 MB / 428.6 MB, free: 9.371 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.8e-05/0.08924, allocations: 7.938 kB / 428.6 MB, free: 9.363 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001709/0.08941, allocations: 124 kB / 428.7 MB, free: 9.242 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.325e-05/0.08945, allocations: 72 kB / 428.8 MB, free: 9.172 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.09072, allocations: 0.9219 MB / 429.7 MB, free: 8.219 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.007703/0.09842, allocations: 7.411 MB / 437.1 MB, free: 0.6484 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002343/0.1008, allocations: 1.335 MB / 438.5 MB, free: 15.29 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006189/0.1014, allocations: 407.4 kB / 438.9 MB, free: 14.89 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001918/0.1016, allocations: 57.97 kB / 438.9 MB, free: 14.84 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001163/0.1027, allocations: 1.071 MB / 440 MB, free: 13.71 MB / 442.7 MB Notification: Performance of pre-optimization done (n=256): time 4.318e-06/0.1027, allocations: 0 / 440 MB, free: 13.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=256): time 0.003302/0.106, allocations: 1.803 MB / 441.8 MB, free: 11.91 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.98e-05/0.1061, allocations: 123 kB / 441.9 MB, free: 11.77 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002424/0.1085, allocations: 2.462 MB / 444.4 MB, free: 9.305 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001859/0.1087, allocations: 89.7 kB / 444.5 MB, free: 9.211 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008412/0.1096, allocations: 1.161 MB / 445.6 MB, free: 8.031 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007109/0.1103, allocations: 0.9104 MB / 446.5 MB, free: 7.113 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008043/0.1111, allocations: 0.7314 MB / 447.3 MB, free: 6.367 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.746e-05/0.1112, allocations: 301.1 kB / 447.6 MB, free: 6.07 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/0.1123, allocations: 0.7299 MB / 448.3 MB, free: 5.32 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001479/0.1138, allocations: 1.632 MB / 449.9 MB, free: 3.41 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003673/0.1175, allocations: 3.208 MB / 453.1 MB, free: 36 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.299e-05/0.1175, allocations: 4 kB / 453.1 MB, free: 32 kB / 442.7 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.178/0.2955, allocations: 2.671 MB / 455.8 MB, free: 49.35 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.546e-05/0.2956, allocations: 74.48 kB / 455.9 MB, free: 49.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/0.2956, allocations: 8.625 kB / 455.9 MB, free: 49.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007253/0.2963, allocations: 318.2 kB / 456.2 MB, free: 49.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002075/0.2984, allocations: 0.9155 MB / 457.1 MB, free: 49.31 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001777/0.3002, allocations: 1.836 MB / 459 MB, free: 48.19 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/0.3017, allocations: 385.2 kB / 459.3 MB, free: 48.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001653/0.3019, allocations: 102.3 kB / 459.4 MB, free: 48.19 MB / 442.7 MB 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.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG4B.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG4B.injector.running:DISCRETE(flow=false start = WTG4B.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.LvTfo.running:DISCRETE(flow=false start = WTG4B.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.HvTfo.running:DISCRETE(flow=false start = WTG4B.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4B.wecc_repc.leadLag.X0[1] * WTG4B.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4B.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean WTG4B.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001822/0.3037, allocations: 1.011 MB / 460.4 MB, free: 48.03 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001193/0.3049, allocations: 1.625 MB / 462.1 MB, free: 47.07 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003351/0.3083, allocations: 3.18 MB / 465.2 MB, free: 46.51 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.276e-05/0.3083, allocations: 3.188 kB / 465.3 MB, free: 46.51 MB / 442.7 MB Notification: Performance of matching and sorting (n=512) (initialization_lambda0): time 0.00339/0.3117, allocations: 2.672 MB / 467.9 MB, free: 46.33 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.397e-05/0.3117, allocations: 67.77 kB / 468 MB, free: 46.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.3117, allocations: 9.5 kB / 468 MB, free: 46.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005357/0.3123, allocations: 318.6 kB / 468.3 MB, free: 46.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001912/0.3142, allocations: 0.904 MB / 469.2 MB, free: 46.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001847/0.316, allocations: 1.838 MB / 471.1 MB, free: 45.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001758/0.3178, allocations: 370.9 kB / 471.4 MB, free: 45.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001435/0.3179, allocations: 100.8 kB / 471.5 MB, free: 45.17 MB / 442.7 MB 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.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG4B.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG4B.injector.running:DISCRETE(flow=false start = WTG4B.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.LvTfo.running:DISCRETE(flow=false start = WTG4B.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.HvTfo.running:DISCRETE(flow=false start = WTG4B.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4B.wecc_repc.leadLag.X0[1] * WTG4B.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4B.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean WTG4B.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 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.wecc_reec.limPIDFreeze.I.resetLocal,WTG4B.wecc_reec.varLimPIDFreeze.I.resetLocal,WTG4B.pll.integrator.local_reset,WTG4B.pll.limIntegrator.local_reset,WTG4B.wecc_repc.limPID.I.local_reset,WTG4B.wecc_repc.limPIDFreeze.I.resetLocal,WTG4B.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,WTG4B.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,line.switchOffSignal1,line.switchOffSignal2,WTG4B.switchOffSignal1,WTG4B.switchOffSignal2,WTG4B.switchOffSignal3,$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.QConv0PuPos.k,WTG4B.wecc_regc.QConv0PuNeg.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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (474): * Single equations (assignments): 472 * 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.0007314/0.3187, allocations: 0.5388 MB / 472.1 MB, free: 44.95 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003946/0.319, allocations: 295.9 kB / 472.3 MB, free: 44.95 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002184/0.3212, allocations: 1.582 MB / 473.9 MB, free: 44.81 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.3212, allocations: 26.59 kB / 473.9 MB, free: 44.81 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.3213, allocations: 4.438 kB / 474 MB, free: 44.81 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/0.3213, allocations: 12.23 kB / 474 MB, free: 44.81 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004803/0.3261, allocations: 3.733 MB / 477.7 MB, free: 44.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.3261, allocations: 3.281 kB / 477.7 MB, free: 44.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001423/0.3275, allocations: 0.5442 MB / 478.2 MB, free: 44.25 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007809/0.3283, allocations: 391.5 kB / 478.6 MB, free: 44.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005186/0.3288, allocations: 315.6 kB / 478.9 MB, free: 44.22 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/0.3289, allocations: 69.2 kB / 479 MB, free: 44.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001575/0.3305, allocations: 1.831 MB / 480.8 MB, free: 42.75 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.3305, allocations: 11 kB / 480.8 MB, free: 42.74 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002541/0.333, allocations: 2.362 MB / 483.2 MB, free: 40.84 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002753/0.3333, allocations: 73.8 kB / 483.3 MB, free: 40.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008645/0.3342, allocations: 172 kB / 483.4 MB, free: 40.72 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003011/0.3345, allocations: 248.4 kB / 483.7 MB, free: 40.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.492e-05/0.3346, allocations: 69.08 kB / 483.8 MB, free: 40.61 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009887/0.3355, allocations: 1.279 MB / 485 MB, free: 39.58 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3355, allocations: 0 / 485 MB, free: 39.58 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00238/0.3379, allocations: 1.738 MB / 486.8 MB, free: 38.26 MB / 442.7 MB 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 (253): * Single equations (assignments): 239 * 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.001216/0.3391, allocations: 0.6447 MB / 487.4 MB, free: 37.99 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004854/0.344, allocations: 4.069 MB / 491.5 MB, free: 34.44 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.997e-05/0.3441, allocations: 62.7 kB / 491.5 MB, free: 34.38 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001341/0.3454, allocations: 1.087 MB / 492.6 MB, free: 33.44 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002303/0.3477, allocations: 2.587 MB / 495.2 MB, free: 30.78 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007663/0.3554, allocations: 6.392 MB / 0.4899 GB, free: 24.71 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004446/0.3558, allocations: 0.6033 MB / 0.4904 GB, free: 24.09 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001773/0.3576, allocations: 0.5104 MB / 0.4909 GB, free: 23.58 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00119/0.3588, allocations: 0.6144 MB / 0.4915 GB, free: 22.99 MB / 442.7 MB Notification: Performance of SimCode: time 1.663e-06/0.3588, allocations: 0 / 0.4915 GB, free: 22.99 MB / 442.7 MB Notification: Performance of Templates: time 0.06247/0.4213, allocations: 55.84 MB / 0.5461 GB, free: 72 kB / 474.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.546577227301896]