Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin.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.001262/0.001262, allocations: 77.97 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.001135/0.001135, allocations: 161.5 kB / 24.85 MB, free: 8.652 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.8595/0.8595, allocations: 158.6 MB / 186.8 MB, free: 2.797 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.4591/0.4591, allocations: 90.57 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.SheetI7QMin,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.SheetI7QMin") translateModel(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin,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.SheetI7QMin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 430.3 MB, free: 10.42 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.615e-05, allocations: 2.312 kB / 430.3 MB, free: 10.42 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin): time 0.01493/0.01495, allocations: 16.99 MB / 447.3 MB, free: 9.344 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01304/0.028, allocations: 8.228 MB / 455.5 MB, free: 1.09 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002608/0.0306, allocations: 119.2 kB / 455.6 MB, free: 0.9727 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002006/0.03261, allocations: 1.272 MB / 456.9 MB, free: 15.69 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.003164/0.03577, allocations: 1.848 MB / 458.7 MB, free: 13.83 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.004546/0.04032, allocations: 3.852 MB / 462.6 MB, free: 9.973 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.004717/0.04504, allocations: 6.966 MB / 469.6 MB, free: 2.988 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001816/0.04685, allocations: 1.5 MB / 471.1 MB, free: 1.418 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1675/0.2143, allocations: 2.36 MB / 473.4 MB, free: 51.46 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002925/0.2172, allocations: 2.116 MB / 475.5 MB, free: 51.46 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001826/0.2191, allocations: 0.7077 MB / 476.2 MB, free: 51.46 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001968/0.221, allocations: 1.077 MB / 477.3 MB, free: 51.46 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001079/0.2221, allocations: 1.569 MB / 478.9 MB, free: 51.46 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002302/0.2244, allocations: 1.831 MB / 480.7 MB, free: 51.36 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005891/0.2303, allocations: 4.793 MB / 485.5 MB, free: 50.69 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.2303, allocations: 0 / 485.5 MB, free: 50.69 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2303, allocations: 0 / 485.5 MB, free: 50.69 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001369/0.2305, allocations: 1.531 kB / 485.5 MB, free: 50.69 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.01203/0.2425, allocations: 7.114 MB / 492.6 MB, free: 47.78 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.2425, allocations: 11.83 kB / 492.6 MB, free: 47.78 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003803/0.2463, allocations: 1.456 MB / 494.1 MB, free: 47.42 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00432/0.2507, allocations: 3.339 MB / 497.4 MB, free: 46.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004252/0.2511, allocations: 0.9893 MB / 498.4 MB, free: 45.68 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005446/0.2516, allocations: 374.6 kB / 498.8 MB, free: 45.68 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003761/0.2554, allocations: 3.48 MB / 0.4905 GB, free: 44.23 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.637e-05/0.2554, allocations: 9.75 kB / 0.4905 GB, free: 44.23 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002609/0.2557, allocations: 151.1 kB / 0.4906 GB, free: 44.23 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.002e-05/0.2558, allocations: 85.12 kB / 0.4907 GB, free: 44.23 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002101/0.2579, allocations: 1.191 MB / 0.4919 GB, free: 44.13 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.01575/0.2736, allocations: 13.48 MB / 0.5051 GB, free: 35.54 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003373/0.277, allocations: 1.755 MB / 0.5068 GB, free: 35.18 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009665/0.2779, allocations: 0.5156 MB / 0.5073 GB, free: 35.09 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001805/0.2781, allocations: 66.66 kB / 0.5073 GB, free: 35.08 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00158/0.2797, allocations: 1.152 MB / 0.5085 GB, free: 34.81 MB / 442.7 MB Notification: Performance of pre-optimization done (n=290): time 7.374e-06/0.2797, allocations: 0 / 0.5085 GB, free: 34.81 MB / 442.7 MB Notification: Performance of matching and sorting (n=290): time 0.004847/0.2846, allocations: 2.489 MB / 0.5109 GB, free: 34.17 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.2847, allocations: 0.6017 MB / 0.5115 GB, free: 33.47 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003922/0.2886, allocations: 3.454 MB / 0.5148 GB, free: 32.81 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003046/0.2889, allocations: 101.3 kB / 0.5149 GB, free: 32.73 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001389/0.2903, allocations: 2.354 MB / 0.5172 GB, free: 31.08 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007957/0.2911, allocations: 1.046 MB / 0.5183 GB, free: 30.33 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009125/0.292, allocations: 0.8757 MB / 0.5191 GB, free: 30.03 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.651e-05/0.292, allocations: 479.4 kB / 0.5196 GB, free: 29.56 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001138/0.2932, allocations: 0.7686 MB / 0.5203 GB, free: 29.37 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001516/0.2947, allocations: 2.134 MB / 0.5224 GB, free: 27.74 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003446/0.2981, allocations: 3.306 MB / 0.5256 GB, free: 26.17 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.158e-05/0.2981, allocations: 3.156 kB / 0.5256 GB, free: 26.17 MB / 442.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.004704/0.3028, allocations: 3.472 MB / 0.529 GB, free: 25.05 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.469e-05/0.3029, allocations: 72.45 kB / 0.5291 GB, free: 25.01 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.1e-05/0.3029, allocations: 11.38 kB / 0.5291 GB, free: 25.01 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005636/0.3035, allocations: 241.9 kB / 0.5293 GB, free: 24.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002971/0.3065, allocations: 1.262 MB / 0.5306 GB, free: 24.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001541/0.308, allocations: 2.233 MB / 0.5328 GB, free: 22.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002307/0.3103, allocations: 445.4 kB / 0.5332 GB, free: 22.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002022/0.3105, allocations: 121.9 kB / 0.5333 GB, free: 22.39 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.002323/0.3128, allocations: 1.105 MB / 0.5344 GB, free: 21.47 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001444/0.3143, allocations: 2.127 MB / 0.5365 GB, free: 19.19 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003275/0.3176, allocations: 3.291 MB / 0.5397 GB, free: 15.97 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.079e-05/0.3176, allocations: 4 kB / 0.5397 GB, free: 15.97 MB / 442.7 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.004385/0.3219, allocations: 3.466 MB / 0.5431 GB, free: 12.59 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.572e-05/0.322, allocations: 65.67 kB / 0.5431 GB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.322, allocations: 12 kB / 0.5431 GB, free: 12.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004603/0.3225, allocations: 230.3 kB / 0.5434 GB, free: 12.28 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002832/0.3253, allocations: 1.258 MB / 0.5446 GB, free: 11.08 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001414/0.3267, allocations: 2.232 MB / 0.5468 GB, free: 8.777 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002324/0.329, allocations: 431.4 kB / 0.5472 GB, free: 8.355 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001968/0.3292, allocations: 120 kB / 0.5473 GB, free: 8.238 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.wecc_wtgp.absLimRateLimFirstOrderFreeze.integrator.local_reset,Unit.wecc_wtgt.dPhi.local_reset,Unit.wecc_wtgt.dOmegaTurbine.local_reset,Unit.wecc_wtgt.dOmegaGenerator.local_reset,Unit.wecc_repc.limPID.I.local_reset,Unit.wecc_repc.limPIDFreeze.I.resetLocal,Unit.pll.integrator.local_reset,Unit.pll.limIntegrator.local_reset,Unit.wecc_reec.limPIDFreeze.I.resetLocal,Unit.wecc_reec.varLimPIDFreeze.I.resetLocal,Unit.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,Unit.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,Unit.injector.switchOffSignal1,Unit.injector.switchOffSignal2,Unit.injector.switchOffSignal3,$PRE.Unit.HvTfo.running,$PRE.Unit.wecc_regc.offDelay.delaySignal,$PRE.Unit.wecc_regc.offDelay.tNext,$PRE.Unit.injector.running,$PRE.Unit.wecc_reec.iqInjectionLogic.vDip,$PRE.Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$PRE.Unit.LvTfo.running,Unit.wecc_regc.QConv0PuPos.k,Unit.wecc_regc.QConv0PuNeg.k,$PRE.Unit.wecc_reec.currentLimitsCalculation1.vDip,$PRE.Unit.wecc_regc.offDelay.u,Unit.LvTfo.running,Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,Unit.wecc_reec.currentLimitsCalculation1.vDip,Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime,Unit.wecc_reec.iqInjectionLogic.vDip,Unit.injector.running,Unit.wecc_repc.freeze,Unit.wecc_regc.and2.y,Unit.wecc_regc.and1.y,Unit.wecc_regc.and1.u[2],Unit.wecc_regc.offDelay.tNext,Unit.wecc_regc.offDelay.delaySignal,Unit.wecc_regc.offDelay.u,Unit.HvTfo.running,infiniteBusFromTable.tableUPhase.nextTimeEventScaled,$PRE.infiniteBusFromTable.tableUPhase.nextTimeEventScaled,infiniteBusFromTable.tableUPhase.nextTimeEvent,infiniteBusFromTable.tableUPu.nextTimeEventScaled,$PRE.infiniteBusFromTable.tableUPu.nextTimeEventScaled,infiniteBusFromTable.tableUPu.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition5,$whenCondition7,$whenCondition6,$whenCondition9,$whenCondition8,$whenCondition10,$whenCondition12,$whenCondition11,$whenCondition14,$whenCondition13,$whenCondition16,$whenCondition15,$whenCondition18,$whenCondition17,$whenCondition19) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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.000896/0.3301, allocations: 0.6766 MB / 0.5479 GB, free: 7.629 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009941/0.3311, allocations: 0.5671 MB / 0.5485 GB, free: 7.062 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00296/0.3341, allocations: 2.042 MB / 0.5505 GB, free: 4.977 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.3341, allocations: 28 kB / 0.5505 GB, free: 4.949 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.3341, allocations: 4 kB / 0.5505 GB, free: 4.945 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.716e-05/0.3341, allocations: 19.94 kB / 0.5505 GB, free: 4.926 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007286/0.3414, allocations: 5.139 MB / 0.5556 GB, free: 48 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/0.3414, allocations: 12.09 kB / 0.5556 GB, free: 36 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002949/0.3444, allocations: 0.8988 MB / 0.5565 GB, free: 15.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005022/0.3449, allocations: 217.5 kB / 0.5567 GB, free: 14.95 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001817/0.345, allocations: 79.95 kB / 0.5567 GB, free: 14.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001711/0.3468, allocations: 2.217 MB / 0.5589 GB, free: 12.58 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.3468, allocations: 11.38 kB / 0.5589 GB, free: 12.57 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004778/0.3515, allocations: 3.186 MB / 0.562 GB, free: 9.234 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001627/0.3532, allocations: 0.8969 MB / 0.5629 GB, free: 8.336 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004733/0.3536, allocations: 87.98 kB / 0.563 GB, free: 8.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/0.3548, allocations: 199.8 kB / 0.5632 GB, free: 8.055 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003983/0.3552, allocations: 280.7 kB / 0.5634 GB, free: 7.781 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001453/0.3554, allocations: 87.89 kB / 0.5635 GB, free: 7.695 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001881/0.3573, allocations: 1.878 MB / 0.5654 GB, free: 6.008 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3573, allocations: 0 / 0.5654 GB, free: 6.008 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00369/0.3609, allocations: 1.991 MB / 0.5673 GB, free: 4.012 MB / 458.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.001682/0.3626, allocations: 0.8162 MB / 0.5681 GB, free: 3.566 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006693/0.3693, allocations: 4.432 MB / 0.5724 GB, free: 15.28 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/0.3693, allocations: 0 / 0.5724 GB, free: 15.28 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001714/0.371, allocations: 1.11 MB / 0.5735 GB, free: 14.23 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003034/0.3741, allocations: 0.8019 MB / 0.5743 GB, free: 13.46 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01192/0.386, allocations: 7.922 MB / 0.582 GB, free: 5.426 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/0.387, allocations: 0.7584 MB / 0.5828 GB, free: 4.645 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002539/0.3896, allocations: 0.5708 MB / 0.5833 GB, free: 4.07 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001726/0.3913, allocations: 0.8337 MB / 0.5841 GB, free: 3.234 MB / 474.7 MB Notification: Performance of SimCode: time 1.844e-06/0.3913, allocations: 0 / 0.5841 GB, free: 3.234 MB / 474.7 MB Notification: Performance of Templates: time 0.081/0.4723, allocations: 59.78 MB / 0.6425 GB, free: 7.945 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin.pipe >> ../files/Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin.sim & ./Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=ida -variableFilter=.* -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMin_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.996197153814137]