Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6.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.0009516/0.0009516, allocations: 91.55 kB / 20.97 MB, free: 3.582 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.0009095/0.0009095, allocations: 177 kB / 24.28 MB, free: 280 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.9205/0.9205, allocations: 158.6 MB / 186.1 MB, free: 2.906 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.5002/0.5002, allocations: 90.57 MB / 328.9 MB, free: 14.65 MB / 314.7 MB " [Timeout remaining time 179] 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) Running command: translateModel(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Unit.HvMeasurements.PPu|Unit.HvMeasurements.QPu|Unit.HvMeasurements.UPu|Unit.LvMeasurements.PPu|Unit.LvMeasurements.QPu|Unit.LvMeasurements.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6") translateModel(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Unit.HvMeasurements.PPu|Unit.HvMeasurements.QPu|Unit.HvMeasurements.UPu|Unit.LvMeasurements.PPu|Unit.LvMeasurements.QPu|Unit.LvMeasurements.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 428.9 MB, free: 11.04 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.805e-05/3.017e-05, allocations: 2.312 kB / 428.9 MB, free: 11.04 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6): time 0.02291/0.02294, allocations: 17.58 MB / 446.5 MB, free: 9.371 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01402/0.03695, allocations: 8.259 MB / 454.8 MB, free: 1.086 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003504/0.04046, allocations: 119.2 kB / 454.9 MB, free: 0.9688 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004243/0.0447, allocations: 1.252 MB / 456.1 MB, free: 15.71 MB / 442.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.008143/0.05284, allocations: 1.844 MB / 458 MB, free: 13.85 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:112:3-112: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.007449/0.06029, allocations: 3.864 MB / 461.9 MB, free: 9.98 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.009022/0.06931, allocations: 6.951 MB / 468.8 MB, free: 3.012 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003044/0.07236, allocations: 1.504 MB / 470.3 MB, free: 1.438 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1917/0.2641, allocations: 2.358 MB / 472.7 MB, free: 51.19 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003137/0.2672, allocations: 2.101 MB / 474.8 MB, free: 51.19 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002266/0.2695, allocations: 0.7065 MB / 475.5 MB, free: 51.19 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002457/0.2719, allocations: 1.08 MB / 476.6 MB, free: 51.19 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001196/0.2731, allocations: 1.558 MB / 478.1 MB, free: 51.19 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002474/0.2756, allocations: 1.831 MB / 479.9 MB, free: 51.08 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007267/0.2829, allocations: 4.79 MB / 484.7 MB, free: 50.42 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/0.2829, allocations: 0 / 484.7 MB, free: 50.42 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.2829, allocations: 0 / 484.7 MB, free: 50.42 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003155/0.2832, allocations: 3.469 kB / 484.7 MB, free: 50.42 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 891 * Number of variables: 891 Notification: Performance of Generate backend data structure: time 0.01434/0.2975, allocations: 7.044 MB / 491.8 MB, free: 47.52 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.2976, allocations: 8.656 kB / 491.8 MB, free: 47.52 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003567/0.3011, allocations: 1.451 MB / 493.2 MB, free: 47.16 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005789/0.3069, allocations: 3.466 MB / 496.7 MB, free: 46.23 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005048/0.3074, allocations: 0.9903 MB / 497.7 MB, free: 45.41 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006026/0.308, allocations: 380.1 kB / 498.1 MB, free: 45.4 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005539/0.3136, allocations: 3.719 MB / 0.49 GB, free: 43.79 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.867e-05/0.3136, allocations: 6.062 kB / 0.49 GB, free: 43.79 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002487/0.3139, allocations: 152.2 kB / 0.4902 GB, free: 43.68 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.898e-05/0.314, allocations: 90 kB / 0.4903 GB, free: 43.68 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003608/0.3176, allocations: 1.492 MB / 0.4917 GB, free: 43.45 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.01711/0.3347, allocations: 14.09 MB / 0.5055 GB, free: 34.02 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00433/0.339, allocations: 1.918 MB / 0.5073 GB, free: 33.52 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001409/0.3404, allocations: 0.6223 MB / 0.508 GB, free: 33.38 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002394/0.3407, allocations: 62.28 kB / 0.508 GB, free: 33.37 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002419/0.3431, allocations: 1.265 MB / 0.5092 GB, free: 32.96 MB / 442.7 MB Notification: Performance of pre-optimization done (n=290): time 9.969e-06/0.3431, allocations: 0 / 0.5092 GB, free: 32.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=290): time 0.00691/0.35, allocations: 2.794 MB / 0.512 GB, free: 32.17 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001676/0.3502, allocations: 0.6037 MB / 0.5126 GB, free: 31.47 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005898/0.3561, allocations: 3.59 MB / 0.5161 GB, free: 30.19 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009252/0.357, allocations: 99.3 kB / 0.5162 GB, free: 30.11 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001835/0.3588, allocations: 2.278 MB / 0.5184 GB, free: 28.35 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001589/0.3604, allocations: 1.037 MB / 0.5194 GB, free: 27.55 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001532/0.3619, allocations: 0.8492 MB / 0.5202 GB, free: 27.15 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.522e-05/0.362, allocations: 484.8 kB / 0.5207 GB, free: 26.67 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001747/0.3638, allocations: 0.8376 MB / 0.5215 GB, free: 26.49 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002156/0.3659, allocations: 2.184 MB / 0.5236 GB, free: 24.79 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005027/0.3709, allocations: 3.458 MB / 0.527 GB, free: 23.13 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.768e-05/0.371, allocations: 3.938 kB / 0.527 GB, free: 23.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.006644/0.3776, allocations: 3.625 MB / 0.5306 GB, free: 22 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.544e-05/0.3777, allocations: 71.33 kB / 0.5306 GB, free: 21.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.551e-05/0.3777, allocations: 10.47 kB / 0.5306 GB, free: 21.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007062/0.3784, allocations: 245.1 kB / 0.5309 GB, free: 21.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00321/0.3816, allocations: 1.265 MB / 0.5321 GB, free: 21.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002088/0.3837, allocations: 2.286 MB / 0.5343 GB, free: 18.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003071/0.3868, allocations: 456 kB / 0.5348 GB, free: 18.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003832/0.3872, allocations: 152.7 kB / 0.5349 GB, free: 18.25 MB / 442.7 MB Warning: Assuming fixed start value for the following 35 variables: Unit.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Unit.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Unit.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Unit.HvTfo.running:DISCRETE(flow=false start = Unit.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.wecc_wtgp.limitedIntegrator.y:VARIABLE(flow=false start = Unit.wecc_wtgp.limitedIntegrator.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgp.limitedIntegrator1.y:VARIABLE(flow=false start = Unit.wecc_wtgp.limitedIntegrator1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_wtgq.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_wtgp.omegaRefWTGQPu0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.limitedIntegratorFreeze.y:VARIABLE(flow=false start = Unit.wecc_wtgq.limitedIntegratorFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = Unit.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = Unit.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean Unit.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real Unit.wecc_repc.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = Unit.wecc_repc.leadLag.X0[1] * Unit.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Unit.injector.running:DISCRETE(flow=false start = Unit.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.wecc_reec.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = Unit.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = Unit.wecc_wtgp.PConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real Unit.LvTfo.running:DISCRETE(flow=false start = Unit.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.Pm0Pu:VARIABLE(unit = \"1\" fixed = true ) \"Initial mechanical power in pu (base SNom)\" type: Real Unit.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Unit.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003158/0.3903, allocations: 1.182 MB / 0.5361 GB, free: 17.23 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002153/0.3925, allocations: 2.171 MB / 0.5382 GB, free: 14.81 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004715/0.3972, allocations: 3.439 MB / 0.5416 GB, free: 11.16 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.521e-05/0.3972, allocations: 4 kB / 0.5416 GB, free: 11.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.007107/0.4043, allocations: 3.624 MB / 0.5451 GB, free: 7.527 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.231e-05/0.4044, allocations: 65.67 kB / 0.5452 GB, free: 7.457 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.251e-05/0.4044, allocations: 12 kB / 0.5452 GB, free: 7.445 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006585/0.4051, allocations: 233.7 kB / 0.5454 GB, free: 7.223 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003332/0.4084, allocations: 1.268 MB / 0.5466 GB, free: 6.012 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002077/0.4105, allocations: 2.278 MB / 0.5489 GB, free: 3.629 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003427/0.4139, allocations: 437.9 kB / 0.5493 GB, free: 3.199 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003465/0.4143, allocations: 156 kB / 0.5494 GB, free: 3.047 MB / 442.7 MB Warning: Assuming fixed start value for the following 35 variables: Unit.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Unit.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Unit.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Unit.HvTfo.running:DISCRETE(flow=false start = Unit.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.wecc_wtgp.limitedIntegrator.y:VARIABLE(flow=false start = Unit.wecc_wtgp.limitedIntegrator.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgp.limitedIntegrator1.y:VARIABLE(flow=false start = Unit.wecc_wtgp.limitedIntegrator1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_wtgq.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_wtgp.omegaRefWTGQPu0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.limitedIntegratorFreeze.y:VARIABLE(flow=false start = Unit.wecc_wtgq.limitedIntegratorFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = Unit.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = Unit.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean Unit.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real Unit.wecc_repc.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = Unit.wecc_repc.leadLag.X0[1] * Unit.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Unit.injector.running:DISCRETE(flow=false start = Unit.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.wecc_reec.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = Unit.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = Unit.wecc_wtgp.PConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real Unit.LvTfo.running:DISCRETE(flow=false start = Unit.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.Pm0Pu:VARIABLE(unit = \"1\" fixed = true ) \"Initial mechanical power in pu (base SNom)\" type: Real Unit.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Unit.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: 54 * Number of states: 0 () * Number of discrete variables: 81 ($PRE.infiniteBusFromTable.tableOmegaRefPu.nextTimeEvent,$whenCondition20,infiniteBusFromTable.tableOmegaRefPu.nextTimeEventScaled,$PRE.infiniteBusFromTable.tableOmegaRefPu.nextTimeEventScaled,infiniteBusFromTable.tableOmegaRefPu.nextTimeEvent,$PRE.Unit.LvTfo.state,Unit.LvTfo.state,$PRE.Unit.injector.state,Unit.injector.state,$PRE.Unit.HvTfo.state,Unit.HvTfo.state,$PRE.infiniteBusFromTable.tableUPhase.nextTimeEvent,$whenCondition2,$PRE.infiniteBusFromTable.tableUPu.nextTimeEvent,$whenCondition1,Unit.injector.switchOffSignal3,Unit.injector.switchOffSignal2,Unit.injector.switchOffSignal1,Unit.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,Unit.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$PRE.Unit.HvTfo.running,$PRE.Unit.wecc_regc.offDelay.delaySignal,$PRE.Unit.wecc_regc.offDelay.tNext,$PRE.Unit.injector.running,$PRE.Unit.wecc_reec.iqInjectionLogic.vDip,$PRE.Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$PRE.Unit.LvTfo.running,Unit.wecc_regc.QConv0PuNeg.k,Unit.wecc_regc.QConv0PuPos.k,$PRE.Unit.wecc_reec.currentLimitsCalculation1.vDip,$PRE.Unit.wecc_regc.offDelay.u,Unit.LvTfo.running,Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,Unit.wecc_reec.currentLimitsCalculation1.vDip,Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime,Unit.wecc_reec.iqInjectionLogic.vDip,Unit.injector.running,Unit.wecc_repc.freeze,Unit.wecc_regc.and2.y,Unit.wecc_regc.and1.y,Unit.wecc_regc.and1.u[2],Unit.wecc_regc.offDelay.tNext,Unit.wecc_regc.offDelay.delaySignal,Unit.wecc_regc.offDelay.u,Unit.HvTfo.running,infiniteBusFromTable.tableUPhase.nextTimeEventScaled,$PRE.infiniteBusFromTable.tableUPhase.nextTimeEventScaled,infiniteBusFromTable.tableUPhase.nextTimeEvent,infiniteBusFromTable.tableUPu.nextTimeEventScaled,$PRE.infiniteBusFromTable.tableUPu.nextTimeEventScaled,infiniteBusFromTable.tableUPu.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition5,$whenCondition7,$whenCondition6,$whenCondition9,$whenCondition8,$whenCondition10,$whenCondition12,$whenCondition11,$whenCondition14,$whenCondition13,$whenCondition16,$whenCondition15,$whenCondition18,$whenCondition17,$whenCondition19,Unit.wecc_reec.varLimPIDFreeze.I.resetLocal,Unit.wecc_reec.limPIDFreeze.I.resetLocal,Unit.pll.limIntegrator.local_reset,Unit.pll.integrator.local_reset,Unit.wecc_repc.limPIDFreeze.I.resetLocal,Unit.wecc_repc.limPID.I.local_reset,Unit.wecc_wtgt.dOmegaGenerator.local_reset,Unit.wecc_wtgt.dOmegaTurbine.local_reset,Unit.wecc_wtgt.dPhi.local_reset,Unit.wecc_wtgp.absLimRateLimFirstOrderFreeze.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (548): * Single equations (assignments): 546 * 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 {(6,4,72.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001305/0.4156, allocations: 0.6668 MB / 0.5501 GB, free: 2.453 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001426/0.417, allocations: 0.5595 MB / 0.5506 GB, free: 1.891 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004018/0.421, allocations: 2.253 MB / 0.5528 GB, free: 15.59 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.233e-05/0.421, allocations: 36 kB / 0.5529 GB, free: 15.55 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.421, allocations: 0 / 0.5529 GB, free: 15.55 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.749e-05/0.4211, allocations: 19.94 kB / 0.5529 GB, free: 15.54 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01156/0.4326, allocations: 5.897 MB / 0.5586 GB, free: 9.559 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/0.4326, allocations: 8 kB / 0.5587 GB, free: 9.551 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002835/0.4355, allocations: 0.8988 MB / 0.5595 GB, free: 8.676 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006222/0.4361, allocations: 225.6 kB / 0.5597 GB, free: 8.457 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002341/0.4363, allocations: 83.95 kB / 0.5598 GB, free: 8.375 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002102/0.4384, allocations: 2.262 MB / 0.562 GB, free: 6.004 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.4384, allocations: 8 kB / 0.562 GB, free: 5.996 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006622/0.4451, allocations: 3.502 MB / 0.5655 GB, free: 2.293 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002589/0.4476, allocations: 0.9139 MB / 0.5664 GB, free: 1.375 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00105/0.4487, allocations: 91.92 kB / 0.5664 GB, free: 1.285 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001805/0.4505, allocations: 203.9 kB / 0.5666 GB, free: 1.086 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006535/0.4512, allocations: 281.4 kB / 0.5669 GB, free: 0.8125 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001929/0.4513, allocations: 104 kB / 0.567 GB, free: 0.7109 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003297/0.4546, allocations: 2.074 MB / 0.569 GB, free: 14.64 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4546, allocations: 0 / 0.569 GB, free: 14.64 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005138/0.4598, allocations: 1.999 MB / 0.571 GB, free: 12.64 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 28 (Unit.wecc_wtgp.limitedIntegrator.y,Unit.wecc_wtgp.limitedIntegrator1.y,Unit.wecc_wtgp.absLimRateLimFirstOrderFreeze.integrator.y,Unit.wecc_wtgq.firstOrder.y,Unit.wecc_wtgq.firstOrder1.y,Unit.wecc_wtgq.limitedIntegratorFreeze.y,Unit.wecc_wtgt.dPhi.y,Unit.wecc_wtgt.dOmegaTurbine.y,Unit.wecc_wtgt.dOmegaGenerator.y,Unit.wecc_regc.rateLimFirstOrderFreeze2.y,Unit.wecc_regc.rateLimFirstOrderFreeze1.y,Unit.wecc_regc.firstOrder.y,Unit.wecc_repc.firstOrder.y,Unit.wecc_repc.limPID.I.y,Unit.wecc_repc.firstOrder1.y,Unit.wecc_repc.firstOrder2.y,Unit.wecc_repc.firstOrder3.y,Unit.wecc_repc.limPIDFreeze.I.y,Unit.wecc_repc.leadLag.x_scaled[1],Unit.pll.integrator.y,Unit.pll.limIntegrator.y,Unit.wecc_reec.firstOrder.y,Unit.wecc_reec.firstOrder1.y,Unit.wecc_reec.limPIDFreeze.I.y,Unit.wecc_reec.rateLimFirstOrderFreeze1.y,Unit.wecc_reec.slewRateLimiter.y,Unit.wecc_reec.rateLimFirstOrderFreeze.y,Unit.wecc_reec.varLimPIDFreeze.I.y) * Number of discrete variables: 44 ($whenCondition19,$whenCondition17,$whenCondition18,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,infiniteBusFromTable.tableUPu.nextTimeEvent,infiniteBusFromTable.tableUPu.nextTimeEventScaled,infiniteBusFromTable.tableUPhase.nextTimeEvent,infiniteBusFromTable.tableUPhase.nextTimeEventScaled,Unit.HvTfo.running,Unit.HvTfo.state,Unit.wecc_regc.offDelay.u,Unit.wecc_regc.offDelay.delaySignal,Unit.wecc_regc.offDelay.tNext,Unit.wecc_regc.and1.u[2],Unit.wecc_regc.and1.y,Unit.wecc_regc.and2.y,Unit.wecc_repc.freeze,Unit.injector.running,Unit.injector.state,Unit.wecc_reec.iqInjectionLogic.vDip,Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime,Unit.wecc_reec.currentLimitsCalculation1.vDip,Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,Unit.LvTfo.running,Unit.LvTfo.state,$whenCondition20,infiniteBusFromTable.tableOmegaRefPu.nextTimeEvent,infiniteBusFromTable.tableOmegaRefPu.nextTimeEventScaled) * Number of discrete states: 15 (infiniteBusFromTable.tableOmegaRefPu.nextTimeEventScaled,infiniteBusFromTable.tableOmegaRefPu.nextTimeEvent,Unit.LvTfo.running,Unit.injector.running,Unit.HvTfo.running,infiniteBusFromTable.tableUPhase.nextTimeEvent,infiniteBusFromTable.tableUPu.nextTimeEvent,infiniteBusFromTable.tableUPhase.nextTimeEventScaled,infiniteBusFromTable.tableUPu.nextTimeEventScaled,Unit.wecc_regc.offDelay.u,Unit.wecc_reec.currentLimitsCalculation1.vDip,Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,Unit.wecc_reec.currentLimitsCalculation1.ipMaxPu,Unit.wecc_reec.iqInjectionLogic.vDip,Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (291): * Single equations (assignments): 273 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * 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 {(6,4,72.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002285/0.4621, allocations: 0.7952 MB / 0.5718 GB, free: 12.21 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008912/0.471, allocations: 4.687 MB / 0.5763 GB, free: 7.566 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-05/0.471, allocations: 4 kB / 0.5763 GB, free: 7.562 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002168/0.4732, allocations: 1.203 MB / 0.5775 GB, free: 6.398 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003424/0.4766, allocations: 0.8065 MB / 0.5783 GB, free: 5.625 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01386/0.4905, allocations: 7.955 MB / 0.5861 GB, free: 13.52 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009992/0.4915, allocations: 0.7502 MB / 0.5868 GB, free: 12.75 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003467/0.4949, allocations: 0.5939 MB / 0.5874 GB, free: 12.15 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007916/0.4957, allocations: 288.4 kB / 0.5877 GB, free: 11.87 MB / 490.7 MB Notification: Performance of SimCode: time 2.776e-06/0.4957, allocations: 3.938 kB / 0.5877 GB, free: 11.87 MB / 490.7 MB Notification: Performance of Templates: time 0.07069/0.5664, allocations: 52.72 MB / 0.6391 GB, free: 7.586 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6.pipe >> ../files/Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6.sim & ./Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6 -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=ida -variableFilter=.* -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 6.042241062968969]