Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin.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.0009384/0.0009384, allocations: 95.55 kB / 20.45 MB, free: 4.113 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.0009098/0.0009098, allocations: 173 kB / 23.82 MB, free: 0.7422 MB / 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.8403/0.8403, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.4147/0.4147, allocations: 90.56 MB / 328.6 MB, free: 14.72 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.SheetI7QMin,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.SheetI7QMin") translateModel(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin,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.SheetI7QMin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 429 MB, free: 10.7 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.475e-05/2.625e-05, allocations: 5.828 kB / 429 MB, free: 10.69 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin): time 0.01467/0.0147, allocations: 17.68 MB / 446.7 MB, free: 8.926 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01206/0.02676, allocations: 8.255 MB / 454.9 MB, free: 0.6445 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003691/0.03045, allocations: 119.2 kB / 455.1 MB, free: 0.5273 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002374/0.03282, allocations: 1.283 MB / 456.3 MB, free: 15.23 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.003859/0.03668, allocations: 1.855 MB / 458.2 MB, free: 13.37 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.005094/0.04178, allocations: 3.872 MB / 462.1 MB, free: 9.488 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.005915/0.04769, allocations: 6.962 MB / 469 MB, free: 2.512 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001757/0.04945, allocations: 1.493 MB / 470.5 MB, free: 0.9492 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1628/0.2122, allocations: 2.365 MB / 472.9 MB, free: 51.45 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002042/0.2143, allocations: 2.113 MB / 475 MB, free: 51.45 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00088/0.2152, allocations: 0.7038 MB / 475.7 MB, free: 51.45 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.2163, allocations: 1.078 MB / 476.8 MB, free: 51.45 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006507/0.217, allocations: 1.573 MB / 478.4 MB, free: 51.45 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001183/0.2181, allocations: 1.833 MB / 480.2 MB, free: 51.3 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003611/0.2217, allocations: 4.786 MB / 485 MB, free: 50.64 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2217, allocations: 4.938 kB / 485 MB, free: 50.64 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2218, allocations: 3.469 kB / 485 MB, free: 50.64 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.661e-05/0.2218, allocations: 0 / 485 MB, free: 50.64 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.00749/0.2293, allocations: 7.062 MB / 492 MB, free: 47.72 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.2293, allocations: 8.844 kB / 492.1 MB, free: 47.72 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002485/0.2318, allocations: 1.464 MB / 493.5 MB, free: 47.37 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002918/0.2347, allocations: 3.426 MB / 496.9 MB, free: 46.46 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003316/0.2351, allocations: 0.9948 MB / 497.9 MB, free: 45.64 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003172/0.2354, allocations: 377.1 kB / 498.3 MB, free: 45.63 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003694/0.2391, allocations: 3.72 MB / 0.4903 GB, free: 43.77 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.801e-05/0.2391, allocations: 5.906 kB / 0.4903 GB, free: 43.77 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002212/0.2393, allocations: 151.4 kB / 0.4904 GB, free: 43.66 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.344e-05/0.2394, allocations: 88.44 kB / 0.4905 GB, free: 43.66 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002718/0.2421, allocations: 1.495 MB / 0.492 GB, free: 43.43 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.01182/0.2539, allocations: 14.1 MB / 0.5057 GB, free: 33.98 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003263/0.2572, allocations: 1.917 MB / 0.5076 GB, free: 33.48 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00101/0.2582, allocations: 0.6221 MB / 0.5082 GB, free: 33.34 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001797/0.2584, allocations: 62.73 kB / 0.5083 GB, free: 33.33 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00175/0.2601, allocations: 1.256 MB / 0.5095 GB, free: 32.93 MB / 442.7 MB Notification: Performance of pre-optimization done (n=290): time 4.398e-06/0.2601, allocations: 0 / 0.5095 GB, free: 32.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=290): time 0.004822/0.265, allocations: 2.801 MB / 0.5122 GB, free: 32.13 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.2651, allocations: 0.6103 MB / 0.5128 GB, free: 31.43 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003032/0.2681, allocations: 3.617 MB / 0.5163 GB, free: 30.14 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001562/0.2683, allocations: 92.3 kB / 0.5164 GB, free: 30.07 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001021/0.2693, allocations: 2.297 MB / 0.5187 GB, free: 28.3 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005026/0.2698, allocations: 1.033 MB / 0.5197 GB, free: 27.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008606/0.2706, allocations: 0.8568 MB / 0.5205 GB, free: 27.09 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.218e-05/0.2707, allocations: 480.2 kB / 0.521 GB, free: 26.62 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/0.2719, allocations: 0.8334 MB / 0.5218 GB, free: 26.43 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001572/0.2734, allocations: 2.189 MB / 0.5239 GB, free: 24.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003754/0.2772, allocations: 3.459 MB / 0.5273 GB, free: 23.07 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-05/0.2772, allocations: 3.969 kB / 0.5273 GB, free: 23.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.004391/0.2816, allocations: 3.628 MB / 0.5309 GB, free: 21.94 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.349e-05/0.2817, allocations: 76.09 kB / 0.5309 GB, free: 21.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.2817, allocations: 12.88 kB / 0.5309 GB, free: 21.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005248/0.2822, allocations: 229.4 kB / 0.5312 GB, free: 21.85 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002941/0.2851, allocations: 1.269 MB / 0.5324 GB, free: 20.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00165/0.2868, allocations: 2.288 MB / 0.5346 GB, free: 18.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/0.2883, allocations: 449 kB / 0.5351 GB, free: 18.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001963/0.2885, allocations: 156.1 kB / 0.5352 GB, free: 18.07 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.002123/0.2906, allocations: 1.181 MB / 0.5364 GB, free: 17.06 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001549/0.2922, allocations: 2.172 MB / 0.5385 GB, free: 14.64 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003561/0.2958, allocations: 3.442 MB / 0.5418 GB, free: 10.96 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.486e-06/0.2958, allocations: 4 kB / 0.5419 GB, free: 10.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.004117/0.2999, allocations: 3.613 MB / 0.5454 GB, free: 7.336 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.17e-05/0.2999, allocations: 69.66 kB / 0.5454 GB, free: 7.262 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.2999, allocations: 12.88 kB / 0.5455 GB, free: 7.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004356/0.3004, allocations: 240.6 kB / 0.5457 GB, free: 7.012 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002848/0.3032, allocations: 1.259 MB / 0.5469 GB, free: 5.809 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/0.3047, allocations: 2.29 MB / 0.5492 GB, free: 3.418 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/0.3061, allocations: 429.9 kB / 0.5496 GB, free: 2.996 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001731/0.3063, allocations: 156 kB / 0.5497 GB, free: 2.844 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.0006865/0.307, allocations: 0.6745 MB / 0.5504 GB, free: 2.242 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000532/0.3075, allocations: 0.5634 MB / 0.5509 GB, free: 1.676 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003207/0.3107, allocations: 2.251 MB / 0.5531 GB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.697e-05/0.3108, allocations: 36 kB / 0.5532 GB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.3108, allocations: 4 kB / 0.5532 GB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.012e-05/0.3108, allocations: 19.94 kB / 0.5532 GB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00758/0.3184, allocations: 5.905 MB / 0.5589 GB, free: 9.336 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.3184, allocations: 4 kB / 0.5589 GB, free: 9.332 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002776/0.3211, allocations: 0.9024 MB / 0.5598 GB, free: 8.457 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004546/0.3216, allocations: 223.4 kB / 0.56 GB, free: 8.234 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001496/0.3217, allocations: 79.95 kB / 0.5601 GB, free: 8.156 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001865/0.3236, allocations: 2.268 MB / 0.5623 GB, free: 5.781 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.3236, allocations: 11.47 kB / 0.5623 GB, free: 5.773 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004699/0.3283, allocations: 3.514 MB / 0.5658 GB, free: 2.055 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/0.3295, allocations: 0.91 MB / 0.5667 GB, free: 1.141 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003635/0.3299, allocations: 91.92 kB / 0.5668 GB, free: 1.051 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/0.331, allocations: 191.8 kB / 0.5669 GB, free: 0.8633 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003872/0.3314, allocations: 293.2 kB / 0.5672 GB, free: 0.582 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001427/0.3315, allocations: 95.97 kB / 0.5673 GB, free: 500 kB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002162/0.3337, allocations: 2.09 MB / 0.5693 GB, free: 14.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3337, allocations: 4 kB / 0.5694 GB, free: 14.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002904/0.3366, allocations: 1.999 MB / 0.5713 GB, free: 12.39 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.001714/0.3383, allocations: 0.8132 MB / 0.5721 GB, free: 11.95 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005953/0.3442, allocations: 4.67 MB / 0.5767 GB, free: 7.324 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3442, allocations: 0 / 0.5767 GB, free: 7.324 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001551/0.3458, allocations: 1.212 MB / 0.5778 GB, free: 6.152 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001981/0.3478, allocations: 0.8006 MB / 0.5786 GB, free: 5.383 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009408/0.3572, allocations: 7.992 MB / 0.5864 GB, free: 13.25 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005679/0.3577, allocations: 0.7661 MB / 0.5872 GB, free: 12.46 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001619/0.3594, allocations: 0.5981 MB / 0.5878 GB, free: 11.86 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007525/0.3601, allocations: 288.4 kB / 0.588 GB, free: 11.57 MB / 490.7 MB Notification: Performance of SimCode: time 7.41e-07/0.3601, allocations: 0 / 0.588 GB, free: 11.57 MB / 490.7 MB Notification: Performance of Templates: time 0.06519/0.4253, allocations: 55.48 MB / 0.6422 GB, free: 4.578 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin.pipe >> ../files/Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin.sim & ./Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=ida -variableFilter=.* -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin_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: 5.3798775263130665]