Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.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.0008392/0.0008392, allocations: 88.44 kB / 20.7 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.0007816/0.0007816, allocations: 173.5 kB / 23.98 MB, free: 0.5664 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.8279/0.8279, allocations: 158.6 MB / 185.8 MB, free: 3.055 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.3935/0.3935, allocations: 89.96 MB / 328 MB, free: 15.38 MB / 314.7 MB " [Timeout remaining time 180] 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.BESSCurrentSourceNoPPC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|BESS.injector.PInjPuSn|BESS.injector.QInjPuSn|BESS.injector.UPu|BESS.reecC.idCmdPu|BESS.reecC.iqCmdPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC") translateModel(Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|BESS.injector.PInjPuSn|BESS.injector.QInjPuSn|BESS.injector.UPu|BESS.reecC.idCmdPu|BESS.reecC.iqCmdPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 0.5005 GB, free: 17.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.072e-05/2.186e-05, allocations: 3.062 kB / 0.5005 GB, free: 17.05 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC): time 0.007169/0.007191, allocations: 9.389 MB / 0.5096 GB, free: 10.76 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004665/0.01186, allocations: 5.039 MB / 0.5146 GB, free: 7.176 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006756/0.01253, allocations: 56.62 kB / 0.5146 GB, free: 7.152 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:22:3-22:125:writable] Warning: Connector switchOffSignal3 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0008926/0.01342, allocations: 0.6697 MB / 0.5153 GB, free: 6.816 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.001336/0.01476, allocations: 0.971 MB / 0.5162 GB, free: 6.188 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/WECC/BaseClasses_INIT/WECCInverterCurrentSource_INIT.mo:94:3-94:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wt4CurrentSource_INIT.s0Pu) == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.002169/0.01693, allocations: 2.033 MB / 0.5182 GB, free: 4.93 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002124/0.01905, allocations: 3.289 MB / 0.5214 GB, free: 3.172 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000734/0.01979, allocations: 0.7048 MB / 0.5221 GB, free: 2.688 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007828/0.02057, allocations: 1.131 MB / 0.5232 GB, free: 1.941 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006276/0.0212, allocations: 1.008 MB / 0.5242 GB, free: 1.242 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003095/0.02151, allocations: 337.3 kB / 0.5245 GB, free: 1.242 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006409/0.02215, allocations: 0.6112 MB / 0.5251 GB, free: 1.113 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002977/0.02245, allocations: 0.7317 MB / 0.5258 GB, free: 0.4922 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005043/0.02295, allocations: 0.8787 MB / 0.5267 GB, free: 15.86 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002803/0.02575, allocations: 4.414 MB / 0.531 GB, free: 12.39 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.02576, allocations: 1.375 kB / 0.531 GB, free: 12.39 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.02576, allocations: 0 / 0.531 GB, free: 12.39 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.918e-05/0.02579, allocations: 0 / 0.531 GB, free: 12.39 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.005179/0.03097, allocations: 3.668 MB / 0.5346 GB, free: 9.828 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.031, allocations: 8.875 kB / 0.5346 GB, free: 9.828 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001858/0.03286, allocations: 0.6714 MB / 0.5352 GB, free: 9.52 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001899/0.03476, allocations: 1.702 MB / 0.5369 GB, free: 7.82 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003375/0.0351, allocations: 0.7682 MB / 0.5377 GB, free: 6.91 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001689/0.03527, allocations: 176 kB / 0.5378 GB, free: 6.738 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002647/0.03791, allocations: 2.413 MB / 0.5402 GB, free: 4.176 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/0.03794, allocations: 3.938 kB / 0.5402 GB, free: 4.172 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/0.03806, allocations: 72 kB / 0.5403 GB, free: 4.102 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.374e-05/0.03808, allocations: 40 kB / 0.5403 GB, free: 4.062 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00338/0.04146, allocations: 1.878 MB / 0.5421 GB, free: 2.18 MB / 458.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.009976/0.05144, allocations: 6.642 MB / 0.5486 GB, free: 11.4 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003146/0.05458, allocations: 1.78 MB / 0.5504 GB, free: 9.602 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001276/0.05586, allocations: 0.8011 MB / 0.5511 GB, free: 8.797 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001626/0.05602, allocations: 28.98 kB / 0.5512 GB, free: 8.766 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001587/0.05761, allocations: 1.144 MB / 0.5523 GB, free: 7.598 MB / 474.7 MB Notification: Performance of pre-optimization done (n=146): time 2.825e-06/0.05761, allocations: 7.938 kB / 0.5523 GB, free: 7.59 MB / 474.7 MB Notification: Performance of matching and sorting (n=146): time 0.005505/0.06312, allocations: 2.985 MB / 0.5552 GB, free: 4.598 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.06322, allocations: 282.3 kB / 0.5555 GB, free: 4.258 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002515/0.06574, allocations: 2.131 MB / 0.5576 GB, free: 2.09 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002386/0.06598, allocations: 57.7 kB / 0.5576 GB, free: 2.027 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007337/0.06671, allocations: 1.06 MB / 0.5586 GB, free: 0.957 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005686/0.06728, allocations: 0.5269 MB / 0.5592 GB, free: 436 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005917/0.06787, allocations: 456.6 kB / 0.5596 GB, free: 15.97 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.489e-05/0.06795, allocations: 309.1 kB / 0.5599 GB, free: 15.66 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001819/0.06977, allocations: 1.055 MB / 0.5609 GB, free: 14.59 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001749/0.07151, allocations: 1.607 MB / 0.5625 GB, free: 12.81 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009957/0.08147, allocations: 5.333 MB / 0.5677 GB, free: 7.301 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/0.08148, allocations: 0 / 0.5677 GB, free: 7.301 MB / 490.7 MB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005009/0.08649, allocations: 3.127 MB / 0.5707 GB, free: 4.109 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.313e-05/0.08655, allocations: 61.73 kB / 0.5708 GB, free: 4.043 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.08657, allocations: 8 kB / 0.5708 GB, free: 4.035 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004022/0.08697, allocations: 276.7 kB / 0.5711 GB, free: 3.762 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/0.08839, allocations: 0.5188 MB / 0.5716 GB, free: 3.242 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002445/0.09084, allocations: 2.453 MB / 0.574 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001641/0.09248, allocations: 278.6 kB / 0.5742 GB, free: 428 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004924/0.09297, allocations: 87.98 kB / 0.5743 GB, free: 340 kB / 490.7 MB Warning: Assuming fixed start value for the following 18 variables: 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.value:DISCRETE(flow=false start = line.Running0 fixed = true ) 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.value:DISCRETE(flow=false start = BESS.injector.Running0 fixed = true ) type: Boolean BESS.LvTfo.running.value:DISCRETE(flow=false start = BESS.LvTfo.Running0 fixed = true ) type: Boolean BESS.regcA.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002562/0.09553, allocations: 1.539 MB / 0.5758 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001778/0.09731, allocations: 1.608 MB / 0.5774 GB, free: 13 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009829/0.1071, allocations: 5.29 MB / 0.5826 GB, free: 7.531 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.125e-06/0.1071, allocations: 288 / 0.5826 GB, free: 7.531 MB / 0.4948 GB Notification: Performance of matching and sorting (n=311) (initialization_lambda0): time 0.004876/0.112, allocations: 3.1 MB / 0.5856 GB, free: 4.367 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.511e-05/0.1121, allocations: 57.67 kB / 0.5857 GB, free: 4.305 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.1121, allocations: 11.94 kB / 0.5857 GB, free: 4.293 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003465/0.1124, allocations: 265.2 kB / 0.5859 GB, free: 4.031 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/0.1139, allocations: 0.5226 MB / 0.5864 GB, free: 3.508 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002534/0.1164, allocations: 2.462 MB / 0.5888 GB, free: 0.9492 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/0.118, allocations: 262.9 kB / 0.5891 GB, free: 0.6914 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001922/0.1182, allocations: 83.98 kB / 0.5892 GB, free: 0.6094 MB / 0.4948 GB Warning: Assuming fixed start value for the following 18 variables: 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.value:DISCRETE(flow=false start = line.Running0 fixed = true ) 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.value:DISCRETE(flow=false start = BESS.injector.Running0 fixed = true ) type: Boolean BESS.LvTfo.running.value:DISCRETE(flow=false start = BESS.LvTfo.Running0 fixed = true ) type: Boolean 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: 33 * Number of states: 0 () * Number of discrete variables: 46 ($PRE.BESS.LvTfo.state,BESS.LvTfo.state,$PRE.BESS.injector.state,BESS.injector.state,$PRE.line.state,line.state,BESS.injector.switchOffSignal3.value,BESS.injector.switchOffSignal2.value,BESS.injector.switchOffSignal1.value,line.switchOffSignal2.value,line.switchOffSignal1.value,BESS.regcA.rateLimFirstOrderFreeze1.local_freeze,BESS.regcA.rateLimFirstOrderFreeze2.local_freeze,$PRE.line.running.value,$PRE.BESS.regcA.offDelay.delaySignal,$PRE.BESS.regcA.offDelay.tNext,$PRE.BESS.injector.running.value,$PRE.BESS.LvTfo.running.value,BESS.regcA.QConv0PuNeg.k,BESS.regcA.QConv0PuPos.k,$PRE.BESS.regcA.offDelay.u,BESS.LvTfo.running.value,BESS.injector.running.value,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.value,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition10,$whenCondition9,$whenCondition11,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 (285): * Single equations (assignments): 283 * 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 {(8,2,50.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005592/0.1187, allocations: 400.1 kB / 0.5895 GB, free: 224 kB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004346/0.1192, allocations: 238.7 kB / 0.5898 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003588/0.1228, allocations: 2.287 MB / 0.592 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.1228, allocations: 16 kB / 0.592 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.1228, allocations: 4 kB / 0.592 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.1228, allocations: 8.25 kB / 0.592 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006981/0.1298, allocations: 4.409 MB / 0.5963 GB, free: 9.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.1298, allocations: 4 kB / 0.5963 GB, free: 9.156 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/0.131, allocations: 347.7 kB / 0.5967 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003652/0.1313, allocations: 260.7 kB / 0.5969 GB, free: 8.559 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001196/0.1315, allocations: 47.97 kB / 0.597 GB, free: 8.512 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002228/0.1337, allocations: 2.444 MB / 0.5994 GB, free: 5.969 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.1337, allocations: 7.938 kB / 0.5994 GB, free: 5.961 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005569/0.1393, allocations: 3.593 MB / 0.6029 GB, free: 2.305 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0011/0.1404, allocations: 461.9 kB / 0.6033 GB, free: 1.852 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003064/0.1407, allocations: 43.98 kB / 0.6034 GB, free: 1.809 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008863/0.1416, allocations: 143.8 kB / 0.6035 GB, free: 1.668 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002702/0.1418, allocations: 137 kB / 0.6036 GB, free: 1.531 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.507e-05/0.1419, allocations: 55.97 kB / 0.6037 GB, free: 1.477 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001655/0.1436, allocations: 1.389 MB / 0.605 GB, free: 72 kB / 0.5105 GB Notification: Performance of sort global known variables: time 2.5e-07/0.1436, allocations: 0 / 0.605 GB, free: 72 kB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002433/0.146, allocations: 1.033 MB / 0.606 GB, free: 15.03 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 13 (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) * Number of discrete variables: 23 ($whenCondition11,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running.value,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.value,BESS.injector.state,BESS.LvTfo.running.value,BESS.LvTfo.state) * Number of discrete states: 4 (BESS.LvTfo.running.value,BESS.injector.running.value,line.running.value,BESS.regcA.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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 {(8,2,50.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009222/0.1469, allocations: 488.4 kB / 0.6065 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006703/0.1536, allocations: 4.176 MB / 0.6106 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.313e-06/0.1536, allocations: 0 / 0.6106 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002019/0.1557, allocations: 1.28 MB / 0.6118 GB, free: 9.172 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001591/0.1572, allocations: 346.2 kB / 0.6122 GB, free: 8.844 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007108/0.1643, allocations: 4.515 MB / 0.6166 GB, free: 4.25 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008281/0.1652, allocations: 0.9823 MB / 0.6175 GB, free: 3.227 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00121/0.1664, allocations: 310 kB / 0.6178 GB, free: 2.918 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004121/0.1668, allocations: 144.5 kB / 0.618 GB, free: 2.777 MB / 0.5261 GB Notification: Performance of SimCode: time 1.282e-06/0.1668, allocations: 0 / 0.618 GB, free: 2.777 MB / 0.5261 GB Notification: Performance of Templates: time 0.0376/0.2044, allocations: 30.56 MB / 0.6478 GB, free: 4.328 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.pipe >> ../files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.sim & ./Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.pipe 2>&1) [Timeout 480] diffSimulationResults("Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.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: 3.856588072143495]