Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009279/0.0009279, allocations: 91.56 kB / 20.45 MB, free: 4.125 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.0009138/0.0009138, allocations: 169.3 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.7838/0.7838, allocations: 158.6 MB / 185.7 MB, free: 2.855 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.4611/0.4611, allocations: 90.56 MB / 328.6 MB, free: 14.75 MB / 314.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Unit.HvMeasurements.PPu|Unit.HvMeasurements.QPu|Unit.HvMeasurements.UPu|Unit.LvMeasurements.PPu|Unit.LvMeasurements.QPu|Unit.LvMeasurements.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb") translateModel(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Unit.HvMeasurements.PPu|Unit.HvMeasurements.QPu|Unit.HvMeasurements.UPu|Unit.LvMeasurements.PPu|Unit.LvMeasurements.QPu|Unit.LvMeasurements.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.235e-06/2.235e-06, allocations: 3.984 kB / 429 MB, free: 10.71 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.23e-05/2.454e-05, allocations: 5.266 kB / 429 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb): time 0.0141/0.01413, allocations: 17.47 MB / 446.5 MB, free: 9.156 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01099/0.02512, allocations: 7.933 MB / 454.4 MB, free: 1.199 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002521/0.02764, allocations: 115.2 kB / 454.5 MB, free: 1.086 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001641/0.02928, allocations: 1.097 MB / 455.6 MB, free: 15.98 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.004436/0.03372, allocations: 1.696 MB / 457.3 MB, free: 14.27 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.004904/0.03862, allocations: 3.735 MB / 461 MB, free: 10.53 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.005557/0.04418, allocations: 6.721 MB / 467.8 MB, free: 3.797 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001665/0.04585, allocations: 1.5 MB / 469.3 MB, free: 2.227 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1661/0.2119, allocations: 2.281 MB / 471.6 MB, free: 51.25 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002479/0.2144, allocations: 1.999 MB / 473.6 MB, free: 51.25 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001641/0.216, allocations: 0.7011 MB / 474.3 MB, free: 51.25 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00117/0.2172, allocations: 1.024 MB / 475.3 MB, free: 51.25 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000635/0.2178, allocations: 1.493 MB / 476.8 MB, free: 51.25 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001548/0.2194, allocations: 1.797 MB / 478.6 MB, free: 51.16 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004072/0.2235, allocations: 4.637 MB / 483.2 MB, free: 50.53 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2235, allocations: 1.031 kB / 483.2 MB, free: 50.53 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2235, allocations: 0 / 483.2 MB, free: 50.53 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.441e-05/0.2235, allocations: 0.9375 kB / 483.2 MB, free: 50.53 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 889 * Number of variables: 889 Notification: Performance of Generate backend data structure: time 0.007661/0.2312, allocations: 6.929 MB / 490.1 MB, free: 47.78 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.2312, allocations: 11.81 kB / 490.1 MB, free: 47.78 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002977/0.2342, allocations: 1.617 MB / 491.8 MB, free: 47.45 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002765/0.2369, allocations: 3.287 MB / 495 MB, free: 46.57 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003868/0.2373, allocations: 1.182 MB / 496.2 MB, free: 45.53 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003447/0.2377, allocations: 377.7 kB / 496.6 MB, free: 45.52 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003821/0.2415, allocations: 3.745 MB / 0.4886 GB, free: 44.08 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.006e-05/0.2415, allocations: 3.281 kB / 0.4886 GB, free: 44.08 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002397/0.2418, allocations: 153.1 kB / 0.4888 GB, free: 44.08 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.277e-05/0.2418, allocations: 84.53 kB / 0.4888 GB, free: 44.08 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002743/0.2446, allocations: 1.521 MB / 0.4903 GB, free: 43.92 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.01169/0.2563, allocations: 13.98 MB / 0.504 GB, free: 34.57 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00319/0.2594, allocations: 1.879 MB / 0.5058 GB, free: 34.11 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/0.2605, allocations: 0.6286 MB / 0.5064 GB, free: 33.97 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001772/0.2607, allocations: 64 kB / 0.5065 GB, free: 33.97 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001806/0.2625, allocations: 1.273 MB / 0.5077 GB, free: 33.57 MB / 442.7 MB Notification: Performance of pre-optimization done (n=291): time 4.499e-06/0.2625, allocations: 1.125 kB / 0.5077 GB, free: 33.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=291): time 0.005309/0.2678, allocations: 2.953 MB / 0.5106 GB, free: 32.77 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.2679, allocations: 0.5819 MB / 0.5112 GB, free: 32.1 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002848/0.2707, allocations: 3.306 MB / 0.5144 GB, free: 30.89 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001604/0.2709, allocations: 95.98 kB / 0.5145 GB, free: 30.81 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001002/0.2719, allocations: 2.154 MB / 0.5166 GB, free: 29.15 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005329/0.2724, allocations: 1.038 MB / 0.5176 GB, free: 28.35 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008872/0.2733, allocations: 0.8502 MB / 0.5185 GB, free: 27.94 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.502e-05/0.2734, allocations: 476.8 kB / 0.5189 GB, free: 27.47 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/0.2746, allocations: 0.8652 MB / 0.5198 GB, free: 27.29 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001626/0.2762, allocations: 2.196 MB / 0.5219 GB, free: 25.59 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003827/0.28, allocations: 3.522 MB / 0.5253 GB, free: 23.93 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.036e-05/0.2801, allocations: 8.875 kB / 0.5254 GB, free: 23.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.004612/0.2847, allocations: 3.736 MB / 0.529 GB, free: 22.8 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.259e-05/0.2847, allocations: 71.5 kB / 0.5291 GB, free: 22.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/0.2847, allocations: 11.03 kB / 0.5291 GB, free: 22.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006932/0.2854, allocations: 344.9 kB / 0.5294 GB, free: 22.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002906/0.2883, allocations: 1.253 MB / 0.5306 GB, free: 22.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002152/0.2905, allocations: 2.529 MB / 0.5331 GB, free: 19.69 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/0.292, allocations: 453.3 kB / 0.5335 GB, free: 19.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001929/0.2921, allocations: 158 kB / 0.5337 GB, free: 19.14 MB / 442.7 MB Warning: Assuming fixed start value for the following 37 variables: Unit.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Unit.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Unit.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Xcc_a.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Xcc_a.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Xcc_a.running:DISCRETE(flow=false start = Xcc_a.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.HvTfo.running:DISCRETE(flow=false start = Unit.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.wecc_wtgp.limitedIntegrator.y:VARIABLE(flow=false start = Unit.wecc_wtgp.limitedIntegrator.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgp.limitedIntegrator1.y:VARIABLE(flow=false start = Unit.wecc_wtgp.limitedIntegrator1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_wtgq.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_wtgp.omegaRefWTGQPu0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.limitedIntegratorFreeze.y:VARIABLE(flow=false start = Unit.wecc_wtgq.limitedIntegratorFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = Unit.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = Unit.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean Unit.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real Unit.wecc_repc.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = Unit.wecc_repc.leadLag.X0[1] * Unit.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Unit.injector.running:DISCRETE(flow=false start = Unit.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.wecc_reec.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = Unit.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = Unit.wecc_wtgp.PConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real Unit.LvTfo.running:DISCRETE(flow=false start = Unit.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.Pm0Pu:VARIABLE(unit = \"1\" fixed = true ) \"Initial mechanical power in pu (base SNom)\" type: Real Unit.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Unit.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001937/0.2941, allocations: 1.213 MB / 0.5349 GB, free: 18.11 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001671/0.2958, allocations: 2.186 MB / 0.537 GB, free: 15.68 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003655/0.2994, allocations: 3.518 MB / 0.5404 GB, free: 11.94 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.027e-06/0.2994, allocations: 4 kB / 0.5404 GB, free: 11.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=580) (initialization_lambda0): time 0.00427/0.3037, allocations: 3.726 MB / 0.5441 GB, free: 8.199 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.663e-05/0.3037, allocations: 73.59 kB / 0.5442 GB, free: 8.121 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.3037, allocations: 12 kB / 0.5442 GB, free: 8.109 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005571/0.3043, allocations: 349.5 kB / 0.5445 GB, free: 7.773 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002794/0.3071, allocations: 1.243 MB / 0.5457 GB, free: 6.586 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001951/0.309, allocations: 2.526 MB / 0.5482 GB, free: 3.949 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/0.3104, allocations: 433.9 kB / 0.5486 GB, free: 3.523 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001676/0.3106, allocations: 156 kB / 0.5487 GB, free: 3.371 MB / 442.7 MB Warning: Assuming fixed start value for the following 37 variables: Unit.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Unit.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Unit.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Xcc_a.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Xcc_a.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Xcc_a.running:DISCRETE(flow=false start = Xcc_a.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.HvTfo.running:DISCRETE(flow=false start = Unit.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.wecc_wtgp.limitedIntegrator.y:VARIABLE(flow=false start = Unit.wecc_wtgp.limitedIntegrator.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgp.limitedIntegrator1.y:VARIABLE(flow=false start = Unit.wecc_wtgp.limitedIntegrator1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_wtgq.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_wtgp.omegaRefWTGQPu0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.limitedIntegratorFreeze.y:VARIABLE(flow=false start = Unit.wecc_wtgq.limitedIntegratorFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = Unit.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = Unit.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean Unit.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real Unit.wecc_repc.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = Unit.wecc_repc.leadLag.X0[1] * Unit.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Unit.injector.running:DISCRETE(flow=false start = Unit.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.wecc_reec.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = Unit.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = Unit.wecc_wtgp.PConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real Unit.LvTfo.running:DISCRETE(flow=false start = Unit.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.Pm0Pu:VARIABLE(unit = \"1\" fixed = true ) \"Initial mechanical power in pu (base SNom)\" type: Real Unit.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Unit.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 75 ($PRE.Unit.LvTfo.state,Unit.LvTfo.state,$PRE.Unit.injector.state,Unit.injector.state,$PRE.Unit.HvTfo.state,Unit.HvTfo.state,$PRE.Xcc_a.state,Xcc_a.state,Xcc_a.switchOffSignal2,Xcc_a.switchOffSignal1,Unit.injector.switchOffSignal3,Unit.injector.switchOffSignal2,Unit.injector.switchOffSignal1,Unit.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,Unit.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$PRE.Xcc_a.running,$PRE.Unit.HvTfo.running,$PRE.Unit.wecc_regc.offDelay.delaySignal,$PRE.Unit.wecc_regc.offDelay.tNext,$PRE.Unit.injector.running,$PRE.Unit.wecc_reec.iqInjectionLogic.vDip,$PRE.Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$PRE.Unit.LvTfo.running,Unit.wecc_regc.QConv0PuNeg.k,Unit.wecc_regc.QConv0PuPos.k,$PRE.Unit.wecc_reec.currentLimitsCalculation1.vDip,$PRE.Unit.wecc_regc.offDelay.u,Unit.LvTfo.running,Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,Unit.wecc_reec.currentLimitsCalculation1.vDip,Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime,Unit.wecc_reec.iqInjectionLogic.vDip,Unit.injector.running,Unit.wecc_repc.freeze,Unit.wecc_regc.and2.y,Unit.wecc_regc.and1.y,Unit.wecc_regc.and1.u[2],Unit.wecc_regc.offDelay.tNext,Unit.wecc_regc.offDelay.delaySignal,Unit.wecc_regc.offDelay.u,Unit.HvTfo.running,Xcc_a.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition15,$whenCondition14,$whenCondition17,$whenCondition16,$whenCondition19,$whenCondition18,$whenCondition20,Unit.wecc_reec.varLimPIDFreeze.I.resetLocal,Unit.wecc_reec.limPIDFreeze.I.resetLocal,Unit.pll.limIntegrator.local_reset,Unit.pll.integrator.local_reset,Unit.wecc_repc.limPIDFreeze.I.resetLocal,Unit.wecc_repc.limPID.I.local_reset,Unit.wecc_wtgt.dOmegaGenerator.local_reset,Unit.wecc_wtgt.dOmegaTurbine.local_reset,Unit.wecc_wtgt.dPhi.local_reset,Unit.wecc_wtgp.absLimRateLimFirstOrderFreeze.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (543): * Single equations (assignments): 541 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,4,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006403/0.3112, allocations: 0.6786 MB / 0.5494 GB, free: 2.758 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004787/0.3117, allocations: 0.5362 MB / 0.5499 GB, free: 2.219 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003796/0.3155, allocations: 2.386 MB / 0.5523 GB, free: 15.79 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.892e-05/0.3155, allocations: 28 kB / 0.5523 GB, free: 15.76 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.3155, allocations: 4 kB / 0.5523 GB, free: 15.75 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.916e-05/0.3155, allocations: 11.95 kB / 0.5523 GB, free: 15.74 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007821/0.3234, allocations: 6.022 MB / 0.5582 GB, free: 9.637 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.3234, allocations: 4 kB / 0.5582 GB, free: 9.633 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002729/0.3261, allocations: 0.9078 MB / 0.5591 GB, free: 8.75 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00059/0.3267, allocations: 329.5 kB / 0.5594 GB, free: 8.426 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001436/0.3268, allocations: 79.97 kB / 0.5595 GB, free: 8.348 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002561/0.3294, allocations: 2.522 MB / 0.5619 GB, free: 5.723 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.3294, allocations: 12 kB / 0.5619 GB, free: 5.711 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004851/0.3342, allocations: 3.615 MB / 0.5655 GB, free: 1.895 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001077/0.3353, allocations: 0.8868 MB / 0.5663 GB, free: 1.004 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003407/0.3357, allocations: 83.98 kB / 0.5664 GB, free: 0.9219 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/0.3367, allocations: 199.8 kB / 0.5666 GB, free: 0.7266 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000391/0.3371, allocations: 296.9 kB / 0.5669 GB, free: 452 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003696/0.3375, allocations: 99.89 kB / 0.567 GB, free: 352 kB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001929/0.3394, allocations: 1.913 MB / 0.5688 GB, free: 14.43 MB / 474.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3394, allocations: 0 / 0.5688 GB, free: 14.43 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002925/0.3423, allocations: 1.98 MB / 0.5708 GB, free: 12.44 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 28 (Unit.wecc_wtgp.limitedIntegrator.y,Unit.wecc_wtgp.limitedIntegrator1.y,Unit.wecc_wtgp.absLimRateLimFirstOrderFreeze.integrator.y,Unit.wecc_wtgq.firstOrder.y,Unit.wecc_wtgq.firstOrder1.y,Unit.wecc_wtgq.limitedIntegratorFreeze.y,Unit.wecc_wtgt.dPhi.y,Unit.wecc_wtgt.dOmegaTurbine.y,Unit.wecc_wtgt.dOmegaGenerator.y,Unit.wecc_regc.rateLimFirstOrderFreeze2.y,Unit.wecc_regc.rateLimFirstOrderFreeze1.y,Unit.wecc_regc.firstOrder.y,Unit.wecc_repc.firstOrder.y,Unit.wecc_repc.limPID.I.y,Unit.wecc_repc.firstOrder1.y,Unit.wecc_repc.firstOrder2.y,Unit.wecc_repc.firstOrder3.y,Unit.wecc_repc.limPIDFreeze.I.y,Unit.wecc_repc.leadLag.x_scaled[1],Unit.pll.integrator.y,Unit.pll.limIntegrator.y,Unit.wecc_reec.firstOrder.y,Unit.wecc_reec.firstOrder1.y,Unit.wecc_reec.limPIDFreeze.I.y,Unit.wecc_reec.rateLimFirstOrderFreeze1.y,Unit.wecc_reec.slewRateLimiter.y,Unit.wecc_reec.rateLimFirstOrderFreeze.y,Unit.wecc_reec.varLimPIDFreeze.I.y) * Number of discrete variables: 40 ($whenCondition20,$whenCondition18,$whenCondition19,$whenCondition16,$whenCondition17,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,Xcc_a.running,Xcc_a.state,Unit.HvTfo.running,Unit.HvTfo.state,Unit.wecc_regc.offDelay.u,Unit.wecc_regc.offDelay.delaySignal,Unit.wecc_regc.offDelay.tNext,Unit.wecc_regc.and1.u[2],Unit.wecc_regc.and1.y,Unit.wecc_regc.and2.y,Unit.wecc_repc.freeze,Unit.injector.running,Unit.injector.state,Unit.wecc_reec.iqInjectionLogic.vDip,Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime,Unit.wecc_reec.currentLimitsCalculation1.vDip,Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,Unit.LvTfo.running,Unit.LvTfo.state) * Number of discrete states: 10 (Unit.LvTfo.running,Unit.injector.running,Unit.HvTfo.running,Xcc_a.running,Unit.wecc_regc.offDelay.u,Unit.wecc_reec.currentLimitsCalculation1.vDip,Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,Unit.wecc_reec.currentLimitsCalculation1.ipMaxPu,Unit.wecc_reec.iqInjectionLogic.vDip,Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (288): * Single equations (assignments): 274 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,4,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001044/0.3434, allocations: 0.5034 MB / 0.5713 GB, free: 12.12 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00704/0.3504, allocations: 4.834 MB / 0.576 GB, free: 7.328 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.3504, allocations: 4 kB / 0.576 GB, free: 7.324 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001732/0.3522, allocations: 1.264 MB / 0.5772 GB, free: 6.098 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001874/0.354, allocations: 0.7514 MB / 0.578 GB, free: 5.383 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009876/0.3639, allocations: 7.669 MB / 0.5855 GB, free: 13.56 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005799/0.3645, allocations: 0.7195 MB / 0.5862 GB, free: 12.82 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001609/0.3661, allocations: 0.5576 MB / 0.5867 GB, free: 12.25 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007336/0.3668, allocations: 272.5 kB / 0.587 GB, free: 11.99 MB / 490.7 MB Notification: Performance of SimCode: time 1.072e-06/0.3668, allocations: 4 kB / 0.587 GB, free: 11.98 MB / 490.7 MB Notification: Performance of Templates: time 0.0648/0.4316, allocations: 55.59 MB / 0.6413 GB, free: 4.891 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb.pipe >> ../files/Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb.sim & ./Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=ida -variableFilter=.* -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xccb_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 5.327475298661739]