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.001181/0.001181, allocations: 72.95 kB / 20.74 MB, free: 3.754 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.001213/0.001213, allocations: 173 kB / 24.17 MB, free: 336 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.9566/0.9566, allocations: 158.6 MB / 186 MB, free: 2.77 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.4737/0.4737, allocations: 90.86 MB / 329.2 MB, free: 14.27 MB / 314.7 MB " [Timeout remaining time 179] Using package Dynawo with version 2.0.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.833e-06/1.833e-06, allocations: 7.875 kB / 380.9 MB, free: 11.07 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.137e-05/2.32e-05, allocations: 6.25 kB / 380.9 MB, free: 11.06 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb): time 0.01579/0.01581, allocations: 16.97 MB / 397.8 MB, free: 10.01 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01504/0.03085, allocations: 8.242 MB / 406.1 MB, free: 1.754 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003829/0.03468, allocations: 115.2 kB / 406.2 MB, free: 1.641 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003477/0.03816, allocations: 1.112 MB / 407.3 MB, free: 0.5195 MB / 378.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.006737/0.04489, allocations: 1.696 MB / 409 MB, free: 14.81 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:90:3-90:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wtgCurrentSource_INIT.s0Pu) == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.00661/0.0515, allocations: 3.739 MB / 412.7 MB, free: 11.07 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.009427/0.06093, allocations: 6.724 MB / 419.5 MB, free: 4.32 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003234/0.06416, allocations: 1.565 MB / 421 MB, free: 2.668 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00365/0.06781, allocations: 2.286 MB / 423.3 MB, free: 384 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002568/0.07038, allocations: 2.017 MB / 425.3 MB, free: 14.35 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001156/0.07154, allocations: 0.707 MB / 426 MB, free: 13.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/0.07311, allocations: 1.046 MB / 427.1 MB, free: 12.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001062/0.07417, allocations: 1.499 MB / 428.6 MB, free: 11.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002147/0.07632, allocations: 1.795 MB / 430.4 MB, free: 9.289 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005749/0.08207, allocations: 4.655 MB / 435 MB, free: 4.617 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.08207, allocations: 0 / 435 MB, free: 4.617 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.08208, allocations: 0 / 435 MB, free: 4.617 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.934e-05/0.08216, allocations: 0 / 435 MB, free: 4.617 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.01172/0.09389, allocations: 6.785 MB / 441.8 MB, free: 13.74 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.09394, allocations: 8.031 kB / 441.8 MB, free: 13.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0039/0.09783, allocations: 1.499 MB / 443.3 MB, free: 12.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003607/0.1014, allocations: 2.111 MB / 445.4 MB, free: 10.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006139/0.1021, allocations: 1.179 MB / 446.6 MB, free: 8.664 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000386/0.1024, allocations: 375.9 kB / 447 MB, free: 8.297 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003703/0.1061, allocations: 3.424 MB / 450.4 MB, free: 4.555 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.038e-05/0.1062, allocations: 3.938 kB / 450.4 MB, free: 4.551 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001997/0.1064, allocations: 152 kB / 450.6 MB, free: 4.402 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.822e-05/0.1064, allocations: 88 kB / 450.6 MB, free: 4.316 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001878/0.1083, allocations: 1.089 MB / 451.7 MB, free: 3.207 MB / 426.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.01178/0.1201, allocations: 9.426 MB / 461.2 MB, free: 9.559 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002503/0.1226, allocations: 1.68 MB / 462.8 MB, free: 7.859 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006666/0.1233, allocations: 467.9 kB / 463.3 MB, free: 7.402 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002232/0.1235, allocations: 69.97 kB / 463.4 MB, free: 7.332 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00129/0.1248, allocations: 1.182 MB / 464.5 MB, free: 6.09 MB / 442.7 MB Notification: Performance of pre-optimization done (n=293): time 4.719e-06/0.1248, allocations: 0 / 464.5 MB, free: 6.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=293): time 0.00418/0.129, allocations: 1.996 MB / 466.5 MB, free: 4.051 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002021/0.1292, allocations: 0.5761 MB / 467.1 MB, free: 3.344 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003075/0.1322, allocations: 3.009 MB / 470.1 MB, free: 304 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002681/0.1325, allocations: 93.69 kB / 470.2 MB, free: 204 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1837/0.3162, allocations: 1.42 MB / 471.6 MB, free: 69.97 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00107/0.3173, allocations: 1.058 MB / 472.7 MB, free: 69.54 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001101/0.3184, allocations: 0.8339 MB / 473.5 MB, free: 69.48 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.174e-05/0.3184, allocations: 303.5 kB / 473.8 MB, free: 69.18 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001448/0.3199, allocations: 0.773 MB / 474.6 MB, free: 69.09 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001848/0.3217, allocations: 1.904 MB / 476.5 MB, free: 67.87 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004218/0.3259, allocations: 3.37 MB / 479.9 MB, free: 67.14 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-05/0.326, allocations: 4.5 kB / 479.9 MB, free: 67.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=585) (initialization): time 0.004151/0.3301, allocations: 2.936 MB / 482.8 MB, free: 66.92 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.677e-05/0.3302, allocations: 68.67 kB / 482.9 MB, free: 66.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.059e-05/0.3302, allocations: 15.28 kB / 482.9 MB, free: 66.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006637/0.3308, allocations: 325.8 kB / 483.2 MB, free: 66.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002958/0.3338, allocations: 1.356 MB / 484.6 MB, free: 66.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002009/0.3358, allocations: 1.844 MB / 486.4 MB, free: 65.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002202/0.338, allocations: 449.1 kB / 486.8 MB, free: 65.56 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002235/0.3382, allocations: 122.7 kB / 487 MB, free: 65.56 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.omegaRefWTGQ0Pu 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.002449/0.3407, allocations: 1.091 MB / 488.1 MB, free: 65.39 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00153/0.3422, allocations: 1.9 MB / 490 MB, free: 64.17 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003728/0.3459, allocations: 3.348 MB / 493.3 MB, free: 63.42 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.77e-05/0.346, allocations: 3.688 kB / 493.3 MB, free: 63.42 MB / 442.7 MB Notification: Performance of matching and sorting (n=585) (initialization_lambda0): time 0.004177/0.3501, allocations: 2.933 MB / 496.2 MB, free: 62.69 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.997e-05/0.3502, allocations: 70.16 kB / 496.3 MB, free: 62.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.3502, allocations: 12 kB / 496.3 MB, free: 62.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000561/0.3508, allocations: 331.7 kB / 496.6 MB, free: 62.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002752/0.3535, allocations: 1.34 MB / 498 MB, free: 61.37 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001626/0.3551, allocations: 1.854 MB / 499.8 MB, free: 59.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/0.3568, allocations: 424.6 kB / 0.4885 GB, free: 59.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001689/0.3569, allocations: 121.5 kB / 0.4886 GB, free: 59.46 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.omegaRefWTGQ0Pu 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,Unit.wecc_wtgp.absLimRateLimFirstOrderFreeze.integrator.local_reset,Unit.wecc_wtgt.dPhi.local_reset,Unit.wecc_wtgt.dOmegaTurbine.local_reset,Unit.wecc_wtgt.dOmegaGenerator.local_reset,Unit.wecc_repc.limPID.I.local_reset,Unit.wecc_repc.limPIDFreeze.I.resetLocal,Unit.pll.integrator.local_reset,Unit.pll.limIntegrator.local_reset,Unit.wecc_reec.limPIDFreeze.I.resetLocal,Unit.wecc_reec.varLimPIDFreeze.I.resetLocal,Unit.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,Unit.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,Unit.injector.switchOffSignal1,Unit.injector.switchOffSignal2,Unit.injector.switchOffSignal3,Xcc_a.switchOffSignal1,Xcc_a.switchOffSignal2,$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.QConv0PuPos.k,Unit.wecc_regc.QConv0PuNeg.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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (547): * Single equations (assignments): 545 * 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.0007419/0.3577, allocations: 0.5915 MB / 0.4892 GB, free: 59.09 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004208/0.3581, allocations: 357.8 kB / 0.4896 GB, free: 58.87 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002298/0.3604, allocations: 1.775 MB / 0.4913 GB, free: 57.77 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.3604, allocations: 28 kB / 0.4913 GB, free: 57.74 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.3604, allocations: 4 kB / 0.4913 GB, free: 57.74 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-05/0.3604, allocations: 13.12 kB / 0.4913 GB, free: 57.74 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005354/0.3658, allocations: 4.136 MB / 0.4954 GB, free: 54.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.3658, allocations: 4 kB / 0.4954 GB, free: 54.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002446/0.3682, allocations: 0.9687 MB / 0.4963 GB, free: 53.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000543/0.3688, allocations: 312.8 kB / 0.4966 GB, free: 53.16 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001844/0.369, allocations: 75.14 kB / 0.4967 GB, free: 53.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001636/0.3706, allocations: 1.831 MB / 0.4985 GB, free: 51.46 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3706, allocations: 8 kB / 0.4985 GB, free: 51.46 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003131/0.3737, allocations: 2.616 MB / 0.5011 GB, free: 48.88 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000934/0.3747, allocations: 466.8 kB / 0.5015 GB, free: 48.43 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003487/0.375, allocations: 82.17 kB / 0.5016 GB, free: 48.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.376, allocations: 202.4 kB / 0.5018 GB, free: 48.24 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003886/0.3764, allocations: 289.4 kB / 0.502 GB, free: 48.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001192/0.3765, allocations: 76.75 kB / 0.5021 GB, free: 47.97 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001354/0.3779, allocations: 1.578 MB / 0.5037 GB, free: 46.63 MB / 442.7 MB Notification: Performance of sort global known variables: time 3e-07/0.3779, allocations: 0 / 0.5037 GB, free: 46.63 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002996/0.3809, allocations: 1.994 MB / 0.5056 GB, free: 44.82 MB / 442.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 (290): * Single equations (assignments): 276 * 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.001235/0.3821, allocations: 0.6216 MB / 0.5062 GB, free: 44.53 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00551/0.3876, allocations: 4.33 MB / 0.5104 GB, free: 40.73 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.655e-05/0.3877, allocations: 40.5 kB / 0.5105 GB, free: 40.69 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001248/0.3889, allocations: 1.047 MB / 0.5115 GB, free: 39.78 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001893/0.3908, allocations: 0.7365 MB / 0.5122 GB, free: 39.16 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009294/0.4001, allocations: 7.602 MB / 0.5196 GB, free: 31.47 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004958/0.4006, allocations: 0.7237 MB / 0.5204 GB, free: 30.73 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002077/0.4027, allocations: 0.5887 MB / 0.5209 GB, free: 30.14 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001416/0.4041, allocations: 0.7079 MB / 0.5216 GB, free: 29.43 MB / 442.7 MB Notification: Performance of SimCode: time 1.643e-06/0.4041, allocations: 0 / 0.5216 GB, free: 29.43 MB / 442.7 MB Notification: Performance of Templates: time 0.07356/0.4777, allocations: 58.35 MB / 0.5786 GB, free: 3.582 MB / 474.7 MB " [Timeout remaining time 660] 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 -s gbode -gbm=radauIIA3 -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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.587478606030345]