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.0008909/0.0008909, allocations: 84.44 kB / 20.71 MB, free: 3.848 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.0008511/0.0008511, allocations: 169.2 kB / 23.98 MB, free: 0.5742 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.8356/0.8356, allocations: 158.6 MB / 185.7 MB, free: 3.023 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.4658/0.4658, allocations: 90.26 MB / 328.3 MB, free: 14.99 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 it seems broken on HelloWorld Ignoring simflag -noemit -noRestart=() since it seems broken on HelloWorld Ignoring simflag -noemit -noRootFinding=() since it seems broken on HelloWorld 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.986e-06/2.986e-06, allocations: 0 / 0.5013 GB, free: 16.71 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.11e-05/3.409e-05, allocations: 2.281 kB / 0.5013 GB, free: 16.71 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSource): time 0.01441/0.01444, allocations: 13.61 MB / 0.5145 GB, free: 7.578 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01711/0.03155, allocations: 6.763 MB / 0.5212 GB, free: 2.707 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00561/0.03716, allocations: 94 kB / 0.5212 GB, free: 2.668 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002555/0.03971, allocations: 0.9267 MB / 0.5221 GB, free: 2.16 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.004619/0.04433, allocations: 1.434 MB / 0.5235 GB, free: 1.086 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:61:5-65:11:writable] Warning: In relation BESS.HvTfo.terminal1.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:61:5-65:11:writable] Warning: In relation BESS.HvTfo.terminal1.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation BESS.HvTfo.terminal2.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation BESS.HvTfo.terminal2.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/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.005646/0.04998, allocations: 3.16 MB / 0.5266 GB, free: 14.57 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.007363/0.05734, allocations: 5.403 MB / 0.5319 GB, free: 11.05 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002337/0.05968, allocations: 1.201 MB / 0.5331 GB, free: 10.14 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002931/0.06261, allocations: 1.836 MB / 0.5349 GB, free: 8.918 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002515/0.06512, allocations: 1.63 MB / 0.5365 GB, free: 7.758 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001389/0.06651, allocations: 0.5553 MB / 0.537 GB, free: 7.723 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00139/0.0679, allocations: 0.8784 MB / 0.5379 GB, free: 6.844 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006966/0.0686, allocations: 1.187 MB / 0.539 GB, free: 5.652 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001759/0.07036, allocations: 1.433 MB / 0.5404 GB, free: 4.215 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005715/0.07607, allocations: 7.073 MB / 0.5473 GB, free: 13.12 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.07608, allocations: 0 / 0.5473 GB, free: 13.12 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.948e-06/0.07608, allocations: 11.92 kB / 0.5473 GB, free: 13.11 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.279e-05/0.07615, allocations: 0 / 0.5473 GB, free: 13.11 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 708 * Number of variables: 708 Notification: Performance of Generate backend data structure: time 0.008956/0.08511, allocations: 5.784 MB / 0.553 GB, free: 7.234 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.08516, allocations: 8.031 kB / 0.553 GB, free: 7.227 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00259/0.08775, allocations: 1.079 MB / 0.5541 GB, free: 6.145 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003103/0.09085, allocations: 2.721 MB / 0.5567 GB, free: 3.379 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006168/0.09147, allocations: 1.082 MB / 0.5578 GB, free: 2.098 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003766/0.09185, allocations: 284 kB / 0.558 GB, free: 1.82 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004536/0.09638, allocations: 3.95 MB / 0.5619 GB, free: 13.59 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.978e-05/0.09642, allocations: 11.92 kB / 0.5619 GB, free: 13.57 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001988/0.09662, allocations: 124 kB / 0.562 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-05/0.09666, allocations: 68 kB / 0.5621 GB, free: 13.39 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004125/0.1008, allocations: 3.041 MB / 0.5651 GB, free: 10.33 MB / 490.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.01156/0.1123, allocations: 10.43 MB / 0.5752 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0038/0.1161, allocations: 2.68 MB / 0.5779 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001665/0.1178, allocations: 1.256 MB / 0.5791 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001844/0.118, allocations: 37.98 kB / 0.5791 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00218/0.1202, allocations: 1.731 MB / 0.5808 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=232): time 5.32e-06/0.1202, allocations: 3.984 kB / 0.5808 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of matching and sorting (n=232): time 0.007264/0.1274, allocations: 4.61 MB / 0.5853 GB, free: 5.371 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001899/0.1276, allocations: 0.4889 MB / 0.5858 GB, free: 4.77 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003465/0.1311, allocations: 3.241 MB / 0.589 GB, free: 1.527 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000143/0.1312, allocations: 81.69 kB / 0.589 GB, free: 1.441 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0011/0.1323, allocations: 1.652 MB / 0.5907 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006986/0.133, allocations: 0.8252 MB / 0.5915 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008111/0.1338, allocations: 0.6841 MB / 0.5921 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.245e-05/0.1339, allocations: 301.1 kB / 0.5924 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002131/0.1361, allocations: 1.632 MB / 0.594 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002525/0.1386, allocations: 2.594 MB / 0.5965 GB, free: 9.434 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01401/0.1526, allocations: 8.331 MB / 0.6047 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.701e-05/0.1526, allocations: 4 kB / 0.6047 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.006963/0.1596, allocations: 4.755 MB / 0.6093 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.599e-05/0.1596, allocations: 65.66 kB / 0.6094 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-05/0.1597, allocations: 12 kB / 0.6094 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005556/0.1602, allocations: 373.1 kB / 0.6098 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001868/0.1621, allocations: 0.7956 MB / 0.6105 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003232/0.1653, allocations: 2.959 MB / 0.6134 GB, free: 7.816 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002135/0.1675, allocations: 425.9 kB / 0.6138 GB, free: 7.398 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001828/0.1676, allocations: 128 kB / 0.614 GB, free: 7.273 MB / 0.5261 GB 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.00362/0.1713, allocations: 2.312 MB / 0.6162 GB, free: 4.961 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002477/0.1737, allocations: 2.543 MB / 0.6187 GB, free: 2.145 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01387/0.1876, allocations: 8.191 MB / 0.6267 GB, free: 9.77 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.321e-05/0.1876, allocations: 0 / 0.6267 GB, free: 9.77 MB / 0.5417 GB Notification: Performance of matching and sorting (n=475) (initialization_lambda0): time 0.006916/0.1945, allocations: 4.642 MB / 0.6312 GB, free: 5.09 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.254e-05/0.1946, allocations: 69.66 kB / 0.6313 GB, free: 5.016 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.1946, allocations: 8 kB / 0.6313 GB, free: 5.008 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004707/0.1951, allocations: 381.2 kB / 0.6317 GB, free: 4.633 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001803/0.1969, allocations: 0.7684 MB / 0.6324 GB, free: 3.863 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003123/0.2, allocations: 2.979 MB / 0.6353 GB, free: 0.7852 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00211/0.2021, allocations: 394.2 kB / 0.6357 GB, free: 408 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001745/0.2023, allocations: 124 kB / 0.6358 GB, free: 284 kB / 0.5417 GB 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 (439): * Single equations (assignments): 437 * 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.0009244/0.2032, allocations: 0.4985 MB / 0.6363 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000401/0.2036, allocations: 365.6 kB / 0.6367 GB, free: 15.42 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005099/0.2087, allocations: 3.47 MB / 0.64 GB, free: 11.93 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/0.2087, allocations: 24 kB / 0.6401 GB, free: 11.91 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.2087, allocations: 4 kB / 0.6401 GB, free: 11.9 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-05/0.2088, allocations: 11.95 kB / 0.6401 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00893/0.2177, allocations: 6.824 MB / 0.6467 GB, free: 4.957 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/0.2177, allocations: 4 kB / 0.6467 GB, free: 4.953 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001558/0.2193, allocations: 0.5035 MB / 0.6472 GB, free: 4.449 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005326/0.2198, allocations: 368.7 kB / 0.6476 GB, free: 4.086 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001275/0.2199, allocations: 59.97 kB / 0.6476 GB, free: 4.027 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003217/0.2231, allocations: 2.956 MB / 0.6505 GB, free: 0.9688 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/0.2231, allocations: 8 kB / 0.6505 GB, free: 0.9609 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007739/0.2309, allocations: 5.5 MB / 0.6559 GB, free: 11.37 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001478/0.2324, allocations: 0.7314 MB / 0.6566 GB, free: 10.63 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002663/0.2326, allocations: 63.98 kB / 0.6567 GB, free: 10.57 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/0.2338, allocations: 215.8 kB / 0.6569 GB, free: 10.36 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003864/0.2342, allocations: 217.4 kB / 0.6571 GB, free: 10.14 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001239/0.2343, allocations: 75.97 kB / 0.6572 GB, free: 10.07 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002663/0.237, allocations: 2.109 MB / 0.6592 GB, free: 7.973 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.81e-07/0.237, allocations: 4 kB / 0.6592 GB, free: 7.969 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0038/0.2408, allocations: 1.629 MB / 0.6608 GB, free: 6.336 MB / 0.573 GB 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 (229): * Single equations (assignments): 218 * 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.001335/0.2421, allocations: 0.508 MB / 0.6613 GB, free: 5.984 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.00979/0.2519, allocations: 6.207 MB / 0.6674 GB, free: 15.72 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/0.2519, allocations: 0 / 0.6674 GB, free: 15.72 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.003014/0.255, allocations: 1.98 MB / 0.6693 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002408/0.2574, allocations: 0.5245 MB / 0.6698 GB, free: 13.22 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/0.2682, allocations: 7.077 MB / 0.6767 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001268/0.2694, allocations: 1.518 MB / 0.6782 GB, free: 4.484 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008144/0.2703, allocations: 232.4 kB / 0.6784 GB, free: 4.258 MB / 0.5886 GB Notification: Performance of SimCode: time 3.287e-06/0.2703, allocations: 8 kB / 0.6785 GB, free: 4.25 MB / 0.5886 GB Notification: Performance of Templates: time 0.3492/0.6195, allocations: 68.19 MB / 0.7451 GB, free: 127.6 MB / 0.5886 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.468809658661485]