Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_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.0007021/0.0007021, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000897/0.001599, 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.0006893/0.0006893, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009/0.001589, 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.8136/0.8136, allocations: 158.6 MB / 171.1 MB, free: 2.516 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1475/0.9611, allocations: 49.51 MB / 220.7 MB, free: 1.363 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/package.mo): time 0.4587/0.4587, allocations: 90.84 MB / 312.2 MB, free: 14.06 MB / 314.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05755/0.5162, allocations: 32.15 MB / 344.4 MB, free: 14.32 MB / 346.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/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="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource") translateModel(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource,tolerance=0.0001,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 346 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.677e-05, allocations: 6.25 kB / 346 MB, free: 12.72 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource): time 0.01843/0.01846, allocations: 15.11 MB / 361.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01557/0.03403, allocations: 7.421 MB / 368.5 MB, free: 6.105 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002294/0.03632, allocations: 103.3 kB / 368.6 MB, free: 6.004 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001731/0.03805, allocations: 0.996 MB / 369.6 MB, free: 5 MB / 362.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.002963/0.04101, allocations: 1.587 MB / 371.2 MB, free: 3.402 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:90:3-90: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.00399/0.045, allocations: 3.15 MB / 374.3 MB, free: 252 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0044/0.0494, allocations: 5.617 MB / 380 MB, free: 10.62 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001617/0.05102, allocations: 1.34 MB / 381.3 MB, free: 9.188 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00336/0.05438, allocations: 3.758 MB / 385.1 MB, free: 5.344 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001503/0.05588, allocations: 1.736 MB / 386.8 MB, free: 3.602 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006384/0.05652, allocations: 0.6016 MB / 387.4 MB, free: 3 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.05767, allocations: 0.9409 MB / 388.3 MB, free: 2.059 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006176/0.05829, allocations: 0.9736 MB / 389.3 MB, free: 1.082 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009454/0.05924, allocations: 1.216 MB / 390.5 MB, free: 15.86 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005075/0.06431, allocations: 3.713 MB / 394.2 MB, free: 12.14 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.712e-05/0.06433, allocations: 0 / 394.2 MB, free: 12.14 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.06433, allocations: 0 / 394.2 MB, free: 12.14 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.661e-05/0.06442, allocations: 8 kB / 394.2 MB, free: 12.13 MB / 394.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.01037/0.07479, allocations: 6.89 MB / 401.1 MB, free: 5.141 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.07484, allocations: 12.03 kB / 401.1 MB, free: 5.129 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003468/0.07831, allocations: 1.39 MB / 402.5 MB, free: 3.738 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003375/0.08169, allocations: 1.795 MB / 404.3 MB, free: 1.898 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005212/0.08221, allocations: 1.023 MB / 405.4 MB, free: 0.6953 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004269/0.08263, allocations: 327.9 kB / 405.7 MB, free: 384 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003625/0.08626, allocations: 2.903 MB / 408.6 MB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.087e-05/0.0863, allocations: 7.938 kB / 408.6 MB, free: 13.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002018/0.0865, allocations: 132 kB / 408.7 MB, free: 13.06 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.069e-05/0.08654, allocations: 76 kB / 408.8 MB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001524/0.08807, allocations: 0.9574 MB / 409.7 MB, free: 12 MB / 410.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.01088/0.09895, allocations: 8.118 MB / 417.9 MB, free: 3.695 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002126/0.1011, allocations: 1.431 MB / 419.3 MB, free: 2.242 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000556/0.1016, allocations: 395.6 kB / 419.7 MB, free: 1.855 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002044/0.1018, allocations: 61.97 kB / 419.7 MB, free: 1.793 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001252/0.1031, allocations: 1.076 MB / 420.8 MB, free: 0.668 MB / 410.7 MB Notification: Performance of pre-optimization done (n=259): time 3.547e-06/0.1031, allocations: 0 / 420.8 MB, free: 0.668 MB / 410.7 MB Notification: Performance of matching and sorting (n=259): time 0.003603/0.1067, allocations: 1.842 MB / 422.7 MB, free: 14.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.28e-05/0.1068, allocations: 127 kB / 422.8 MB, free: 14.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002648/0.1094, allocations: 2.56 MB / 425.3 MB, free: 12.12 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001919/0.1096, allocations: 93.69 kB / 425.4 MB, free: 12.03 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008834/0.1105, allocations: 1.236 MB / 426.7 MB, free: 10.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007307/0.1112, allocations: 0.9259 MB / 427.6 MB, free: 9.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008521/0.1121, allocations: 0.7513 MB / 428.3 MB, free: 9.078 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.643e-05/0.1121, allocations: 309.1 kB / 428.6 MB, free: 8.773 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001126/0.1133, allocations: 0.723 MB / 429.4 MB, free: 8.031 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/0.1148, allocations: 1.674 MB / 431 MB, free: 6.062 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003727/0.1185, allocations: 3.278 MB / 434.3 MB, free: 2.602 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.711e-05/0.1185, allocations: 7.938 kB / 434.3 MB, free: 2.594 MB / 426.7 MB Notification: Performance of matching and sorting (n=526) (initialization): time 0.004342/0.1228, allocations: 2.706 MB / 437 MB, free: 15.86 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.076e-05/0.1229, allocations: 73.66 kB / 437.1 MB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.262e-05/0.1229, allocations: 12 kB / 437.1 MB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007291/0.1237, allocations: 332.5 kB / 437.4 MB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002078/0.1258, allocations: 0.9362 MB / 438.4 MB, free: 14.51 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002175/0.1279, allocations: 1.839 MB / 440.2 MB, free: 12.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002133/0.1301, allocations: 389.8 kB / 440.6 MB, free: 12.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002061/0.1303, allocations: 104 kB / 440.7 MB, free: 12.1 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.002482/0.1327, allocations: 1.027 MB / 441.7 MB, free: 11.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001853/0.1346, allocations: 1.654 MB / 443.4 MB, free: 9.129 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003795/0.1384, allocations: 3.26 MB / 446.6 MB, free: 5.688 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.335e-05/0.1384, allocations: 4 kB / 446.6 MB, free: 5.684 MB / 442.7 MB Notification: Performance of matching and sorting (n=526) (initialization_lambda0): time 0.004533/0.1429, allocations: 2.71 MB / 449.4 MB, free: 2.949 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.116e-05/0.143, allocations: 69.66 kB / 449.4 MB, free: 2.875 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.143, allocations: 8 kB / 449.4 MB, free: 2.867 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006437/0.1437, allocations: 328.5 kB / 449.8 MB, free: 2.543 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00204/0.1457, allocations: 0.9167 MB / 450.7 MB, free: 1.625 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2101/0.3558, allocations: 1.836 MB / 452.5 MB, free: 66.06 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003661/0.3594, allocations: 364.3 kB / 452.9 MB, free: 66.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006981/0.3601, allocations: 109.1 kB / 453 MB, free: 66.06 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.001299/0.3614, allocations: 0.5393 MB / 453.5 MB, free: 65.85 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009399/0.3624, allocations: 309.1 kB / 453.8 MB, free: 65.85 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003282/0.3656, allocations: 1.594 MB / 455.4 MB, free: 65.73 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.348e-05/0.3657, allocations: 30.56 kB / 455.4 MB, free: 65.73 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/0.3657, allocations: 3.844 kB / 455.4 MB, free: 65.73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.541e-05/0.3657, allocations: 12.95 kB / 455.5 MB, free: 65.73 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006377/0.3721, allocations: 3.688 MB / 459.1 MB, free: 65.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.809e-06/0.3721, allocations: 5.938 kB / 459.1 MB, free: 65.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001601/0.3737, allocations: 0.5456 MB / 459.7 MB, free: 65.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/0.3748, allocations: 413.7 kB / 460.1 MB, free: 65.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006558/0.3755, allocations: 314 kB / 460.4 MB, free: 65.19 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001217/0.3756, allocations: 70.41 kB / 460.5 MB, free: 65.19 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001935/0.3776, allocations: 1.831 MB / 462.3 MB, free: 64.06 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.3776, allocations: 9.562 kB / 462.3 MB, free: 64.06 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003337/0.3809, allocations: 2.389 MB / 464.7 MB, free: 63.43 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005405/0.3814, allocations: 76.22 kB / 464.8 MB, free: 63.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.3825, allocations: 168 kB / 464.9 MB, free: 63.43 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000372/0.3828, allocations: 243.1 kB / 465.2 MB, free: 63.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/0.383, allocations: 71.16 kB / 465.2 MB, free: 63.42 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001514/0.3845, allocations: 1.341 MB / 466.6 MB, free: 63.32 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3845, allocations: 0 / 466.6 MB, free: 63.32 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003154/0.3876, allocations: 1.758 MB / 468.3 MB, free: 63.32 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.00147/0.3891, allocations: 0.6437 MB / 469 MB, free: 63.22 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005893/0.395, allocations: 4.114 MB / 473.1 MB, free: 62.62 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001223/0.3951, allocations: 62.97 kB / 473.2 MB, free: 62.61 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001644/0.3968, allocations: 1.094 MB / 474.3 MB, free: 62.43 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002995/0.3998, allocations: 2.737 MB / 477 MB, free: 60.48 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009531/0.4093, allocations: 6.679 MB / 483.7 MB, free: 56.13 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005511/0.4098, allocations: 0.6297 MB / 484.3 MB, free: 55.68 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002006/0.4119, allocations: 0.5147 MB / 484.8 MB, free: 55.31 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00136/0.4132, allocations: 0.632 MB / 485.5 MB, free: 54.79 MB / 442.7 MB Notification: Performance of SimCode: time 2.144e-06/0.4132, allocations: 4 kB / 485.5 MB, free: 54.78 MB / 442.7 MB Notification: Performance of Templates: time 0.06267/0.4759, allocations: 56.21 MB / 0.529 GB, free: 1.801 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.makefile [Timeout 660] (rm -f Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe ; mkfifo Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe >> ../files/Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.sim & ./Dynawo_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 -lv LOG_STATS > Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.3053212240338326]