Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 72.95 kB / 20.74 MB, free: 3.75 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.001134/0.001134, allocations: 173 kB / 24.16 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.9254/0.9254, allocations: 158.6 MB / 186 MB, free: 2.758 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.4758/0.4758, allocations: 90.86 MB / 329.2 MB, free: 14.26 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.SheetI6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Unit.HvMeasurements.PPu|Unit.HvMeasurements.QPu|Unit.HvMeasurements.UPu|Unit.LvMeasurements.PPu|Unit.LvMeasurements.QPu|Unit.LvMeasurements.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6") translateModel(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Unit.HvMeasurements.PPu|Unit.HvMeasurements.QPu|Unit.HvMeasurements.UPu|Unit.LvMeasurements.PPu|Unit.LvMeasurements.QPu|Unit.LvMeasurements.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 380.9 MB, free: 11.07 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.117e-05, allocations: 2.312 kB / 380.9 MB, free: 11.07 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6): time 0.01517/0.0152, allocations: 17.17 MB / 398 MB, free: 9.828 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01426/0.02945, allocations: 8.592 MB / 406.6 MB, free: 1.219 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003892/0.03334, allocations: 119.2 kB / 406.7 MB, free: 1.102 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002912/0.03626, allocations: 1.264 MB / 408 MB, free: 15.83 MB / 394.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.004663/0.04092, allocations: 1.844 MB / 409.8 MB, free: 13.97 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.0057/0.04662, allocations: 3.864 MB / 413.7 MB, free: 10.1 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.007683/0.0543, allocations: 6.973 MB / 420.7 MB, free: 3.109 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002598/0.0569, allocations: 1.551 MB / 422.2 MB, free: 1.469 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003203/0.0601, allocations: 2.376 MB / 424.6 MB, free: 15.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002935/0.06304, allocations: 2.102 MB / 426.7 MB, free: 12.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001298/0.06434, allocations: 0.7109 MB / 427.4 MB, free: 12.27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001778/0.06611, allocations: 1.089 MB / 428.5 MB, free: 11.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001214/0.06733, allocations: 1.565 MB / 430.1 MB, free: 9.605 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002777/0.0701, allocations: 1.834 MB / 431.9 MB, free: 7.766 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008725/0.07883, allocations: 4.81 MB / 436.7 MB, free: 2.938 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.07884, allocations: 4 kB / 436.7 MB, free: 2.934 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.07884, allocations: 0 / 436.7 MB, free: 2.934 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002791/0.07912, allocations: 0 / 436.7 MB, free: 2.934 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: 897 * Number of variables: 897 Notification: Performance of Generate backend data structure: time 0.01218/0.0913, allocations: 6.888 MB / 443.6 MB, free: 11.95 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.09134, allocations: 12.03 kB / 443.6 MB, free: 11.94 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003167/0.0945, allocations: 1.285 MB / 444.9 MB, free: 10.65 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005005/0.09951, allocations: 2.23 MB / 447.1 MB, free: 8.352 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008584/0.1004, allocations: 0.9875 MB / 448.1 MB, free: 7.203 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005235/0.1009, allocations: 379.9 kB / 448.5 MB, free: 6.832 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004363/0.1053, allocations: 3.409 MB / 451.9 MB, free: 3.105 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.186e-05/0.1053, allocations: 3.938 kB / 451.9 MB, free: 3.102 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002127/0.1055, allocations: 148 kB / 452 MB, free: 2.957 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.535e-05/0.1056, allocations: 88 kB / 452.1 MB, free: 2.871 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00202/0.1076, allocations: 1.076 MB / 453.2 MB, free: 1.773 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.01457/0.1222, allocations: 9.457 MB / 462.7 MB, free: 8.078 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002813/0.125, allocations: 1.755 MB / 464.4 MB, free: 6.293 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006528/0.1256, allocations: 458.3 kB / 464.9 MB, free: 5.84 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001997/0.1258, allocations: 65.97 kB / 464.9 MB, free: 5.773 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001358/0.1272, allocations: 1.171 MB / 466.1 MB, free: 4.543 MB / 442.7 MB Notification: Performance of pre-optimization done (n=292): time 6.242e-06/0.1272, allocations: 4 kB / 466.1 MB, free: 4.539 MB / 442.7 MB Notification: Performance of matching and sorting (n=292): time 0.003563/0.1308, allocations: 1.817 MB / 467.9 MB, free: 2.68 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002152/0.131, allocations: 0.605 MB / 468.5 MB, free: 1.938 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.179/0.31, allocations: 3.241 MB / 471.8 MB, free: 68.46 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006401/0.3106, allocations: 97.81 kB / 471.9 MB, free: 68.43 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001407/0.312, allocations: 1.473 MB / 473.3 MB, free: 68.3 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009822/0.313, allocations: 1.046 MB / 474.4 MB, free: 67.83 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001132/0.3142, allocations: 0.8326 MB / 475.2 MB, free: 67.77 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.188e-05/0.3142, allocations: 303.5 kB / 475.5 MB, free: 67.48 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001517/0.3157, allocations: 0.7531 MB / 476.3 MB, free: 67.39 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001782/0.3175, allocations: 1.895 MB / 478.2 MB, free: 66.16 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0047/0.3222, allocations: 3.305 MB / 481.5 MB, free: 65.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-05/0.3222, allocations: 3.906 kB / 481.5 MB, free: 65.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=586) (initialization): time 0.004345/0.3266, allocations: 2.826 MB / 484.3 MB, free: 65.19 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.66e-05/0.3266, allocations: 71.45 kB / 484.4 MB, free: 65.15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.75e-05/0.3267, allocations: 12.72 kB / 484.4 MB, free: 65.15 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005546/0.3272, allocations: 227.6 kB / 484.6 MB, free: 65.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003086/0.3303, allocations: 1.369 MB / 486 MB, free: 65.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/0.3317, allocations: 1.619 MB / 487.6 MB, free: 64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002325/0.334, allocations: 454 kB / 488 MB, free: 63.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002383/0.3343, allocations: 120.8 kB / 488.1 MB, free: 63.84 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.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.002419/0.3367, allocations: 1.058 MB / 489.2 MB, free: 63.67 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001684/0.3384, allocations: 1.888 MB / 491.1 MB, free: 62.44 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003691/0.3421, allocations: 3.269 MB / 494.4 MB, free: 61.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.79e-05/0.3421, allocations: 2 kB / 494.4 MB, free: 61.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=586) (initialization_lambda0): time 0.003854/0.3459, allocations: 2.818 MB / 497.2 MB, free: 60.96 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.529e-05/0.346, allocations: 71.78 kB / 497.3 MB, free: 60.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.346, allocations: 12.25 kB / 497.3 MB, free: 60.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004193/0.3464, allocations: 230 kB / 497.5 MB, free: 60.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002783/0.3492, allocations: 1.359 MB / 498.8 MB, free: 59.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/0.3505, allocations: 1.634 MB / 0.4888 GB, free: 58.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002318/0.3528, allocations: 426 kB / 0.4892 GB, free: 57.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002209/0.353, allocations: 117.8 kB / 0.4893 GB, free: 57.89 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.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: 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.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,$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,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (552): * Single equations (assignments): 550 * 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.0008264/0.3538, allocations: 0.5891 MB / 0.4898 GB, free: 57.52 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005935/0.3544, allocations: 376.2 kB / 0.4902 GB, free: 57.29 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002608/0.357, allocations: 1.641 MB / 0.4918 GB, free: 56.27 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.629e-05/0.3571, allocations: 28 kB / 0.4918 GB, free: 56.24 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.3571, allocations: 4.656 kB / 0.4918 GB, free: 56.24 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.112e-05/0.3571, allocations: 18.02 kB / 0.4919 GB, free: 56.23 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006866/0.364, allocations: 3.998 MB / 0.4958 GB, free: 53.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/0.364, allocations: 11.94 kB / 0.4958 GB, free: 53.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003416/0.3674, allocations: 0.9592 MB / 0.4967 GB, free: 52.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005205/0.3679, allocations: 210.3 kB / 0.4969 GB, free: 52 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000221/0.3681, allocations: 80.28 kB / 0.497 GB, free: 51.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001488/0.3696, allocations: 1.602 MB / 0.4986 GB, free: 50.45 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.3696, allocations: 11.47 kB / 0.4986 GB, free: 50.44 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003857/0.3735, allocations: 2.496 MB / 0.501 GB, free: 47.97 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001501/0.375, allocations: 496.7 kB / 0.5015 GB, free: 47.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004929/0.3755, allocations: 92.17 kB / 0.5016 GB, free: 47.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/0.3768, allocations: 196.6 kB / 0.5017 GB, free: 47.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000467/0.3773, allocations: 282.5 kB / 0.502 GB, free: 47.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000157/0.3774, allocations: 79.33 kB / 0.5021 GB, free: 47.04 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001893/0.3793, allocations: 1.72 MB / 0.5038 GB, free: 45.59 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.3793, allocations: 0 / 0.5038 GB, free: 45.59 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004092/0.3834, allocations: 2.015 MB / 0.5057 GB, free: 43.76 MB / 442.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 (293): * Single equations (assignments): 275 * 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.002518/0.3859, allocations: 1.043 MB / 0.5068 GB, free: 43.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006749/0.3927, allocations: 4.194 MB / 0.5109 GB, free: 39.64 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.897e-05/0.3928, allocations: 44.5 kB / 0.5109 GB, free: 39.59 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00153/0.3943, allocations: 0.9879 MB / 0.5119 GB, free: 38.73 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003045/0.3974, allocations: 0.7972 MB / 0.5126 GB, free: 38.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01238/0.4097, allocations: 7.87 MB / 0.5203 GB, free: 30.38 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007208/0.4105, allocations: 0.7662 MB / 0.5211 GB, free: 29.59 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002865/0.4133, allocations: 0.6287 MB / 0.5217 GB, free: 28.96 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001515/0.4148, allocations: 0.7392 MB / 0.5224 GB, free: 28.23 MB / 442.7 MB Notification: Performance of SimCode: time 1.944e-06/0.4148, allocations: 0 / 0.5224 GB, free: 28.23 MB / 442.7 MB Notification: Performance of Templates: time 0.07238/0.4872, allocations: 58.36 MB / 0.5794 GB, free: 2.414 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6.pipe >> ../files/Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6.sim & ./Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6 -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=ida -variableFilter=.* -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 5.609355340246111]