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.001336/0.001336, allocations: 72.95 kB / 20.74 MB, free: 3.75 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.001556/0.001556, allocations: 169 kB / 24.16 MB, free: 336 kB / 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.7793/0.7793, allocations: 158.6 MB / 186 MB, free: 2.766 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.4189/0.4189, allocations: 90.87 MB / 329.2 MB, free: 14.27 MB / 314.7 MB " [Timeout remaining time 180] 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 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.263e-06/1.263e-06, allocations: 0 / 386.6 MB, free: 5.383 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.115e-05/2.241e-05, allocations: 9.625 kB / 386.6 MB, free: 5.375 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource): time 0.0126/0.01262, allocations: 14.91 MB / 401.5 MB, free: 6.398 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01204/0.02465, allocations: 7.359 MB / 408.8 MB, free: 15.02 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002783/0.02744, allocations: 103.3 kB / 408.9 MB, free: 14.91 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002031/0.02947, allocations: 0.9844 MB / 409.9 MB, free: 13.92 MB / 394.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.003649/0.03312, allocations: 1.591 MB / 411.5 MB, free: 12.32 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:113:3-113: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.004362/0.03748, allocations: 3.17 MB / 414.7 MB, free: 9.145 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005608/0.04309, allocations: 5.743 MB / 420.4 MB, free: 3.391 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001994/0.04508, allocations: 1.344 MB / 421.8 MB, free: 1.953 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002341/0.04742, allocations: 1.955 MB / 423.7 MB, free: 15.99 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001898/0.04932, allocations: 1.744 MB / 425.5 MB, free: 14.24 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008428/0.05016, allocations: 0.6016 MB / 426.1 MB, free: 13.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/0.0514, allocations: 0.9292 MB / 427 MB, free: 12.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008344/0.05223, allocations: 1.269 MB / 428.3 MB, free: 11.44 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001205/0.05344, allocations: 1.542 MB / 429.8 MB, free: 9.891 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003957/0.0574, allocations: 4.04 MB / 433.9 MB, free: 5.836 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.0574, allocations: 0 / 433.9 MB, free: 5.836 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.0574, allocations: 0 / 433.9 MB, free: 5.836 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.287e-05/0.05745, allocations: 7.938 kB / 433.9 MB, free: 5.828 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: 775 * Number of variables: 775 Notification: Performance of Generate backend data structure: time 0.007674/0.06513, allocations: 6.02 MB / 439.9 MB, free: 15.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.06516, allocations: 8.031 kB / 439.9 MB, free: 15.72 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002814/0.06798, allocations: 1.39 MB / 441.3 MB, free: 14.33 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002328/0.07031, allocations: 1.793 MB / 443.1 MB, free: 12.49 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004405/0.07075, allocations: 1.025 MB / 444.1 MB, free: 11.29 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002988/0.07104, allocations: 331.9 kB / 444.4 MB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002737/0.07378, allocations: 2.903 MB / 447.3 MB, free: 7.789 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.198e-05/0.07382, allocations: 4 kB / 447.3 MB, free: 7.785 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001727/0.074, allocations: 132 kB / 447.5 MB, free: 7.656 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.229e-05/0.07404, allocations: 79.94 kB / 447.5 MB, free: 7.578 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001394/0.07543, allocations: 0.9535 MB / 448.5 MB, free: 6.598 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.008974/0.08441, allocations: 8.095 MB / 456.6 MB, free: 14.31 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001947/0.08635, allocations: 1.419 MB / 458 MB, free: 12.88 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005195/0.08687, allocations: 403.6 kB / 458.4 MB, free: 12.48 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001866/0.08706, allocations: 53.98 kB / 458.4 MB, free: 12.43 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001046/0.0881, allocations: 1.076 MB / 459.5 MB, free: 11.3 MB / 442.7 MB Notification: Performance of pre-optimization done (n=259): time 4.158e-06/0.08811, allocations: 0 / 459.5 MB, free: 11.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=259): time 0.003189/0.0913, allocations: 1.852 MB / 461.4 MB, free: 9.445 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001437/0.09144, allocations: 478.9 kB / 461.8 MB, free: 8.875 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002187/0.09363, allocations: 2.572 MB / 464.4 MB, free: 6.305 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001428/0.09377, allocations: 89.7 kB / 464.5 MB, free: 6.211 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006878/0.09446, allocations: 1.236 MB / 465.7 MB, free: 4.957 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005545/0.09501, allocations: 0.9336 MB / 466.7 MB, free: 4.016 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007217/0.09574, allocations: 0.7513 MB / 467.4 MB, free: 3.254 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.12e-05/0.09581, allocations: 301.1 kB / 467.7 MB, free: 2.957 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/0.09686, allocations: 0.7074 MB / 468.4 MB, free: 2.23 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001407/0.09827, allocations: 1.658 MB / 470.1 MB, free: 284 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1791/0.2774, allocations: 3.067 MB / 473.1 MB, free: 71.92 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.021e-05/0.2774, allocations: 3.344 kB / 473.2 MB, free: 71.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=526) (initialization): time 0.004385/0.2818, allocations: 2.683 MB / 475.8 MB, free: 71.75 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.328e-05/0.2818, allocations: 69.39 kB / 475.9 MB, free: 71.72 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.157e-05/0.2818, allocations: 14.38 kB / 475.9 MB, free: 71.72 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006692/0.2825, allocations: 327.7 kB / 476.2 MB, free: 71.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001676/0.2842, allocations: 0.7922 MB / 477 MB, free: 71.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002111/0.2863, allocations: 1.837 MB / 478.9 MB, free: 70.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/0.2879, allocations: 380.2 kB / 479.2 MB, free: 70.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001497/0.288, allocations: 109.8 kB / 479.3 MB, free: 70.59 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.001883/0.2899, allocations: 0.9995 MB / 480.3 MB, free: 70.44 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001262/0.2912, allocations: 1.642 MB / 482 MB, free: 69.43 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003203/0.2944, allocations: 3.062 MB / 485 MB, free: 68.84 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.598e-05/0.2944, allocations: 7.406 kB / 485.1 MB, free: 68.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=526) (initialization_lambda0): time 0.003545/0.298, allocations: 2.67 MB / 487.7 MB, free: 68.65 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.624e-05/0.298, allocations: 68.66 kB / 487.8 MB, free: 68.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.298, allocations: 11.16 kB / 487.8 MB, free: 68.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005693/0.2986, allocations: 330.3 kB / 488.1 MB, free: 68.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001575/0.3002, allocations: 0.7835 MB / 488.9 MB, free: 68.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001643/0.3018, allocations: 1.827 MB / 490.7 MB, free: 67.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/0.3033, allocations: 364.3 kB / 491.1 MB, free: 67.47 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/0.3034, allocations: 108 kB / 491.2 MB, free: 67.47 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.injector.switchOffSignal1,WTG4A.injector.switchOffSignal2,WTG4A.injector.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 (488): * Single equations (assignments): 486 * 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.0007079/0.3041, allocations: 0.554 MB / 491.8 MB, free: 67.23 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003873/0.3045, allocations: 309.5 kB / 492.1 MB, free: 67.23 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002064/0.3066, allocations: 1.59 MB / 493.6 MB, free: 66.54 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.3066, allocations: 35.98 kB / 493.7 MB, free: 66.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.3066, allocations: 4 kB / 493.7 MB, free: 66.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.486e-05/0.3066, allocations: 13.77 kB / 493.7 MB, free: 66.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004606/0.3112, allocations: 3.692 MB / 497.4 MB, free: 64.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.3112, allocations: 4 kB / 497.4 MB, free: 64.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00128/0.3125, allocations: 486.8 kB / 497.9 MB, free: 63.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005506/0.313, allocations: 316.2 kB / 498.2 MB, free: 63.66 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000145/0.3132, allocations: 66.2 kB / 498.2 MB, free: 63.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00153/0.3147, allocations: 1.814 MB / 0.4883 GB, free: 62.11 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.3147, allocations: 11.41 kB / 0.4883 GB, free: 62.1 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002617/0.3173, allocations: 2.379 MB / 0.4907 GB, free: 59.76 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007623/0.3181, allocations: 404.2 kB / 0.4911 GB, free: 59.61 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002847/0.3184, allocations: 77.05 kB / 0.4911 GB, free: 59.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008527/0.3192, allocations: 162.1 kB / 0.4913 GB, free: 59.46 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003012/0.3195, allocations: 251.7 kB / 0.4915 GB, free: 59.26 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.965e-05/0.3196, allocations: 63.72 kB / 0.4916 GB, free: 59.22 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001072/0.3207, allocations: 1.337 MB / 0.4929 GB, free: 58.11 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3207, allocations: 0 / 0.4929 GB, free: 58.11 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002496/0.3232, allocations: 1.761 MB / 0.4946 GB, free: 56.77 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 (256): * Single equations (assignments): 242 * 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.00119/0.3244, allocations: 0.6127 MB / 0.4952 GB, free: 56.49 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004757/0.3291, allocations: 3.993 MB / 0.4991 GB, free: 53 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.183e-05/0.3292, allocations: 36.62 kB / 0.4991 GB, free: 52.96 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.3303, allocations: 0.9538 MB / 0.5001 GB, free: 52.12 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/0.3319, allocations: 0.6265 MB / 0.5007 GB, free: 51.71 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007363/0.3393, allocations: 6.445 MB / 0.507 GB, free: 45.55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004455/0.3398, allocations: 0.6211 MB / 0.5076 GB, free: 44.92 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001618/0.3414, allocations: 0.5148 MB / 0.5081 GB, free: 44.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/0.3425, allocations: 0.6104 MB / 0.5087 GB, free: 43.82 MB / 442.7 MB Notification: Performance of SimCode: time 2.204e-06/0.3425, allocations: 0 / 0.5087 GB, free: 43.82 MB / 442.7 MB Notification: Performance of Templates: time 0.05406/0.3965, allocations: 53.02 MB / 0.5605 GB, free: 7.344 MB / 458.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 -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 656] Reference file matches [Calling sys.exit(0), Time elapsed: 8.945700099691749]