Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax.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.0007765/0.0007765, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009588/0.001735, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007352/0.0007352, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009132/0.001648, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.95/0.95, allocations: 158.6 MB / 171 MB, free: 2.574 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.148/1.098, allocations: 49.49 MB / 220.5 MB, free: 1.445 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo): time 0.4822/0.4822, allocations: 100.5 MB / 321.8 MB, free: 4.695 MB / 314.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0584/0.5406, allocations: 35.7 MB / 357.5 MB, free: 1.301 MB / 346.7 MB " [Timeout remaining time 179] Using package Dynawo with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-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.SheetI7QMax,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.SheetI7QMax") translateModel(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax,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.SheetI7QMax") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 359 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.618e-05/1.74e-05, allocations: 2.312 kB / 359 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax): time 0.01497/0.01499, allocations: 17.41 MB / 376.4 MB, free: 14.3 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01229/0.02729, allocations: 8.699 MB / 385.1 MB, free: 5.574 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002136/0.02942, allocations: 115.2 kB / 385.2 MB, free: 5.461 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001794/0.03121, allocations: 1.303 MB / 386.5 MB, free: 4.148 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.003003/0.03422, allocations: 2.034 MB / 388.6 MB, free: 2.102 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:87:3-87:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wtgCurrentSource_INIT.s0Pu) == 0.0, == on Real operands is not allowed in non-function contexts. Use --allowNonStandardModelica=realEquality to ignore this error. [Non-standard Modelica: --allowNonStandardModelica=realEquality] Notification: Performance of NFTyping.typeClassSections: time 0.004098/0.03832, allocations: 3.767 MB / 392.3 MB, free: 14.33 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005388/0.0437, allocations: 6.893 MB / 399.2 MB, free: 7.418 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001884/0.04559, allocations: 1.555 MB / 400.8 MB, free: 5.777 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004179/0.04977, allocations: 4.589 MB / 405.4 MB, free: 1.105 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001839/0.05161, allocations: 2.145 MB / 407.5 MB, free: 14.95 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007045/0.05231, allocations: 0.7109 MB / 408.2 MB, free: 14.24 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001461/0.05377, allocations: 1.105 MB / 409.3 MB, free: 13.13 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000754/0.05453, allocations: 1.219 MB / 410.6 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00128/0.05581, allocations: 1.473 MB / 412 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003977/0.05978, allocations: 4.487 MB / 416.5 MB, free: 5.934 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-05/0.0598, allocations: 4 kB / 416.5 MB, free: 5.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.0598, allocations: 0 / 416.5 MB, free: 5.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.379e-05/0.05985, allocations: 0 / 416.5 MB, free: 5.93 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: 906 * Number of variables: 906 Notification: Performance of Generate backend data structure: time 0.008401/0.06825, allocations: 7.972 MB / 424.5 MB, free: 13.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.06829, allocations: 12.03 kB / 424.5 MB, free: 13.83 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003315/0.0716, allocations: 1.644 MB / 426.2 MB, free: 12.19 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002642/0.07424, allocations: 2.24 MB / 428.4 MB, free: 9.875 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004578/0.0747, allocations: 0.9915 MB / 429.4 MB, free: 8.723 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003329/0.07503, allocations: 383.9 kB / 429.8 MB, free: 8.348 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003198/0.07823, allocations: 3.437 MB / 433.2 MB, free: 4.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.133e-05/0.07828, allocations: 3.938 kB / 433.2 MB, free: 4.586 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001985/0.07848, allocations: 152 kB / 433.4 MB, free: 4.438 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.926e-05/0.07853, allocations: 88 kB / 433.4 MB, free: 4.352 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00159/0.08012, allocations: 1.1 MB / 434.5 MB, free: 3.23 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.00983/0.08995, allocations: 9.598 MB / 444.1 MB, free: 9.395 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002339/0.09229, allocations: 1.78 MB / 445.9 MB, free: 7.586 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005716/0.09286, allocations: 480.3 kB / 446.4 MB, free: 7.109 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000202/0.09306, allocations: 69.98 kB / 446.5 MB, free: 7.039 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001223/0.09429, allocations: 1.189 MB / 447.6 MB, free: 5.789 MB / 442.7 MB Notification: Performance of pre-optimization done (n=298): time 4.479e-06/0.09429, allocations: 0 / 447.6 MB, free: 5.789 MB / 442.7 MB Notification: Performance of matching and sorting (n=298): time 0.002882/0.09717, allocations: 1.857 MB / 449.5 MB, free: 3.891 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.96e-05/0.09724, allocations: 141 kB / 449.6 MB, free: 3.727 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002516/0.09976, allocations: 3.282 MB / 452.9 MB, free: 436 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001413/0.0999, allocations: 93.7 kB / 453 MB, free: 336 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.185/0.2849, allocations: 1.481 MB / 454.5 MB, free: 53.41 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001352/0.2862, allocations: 1.069 MB / 455.6 MB, free: 52.99 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001382/0.2876, allocations: 0.8486 MB / 456.4 MB, free: 52.93 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.21e-05/0.2876, allocations: 306.5 kB / 456.7 MB, free: 52.64 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001749/0.2894, allocations: 0.7961 MB / 457.5 MB, free: 52.55 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002095/0.2915, allocations: 1.94 MB / 459.4 MB, free: 51.31 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005231/0.2967, allocations: 3.434 MB / 462.9 MB, free: 50.58 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.84e-05/0.2967, allocations: 3.5 kB / 462.9 MB, free: 50.58 MB / 442.7 MB Notification: Performance of matching and sorting (n=598) (initialization): time 0.004929/0.3017, allocations: 2.933 MB / 465.8 MB, free: 50.35 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.238e-05/0.3017, allocations: 71.59 kB / 465.9 MB, free: 50.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.637e-05/0.3018, allocations: 9.188 kB / 465.9 MB, free: 50.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005776/0.3023, allocations: 230 kB / 466.1 MB, free: 50.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004077/0.3064, allocations: 1.462 MB / 467.6 MB, free: 50.31 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001501/0.3079, allocations: 1.634 MB / 469.2 MB, free: 49.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002035/0.31, allocations: 456.8 kB / 469.7 MB, free: 49.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002339/0.3102, allocations: 122.3 kB / 469.8 MB, free: 49.02 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.00262/0.3128, allocations: 1.107 MB / 470.9 MB, free: 48.85 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001866/0.3147, allocations: 1.94 MB / 472.8 MB, free: 47.62 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004426/0.3191, allocations: 3.403 MB / 476.2 MB, free: 46.88 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.431e-05/0.3191, allocations: 5.062 kB / 476.2 MB, free: 46.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=598) (initialization_lambda0): time 0.004415/0.3235, allocations: 2.918 MB / 479.2 MB, free: 46.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.449e-05/0.3236, allocations: 73.28 kB / 479.2 MB, free: 46.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.102e-05/0.3236, allocations: 11.03 kB / 479.2 MB, free: 46.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004924/0.3241, allocations: 228.4 kB / 479.5 MB, free: 46.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003823/0.3279, allocations: 1.449 MB / 480.9 MB, free: 46.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001397/0.3293, allocations: 1.634 MB / 482.5 MB, free: 44.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001803/0.3311, allocations: 440.3 kB / 483 MB, free: 44.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002/0.3313, allocations: 123.4 kB / 483.1 MB, free: 44.43 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.switchOffSignal1,Unit.switchOffSignal2,Unit.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 (564): * Single equations (assignments): 562 * 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.0006962/0.332, allocations: 0.5772 MB / 483.7 MB, free: 44.07 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004704/0.3325, allocations: 372.4 kB / 484 MB, free: 43.84 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002498/0.335, allocations: 1.682 MB / 485.7 MB, free: 42.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/0.335, allocations: 32 kB / 485.7 MB, free: 42.77 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.335, allocations: 8 kB / 485.8 MB, free: 42.76 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.113e-05/0.335, allocations: 14.81 kB / 485.8 MB, free: 42.76 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005934/0.341, allocations: 4.162 MB / 489.9 MB, free: 40.01 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.341, allocations: 4 kB / 489.9 MB, free: 40 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003366/0.3443, allocations: 1.01 MB / 490.9 MB, free: 39.04 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009875/0.3453, allocations: 0.4999 MB / 491.4 MB, free: 38.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004614/0.3458, allocations: 206.5 kB / 491.6 MB, free: 38.39 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001455/0.3459, allocations: 77.77 kB / 491.7 MB, free: 38.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001302/0.3472, allocations: 1.597 MB / 493.3 MB, free: 36.85 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.3472, allocations: 12 kB / 493.3 MB, free: 36.84 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003122/0.3504, allocations: 2.533 MB / 495.9 MB, free: 34.33 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003863/0.3507, allocations: 92.67 kB / 496 MB, free: 34.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/0.3519, allocations: 200 kB / 496.2 MB, free: 34.14 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004888/0.3524, allocations: 284 kB / 496.4 MB, free: 33.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001804/0.3526, allocations: 84.95 kB / 496.5 MB, free: 33.86 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002004/0.3546, allocations: 1.739 MB / 498.2 MB, free: 32.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3546, allocations: 0 / 498.2 MB, free: 32.4 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003779/0.3583, allocations: 2.066 MB / 0.4886 GB, free: 30.52 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 (299): * Single equations (assignments): 281 * 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.003155/0.3615, allocations: 1.147 MB / 0.4897 GB, free: 30.04 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007659/0.3692, allocations: 4.324 MB / 0.4939 GB, free: 26.26 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001274/0.3693, allocations: 72.31 kB / 0.494 GB, free: 26.19 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001688/0.371, allocations: 1.024 MB / 0.495 GB, free: 25.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002917/0.3739, allocations: 1.036 MB / 0.496 GB, free: 24.53 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009204/0.3831, allocations: 8.234 MB / 0.5041 GB, free: 16.53 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005023/0.3836, allocations: 0.7755 MB / 0.5048 GB, free: 15.73 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001681/0.3853, allocations: 0.6407 MB / 0.5054 GB, free: 15.09 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001331/0.3866, allocations: 0.747 MB / 0.5062 GB, free: 14.35 MB / 442.7 MB Notification: Performance of SimCode: time 1.383e-06/0.3866, allocations: 3.562 kB / 0.5062 GB, free: 14.35 MB / 442.7 MB Notification: Performance of Templates: time 0.06731/0.4539, allocations: 60.58 MB / 0.5653 GB, free: 2.352 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax.pipe >> ../files/Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax.sim & ./Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=ida -variableFilter=.* -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax_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.231493015773594]