Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb.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.001582/0.001582, 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.001845/0.001845, 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.8459/0.8459, 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.4414/0.4414, allocations: 90.56 MB / 328.9 MB, free: 14.73 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.SheetI2Xccb,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.SheetI2Xccb") translateModel(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb,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.SheetI2Xccb") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 428.9 MB, free: 11.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.541e-05, allocations: 2.312 kB / 428.9 MB, free: 11.08 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb): time 0.01494/0.01497, allocations: 17.39 MB / 446.3 MB, free: 9.613 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01198/0.02695, allocations: 7.929 MB / 454.2 MB, free: 1.66 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003565/0.03051, allocations: 111.2 kB / 454.4 MB, free: 1.551 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002372/0.03289, allocations: 1.1 MB / 455.5 MB, free: 452 kB / 426.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.004187/0.03707, allocations: 1.7 MB / 457.2 MB, free: 14.73 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.005436/0.04251, allocations: 3.724 MB / 460.9 MB, free: 11 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.007906/0.05041, allocations: 6.717 MB / 467.6 MB, free: 4.27 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002857/0.05327, allocations: 1.5 MB / 469.1 MB, free: 2.699 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003144/0.05641, allocations: 2.286 MB / 471.4 MB, free: 416 kB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2229/0.2793, allocations: 1.997 MB / 473.4 MB, free: 54.34 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001678/0.281, allocations: 0.7017 MB / 474.1 MB, free: 54.34 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005179/0.2862, allocations: 1.023 MB / 475.1 MB, free: 54.34 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008598/0.287, allocations: 1.493 MB / 476.6 MB, free: 54.34 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01119/0.2982, allocations: 1.801 MB / 478.4 MB, free: 54.34 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006967/0.3052, allocations: 4.639 MB / 483 MB, free: 54.01 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.3052, allocations: 0 / 483 MB, free: 54.01 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3052, allocations: 0 / 483 MB, free: 54.01 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001901/0.3054, allocations: 0 / 483 MB, free: 54.01 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: 889 * Number of variables: 889 Notification: Performance of Generate backend data structure: time 0.01184/0.3172, allocations: 6.939 MB / 490 MB, free: 51.26 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.3172, allocations: 11.41 kB / 490 MB, free: 51.26 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003861/0.3211, allocations: 1.615 MB / 491.6 MB, free: 50.92 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004588/0.3257, allocations: 3.331 MB / 494.9 MB, free: 49.96 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004785/0.3262, allocations: 1.178 MB / 496.1 MB, free: 48.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005037/0.3267, allocations: 374.6 kB / 496.5 MB, free: 48.68 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004699/0.3314, allocations: 3.737 MB / 0.4885 GB, free: 46.64 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.306e-05/0.3314, allocations: 5.906 kB / 0.4885 GB, free: 46.64 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002398/0.3317, allocations: 152.2 kB / 0.4886 GB, free: 46.53 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.435e-05/0.3317, allocations: 84.22 kB / 0.4887 GB, free: 46.53 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003102/0.3348, allocations: 1.521 MB / 0.4902 GB, free: 46.3 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.01545/0.3503, allocations: 13.98 MB / 0.5039 GB, free: 36.95 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003667/0.3539, allocations: 1.885 MB / 0.5057 GB, free: 36.48 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/0.3551, allocations: 0.6281 MB / 0.5063 GB, free: 36.35 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002074/0.3553, allocations: 63.05 kB / 0.5064 GB, free: 36.34 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002035/0.3573, allocations: 1.273 MB / 0.5076 GB, free: 35.95 MB / 442.7 MB Notification: Performance of pre-optimization done (n=291): time 8.637e-06/0.3573, allocations: 0 / 0.5076 GB, free: 35.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=291): time 0.0066/0.3639, allocations: 2.952 MB / 0.5105 GB, free: 35.15 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001417/0.3641, allocations: 0.5825 MB / 0.5111 GB, free: 34.48 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00436/0.3684, allocations: 3.308 MB / 0.5143 GB, free: 33.27 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005038/0.3689, allocations: 101.2 kB / 0.5144 GB, free: 33.19 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001251/0.3702, allocations: 2.151 MB / 0.5165 GB, free: 31.53 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009249/0.3711, allocations: 1.039 MB / 0.5175 GB, free: 30.72 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001109/0.3722, allocations: 0.8432 MB / 0.5183 GB, free: 30.32 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.161e-05/0.3723, allocations: 480.7 kB / 0.5188 GB, free: 29.85 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001545/0.3738, allocations: 0.8638 MB / 0.5196 GB, free: 29.66 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001927/0.3758, allocations: 2.201 MB / 0.5218 GB, free: 27.96 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004736/0.3805, allocations: 3.522 MB / 0.5252 GB, free: 26.31 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.067e-05/0.3805, allocations: 3.438 kB / 0.5252 GB, free: 26.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.00603/0.3865, allocations: 3.738 MB / 0.5289 GB, free: 25.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.535e-05/0.3866, allocations: 70.45 kB / 0.5289 GB, free: 25.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.127e-05/0.3866, allocations: 12.75 kB / 0.529 GB, free: 25.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008017/0.3874, allocations: 345.4 kB / 0.5293 GB, free: 25.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003158/0.3906, allocations: 1.249 MB / 0.5305 GB, free: 24.06 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002466/0.3931, allocations: 2.53 MB / 0.533 GB, free: 21.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002895/0.3959, allocations: 461.5 kB / 0.5334 GB, free: 21.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004717/0.3964, allocations: 154.4 kB / 0.5336 GB, free: 21.03 MB / 442.7 MB Warning: Assuming fixed start value for the following 37 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) Xcc_a.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Xcc_a.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Xcc_a.running:DISCRETE(flow=false start = Xcc_a.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean 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.003092/0.3995, allocations: 1.211 MB / 0.5348 GB, free: 19.98 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00193/0.4014, allocations: 2.196 MB / 0.5369 GB, free: 17.35 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004219/0.4057, allocations: 3.502 MB / 0.5403 GB, free: 13.59 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.34e-05/0.4057, allocations: 4 kB / 0.5403 GB, free: 13.58 MB / 442.7 MB Notification: Performance of matching and sorting (n=580) (initialization_lambda0): time 0.005574/0.4112, allocations: 3.725 MB / 0.544 GB, free: 9.852 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.598e-05/0.4113, allocations: 73.59 kB / 0.544 GB, free: 9.773 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.4113, allocations: 12 kB / 0.544 GB, free: 9.762 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007023/0.412, allocations: 345.8 kB / 0.5444 GB, free: 9.426 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003003/0.415, allocations: 1.238 MB / 0.5456 GB, free: 8.238 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002301/0.4173, allocations: 2.535 MB / 0.5481 GB, free: 5.598 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003154/0.4205, allocations: 437.9 kB / 0.5485 GB, free: 5.168 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002967/0.4208, allocations: 148 kB / 0.5486 GB, free: 5.023 MB / 442.7 MB Warning: Assuming fixed start value for the following 37 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) Xcc_a.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Xcc_a.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Xcc_a.running:DISCRETE(flow=false start = Xcc_a.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean 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: 53 * Number of states: 0 () * Number of discrete variables: 75 ($PRE.Unit.LvTfo.state,Unit.LvTfo.state,$PRE.Unit.injector.state,Unit.injector.state,$PRE.Unit.HvTfo.state,Unit.HvTfo.state,$PRE.Xcc_a.state,Xcc_a.state,Xcc_a.switchOffSignal2,Xcc_a.switchOffSignal1,Unit.injector.switchOffSignal3,Unit.injector.switchOffSignal2,Unit.injector.switchOffSignal1,Unit.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,Unit.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$PRE.Xcc_a.running,$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,Xcc_a.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition15,$whenCondition14,$whenCondition17,$whenCondition16,$whenCondition19,$whenCondition18,$whenCondition20,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 (543): * Single equations (assignments): 541 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,4,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0012/0.422, allocations: 0.6855 MB / 0.5493 GB, free: 4.41 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001388/0.4234, allocations: 0.5362 MB / 0.5498 GB, free: 3.871 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003875/0.4272, allocations: 2.379 MB / 0.5521 GB, free: 1.441 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.4273, allocations: 31.94 kB / 0.5522 GB, free: 1.41 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.4273, allocations: 8 kB / 0.5522 GB, free: 1.402 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.788e-05/0.4273, allocations: 15.94 kB / 0.5522 GB, free: 1.387 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009651/0.4369, allocations: 6.015 MB / 0.5581 GB, free: 11.29 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/0.4369, allocations: 11.98 kB / 0.5581 GB, free: 11.28 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002751/0.4397, allocations: 0.9009 MB / 0.5589 GB, free: 10.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007313/0.4404, allocations: 340.2 kB / 0.5593 GB, free: 10.07 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002068/0.4406, allocations: 75.97 kB / 0.5593 GB, free: 9.996 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002524/0.4432, allocations: 2.514 MB / 0.5618 GB, free: 7.371 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.4432, allocations: 11.66 kB / 0.5618 GB, free: 7.363 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006332/0.4495, allocations: 3.616 MB / 0.5653 GB, free: 3.543 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001939/0.4514, allocations: 0.8868 MB / 0.5662 GB, free: 2.652 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006171/0.452, allocations: 87.97 kB / 0.5663 GB, free: 2.566 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001436/0.4535, allocations: 199.8 kB / 0.5665 GB, free: 2.371 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004846/0.454, allocations: 288.9 kB / 0.5668 GB, free: 2.094 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001547/0.4541, allocations: 103.9 kB / 0.5669 GB, free: 1.992 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002566/0.4567, allocations: 1.913 MB / 0.5687 GB, free: 76 kB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4567, allocations: 4 kB / 0.5687 GB, free: 72 kB / 458.7 MB Notification: Performance of remove unused functions: time 0.00469/0.4614, allocations: 1.98 MB / 0.5707 GB, free: 14.09 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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: 40 ($whenCondition20,$whenCondition18,$whenCondition19,$whenCondition16,$whenCondition17,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,Xcc_a.running,Xcc_a.state,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) * Number of discrete states: 10 (Unit.LvTfo.running,Unit.injector.running,Unit.HvTfo.running,Xcc_a.running,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 (288): * Single equations (assignments): 274 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,4,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001181/0.4626, allocations: 0.5011 MB / 0.5711 GB, free: 13.77 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0083/0.4709, allocations: 4.841 MB / 0.5759 GB, free: 8.969 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/0.4709, allocations: 4 kB / 0.5759 GB, free: 8.965 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002206/0.4731, allocations: 1.268 MB / 0.5771 GB, free: 7.734 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002916/0.476, allocations: 0.7435 MB / 0.5778 GB, free: 7.027 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/0.4873, allocations: 7.671 MB / 0.5853 GB, free: 15.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006184/0.4879, allocations: 0.7156 MB / 0.586 GB, free: 14.46 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002243/0.4902, allocations: 0.5576 MB / 0.5866 GB, free: 13.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007457/0.4909, allocations: 272.4 kB / 0.5868 GB, free: 13.64 MB / 490.7 MB Notification: Performance of SimCode: time 2.405e-06/0.4909, allocations: 0 / 0.5868 GB, free: 13.64 MB / 490.7 MB Notification: Performance of Templates: time 0.07098/0.5619, allocations: 53.14 MB / 0.6387 GB, free: 8.965 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb.pipe >> ../files/Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb.sim & ./Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=ida -variableFilter=.* -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb_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.900465621845797]