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.002399/0.002399, allocations: 85.14 kB / 19.96 MB, free: 1.754 MB / 14.72 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.002142/0.002142, allocations: 169.3 kB / 23.24 MB, free: 4.879 MB / 14.72 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 1.474/1.474, allocations: 158.6 MB / 185 MB, free: 6.395 MB / 174.1 MB " [Timeout remaining time 178] 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 1.129/1.129, allocations: 90.26 MB / 327.5 MB, free: 72 kB / 302.1 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.265e-06/2.265e-06, allocations: 0 / 0.5005 GB, free: 49.19 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.344e-05/3.571e-05, allocations: 4.344 kB / 0.5005 GB, free: 49.19 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSource): time 0.01536/0.0154, allocations: 13.6 MB / 0.5138 GB, free: 40.1 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01568/0.03108, allocations: 6.762 MB / 0.5204 GB, free: 35.23 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005821/0.0369, allocations: 94.12 kB / 0.5205 GB, free: 35.2 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003339/0.04024, allocations: 0.9308 MB / 0.5214 GB, free: 34.68 MB / 478.1 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.006904/0.04714, allocations: 1.433 MB / 0.5228 GB, free: 33.71 MB / 478.1 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.009068/0.05621, allocations: 3.162 MB / 0.5259 GB, free: 31.75 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01183/0.06804, allocations: 5.41 MB / 0.5312 GB, free: 28.8 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003818/0.07186, allocations: 1.194 MB / 0.5324 GB, free: 28.04 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003772/0.07563, allocations: 1.833 MB / 0.5342 GB, free: 27.03 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003532/0.07916, allocations: 1.629 MB / 0.5357 GB, free: 26.3 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001257/0.08042, allocations: 0.556 MB / 0.5363 GB, free: 26.3 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002098/0.08252, allocations: 0.8787 MB / 0.5371 GB, free: 26.2 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009587/0.08348, allocations: 1.188 MB / 0.5383 GB, free: 25.34 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001956/0.08543, allocations: 1.434 MB / 0.5397 GB, free: 24.44 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009913/0.09535, allocations: 7.083 MB / 0.5466 GB, free: 19.71 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.09535, allocations: 4 kB / 0.5466 GB, free: 19.71 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.09535, allocations: 3.938 kB / 0.5466 GB, free: 19.71 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002617/0.09561, allocations: 1.125 kB / 0.5466 GB, free: 19.71 MB / 478.1 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.02223/0.1178, allocations: 5.774 MB / 0.5523 GB, free: 15.76 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.1179, allocations: 14 kB / 0.5523 GB, free: 15.75 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006717/0.1246, allocations: 1.077 MB / 0.5533 GB, free: 15.26 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006961/0.1316, allocations: 2.714 MB / 0.556 GB, free: 13.2 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007478/0.1323, allocations: 1.088 MB / 0.5571 GB, free: 12.06 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007207/0.133, allocations: 282.5 kB / 0.5573 GB, free: 11.97 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00786/0.1409, allocations: 3.952 MB / 0.5612 GB, free: 9.199 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.465e-05/0.141, allocations: 5.938 kB / 0.5612 GB, free: 9.195 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002968/0.1412, allocations: 124.5 kB / 0.5613 GB, free: 9.102 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.945e-05/0.1413, allocations: 69.47 kB / 0.5614 GB, free: 9.102 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006956/0.1483, allocations: 3.042 MB / 0.5643 GB, free: 7.082 MB / 478.1 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.02024/0.1685, allocations: 10.43 MB / 0.5745 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007258/0.1758, allocations: 2.68 MB / 0.5771 GB, free: 9.793 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003125/0.1789, allocations: 1.253 MB / 0.5784 GB, free: 8.535 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002582/0.1792, allocations: 41.98 kB / 0.5784 GB, free: 8.492 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003862/0.183, allocations: 1.731 MB / 0.5801 GB, free: 6.738 MB / 494.1 MB Notification: Performance of pre-optimization done (n=232): time 5.05e-06/0.183, allocations: 0 / 0.5801 GB, free: 6.738 MB / 494.1 MB Notification: Performance of matching and sorting (n=232): time 0.01402/0.1971, allocations: 4.606 MB / 0.5846 GB, free: 2.125 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003614/0.1974, allocations: 0.4889 MB / 0.5851 GB, free: 1.523 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007047/0.2045, allocations: 3.245 MB / 0.5882 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007605/0.2052, allocations: 73.7 kB / 0.5883 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001943/0.2072, allocations: 1.655 MB / 0.5899 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001697/0.2089, allocations: 0.8214 MB / 0.5907 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001432/0.2103, allocations: 0.6841 MB / 0.5914 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.2105, allocations: 309 kB / 0.5917 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003919/0.2144, allocations: 1.629 MB / 0.5933 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004805/0.2192, allocations: 2.594 MB / 0.5958 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03166/0.2508, allocations: 8.335 MB / 0.604 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-05/0.2509, allocations: 4 kB / 0.604 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01299/0.2639, allocations: 4.751 MB / 0.6086 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001164/0.264, allocations: 65.66 kB / 0.6087 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.848e-05/0.264, allocations: 12 kB / 0.6087 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009258/0.2649, allocations: 377.1 kB / 0.609 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004244/0.2692, allocations: 0.7879 MB / 0.6098 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005635/0.2748, allocations: 2.968 MB / 0.6127 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00497/0.2798, allocations: 425.9 kB / 0.6131 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006134/0.2804, allocations: 124 kB / 0.6132 GB, free: 4.02 MB / 0.5137 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.006058/0.2864, allocations: 2.313 MB / 0.6155 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004744/0.2912, allocations: 2.539 MB / 0.618 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03035/0.3215, allocations: 8.195 MB / 0.626 GB, free: 6.523 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.759e-05/0.3216, allocations: 4 kB / 0.626 GB, free: 6.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=475) (initialization_lambda0): time 0.01349/0.335, allocations: 4.642 MB / 0.6305 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.894e-05/0.3351, allocations: 69.66 kB / 0.6306 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.1e-05/0.3352, allocations: 8 kB / 0.6306 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008668/0.336, allocations: 381.2 kB / 0.6309 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004244/0.3403, allocations: 0.7684 MB / 0.6317 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005717/0.346, allocations: 2.967 MB / 0.6346 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004769/0.3508, allocations: 394.2 kB / 0.635 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005695/0.3513, allocations: 128 kB / 0.6351 GB, free: 13.03 MB / 0.545 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.001546/0.3529, allocations: 0.5013 MB / 0.6356 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001713/0.3546, allocations: 361.7 kB / 0.6359 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01212/0.3667, allocations: 3.474 MB / 0.6393 GB, free: 8.684 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.146e-05/0.3667, allocations: 24 kB / 0.6393 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.905e-05/0.3668, allocations: 4 kB / 0.6393 GB, free: 8.656 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.117e-05/0.3668, allocations: 11.95 kB / 0.6394 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01979/0.3866, allocations: 6.82 MB / 0.646 GB, free: 1.719 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/0.3866, allocations: 4 kB / 0.646 GB, free: 1.715 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00329/0.3899, allocations: 0.4997 MB / 0.6465 GB, free: 1.215 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009054/0.3908, allocations: 371.4 kB / 0.6469 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002243/0.391, allocations: 63.97 kB / 0.6469 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00644/0.3975, allocations: 2.959 MB / 0.6498 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.52e-05/0.3975, allocations: 8 kB / 0.6498 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01491/0.4124, allocations: 5.507 MB / 0.6552 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003012/0.4154, allocations: 0.7275 MB / 0.6559 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001388/0.4168, allocations: 63.98 kB / 0.656 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003318/0.4201, allocations: 211.8 kB / 0.6562 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000666/0.4208, allocations: 209.5 kB / 0.6564 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002673/0.4211, allocations: 79.97 kB / 0.6564 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006539/0.4276, allocations: 2.109 MB / 0.6585 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.4276, allocations: 0 / 0.6585 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.009879/0.4375, allocations: 1.629 MB / 0.6601 GB, free: 3.102 MB / 0.5606 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.002489/0.44, allocations: 0.517 MB / 0.6606 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02037/0.4603, allocations: 6.195 MB / 0.6667 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.339e-05/0.4604, allocations: 4 kB / 0.6667 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006287/0.4666, allocations: 1.976 MB / 0.6686 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006269/0.4729, allocations: 0.5338 MB / 0.6691 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02279/0.4957, allocations: 6.981 MB / 0.6759 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004565/0.5003, allocations: 1.518 MB / 0.6774 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00504/0.5053, allocations: 481.7 kB / 0.6779 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001784/0.5071, allocations: 216.5 kB / 0.6781 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of SimCode: time 2.465e-06/0.5071, allocations: 0 / 0.6781 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of Templates: time 0.1063/0.6134, allocations: 46.99 MB / 0.724 GB, free: 1.875 MB / 0.6231 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: 8.818509802222252]