Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS.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.0007488/0.0007488, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009504/0.001699, 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.000973/0.000973, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001259/0.002232, 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.8242/0.8242, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.146/0.9703, allocations: 49.51 MB / 220.7 MB, free: 1.355 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 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.4228/0.4228, allocations: 90.85 MB / 312.3 MB, free: 14.05 MB / 314.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0484/0.4712, allocations: 32.13 MB / 344.4 MB, free: 14.32 MB / 346.7 MB " [Timeout remaining time 180] 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.WTG4BCurrentSourceExternalPCS,tolerance=0.001,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS") translateModel(Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS,tolerance=0.001,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 346 MB, free: 12.78 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.4e-05, allocations: 5.266 kB / 346 MB, free: 12.78 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS): time 0.0161/0.01613, allocations: 15 MB / 361 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01373/0.02986, allocations: 7.324 MB / 368.3 MB, free: 6.371 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003953/0.03381, allocations: 99.38 kB / 368.4 MB, free: 6.273 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002138/0.03595, allocations: 0.9728 MB / 369.4 MB, free: 5.293 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.004988/0.04093, allocations: 1.58 MB / 370.9 MB, free: 3.703 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.006642/0.04758, allocations: 3.247 MB / 374.2 MB, free: 460 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.006437/0.05401, allocations: 5.5 MB / 379.7 MB, free: 10.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00145/0.05546, allocations: 1.288 MB / 381 MB, free: 9.547 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003093/0.05856, allocations: 3.685 MB / 384.7 MB, free: 5.777 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001171/0.05973, allocations: 1.713 MB / 386.4 MB, free: 4.059 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004757/0.0602, allocations: 0.582 MB / 387 MB, free: 3.477 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.06126, allocations: 0.9408 MB / 387.9 MB, free: 2.535 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005389/0.06179, allocations: 0.9541 MB / 388.8 MB, free: 1.578 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008092/0.0626, allocations: 1.185 MB / 390 MB, free: 400 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003028/0.06563, allocations: 3.647 MB / 393.7 MB, free: 12.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.202e-05/0.06564, allocations: 4 kB / 393.7 MB, free: 12.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.06564, allocations: 0 / 393.7 MB, free: 12.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.339e-05/0.06568, allocations: 0 / 393.7 MB, free: 12.73 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: 759 * Number of variables: 759 Notification: Performance of Generate backend data structure: time 0.007848/0.07353, allocations: 6.921 MB / 400.6 MB, free: 5.691 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.07356, allocations: 12.03 kB / 400.6 MB, free: 5.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003536/0.0771, allocations: 1.644 MB / 402.3 MB, free: 4.035 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002016/0.07911, allocations: 1.718 MB / 404 MB, free: 2.273 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000521/0.07963, allocations: 1.131 MB / 405.1 MB, free: 0.9375 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002855/0.07992, allocations: 319.9 kB / 405.4 MB, free: 0.625 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002576/0.08249, allocations: 2.877 MB / 408.3 MB, free: 13.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.742e-05/0.08253, allocations: 4 kB / 408.3 MB, free: 13.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001706/0.0827, allocations: 128 kB / 408.4 MB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.529e-05/0.08274, allocations: 76 kB / 408.5 MB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/0.0841, allocations: 0.9662 MB / 409.5 MB, free: 12.29 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.007361/0.09146, allocations: 7.546 MB / 417 MB, free: 4.594 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001763/0.09322, allocations: 1.45 MB / 418.5 MB, free: 3.117 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005084/0.09373, allocations: 439 kB / 418.9 MB, free: 2.691 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001803/0.09391, allocations: 65.97 kB / 419 MB, free: 2.625 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001055/0.09496, allocations: 1.16 MB / 420.1 MB, free: 1.406 MB / 410.7 MB Notification: Performance of pre-optimization done (n=276): time 3.376e-06/0.09497, allocations: 0 / 420.1 MB, free: 1.406 MB / 410.7 MB Notification: Performance of matching and sorting (n=276): time 0.003326/0.09829, allocations: 2.055 MB / 422.2 MB, free: 15.31 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/0.09835, allocations: 131 kB / 422.3 MB, free: 15.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001689/0.1, allocations: 2.451 MB / 424.7 MB, free: 12.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001321/0.1002, allocations: 101.7 kB / 424.8 MB, free: 12.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005589/0.1007, allocations: 1.173 MB / 426 MB, free: 11.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004992/0.1012, allocations: 0.9685 MB / 427 MB, free: 10.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006844/0.1019, allocations: 0.7396 MB / 427.7 MB, free: 9.684 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.964e-05/0.102, allocations: 305.1 kB / 428 MB, free: 9.383 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/0.103, allocations: 0.7582 MB / 428.8 MB, free: 8.605 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001407/0.1044, allocations: 1.672 MB / 430.5 MB, free: 6.648 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003474/0.1079, allocations: 3.351 MB / 433.8 MB, free: 3.125 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.248e-06/0.1079, allocations: 0 / 433.8 MB, free: 3.125 MB / 426.7 MB Notification: Performance of matching and sorting (n=527) (initialization): time 0.00353/0.1115, allocations: 2.815 MB / 436.6 MB, free: 292 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.177e-05/0.1115, allocations: 69.66 kB / 436.7 MB, free: 216 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.1115, allocations: 15.94 kB / 436.7 MB, free: 200 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007022/0.1122, allocations: 409.5 kB / 437.1 MB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002002/0.1142, allocations: 0.9207 MB / 438 MB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00223/0.1165, allocations: 2.018 MB / 440 MB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/0.1177, allocations: 381.9 kB / 440.4 MB, free: 12.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001434/0.1178, allocations: 107.9 kB / 440.5 MB, free: 12.29 MB / 442.7 MB Warning: Assuming fixed start value for the following 33 variables: WTG4B.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4B.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4B.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) ZPcs.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = ZPcs.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Zcc.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Zcc.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Zcc.running:DISCRETE(flow=false start = Zcc.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean ZPcs.running:DISCRETE(flow=false start = ZPcs.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4B.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG4B.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG4B.injector.running:DISCRETE(flow=false start = WTG4B.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.LvTfo.running:DISCRETE(flow=false start = WTG4B.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.HvTfo.running:DISCRETE(flow=false start = WTG4B.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4B.wecc_repc.leadLag.X0[1] * WTG4B.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4B.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean WTG4B.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001686/0.1195, allocations: 1.06 MB / 441.6 MB, free: 11.23 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001359/0.1208, allocations: 1.664 MB / 443.2 MB, free: 9.281 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003405/0.1242, allocations: 3.328 MB / 446.6 MB, free: 5.777 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.816e-06/0.1243, allocations: 7.938 kB / 446.6 MB, free: 5.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=527) (initialization_lambda0): time 0.003403/0.1277, allocations: 2.8 MB / 449.4 MB, free: 2.945 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.943e-05/0.1277, allocations: 77.09 kB / 449.5 MB, free: 2.867 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.1277, allocations: 12 kB / 449.5 MB, free: 2.855 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000619/0.1283, allocations: 400.3 kB / 449.9 MB, free: 2.461 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001826/0.1302, allocations: 0.909 MB / 450.8 MB, free: 1.551 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1912/0.3214, allocations: 2.021 MB / 452.8 MB, free: 65.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002301/0.3237, allocations: 361.5 kB / 453.1 MB, free: 65.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002566/0.324, allocations: 104.4 kB / 453.2 MB, free: 65.77 MB / 442.7 MB Warning: Assuming fixed start value for the following 33 variables: WTG4B.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4B.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4B.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) ZPcs.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = ZPcs.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Zcc.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Zcc.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Zcc.running:DISCRETE(flow=false start = Zcc.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean ZPcs.running:DISCRETE(flow=false start = ZPcs.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4B.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG4B.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG4B.injector.running:DISCRETE(flow=false start = WTG4B.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.LvTfo.running:DISCRETE(flow=false start = WTG4B.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.HvTfo.running:DISCRETE(flow=false start = WTG4B.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4B.wecc_repc.leadLag.X0[1] * WTG4B.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4B.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean WTG4B.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 80 ($PRE.WTG4B.HvTfo.state,WTG4B.HvTfo.state,$PRE.WTG4B.LvTfo.state,WTG4B.LvTfo.state,$PRE.WTG4B.injector.state,WTG4B.injector.state,$PRE.ZPcs.state,ZPcs.state,$PRE.Zcc.state,Zcc.state,WTG4B.wecc_reec.limPIDFreeze.I.resetLocal,WTG4B.wecc_reec.varLimPIDFreeze.I.resetLocal,WTG4B.pll.integrator.local_reset,WTG4B.pll.limIntegrator.local_reset,WTG4B.wecc_repc.limPID.I.local_reset,WTG4B.wecc_repc.limPIDFreeze.I.resetLocal,WTG4B.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,WTG4B.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,ZPcs.switchOffSignal1,ZPcs.switchOffSignal2,Zcc.switchOffSignal1,Zcc.switchOffSignal2,WTG4B.injector.switchOffSignal1,WTG4B.injector.switchOffSignal2,WTG4B.injector.switchOffSignal3,$PRE.Zcc.running,$PRE.ZPcs.running,$PRE.WTG4B.wecc_reec.iqInjectionLogic.vDip,$PRE.WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$PRE.WTG4B.wecc_regc.offDelay.delaySignal,$PRE.WTG4B.wecc_regc.offDelay.tNext,$PRE.WTG4B.injector.running,$PRE.WTG4B.LvTfo.running,$PRE.WTG4B.HvTfo.running,WTG4B.wecc_regc.QConv0PuPos.k,WTG4B.wecc_regc.QConv0PuNeg.k,$PRE.WTG4B.wecc_regc.offDelay.u,$PRE.WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_repc.freeze,WTG4B.HvTfo.running,WTG4B.LvTfo.running,WTG4B.injector.running,WTG4B.wecc_regc.and2.y,WTG4B.wecc_regc.and1.y,WTG4B.wecc_regc.and1.u[2],WTG4B.wecc_regc.offDelay.tNext,WTG4B.wecc_regc.offDelay.delaySignal,WTG4B.wecc_regc.offDelay.u,WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4B.wecc_reec.iqInjectionLogic.vDip,ZPcs.running,Zcc.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition12,$whenCondition11,$whenCondition14,$whenCondition13,$whenCondition16,$whenCondition15,$whenCondition17,$whenCondition19,$whenCondition18,$whenCondition20,$whenCondition22,$whenCondition21,$whenCondition23) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (485): * Single equations (assignments): 483 * 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 {(14,4,31.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008242/0.3248, allocations: 0.5445 MB / 453.8 MB, free: 65.56 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005628/0.3254, allocations: 311.6 kB / 454.1 MB, free: 65.56 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002767/0.3281, allocations: 1.739 MB / 455.8 MB, free: 65.4 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.68e-05/0.3281, allocations: 26.53 kB / 455.9 MB, free: 65.4 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.3281, allocations: 3.969 kB / 455.9 MB, free: 65.4 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.689e-05/0.3282, allocations: 15.27 kB / 455.9 MB, free: 65.4 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005314/0.3335, allocations: 3.837 MB / 459.7 MB, free: 64.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.3335, allocations: 6.281 kB / 459.7 MB, free: 64.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001522/0.335, allocations: 0.5662 MB / 460.3 MB, free: 64.82 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007425/0.3357, allocations: 410.8 kB / 460.7 MB, free: 64.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006412/0.3364, allocations: 390.2 kB / 461.1 MB, free: 64.81 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001132/0.3365, allocations: 71.56 kB / 461.1 MB, free: 64.81 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001895/0.3384, allocations: 2.005 MB / 463.1 MB, free: 63.69 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.3384, allocations: 13.81 kB / 463.2 MB, free: 63.68 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002969/0.3414, allocations: 2.551 MB / 465.7 MB, free: 63.04 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002725/0.3416, allocations: 79.02 kB / 465.8 MB, free: 63.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008222/0.3425, allocations: 171.8 kB / 466 MB, free: 63.04 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003635/0.3428, allocations: 262.3 kB / 466.2 MB, free: 63.03 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/0.3429, allocations: 72.42 kB / 466.3 MB, free: 63.03 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001126/0.3441, allocations: 1.272 MB / 467.6 MB, free: 62.93 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3441, allocations: 3.562 kB / 467.6 MB, free: 62.93 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002631/0.3467, allocations: 1.75 MB / 469.3 MB, free: 62.93 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 19 (WTG4B.wecc_reec.firstOrder.y,WTG4B.wecc_reec.firstOrder1.y,WTG4B.wecc_reec.limPIDFreeze.I.y,WTG4B.wecc_reec.rateLimFirstOrderFreeze1.y,WTG4B.wecc_reec.slewRateLimiter.y,WTG4B.wecc_reec.rateLimFirstOrderFreeze.y,WTG4B.wecc_reec.varLimPIDFreeze.I.y,WTG4B.wecc_regc.rateLimFirstOrderFreeze2.y,WTG4B.wecc_regc.rateLimFirstOrderFreeze1.y,WTG4B.wecc_regc.firstOrder.y,WTG4B.pll.integrator.y,WTG4B.pll.limIntegrator.y,WTG4B.wecc_repc.firstOrder.y,WTG4B.wecc_repc.limPID.I.y,WTG4B.wecc_repc.firstOrder1.y,WTG4B.wecc_repc.firstOrder2.y,WTG4B.wecc_repc.firstOrder3.y,WTG4B.wecc_repc.limPIDFreeze.I.y,WTG4B.wecc_repc.leadLag.x_scaled[1]) * Number of discrete variables: 45 ($whenCondition23,$whenCondition21,$whenCondition22,$whenCondition20,$whenCondition18,$whenCondition19,$whenCondition17,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,Zcc.running,Zcc.state,ZPcs.running,ZPcs.state,WTG4B.wecc_reec.iqInjectionLogic.vDip,WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4B.wecc_regc.offDelay.u,WTG4B.wecc_regc.offDelay.delaySignal,WTG4B.wecc_regc.offDelay.tNext,WTG4B.wecc_regc.and1.u[2],WTG4B.wecc_regc.and1.y,WTG4B.wecc_regc.and2.y,WTG4B.injector.running,WTG4B.injector.state,WTG4B.LvTfo.running,WTG4B.LvTfo.state,WTG4B.HvTfo.running,WTG4B.HvTfo.state,WTG4B.wecc_repc.freeze) * Number of discrete states: 11 (WTG4B.HvTfo.running,WTG4B.LvTfo.running,WTG4B.injector.running,ZPcs.running,Zcc.running,WTG4B.wecc_regc.offDelay.u,WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxPu,WTG4B.wecc_reec.iqInjectionLogic.vDip,WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (269): * Single equations (assignments): 253 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * 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 {(14,4,31.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00126/0.348, allocations: 0.6582 MB / 470 MB, free: 62.82 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004855/0.3528, allocations: 4.296 MB / 474.3 MB, free: 62.17 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.547e-05/0.3529, allocations: 58.83 kB / 474.3 MB, free: 62.16 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001293/0.3542, allocations: 1.201 MB / 475.5 MB, free: 61.97 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001834/0.356, allocations: 2.667 MB / 478.2 MB, free: 60.09 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00712/0.3631, allocations: 6.552 MB / 484.7 MB, free: 55.28 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.3635, allocations: 0.6225 MB / 485.4 MB, free: 54.82 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001255/0.3648, allocations: 0.5188 MB / 485.9 MB, free: 54.45 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/0.3659, allocations: 0.6246 MB / 486.5 MB, free: 53.93 MB / 442.7 MB Notification: Performance of SimCode: time 1.022e-06/0.3659, allocations: 0 / 486.5 MB, free: 53.93 MB / 442.7 MB Notification: Performance of Templates: time 0.05201/0.4179, allocations: 58.22 MB / 0.532 GB, free: 14.89 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS.makefile [Timeout 660] (rm -f Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS.pipe ; mkfifo Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS.pipe >> ../files/Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS.sim & ./Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS -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.WTG4BCurrentSourceExternalPCS.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.458870390430093]