Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.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.0009384/0.0009384, allocations: 87.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.0009475/0.0009475, allocations: 165 kB / 23.82 MB, free: 0.7539 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.7549/0.7549, allocations: 158.6 MB / 185.7 MB, free: 2.469 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.543/0.543, allocations: 90.57 MB / 328.6 MB, free: 14.72 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) Ignoring simflag -noemit -noHomotopyOnFirstTry=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRestart=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRootFinding=() since the simulation runtime does not accept it Running command: translateModel(Dynawo.Examples.BESS.WECC.BESSCurrentSource,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|BESS.injector.PInjPuSn|BESS.injector.QInjPuSn|BESS.reecC.idCmdPu|BESS.reecC.iqCmdPu|BESS.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource") translateModel(Dynawo.Examples.BESS.WECC.BESSCurrentSource,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|BESS.injector.PInjPuSn|BESS.injector.QInjPuSn|BESS.reecC.idCmdPu|BESS.reecC.iqCmdPu|BESS.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.175e-06/2.175e-06, allocations: 0 / 433.8 MB, free: 5.867 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.24e-05/3.458e-05, allocations: 9.484 kB / 433.8 MB, free: 5.859 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSource): time 0.01383/0.01386, allocations: 14.59 MB / 448.4 MB, free: 7.195 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.009877/0.02374, allocations: 6.875 MB / 455.3 MB, free: 312 kB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002131/0.02587, allocations: 95.38 kB / 455.4 MB, free: 216 kB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001699/0.02757, allocations: 0.934 MB / 456.3 MB, free: 15.27 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.002996/0.03056, allocations: 1.436 MB / 457.8 MB, free: 13.82 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.00463/0.03519, allocations: 3.154 MB / 460.9 MB, free: 10.66 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.004888/0.04008, allocations: 5.398 MB / 466.3 MB, free: 5.25 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001452/0.04153, allocations: 1.202 MB / 467.5 MB, free: 3.977 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001776/0.04331, allocations: 1.842 MB / 469.4 MB, free: 2.129 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001393/0.0447, allocations: 1.635 MB / 471 MB, free: 500 kB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.1812/0.2259, allocations: 0.5544 MB / 471.5 MB, free: 59.45 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002008/0.2279, allocations: 0.8748 MB / 472.4 MB, free: 59.45 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000624/0.2285, allocations: 1.193 MB / 473.6 MB, free: 59.45 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001323/0.2298, allocations: 1.436 MB / 475.1 MB, free: 59.45 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003583/0.2334, allocations: 3.778 MB / 478.8 MB, free: 59.19 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2334, allocations: 0 / 478.8 MB, free: 59.19 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2334, allocations: 4.625 kB / 478.8 MB, free: 59.19 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.008e-05/0.2335, allocations: 3.328 kB / 478.8 MB, free: 59.19 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: 712 * Number of variables: 712 Notification: Performance of Generate backend data structure: time 0.00731/0.2408, allocations: 5.832 MB / 484.7 MB, free: 56.9 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.2409, allocations: 8.688 kB / 484.7 MB, free: 56.9 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002759/0.2436, allocations: 1.43 MB / 486.1 MB, free: 56.63 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002241/0.2459, allocations: 2.68 MB / 488.8 MB, free: 55.93 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002939/0.2462, allocations: 0.9734 MB / 489.8 MB, free: 55.05 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002701/0.2464, allocations: 299.4 kB / 490.1 MB, free: 55.04 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003092/0.2495, allocations: 3.013 MB / 493.1 MB, free: 53.85 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.212e-05/0.2496, allocations: 6.094 kB / 493.1 MB, free: 53.85 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001864/0.2497, allocations: 123.9 kB / 493.2 MB, free: 53.85 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.791e-05/0.2498, allocations: 72 kB / 493.3 MB, free: 53.84 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002129/0.2519, allocations: 1.252 MB / 494.5 MB, free: 53.77 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.008644/0.2606, allocations: 11.13 MB / 0.4938 GB, free: 46.42 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002427/0.263, allocations: 1.455 MB / 0.4952 GB, free: 46.07 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008187/0.2638, allocations: 0.5125 MB / 0.4957 GB, free: 45.96 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001771/0.264, allocations: 54.12 kB / 0.4958 GB, free: 45.95 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001303/0.2653, allocations: 0.9859 MB / 0.4967 GB, free: 45.64 MB / 442.7 MB Notification: Performance of pre-optimization done (n=236): time 3.867e-06/0.2653, allocations: 1.438 kB / 0.4967 GB, free: 45.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=236): time 0.004636/0.2699, allocations: 2.491 MB / 0.4992 GB, free: 45.01 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.509e-05/0.27, allocations: 0.4957 MB / 0.4997 GB, free: 44.44 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002795/0.2728, allocations: 2.716 MB / 0.5023 GB, free: 43.46 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001306/0.2729, allocations: 76.39 kB / 0.5024 GB, free: 43.39 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009087/0.2738, allocations: 1.73 MB / 0.5041 GB, free: 42.05 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004667/0.2743, allocations: 0.8451 MB / 0.5049 GB, free: 41.39 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008451/0.2752, allocations: 0.71 MB / 0.5056 GB, free: 41.06 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.465e-05/0.2752, allocations: 478.5 kB / 0.506 GB, free: 40.59 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/0.2764, allocations: 0.7403 MB / 0.5068 GB, free: 40.43 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001619/0.278, allocations: 1.836 MB / 0.5086 GB, free: 39.05 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003712/0.2817, allocations: 2.969 MB / 0.5115 GB, free: 37.71 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/0.2818, allocations: 3 kB / 0.5115 GB, free: 37.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=479) (initialization): time 0.004195/0.286, allocations: 3.178 MB / 0.5146 GB, free: 36.8 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.101e-05/0.286, allocations: 66.34 kB / 0.5146 GB, free: 36.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.286, allocations: 11.81 kB / 0.5146 GB, free: 36.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007048/0.2867, allocations: 336.4 kB / 0.515 GB, free: 36.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001733/0.2885, allocations: 0.7498 MB / 0.5157 GB, free: 36.65 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00222/0.2907, allocations: 2.529 MB / 0.5182 GB, free: 34.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.292, allocations: 360.9 kB / 0.5185 GB, free: 34.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001684/0.2922, allocations: 131.2 kB / 0.5186 GB, free: 34.34 MB / 442.7 MB Warning: Assuming fixed start value for the following 26 variables: BESS.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.reecC.firstOrder.y:VARIABLE(flow=false start = BESS.reecC.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.firstOrder1.y:VARIABLE(flow=false start = BESS.reecC.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.firstOrder.y:VARIABLE(flow=false start = BESS.regcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean BESS.regcA.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real BESS.injector.running:DISCRETE(flow=false start = BESS.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.LvTfo.running:DISCRETE(flow=false start = BESS.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.HvTfo.running:DISCRETE(flow=false start = BESS.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.repcA.firstOrder.y:VARIABLE(flow=false start = BESS.repcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder1.y:VARIABLE(flow=false start = BESS.repcA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder2.y:VARIABLE(flow=false start = BESS.repcA.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder3.y:VARIABLE(flow=false start = BESS.repcA.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.repcA.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.leadLag.x_scaled[1]:VARIABLE(start = BESS.repcA.leadLag.X0[1] * BESS.repcA.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] BESS.regcA.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001662/0.2938, allocations: 1.03 MB / 0.5196 GB, free: 34 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001411/0.2952, allocations: 1.83 MB / 0.5214 GB, free: 32.61 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003456/0.2987, allocations: 2.952 MB / 0.5243 GB, free: 31.27 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.165e-05/0.2987, allocations: 2.906 kB / 0.5243 GB, free: 31.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=479) (initialization_lambda0): time 0.004133/0.3028, allocations: 3.154 MB / 0.5274 GB, free: 28.66 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.06e-05/0.3029, allocations: 72.52 kB / 0.5275 GB, free: 28.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.3029, allocations: 8 kB / 0.5275 GB, free: 28.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006062/0.3035, allocations: 343.7 kB / 0.5278 GB, free: 28.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00169/0.3052, allocations: 0.7358 MB / 0.5285 GB, free: 27.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002132/0.3073, allocations: 2.532 MB / 0.531 GB, free: 25.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/0.3086, allocations: 349.2 kB / 0.5313 GB, free: 24.94 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001518/0.3088, allocations: 133.5 kB / 0.5314 GB, free: 24.82 MB / 442.7 MB Warning: Assuming fixed start value for the following 26 variables: BESS.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.reecC.firstOrder.y:VARIABLE(flow=false start = BESS.reecC.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.firstOrder1.y:VARIABLE(flow=false start = BESS.reecC.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.firstOrder.y:VARIABLE(flow=false start = BESS.regcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean BESS.regcA.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real BESS.injector.running:DISCRETE(flow=false start = BESS.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.LvTfo.running:DISCRETE(flow=false start = BESS.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.HvTfo.running:DISCRETE(flow=false start = BESS.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.repcA.firstOrder.y:VARIABLE(flow=false start = BESS.repcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder1.y:VARIABLE(flow=false start = BESS.repcA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder2.y:VARIABLE(flow=false start = BESS.repcA.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder3.y:VARIABLE(flow=false start = BESS.repcA.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.repcA.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.leadLag.x_scaled[1]:VARIABLE(start = BESS.repcA.leadLag.X0[1] * BESS.repcA.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] BESS.regcA.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: 43 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.BESS.HvTfo.state,BESS.HvTfo.state,$PRE.BESS.LvTfo.state,BESS.LvTfo.state,$PRE.BESS.injector.state,BESS.injector.state,$PRE.line.state,line.state,BESS.injector.switchOffSignal3,BESS.injector.switchOffSignal2,BESS.injector.switchOffSignal1,line.switchOffSignal2,line.switchOffSignal1,BESS.regcA.rateLimFirstOrderFreeze1.local_freeze,BESS.regcA.rateLimFirstOrderFreeze2.local_freeze,$PRE.line.running,$PRE.BESS.regcA.offDelay.delaySignal,$PRE.BESS.regcA.offDelay.tNext,$PRE.BESS.injector.running,$PRE.BESS.LvTfo.running,$PRE.BESS.HvTfo.running,BESS.regcA.QConv0PuNeg.k,BESS.regcA.QConv0PuPos.k,$PRE.BESS.regcA.offDelay.u,BESS.repcA.freeze,BESS.HvTfo.running,BESS.LvTfo.running,BESS.injector.running,BESS.regcA.and2.y,BESS.regcA.and1.y,BESS.regcA.and1.u[2],BESS.regcA.offDelay.tNext,BESS.regcA.offDelay.delaySignal,BESS.regcA.offDelay.u,line.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition14,BESS.repcA.limPIDFreeze.I.resetLocal,BESS.repcA.limPID.I.local_reset,BESS.pll.limIntegrator.local_reset,BESS.pll.integrator.local_reset,BESS.reecC.integrator.local_reset,BESS.reecC.varLimPIDFreeze.I.resetLocal,BESS.reecC.limPIDFreeze.I.resetLocal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (443): * Single equations (assignments): 441 * 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.0006026/0.3094, allocations: 0.5762 MB / 0.532 GB, free: 24.32 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004118/0.3098, allocations: 449.4 kB / 0.5324 GB, free: 23.88 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002913/0.3127, allocations: 2.006 MB / 0.5344 GB, free: 22.24 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.3127, allocations: 20 kB / 0.5344 GB, free: 22.22 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3127, allocations: 4 kB / 0.5344 GB, free: 22.22 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/0.3127, allocations: 12.42 kB / 0.5344 GB, free: 22.22 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005506/0.3182, allocations: 5.08 MB / 0.5394 GB, free: 17.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.3182, allocations: 8 kB / 0.5394 GB, free: 17.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001321/0.3196, allocations: 471 kB / 0.5398 GB, free: 17.15 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005384/0.3201, allocations: 332 kB / 0.5402 GB, free: 16.82 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/0.3202, allocations: 67.53 kB / 0.5402 GB, free: 16.76 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001979/0.3222, allocations: 2.511 MB / 0.5427 GB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.3222, allocations: 7.562 kB / 0.5427 GB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003519/0.3257, allocations: 3.093 MB / 0.5457 GB, free: 10.94 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007862/0.3265, allocations: 0.7273 MB / 0.5464 GB, free: 10.21 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000232/0.3267, allocations: 63.98 kB / 0.5465 GB, free: 10.15 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008463/0.3276, allocations: 159.8 kB / 0.5466 GB, free: 9.992 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002465/0.3278, allocations: 213 kB / 0.5468 GB, free: 9.785 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.884e-05/0.3279, allocations: 79.97 kB / 0.5469 GB, free: 9.707 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001311/0.3292, allocations: 1.573 MB / 0.5484 GB, free: 8.148 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3292, allocations: 4 kB / 0.5485 GB, free: 8.145 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002162/0.3314, allocations: 1.633 MB / 0.55 GB, free: 6.508 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 20 (BESS.reecC.firstOrder.y,BESS.reecC.firstOrder1.y,BESS.reecC.limPIDFreeze.I.y,BESS.reecC.rateLimFirstOrderFreeze1.y,BESS.reecC.slewRateLimiter.y,BESS.reecC.rateLimFirstOrderFreeze.y,BESS.reecC.varLimPIDFreeze.I.y,BESS.reecC.integrator.y,BESS.regcA.rateLimFirstOrderFreeze2.y,BESS.regcA.rateLimFirstOrderFreeze1.y,BESS.regcA.firstOrder.y,BESS.pll.integrator.y,BESS.pll.limIntegrator.y,BESS.repcA.firstOrder.y,BESS.repcA.limPID.I.y,BESS.repcA.firstOrder1.y,BESS.repcA.firstOrder2.y,BESS.repcA.firstOrder3.y,BESS.repcA.limPIDFreeze.I.y,BESS.repcA.leadLag.x_scaled[1]) * Number of discrete variables: 29 ($whenCondition14,$whenCondition12,$whenCondition13,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running,line.state,BESS.regcA.offDelay.u,BESS.regcA.offDelay.delaySignal,BESS.regcA.offDelay.tNext,BESS.regcA.and1.u[2],BESS.regcA.and1.y,BESS.regcA.and2.y,BESS.injector.running,BESS.injector.state,BESS.LvTfo.running,BESS.LvTfo.state,BESS.HvTfo.running,BESS.HvTfo.state,BESS.repcA.freeze) * Number of discrete states: 5 (BESS.HvTfo.running,BESS.LvTfo.running,BESS.injector.running,line.running,BESS.regcA.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (233): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0009023/0.3323, allocations: 484.1 kB / 0.5505 GB, free: 6.211 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004925/0.3372, allocations: 4.173 MB / 0.5546 GB, free: 2.098 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.3372, allocations: 7.094 kB / 0.5546 GB, free: 2.094 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001367/0.3386, allocations: 1.104 MB / 0.5557 GB, free: 1.023 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001577/0.3402, allocations: 0.6069 MB / 0.5563 GB, free: 456 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007844/0.348, allocations: 6.075 MB / 0.5622 GB, free: 10.23 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004857/0.3485, allocations: 0.5835 MB / 0.5628 GB, free: 9.629 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001288/0.3498, allocations: 465.7 kB / 0.5632 GB, free: 9.168 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006062/0.3504, allocations: 216.5 kB / 0.5634 GB, free: 8.957 MB / 458.7 MB Notification: Performance of SimCode: time 1.002e-06/0.3504, allocations: 3.5 kB / 0.5634 GB, free: 8.957 MB / 458.7 MB Notification: Performance of Templates: time 0.05821/0.4086, allocations: 47.8 MB / 0.6101 GB, free: 9.52 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe >> ../files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.sim & ./Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.764039380010217]