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.0009696/0.0009696, allocations: 91.56 kB / 20.45 MB, free: 4.121 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.001061/0.001061, allocations: 169 kB / 23.82 MB, free: 0.75 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8406/0.8406, allocations: 158.6 MB / 185.7 MB, free: 2.477 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.4539/0.4539, allocations: 90.57 MB / 328.6 MB, free: 14.71 MB / 314.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Dynawo.Examples.GridCodeSimulations.SheetSimulations.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.783e-06/1.783e-06, allocations: 0 / 429 MB, free: 10.69 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.083e-05/3.261e-05, allocations: 5.547 kB / 429 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI6): time 0.01683/0.01686, allocations: 17.68 MB / 446.7 MB, free: 8.918 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01342/0.03029, allocations: 8.259 MB / 455 MB, free: 0.6328 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004111/0.0344, allocations: 119.2 kB / 455.1 MB, free: 0.5156 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003658/0.03806, allocations: 1.252 MB / 456.3 MB, free: 15.25 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.006513/0.04457, allocations: 1.852 MB / 458.2 MB, free: 13.39 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:112:3-112:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wTG4CurrentSource_INIT.s0Pu) == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.007041/0.05161, allocations: 3.864 MB / 462 MB, free: 9.52 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.009055/0.06066, allocations: 6.955 MB / 469 MB, free: 2.547 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002948/0.06361, allocations: 1.493 MB / 470.5 MB, free: 0.9844 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1864/0.2501, allocations: 2.369 MB / 472.9 MB, free: 51.41 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007354/0.2574, allocations: 2.108 MB / 475 MB, free: 51.41 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002695/0.2601, allocations: 0.7027 MB / 475.7 MB, free: 51.41 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002529/0.2626, allocations: 1.071 MB / 476.7 MB, free: 51.41 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001457/0.2641, allocations: 1.564 MB / 478.3 MB, free: 51.41 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002815/0.2669, allocations: 1.825 MB / 480.1 MB, free: 51.28 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006557/0.2735, allocations: 4.785 MB / 484.9 MB, free: 50.61 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.2735, allocations: 0 / 484.9 MB, free: 50.61 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2735, allocations: 3.531 kB / 484.9 MB, free: 50.61 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001147/0.2736, allocations: 3.281 kB / 484.9 MB, free: 50.61 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 891 * Number of variables: 891 Notification: Performance of Generate backend data structure: time 0.01073/0.2843, allocations: 7.041 MB / 492 MB, free: 47.71 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.2844, allocations: 7.969 kB / 492 MB, free: 47.71 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002647/0.287, allocations: 1.459 MB / 493.4 MB, free: 47.36 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003448/0.2904, allocations: 3.424 MB / 496.8 MB, free: 46.44 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003805/0.2908, allocations: 0.9886 MB / 497.8 MB, free: 45.61 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003611/0.2912, allocations: 381.2 kB / 498.2 MB, free: 45.61 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004196/0.2954, allocations: 3.714 MB / 0.4902 GB, free: 43.82 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.477e-05/0.2955, allocations: 10.94 kB / 0.4902 GB, free: 43.82 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002466/0.2957, allocations: 150.9 kB / 0.4903 GB, free: 43.71 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.047e-05/0.2958, allocations: 85.84 kB / 0.4904 GB, free: 43.71 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002944/0.2987, allocations: 1.494 MB / 0.4919 GB, free: 43.48 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.012/0.3107, allocations: 14.09 MB / 0.5056 GB, free: 34.05 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003266/0.314, allocations: 1.919 MB / 0.5075 GB, free: 33.54 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/0.315, allocations: 0.6177 MB / 0.5081 GB, free: 33.4 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001816/0.3152, allocations: 63.88 kB / 0.5081 GB, free: 33.39 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001805/0.317, allocations: 1.261 MB / 0.5094 GB, free: 32.99 MB / 442.7 MB Notification: Performance of pre-optimization done (n=290): time 4.258e-06/0.317, allocations: 0 / 0.5094 GB, free: 32.99 MB / 442.7 MB Notification: Performance of matching and sorting (n=290): time 0.00488/0.3219, allocations: 2.798 MB / 0.5121 GB, free: 32.19 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/0.322, allocations: 0.6061 MB / 0.5127 GB, free: 31.49 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003263/0.3253, allocations: 3.589 MB / 0.5162 GB, free: 30.22 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000174/0.3254, allocations: 95.45 kB / 0.5163 GB, free: 30.14 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001096/0.3265, allocations: 2.28 MB / 0.5185 GB, free: 28.38 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005542/0.3271, allocations: 1.036 MB / 0.5195 GB, free: 27.58 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000921/0.328, allocations: 0.8512 MB / 0.5204 GB, free: 27.17 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.898e-05/0.3281, allocations: 480.7 kB / 0.5208 GB, free: 26.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/0.3293, allocations: 0.8377 MB / 0.5216 GB, free: 26.52 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001615/0.3309, allocations: 2.187 MB / 0.5238 GB, free: 24.81 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003602/0.3345, allocations: 3.459 MB / 0.5272 GB, free: 23.16 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/0.3345, allocations: 7.219 kB / 0.5272 GB, free: 23.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.004216/0.3387, allocations: 3.626 MB / 0.5307 GB, free: 22.02 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.298e-05/0.3387, allocations: 71.44 kB / 0.5308 GB, free: 21.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.3388, allocations: 13.69 kB / 0.5308 GB, free: 21.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005304/0.3393, allocations: 239.3 kB / 0.531 GB, free: 21.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003127/0.3424, allocations: 1.267 MB / 0.5323 GB, free: 21.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001571/0.344, allocations: 2.283 MB / 0.5345 GB, free: 18.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.3454, allocations: 452.1 kB / 0.5349 GB, free: 18.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000199/0.3456, allocations: 155 kB / 0.5351 GB, free: 18.22 MB / 442.7 MB Warning: Assuming fixed start value for the following 35 variables: Unit.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Unit.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Unit.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Unit.HvTfo.running:DISCRETE(flow=false start = Unit.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.wecc_wtgp.limitedIntegrator.y:VARIABLE(flow=false start = Unit.wecc_wtgp.limitedIntegrator.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgp.limitedIntegrator1.y:VARIABLE(flow=false start = Unit.wecc_wtgp.limitedIntegrator1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_wtgq.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_wtgp.omegaRefWTGQPu0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.limitedIntegratorFreeze.y:VARIABLE(flow=false start = Unit.wecc_wtgq.limitedIntegratorFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = Unit.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = Unit.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean Unit.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real Unit.wecc_repc.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = Unit.wecc_repc.leadLag.X0[1] * Unit.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Unit.injector.running:DISCRETE(flow=false start = Unit.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.wecc_reec.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = Unit.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = Unit.wecc_wtgp.PConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real Unit.LvTfo.running:DISCRETE(flow=false start = Unit.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.Pm0Pu:VARIABLE(unit = \"1\" fixed = true ) \"Initial mechanical power in pu (base SNom)\" type: Real Unit.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Unit.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00186/0.3475, allocations: 1.181 MB / 0.5362 GB, free: 17.21 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001575/0.3491, allocations: 2.175 MB / 0.5383 GB, free: 14.79 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004943/0.354, allocations: 3.443 MB / 0.5417 GB, free: 11.12 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.506e-05/0.354, allocations: 4 kB / 0.5417 GB, free: 11.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.006314/0.3604, allocations: 3.614 MB / 0.5452 GB, free: 7.488 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.832e-05/0.3604, allocations: 69.66 kB / 0.5453 GB, free: 7.414 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/0.3604, allocations: 16.06 kB / 0.5453 GB, free: 7.398 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000636/0.3611, allocations: 242.2 kB / 0.5455 GB, free: 7.168 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003187/0.3643, allocations: 1.253 MB / 0.5468 GB, free: 5.969 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/0.3657, allocations: 2.279 MB / 0.549 GB, free: 3.582 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/0.3674, allocations: 433.9 kB / 0.5494 GB, free: 3.156 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001766/0.3675, allocations: 160 kB / 0.5496 GB, free: 3 MB / 442.7 MB Warning: Assuming fixed start value for the following 35 variables: Unit.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Unit.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Unit.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Unit.HvTfo.running:DISCRETE(flow=false start = Unit.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.wecc_wtgp.limitedIntegrator.y:VARIABLE(flow=false start = Unit.wecc_wtgp.limitedIntegrator.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgp.limitedIntegrator1.y:VARIABLE(flow=false start = Unit.wecc_wtgp.limitedIntegrator1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_wtgq.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_wtgp.omegaRefWTGQPu0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.limitedIntegratorFreeze.y:VARIABLE(flow=false start = Unit.wecc_wtgq.limitedIntegratorFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = Unit.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = Unit.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean Unit.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real Unit.wecc_repc.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = Unit.wecc_repc.leadLag.X0[1] * Unit.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Unit.injector.running:DISCRETE(flow=false start = Unit.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.wecc_reec.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = Unit.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = Unit.wecc_wtgp.PConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real Unit.LvTfo.running:DISCRETE(flow=false start = Unit.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.Pm0Pu:VARIABLE(unit = \"1\" fixed = true ) \"Initial mechanical power in pu (base SNom)\" type: Real Unit.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Unit.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 81 ($PRE.infiniteBusFromTable.tableOmegaRefPu.nextTimeEvent,$whenCondition20,infiniteBusFromTable.tableOmegaRefPu.nextTimeEventScaled,$PRE.infiniteBusFromTable.tableOmegaRefPu.nextTimeEventScaled,infiniteBusFromTable.tableOmegaRefPu.nextTimeEvent,$PRE.Unit.LvTfo.state,Unit.LvTfo.state,$PRE.Unit.injector.state,Unit.injector.state,$PRE.Unit.HvTfo.state,Unit.HvTfo.state,$PRE.infiniteBusFromTable.tableUPhase.nextTimeEvent,$whenCondition2,$PRE.infiniteBusFromTable.tableUPu.nextTimeEvent,$whenCondition1,Unit.injector.switchOffSignal3,Unit.injector.switchOffSignal2,Unit.injector.switchOffSignal1,Unit.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,Unit.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$PRE.Unit.HvTfo.running,$PRE.Unit.wecc_regc.offDelay.delaySignal,$PRE.Unit.wecc_regc.offDelay.tNext,$PRE.Unit.injector.running,$PRE.Unit.wecc_reec.iqInjectionLogic.vDip,$PRE.Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$PRE.Unit.LvTfo.running,Unit.wecc_regc.QConv0PuNeg.k,Unit.wecc_regc.QConv0PuPos.k,$PRE.Unit.wecc_reec.currentLimitsCalculation1.vDip,$PRE.Unit.wecc_regc.offDelay.u,Unit.LvTfo.running,Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,Unit.wecc_reec.currentLimitsCalculation1.vDip,Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime,Unit.wecc_reec.iqInjectionLogic.vDip,Unit.injector.running,Unit.wecc_repc.freeze,Unit.wecc_regc.and2.y,Unit.wecc_regc.and1.y,Unit.wecc_regc.and1.u[2],Unit.wecc_regc.offDelay.tNext,Unit.wecc_regc.offDelay.delaySignal,Unit.wecc_regc.offDelay.u,Unit.HvTfo.running,infiniteBusFromTable.tableUPhase.nextTimeEventScaled,$PRE.infiniteBusFromTable.tableUPhase.nextTimeEventScaled,infiniteBusFromTable.tableUPhase.nextTimeEvent,infiniteBusFromTable.tableUPu.nextTimeEventScaled,$PRE.infiniteBusFromTable.tableUPu.nextTimeEventScaled,infiniteBusFromTable.tableUPu.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition5,$whenCondition7,$whenCondition6,$whenCondition9,$whenCondition8,$whenCondition10,$whenCondition12,$whenCondition11,$whenCondition14,$whenCondition13,$whenCondition16,$whenCondition15,$whenCondition18,$whenCondition17,$whenCondition19,Unit.wecc_reec.varLimPIDFreeze.I.resetLocal,Unit.wecc_reec.limPIDFreeze.I.resetLocal,Unit.pll.limIntegrator.local_reset,Unit.pll.integrator.local_reset,Unit.wecc_repc.limPIDFreeze.I.resetLocal,Unit.wecc_repc.limPID.I.local_reset,Unit.wecc_wtgt.dOmegaGenerator.local_reset,Unit.wecc_wtgt.dOmegaTurbine.local_reset,Unit.wecc_wtgt.dPhi.local_reset,Unit.wecc_wtgp.absLimRateLimFirstOrderFreeze.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (548): * Single equations (assignments): 546 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,4,72.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000767/0.3683, allocations: 0.671 MB / 0.5502 GB, free: 2.402 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005709/0.3689, allocations: 0.5634 MB / 0.5508 GB, free: 1.836 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003233/0.3721, allocations: 2.253 MB / 0.553 GB, free: 15.54 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/0.3721, allocations: 31.56 kB / 0.553 GB, free: 15.51 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3721, allocations: 4 kB / 0.553 GB, free: 15.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.897e-05/0.3722, allocations: 15.94 kB / 0.553 GB, free: 15.49 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008065/0.3802, allocations: 5.893 MB / 0.5588 GB, free: 9.512 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.3802, allocations: 4 kB / 0.5588 GB, free: 9.508 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002986/0.3832, allocations: 0.908 MB / 0.5597 GB, free: 8.629 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004567/0.3837, allocations: 219.5 kB / 0.5599 GB, free: 8.41 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002073/0.3839, allocations: 83.95 kB / 0.5599 GB, free: 8.328 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001754/0.3856, allocations: 2.257 MB / 0.5622 GB, free: 5.957 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.3856, allocations: 7.375 kB / 0.5622 GB, free: 5.953 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00509/0.3907, allocations: 3.517 MB / 0.5656 GB, free: 2.234 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00112/0.3918, allocations: 0.9061 MB / 0.5665 GB, free: 1.324 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003314/0.3922, allocations: 91.92 kB / 0.5666 GB, free: 1.234 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.3932, allocations: 195.8 kB / 0.5668 GB, free: 1.043 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003631/0.3936, allocations: 285.1 kB / 0.567 GB, free: 0.7656 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001412/0.3937, allocations: 104 kB / 0.5671 GB, free: 0.6641 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002115/0.3958, allocations: 2.074 MB / 0.5692 GB, free: 14.59 MB / 474.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3958, allocations: 4 kB / 0.5692 GB, free: 14.59 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002974/0.3988, allocations: 1.991 MB / 0.5711 GB, free: 12.59 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 28 (Unit.wecc_wtgp.limitedIntegrator.y,Unit.wecc_wtgp.limitedIntegrator1.y,Unit.wecc_wtgp.absLimRateLimFirstOrderFreeze.integrator.y,Unit.wecc_wtgq.firstOrder.y,Unit.wecc_wtgq.firstOrder1.y,Unit.wecc_wtgq.limitedIntegratorFreeze.y,Unit.wecc_wtgt.dPhi.y,Unit.wecc_wtgt.dOmegaTurbine.y,Unit.wecc_wtgt.dOmegaGenerator.y,Unit.wecc_regc.rateLimFirstOrderFreeze2.y,Unit.wecc_regc.rateLimFirstOrderFreeze1.y,Unit.wecc_regc.firstOrder.y,Unit.wecc_repc.firstOrder.y,Unit.wecc_repc.limPID.I.y,Unit.wecc_repc.firstOrder1.y,Unit.wecc_repc.firstOrder2.y,Unit.wecc_repc.firstOrder3.y,Unit.wecc_repc.limPIDFreeze.I.y,Unit.wecc_repc.leadLag.x_scaled[1],Unit.pll.integrator.y,Unit.pll.limIntegrator.y,Unit.wecc_reec.firstOrder.y,Unit.wecc_reec.firstOrder1.y,Unit.wecc_reec.limPIDFreeze.I.y,Unit.wecc_reec.rateLimFirstOrderFreeze1.y,Unit.wecc_reec.slewRateLimiter.y,Unit.wecc_reec.rateLimFirstOrderFreeze.y,Unit.wecc_reec.varLimPIDFreeze.I.y) * Number of discrete variables: 44 ($whenCondition19,$whenCondition17,$whenCondition18,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,infiniteBusFromTable.tableUPu.nextTimeEvent,infiniteBusFromTable.tableUPu.nextTimeEventScaled,infiniteBusFromTable.tableUPhase.nextTimeEvent,infiniteBusFromTable.tableUPhase.nextTimeEventScaled,Unit.HvTfo.running,Unit.HvTfo.state,Unit.wecc_regc.offDelay.u,Unit.wecc_regc.offDelay.delaySignal,Unit.wecc_regc.offDelay.tNext,Unit.wecc_regc.and1.u[2],Unit.wecc_regc.and1.y,Unit.wecc_regc.and2.y,Unit.wecc_repc.freeze,Unit.injector.running,Unit.injector.state,Unit.wecc_reec.iqInjectionLogic.vDip,Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime,Unit.wecc_reec.currentLimitsCalculation1.vDip,Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,Unit.LvTfo.running,Unit.LvTfo.state,$whenCondition20,infiniteBusFromTable.tableOmegaRefPu.nextTimeEvent,infiniteBusFromTable.tableOmegaRefPu.nextTimeEventScaled) * Number of discrete states: 15 (infiniteBusFromTable.tableOmegaRefPu.nextTimeEventScaled,infiniteBusFromTable.tableOmegaRefPu.nextTimeEvent,Unit.LvTfo.running,Unit.injector.running,Unit.HvTfo.running,infiniteBusFromTable.tableUPhase.nextTimeEvent,infiniteBusFromTable.tableUPu.nextTimeEvent,infiniteBusFromTable.tableUPhase.nextTimeEventScaled,infiniteBusFromTable.tableUPu.nextTimeEventScaled,Unit.wecc_regc.offDelay.u,Unit.wecc_reec.currentLimitsCalculation1.vDip,Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,Unit.wecc_reec.currentLimitsCalculation1.ipMaxPu,Unit.wecc_reec.iqInjectionLogic.vDip,Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (291): * Single equations (assignments): 273 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,4,72.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001554/0.4004, allocations: 0.8132 MB / 0.5719 GB, free: 12.15 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006042/0.4064, allocations: 4.683 MB / 0.5765 GB, free: 7.516 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.4064, allocations: 4 kB / 0.5765 GB, free: 7.512 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001522/0.4079, allocations: 1.2 MB / 0.5776 GB, free: 6.352 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00194/0.4099, allocations: 0.813 MB / 0.5784 GB, free: 5.578 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00936/0.4192, allocations: 7.961 MB / 0.5862 GB, free: 13.47 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005739/0.4198, allocations: 0.7541 MB / 0.5869 GB, free: 12.69 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001589/0.4214, allocations: 0.59 MB / 0.5875 GB, free: 12.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007409/0.4221, allocations: 288.4 kB / 0.5878 GB, free: 11.82 MB / 490.7 MB Notification: Performance of SimCode: time 9.51e-07/0.4221, allocations: 0 / 0.5878 GB, free: 11.82 MB / 490.7 MB Notification: Performance of Templates: time 0.07131/0.4934, allocations: 55.4 MB / 0.6419 GB, free: 4.891 MB / 0.5261 GB " [Timeout remaining time 659] 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 -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.55195218231529]