Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.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.001096/0.001096, allocations: 77.88 kB / 21.46 MB, free: 3.043 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.001185/0.001185, allocations: 167.7 kB / 24.86 MB, free: 8.77 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.8696/0.8696, allocations: 158.6 MB / 186.8 MB, free: 2.773 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.4609/0.4609, allocations: 90.56 MB / 329.7 MB, free: 14.59 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.SheetI2Xcca,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.SheetI2Xcca") translateModel(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca,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.SheetI2Xcca") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 430.3 MB, free: 10.4 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.298e-05/2.449e-05, allocations: 5.828 kB / 430.3 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca): time 0.01461/0.01463, allocations: 16.8 MB / 447.1 MB, free: 9.508 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01196/0.02659, allocations: 7.89 MB / 455 MB, free: 1.594 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002888/0.02948, allocations: 115.2 kB / 455.1 MB, free: 1.48 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001926/0.03141, allocations: 1.093 MB / 456.2 MB, free: 388 kB / 426.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.003247/0.03465, allocations: 1.704 MB / 457.9 MB, free: 14.66 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.004892/0.03955, allocations: 3.704 MB / 461.6 MB, free: 10.95 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.005356/0.0449, allocations: 6.717 MB / 468.3 MB, free: 4.219 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001737/0.04664, allocations: 1.496 MB / 469.8 MB, free: 2.652 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001901/0.04854, allocations: 2.286 MB / 472.1 MB, free: 368 kB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1769/0.2254, allocations: 2.002 MB / 474.1 MB, free: 54.78 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002179/0.2276, allocations: 0.6985 MB / 474.8 MB, free: 54.78 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001839/0.2294, allocations: 1.022 MB / 475.8 MB, free: 54.78 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000967/0.2304, allocations: 1.494 MB / 477.3 MB, free: 54.78 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001745/0.2321, allocations: 1.8 MB / 479.1 MB, free: 54.78 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004315/0.2364, allocations: 4.632 MB / 483.7 MB, free: 54.43 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.2364, allocations: 3.328 kB / 483.7 MB, free: 54.43 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2364, allocations: 0 / 483.7 MB, free: 54.43 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.051e-05/0.2365, allocations: 0 / 483.7 MB, free: 54.43 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.008255/0.2447, allocations: 6.977 MB / 490.7 MB, free: 51.68 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.2448, allocations: 8.594 kB / 490.7 MB, free: 51.68 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003158/0.2479, allocations: 1.623 MB / 492.4 MB, free: 51.34 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002795/0.2507, allocations: 3.201 MB / 495.6 MB, free: 50.46 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004438/0.2512, allocations: 1.183 MB / 496.7 MB, free: 49.43 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003809/0.2516, allocations: 375.2 kB / 497.1 MB, free: 49.42 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003239/0.2548, allocations: 3.495 MB / 0.4889 GB, free: 47.65 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.029e-05/0.2548, allocations: 6.156 kB / 0.4889 GB, free: 47.65 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002221/0.2551, allocations: 149 kB / 0.489 GB, free: 47.54 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.364e-05/0.2551, allocations: 87.06 kB / 0.4891 GB, free: 47.54 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001787/0.2569, allocations: 1.212 MB / 0.4903 GB, free: 47.43 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.01127/0.2682, allocations: 13.42 MB / 0.5034 GB, free: 38.68 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002847/0.271, allocations: 1.713 MB / 0.5051 GB, free: 38.34 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007786/0.2718, allocations: 0.5171 MB / 0.5056 GB, free: 38.27 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001858/0.272, allocations: 66.03 kB / 0.5056 GB, free: 38.27 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001579/0.2736, allocations: 1.163 MB / 0.5068 GB, free: 38.01 MB / 442.7 MB Notification: Performance of pre-optimization done (n=291): time 4.729e-06/0.2736, allocations: 0 / 0.5068 GB, free: 38.01 MB / 442.7 MB Notification: Performance of matching and sorting (n=291): time 0.005155/0.2787, allocations: 2.627 MB / 0.5093 GB, free: 37.37 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001501/0.2789, allocations: 0.5714 MB / 0.5099 GB, free: 36.71 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003219/0.2821, allocations: 3.169 MB / 0.513 GB, free: 36.07 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001809/0.2823, allocations: 95.58 kB / 0.5131 GB, free: 35.99 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001182/0.2835, allocations: 2.197 MB / 0.5152 GB, free: 34.46 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006286/0.2841, allocations: 1.058 MB / 0.5163 GB, free: 33.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009504/0.285, allocations: 0.8686 MB / 0.5171 GB, free: 33.4 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.551e-05/0.2851, allocations: 483.9 kB / 0.5176 GB, free: 32.93 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001178/0.2863, allocations: 0.7868 MB / 0.5183 GB, free: 32.74 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001608/0.2879, allocations: 2.142 MB / 0.5204 GB, free: 31.12 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003534/0.2914, allocations: 3.378 MB / 0.5237 GB, free: 29.54 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.119e-05/0.2914, allocations: 6.844 kB / 0.5237 GB, free: 29.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.004589/0.296, allocations: 3.57 MB / 0.5272 GB, free: 28.42 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.372e-05/0.2961, allocations: 69.72 kB / 0.5273 GB, free: 28.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.2961, allocations: 11.91 kB / 0.5273 GB, free: 28.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006735/0.2967, allocations: 336.3 kB / 0.5276 GB, free: 28.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002931/0.2997, allocations: 1.251 MB / 0.5288 GB, free: 28.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001968/0.3016, allocations: 2.48 MB / 0.5313 GB, free: 25.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/0.3032, allocations: 447.9 kB / 0.5317 GB, free: 25.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001761/0.3034, allocations: 121 kB / 0.5318 GB, free: 25.36 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.00195/0.3053, allocations: 1.137 MB / 0.5329 GB, free: 24.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001466/0.3068, allocations: 2.132 MB / 0.535 GB, free: 22.11 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003315/0.3101, allocations: 3.365 MB / 0.5383 GB, free: 18.58 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.023e-05/0.3101, allocations: 7.938 kB / 0.5383 GB, free: 18.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=580) (initialization_lambda0): time 0.004159/0.3143, allocations: 3.554 MB / 0.5418 GB, free: 15.01 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.039e-05/0.3143, allocations: 69.66 kB / 0.5418 GB, free: 14.94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.3144, allocations: 12 kB / 0.5418 GB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005595/0.3149, allocations: 350.5 kB / 0.5422 GB, free: 14.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002719/0.3176, allocations: 1.247 MB / 0.5434 GB, free: 13.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001884/0.3195, allocations: 2.464 MB / 0.5458 GB, free: 10.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/0.3211, allocations: 429.9 kB / 0.5462 GB, free: 10.44 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001661/0.3213, allocations: 124 kB / 0.5463 GB, free: 10.32 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,Unit.wecc_wtgp.absLimRateLimFirstOrderFreeze.integrator.local_reset,Unit.wecc_wtgt.dPhi.local_reset,Unit.wecc_wtgt.dOmegaTurbine.local_reset,Unit.wecc_wtgt.dOmegaGenerator.local_reset,Unit.wecc_repc.limPID.I.local_reset,Unit.wecc_repc.limPIDFreeze.I.resetLocal,Unit.pll.integrator.local_reset,Unit.pll.limIntegrator.local_reset,Unit.wecc_reec.limPIDFreeze.I.resetLocal,Unit.wecc_reec.varLimPIDFreeze.I.resetLocal,Unit.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,Unit.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,Unit.injector.switchOffSignal1,Unit.injector.switchOffSignal2,Unit.injector.switchOffSignal3,Xcc_a.switchOffSignal1,Xcc_a.switchOffSignal2,$PRE.Xcc_a.running,$PRE.Unit.HvTfo.running,$PRE.Unit.wecc_regc.offDelay.delaySignal,$PRE.Unit.wecc_regc.offDelay.tNext,$PRE.Unit.injector.running,$PRE.Unit.wecc_reec.iqInjectionLogic.vDip,$PRE.Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$PRE.Unit.LvTfo.running,Unit.wecc_regc.QConv0PuPos.k,Unit.wecc_regc.QConv0PuNeg.k,$PRE.Unit.wecc_reec.currentLimitsCalculation1.vDip,$PRE.Unit.wecc_regc.offDelay.u,Unit.LvTfo.running,Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,Unit.wecc_reec.currentLimitsCalculation1.vDip,Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime,Unit.wecc_reec.iqInjectionLogic.vDip,Unit.injector.running,Unit.wecc_repc.freeze,Unit.wecc_regc.and2.y,Unit.wecc_regc.and1.y,Unit.wecc_regc.and1.u[2],Unit.wecc_regc.offDelay.tNext,Unit.wecc_regc.offDelay.delaySignal,Unit.wecc_regc.offDelay.u,Unit.HvTfo.running,Xcc_a.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition15,$whenCondition14,$whenCondition17,$whenCondition16,$whenCondition19,$whenCondition18,$whenCondition20) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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.0007766/0.3221, allocations: 0.6801 MB / 0.547 GB, free: 9.707 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005536/0.3226, allocations: 0.5362 MB / 0.5475 GB, free: 9.168 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002864/0.3255, allocations: 2.155 MB / 0.5496 GB, free: 6.969 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.3255, allocations: 28 kB / 0.5496 GB, free: 6.941 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.3255, allocations: 7.938 kB / 0.5497 GB, free: 6.934 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.595e-05/0.3255, allocations: 11.95 kB / 0.5497 GB, free: 6.922 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006049/0.3316, allocations: 5.292 MB / 0.5548 GB, free: 1.875 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.954e-06/0.3316, allocations: 8 kB / 0.5548 GB, free: 1.867 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002537/0.3341, allocations: 0.9033 MB / 0.5557 GB, free: 0.9922 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000551/0.3347, allocations: 328 kB / 0.556 GB, free: 0.6719 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001472/0.3348, allocations: 75.97 kB / 0.5561 GB, free: 0.5977 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002103/0.3369, allocations: 2.446 MB / 0.5585 GB, free: 14.08 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.3369, allocations: 7.75 kB / 0.5585 GB, free: 14.08 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004163/0.3411, allocations: 3.272 MB / 0.5617 GB, free: 10.66 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/0.3422, allocations: 0.89 MB / 0.5626 GB, free: 9.766 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003482/0.3426, allocations: 83.98 kB / 0.5626 GB, free: 9.684 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.3436, allocations: 199.8 kB / 0.5628 GB, free: 9.488 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003802/0.344, allocations: 289.5 kB / 0.5631 GB, free: 9.207 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001347/0.3442, allocations: 79.97 kB / 0.5632 GB, free: 9.129 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001535/0.3457, allocations: 1.713 MB / 0.5649 GB, free: 7.582 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3457, allocations: 0 / 0.5649 GB, free: 7.582 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003274/0.349, allocations: 1.98 MB / 0.5668 GB, free: 5.598 MB / 458.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.001028/0.35, allocations: 0.5214 MB / 0.5673 GB, free: 5.27 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006381/0.3564, allocations: 4.583 MB / 0.5718 GB, free: 0.8281 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.3564, allocations: 4.938 kB / 0.5718 GB, free: 0.8242 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001531/0.3579, allocations: 1.165 MB / 0.5729 GB, free: 15.73 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002106/0.36, allocations: 0.741 MB / 0.5736 GB, free: 15.02 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009689/0.3697, allocations: 7.63 MB / 0.5811 GB, free: 7.273 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00059/0.3703, allocations: 0.7117 MB / 0.5818 GB, free: 6.539 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001756/0.3721, allocations: 0.5342 MB / 0.5823 GB, free: 6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001628/0.3737, allocations: 0.7908 MB / 0.5831 GB, free: 5.207 MB / 474.7 MB Notification: Performance of SimCode: time 1.092e-06/0.3737, allocations: 0 / 0.5831 GB, free: 5.207 MB / 474.7 MB Notification: Performance of Templates: time 0.07233/0.446, allocations: 59.89 MB / 0.6416 GB, free: 9.805 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.pipe >> ../files/Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.sim & ./Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=ida -variableFilter=.* -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca_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.821846724953502]