Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 72.95 kB / 20.74 MB, free: 3.754 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.001329/0.001329, allocations: 169 kB / 24.17 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.7693/0.7693, 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.4017/0.4017, allocations: 90.87 MB / 329.2 MB, free: 14.25 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.WTG3CurrentSource1,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|WTG3.injector.PInjPu|WTG3.injector.QInjPu|WTG3.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1") translateModel(Dynawo.Examples.Wind.WECC.WTG3CurrentSource1,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|WTG3.injector.PInjPu|WTG3.injector.QInjPu|WTG3.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 3.938 kB / 386.6 MB, free: 5.383 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.168e-05/2.346e-05, allocations: 6.312 kB / 386.6 MB, free: 5.375 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG3CurrentSource1): time 0.01351/0.01354, allocations: 16.66 MB / 403.2 MB, free: 4.633 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01197/0.02551, allocations: 8.186 MB / 411.4 MB, free: 12.43 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002466/0.02797, allocations: 111.2 kB / 411.5 MB, free: 12.32 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001879/0.02985, allocations: 1.124 MB / 412.6 MB, free: 11.18 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.003351/0.0332, allocations: 1.68 MB / 414.3 MB, free: 9.492 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.004975/0.03818, allocations: 3.759 MB / 418.1 MB, free: 5.727 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00597/0.04415, allocations: 6.681 MB / 424.8 MB, free: 15.02 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002189/0.04634, allocations: 1.553 MB / 426.3 MB, free: 13.38 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002532/0.04887, allocations: 2.271 MB / 428.6 MB, free: 11.11 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005151/0.05402, allocations: 1.993 MB / 430.6 MB, free: 9.105 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007234/0.05474, allocations: 0.7031 MB / 431.3 MB, free: 8.402 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004317/0.05906, allocations: 1.035 MB / 432.3 MB, free: 7.367 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001011/0.06007, allocations: 1.495 MB / 433.8 MB, free: 5.867 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001339/0.06141, allocations: 1.788 MB / 435.6 MB, free: 4.074 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01118/0.07259, allocations: 4.643 MB / 440.2 MB, free: 15.41 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.07259, allocations: 0 / 440.2 MB, free: 15.41 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.0726, allocations: 0 / 440.2 MB, free: 15.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.714e-05/0.07263, allocations: 0 / 440.2 MB, free: 15.41 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.02267/0.09531, allocations: 6.746 MB / 447 MB, free: 8.578 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.09534, allocations: 8.031 kB / 447 MB, free: 8.57 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006645/0.102, allocations: 1.496 MB / 448.5 MB, free: 7.074 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002503/0.1045, allocations: 2.092 MB / 450.6 MB, free: 4.906 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004954/0.105, allocations: 1.187 MB / 451.8 MB, free: 3.516 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003184/0.1053, allocations: 375.9 kB / 452.1 MB, free: 3.148 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00308/0.1084, allocations: 3.42 MB / 455.6 MB, free: 15.41 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.495e-05/0.1084, allocations: 7.938 kB / 455.6 MB, free: 15.4 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001898/0.1086, allocations: 152 kB / 455.7 MB, free: 15.25 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.985e-05/0.1087, allocations: 84 kB / 455.8 MB, free: 15.17 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001491/0.1101, allocations: 1.085 MB / 456.9 MB, free: 14.07 MB / 442.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.008731/0.1189, allocations: 9.421 MB / 466.3 MB, free: 4.422 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002174/0.1211, allocations: 1.691 MB / 468 MB, free: 2.707 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000647/0.1217, allocations: 467.9 kB / 468.5 MB, free: 2.25 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001805/0.1219, allocations: 65.97 kB / 468.5 MB, free: 2.184 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001098/0.123, allocations: 1.179 MB / 469.7 MB, free: 0.9492 MB / 442.7 MB Notification: Performance of pre-optimization done (n=293): time 4.058e-06/0.123, allocations: 0 / 469.7 MB, free: 0.9492 MB / 442.7 MB Notification: Performance of matching and sorting (n=293): time 0.1617/0.2846, allocations: 1.999 MB / 471.7 MB, free: 71.22 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.683e-05/0.2847, allocations: 0.5781 MB / 472.3 MB, free: 70.56 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002707/0.2874, allocations: 2.971 MB / 475.2 MB, free: 70.22 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001602/0.2876, allocations: 92.73 kB / 475.3 MB, free: 70.19 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007266/0.2883, allocations: 1.427 MB / 476.8 MB, free: 70.08 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000455/0.2888, allocations: 1.052 MB / 477.8 MB, free: 69.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008143/0.2896, allocations: 0.8365 MB / 478.7 MB, free: 69.44 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 2.947e-05/0.2896, allocations: 305.4 kB / 479 MB, free: 69.14 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001241/0.2909, allocations: 0.7726 MB / 479.7 MB, free: 69.06 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0014/0.2923, allocations: 1.903 MB / 481.6 MB, free: 67.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003476/0.2957, allocations: 3.381 MB / 485 MB, free: 67.11 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.197e-05/0.2958, allocations: 3.25 kB / 485 MB, free: 67.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=584) (initialization): time 0.003839/0.2996, allocations: 2.938 MB / 487.9 MB, free: 66.88 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.299e-05/0.2997, allocations: 71.56 kB / 488 MB, free: 66.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/0.2997, allocations: 16.58 kB / 488 MB, free: 66.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006132/0.3003, allocations: 331.5 kB / 488.4 MB, free: 66.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002563/0.3028, allocations: 1.25 MB / 489.6 MB, free: 66.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001688/0.3045, allocations: 1.831 MB / 491.4 MB, free: 65.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.306, allocations: 452.5 kB / 491.9 MB, free: 65.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001635/0.3062, allocations: 114.6 kB / 492 MB, free: 65.52 MB / 442.7 MB Warning: Assuming fixed start value for the following 36 variables: WTG3.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG3.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG3.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.HvTfo.running:DISCRETE(flow=false start = WTG3.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_wtgp.limitedIntegrator.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.limitedIntegrator.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgp.limitedIntegrator1.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.limitedIntegrator1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_wtgq.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.omegaRefWTGQPu0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.limitedIntegratorFreeze.y:VARIABLE(flow=false start = WTG3.wecc_wtgq.limitedIntegratorFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG3.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG3.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG3.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG3.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG3.wecc_repc.leadLag.X0[1] * WTG3.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG3.injector.running:DISCRETE(flow=false start = WTG3.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG3.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.PConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG3.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG3.LvTfo.running:DISCRETE(flow=false start = WTG3.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG3.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002004/0.3082, allocations: 1.098 MB / 493.1 MB, free: 65.34 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00138/0.3095, allocations: 1.9 MB / 495 MB, free: 64.12 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003381/0.3129, allocations: 3.351 MB / 498.3 MB, free: 62.57 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.181e-05/0.3129, allocations: 4 kB / 498.3 MB, free: 62.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=584) (initialization_lambda0): time 0.003466/0.3164, allocations: 2.94 MB / 0.4895 GB, free: 60.39 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.169e-05/0.3164, allocations: 72 kB / 0.4896 GB, free: 60.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.3165, allocations: 12 kB / 0.4896 GB, free: 60.33 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005148/0.317, allocations: 331.7 kB / 0.4899 GB, free: 60.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002419/0.3194, allocations: 1.245 MB / 0.4911 GB, free: 59.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001547/0.3209, allocations: 1.842 MB / 0.4929 GB, free: 57.35 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/0.3224, allocations: 430.2 kB / 0.4934 GB, free: 57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001581/0.3225, allocations: 114.7 kB / 0.4935 GB, free: 56.92 MB / 442.7 MB Warning: Assuming fixed start value for the following 36 variables: WTG3.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG3.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG3.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.HvTfo.running:DISCRETE(flow=false start = WTG3.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_wtgp.limitedIntegrator.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.limitedIntegrator.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgp.limitedIntegrator1.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.limitedIntegrator1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_wtgq.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.omegaRefWTGQPu0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.limitedIntegratorFreeze.y:VARIABLE(flow=false start = WTG3.wecc_wtgq.limitedIntegratorFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG3.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG3.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG3.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG3.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG3.wecc_repc.leadLag.X0[1] * WTG3.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG3.injector.running:DISCRETE(flow=false start = WTG3.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG3.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.PConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG3.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG3.LvTfo.running:DISCRETE(flow=false start = WTG3.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG3.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 75 ($PRE.WTG3.LvTfo.state,WTG3.LvTfo.state,$PRE.WTG3.injector.state,WTG3.injector.state,$PRE.WTG3.HvTfo.state,WTG3.HvTfo.state,$PRE.line.state,line.state,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreeze.integrator.local_reset,WTG3.wecc_wtgt.dPhi.local_reset,WTG3.wecc_wtgt.dOmegaTurbine.local_reset,WTG3.wecc_wtgt.dOmegaGenerator.local_reset,WTG3.wecc_repc.limPID.I.local_reset,WTG3.wecc_repc.limPIDFreeze.I.resetLocal,WTG3.pll.integrator.local_reset,WTG3.pll.limIntegrator.local_reset,WTG3.wecc_reec.limPIDFreeze.I.resetLocal,WTG3.wecc_reec.varLimPIDFreeze.I.resetLocal,WTG3.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,WTG3.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,line.switchOffSignal1,line.switchOffSignal2,WTG3.injector.switchOffSignal1,WTG3.injector.switchOffSignal2,WTG3.injector.switchOffSignal3,$PRE.line.running,$PRE.WTG3.HvTfo.running,$PRE.WTG3.wecc_regc.offDelay.delaySignal,$PRE.WTG3.wecc_regc.offDelay.tNext,$PRE.WTG3.injector.running,$PRE.WTG3.wecc_reec.iqInjectionLogic.vDip,$PRE.WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.WTG3.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$PRE.WTG3.LvTfo.running,WTG3.wecc_regc.QConv0PuPos.k,WTG3.wecc_regc.QConv0PuNeg.k,$PRE.WTG3.wecc_reec.currentLimitsCalculation1.vDip,$PRE.WTG3.wecc_regc.offDelay.u,WTG3.LvTfo.running,WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG3.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG3.wecc_reec.currentLimitsCalculation1.vDip,WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG3.wecc_reec.iqInjectionLogic.vDip,WTG3.injector.running,WTG3.wecc_repc.freeze,WTG3.wecc_regc.and2.y,WTG3.wecc_regc.and1.y,WTG3.wecc_regc.and1.u[2],WTG3.wecc_regc.offDelay.tNext,WTG3.wecc_regc.offDelay.delaySignal,WTG3.wecc_regc.offDelay.u,WTG3.HvTfo.running,line.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition15,$whenCondition14,$whenCondition17,$whenCondition16,$whenCondition19,$whenCondition18,$whenCondition20) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (545): * Single equations (assignments): 543 * 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.0006765/0.3232, allocations: 0.5834 MB / 0.494 GB, free: 56.52 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003863/0.3236, allocations: 357.7 kB / 0.4944 GB, free: 56.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002203/0.3258, allocations: 1.776 MB / 0.4961 GB, free: 54.67 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.3258, allocations: 30.08 kB / 0.4961 GB, free: 54.64 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.3258, allocations: 4 kB / 0.4961 GB, free: 54.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.659e-05/0.3258, allocations: 23.88 kB / 0.4962 GB, free: 54.61 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005015/0.3309, allocations: 4.128 MB / 0.5002 GB, free: 51.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.3309, allocations: 6.906 kB / 0.5002 GB, free: 51.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002263/0.3331, allocations: 0.8949 MB / 0.5011 GB, free: 50.37 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000512/0.3336, allocations: 312.2 kB / 0.5014 GB, free: 50.09 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001425/0.3338, allocations: 81.45 kB / 0.5015 GB, free: 50.06 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001498/0.3353, allocations: 1.81 MB / 0.5032 GB, free: 48.41 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.3353, allocations: 7 kB / 0.5032 GB, free: 48.4 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002788/0.3381, allocations: 2.624 MB / 0.5058 GB, free: 45.81 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000779/0.3389, allocations: 472.9 kB / 0.5062 GB, free: 45.36 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002957/0.3391, allocations: 83.23 kB / 0.5063 GB, free: 45.33 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009005/0.34, allocations: 199.8 kB / 0.5065 GB, free: 45.17 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003205/0.3404, allocations: 292.3 kB / 0.5068 GB, free: 44.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-05/0.3405, allocations: 74.58 kB / 0.5069 GB, free: 44.9 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001088/0.3416, allocations: 1.557 MB / 0.5084 GB, free: 43.57 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3416, allocations: 4 kB / 0.5084 GB, free: 43.57 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002525/0.3441, allocations: 1.978 MB / 0.5103 GB, free: 41.77 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 28 (WTG3.wecc_wtgp.limitedIntegrator.y,WTG3.wecc_wtgp.limitedIntegrator1.y,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreeze.integrator.y,WTG3.wecc_wtgq.firstOrder.y,WTG3.wecc_wtgq.firstOrder1.y,WTG3.wecc_wtgq.limitedIntegratorFreeze.y,WTG3.wecc_wtgt.dPhi.y,WTG3.wecc_wtgt.dOmegaTurbine.y,WTG3.wecc_wtgt.dOmegaGenerator.y,WTG3.wecc_regc.rateLimFirstOrderFreeze2.y,WTG3.wecc_regc.rateLimFirstOrderFreeze1.y,WTG3.wecc_regc.firstOrder.y,WTG3.wecc_repc.firstOrder.y,WTG3.wecc_repc.limPID.I.y,WTG3.wecc_repc.firstOrder1.y,WTG3.wecc_repc.firstOrder2.y,WTG3.wecc_repc.firstOrder3.y,WTG3.wecc_repc.limPIDFreeze.I.y,WTG3.wecc_repc.leadLag.x_scaled[1],WTG3.pll.integrator.y,WTG3.pll.limIntegrator.y,WTG3.wecc_reec.firstOrder.y,WTG3.wecc_reec.firstOrder1.y,WTG3.wecc_reec.limPIDFreeze.I.y,WTG3.wecc_reec.rateLimFirstOrderFreeze1.y,WTG3.wecc_reec.slewRateLimiter.y,WTG3.wecc_reec.rateLimFirstOrderFreeze.y,WTG3.wecc_reec.varLimPIDFreeze.I.y) * Number of discrete variables: 40 ($whenCondition20,$whenCondition18,$whenCondition19,$whenCondition16,$whenCondition17,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running,line.state,WTG3.HvTfo.running,WTG3.HvTfo.state,WTG3.wecc_regc.offDelay.u,WTG3.wecc_regc.offDelay.delaySignal,WTG3.wecc_regc.offDelay.tNext,WTG3.wecc_regc.and1.u[2],WTG3.wecc_regc.and1.y,WTG3.wecc_regc.and2.y,WTG3.wecc_repc.freeze,WTG3.injector.running,WTG3.injector.state,WTG3.wecc_reec.iqInjectionLogic.vDip,WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG3.wecc_reec.currentLimitsCalculation1.vDip,WTG3.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG3.LvTfo.running,WTG3.LvTfo.state) * Number of discrete states: 10 (WTG3.LvTfo.running,WTG3.injector.running,WTG3.HvTfo.running,line.running,WTG3.wecc_regc.offDelay.u,WTG3.wecc_reec.currentLimitsCalculation1.vDip,WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG3.wecc_reec.currentLimitsCalculation1.ipMaxPu,WTG3.wecc_reec.iqInjectionLogic.vDip,WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (290): * Single equations (assignments): 276 * 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.001072/0.3452, allocations: 0.6118 MB / 0.5109 GB, free: 41.49 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00452/0.3497, allocations: 4.34 MB / 0.5152 GB, free: 37.48 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-05/0.3497, allocations: 40.5 kB / 0.5152 GB, free: 37.44 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.3508, allocations: 1.054 MB / 0.5162 GB, free: 36.46 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001579/0.3524, allocations: 0.73 MB / 0.5169 GB, free: 35.76 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007536/0.3599, allocations: 7.554 MB / 0.5243 GB, free: 28.12 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004361/0.3603, allocations: 0.7153 MB / 0.525 GB, free: 27.38 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001493/0.3618, allocations: 0.5887 MB / 0.5256 GB, free: 26.79 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00125/0.3631, allocations: 0.6962 MB / 0.5263 GB, free: 26.09 MB / 442.7 MB Notification: Performance of SimCode: time 6.21e-07/0.3631, allocations: 4 kB / 0.5263 GB, free: 26.08 MB / 442.7 MB Notification: Performance of Templates: time 0.06264/0.4257, allocations: 58.01 MB / 0.5829 GB, free: 0.5742 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.sim & ./Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1 -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -variableFilter=.* -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Wind.WECC.WTG3CurrentSource1_res.csv","",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.149153116159141]