Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.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.00199/0.00199, allocations: 88.22 kB / 20.23 MB, free: 4.207 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.002398/0.002398, allocations: 157.7 kB / 23.53 MB, free: 0.9062 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 1.382/1.382, allocations: 158.6 MB / 185.3 MB, free: 2.898 MB / 170.7 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 0.639/0.639, allocations: 90.64 MB / 328.3 MB, free: 14.57 MB / 314.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -noHomotopyOnFirstTry=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRestart=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRootFinding=() since the simulation runtime does not accept it Running command: translateModel(Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS,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.BESSCurrentSourceExternalPCS") translateModel(Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS,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.BESSCurrentSourceExternalPCS") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 433 MB, free: 6.234 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.611e-05/3.817e-05, allocations: 2.312 kB / 433 MB, free: 6.23 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS): time 0.02092/0.02096, allocations: 14.09 MB / 447.1 MB, free: 8.062 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01604/0.03699, allocations: 6.921 MB / 454 MB, free: 1.125 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0035/0.04049, allocations: 95.38 kB / 454.1 MB, free: 1.031 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00327/0.04376, allocations: 0.9534 MB / 455.1 MB, free: 72 kB / 426.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.006406/0.05017, allocations: 1.459 MB / 456.5 MB, free: 14.6 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70: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:66:5-70: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:71:5-75: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:71:5-75: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/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation ZPcs.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:66:5-70:11:writable] Warning: In relation ZPcs.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:71:5-75:11:writable] Warning: In relation ZPcs.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:71:5-75:11:writable] Warning: In relation ZPcs.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.008896/0.05907, allocations: 3.364 MB / 459.9 MB, free: 11.23 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.009915/0.06898, allocations: 5.585 MB / 465.5 MB, free: 5.633 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004236/0.07322, allocations: 1.226 MB / 466.7 MB, free: 4.336 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004177/0.07739, allocations: 1.908 MB / 468.6 MB, free: 2.422 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003645/0.08104, allocations: 1.686 MB / 470.3 MB, free: 0.7305 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001736/0.08278, allocations: 0.5703 MB / 470.9 MB, free: 164 kB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1897/0.2725, allocations: 0.9004 MB / 471.8 MB, free: 59.54 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001746/0.2742, allocations: 1.23 MB / 473 MB, free: 59.54 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0022/0.2764, allocations: 1.484 MB / 474.5 MB, free: 59.54 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007271/0.2837, allocations: 7.299 MB / 481.8 MB, free: 59.27 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.2837, allocations: 0 / 481.8 MB, free: 59.27 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2837, allocations: 0 / 481.8 MB, free: 59.27 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001789/0.2839, allocations: 0 / 481.8 MB, free: 59.27 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 747 * Number of variables: 747 Notification: Performance of Generate backend data structure: time 0.01588/0.2997, allocations: 6.044 MB / 487.8 MB, free: 57.06 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.2998, allocations: 10.97 kB / 487.9 MB, free: 57.06 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006775/0.3065, allocations: 1.664 MB / 489.5 MB, free: 56.78 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005349/0.3119, allocations: 2.878 MB / 492.4 MB, free: 56.08 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006184/0.3125, allocations: 1.308 MB / 493.7 MB, free: 54.74 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000632/0.3131, allocations: 317.4 kB / 494 MB, free: 54.64 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006722/0.3199, allocations: 4.143 MB / 498.2 MB, free: 52.39 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.314e-05/0.3199, allocations: 6.25 kB / 498.2 MB, free: 52.39 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003023/0.3202, allocations: 128.1 kB / 498.3 MB, free: 52.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.122e-05/0.3203, allocations: 73 kB / 498.4 MB, free: 52.3 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006464/0.3267, allocations: 3.247 MB / 0.4898 GB, free: 51.12 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01992/0.3467, allocations: 10.95 MB / 0.5005 GB, free: 44.63 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006675/0.3533, allocations: 2.926 MB / 0.5034 GB, free: 43.55 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003038/0.3564, allocations: 1.368 MB / 0.5047 GB, free: 43 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000264/0.3566, allocations: 57.58 kB / 0.5048 GB, free: 43 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0037/0.3603, allocations: 1.907 MB / 0.5067 GB, free: 42.24 MB / 442.7 MB Notification: Performance of pre-optimization done (n=264): time 5.79e-06/0.3603, allocations: 0 / 0.5067 GB, free: 42.24 MB / 442.7 MB Notification: Performance of matching and sorting (n=264): time 0.0136/0.3739, allocations: 5.205 MB / 0.5117 GB, free: 40.32 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/0.3741, allocations: 0.4958 MB / 0.5122 GB, free: 39.75 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004819/0.3789, allocations: 3.225 MB / 0.5154 GB, free: 38.51 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006102/0.3795, allocations: 88.64 kB / 0.5155 GB, free: 38.44 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001317/0.3808, allocations: 1.674 MB / 0.5171 GB, free: 37.15 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001041/0.3819, allocations: 0.93 MB / 0.518 GB, free: 36.39 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001195/0.3831, allocations: 0.7099 MB / 0.5187 GB, free: 35.98 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.206e-05/0.3831, allocations: 305.1 kB / 0.519 GB, free: 35.68 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003199/0.3863, allocations: 1.731 MB / 0.5207 GB, free: 34.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003719/0.39, allocations: 2.738 MB / 0.5233 GB, free: 32.71 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02867/0.4187, allocations: 9.093 MB / 0.5322 GB, free: 24.89 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.036e-05/0.4187, allocations: 4 kB / 0.5322 GB, free: 24.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.01278/0.4315, allocations: 5.263 MB / 0.5374 GB, free: 19.67 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.442e-05/0.4316, allocations: 69.66 kB / 0.5374 GB, free: 19.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.54e-05/0.4316, allocations: 8 kB / 0.5374 GB, free: 19.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001424/0.433, allocations: 0.5201 MB / 0.5379 GB, free: 19.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004001/0.437, allocations: 0.8283 MB / 0.5388 GB, free: 18.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005214/0.4422, allocations: 3.417 MB / 0.5421 GB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004015/0.4462, allocations: 429.9 kB / 0.5425 GB, free: 14.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007636/0.447, allocations: 139 kB / 0.5426 GB, free: 14.23 MB / 442.7 MB Warning: Assuming fixed start value for the following 28 variables: Zcc.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Zcc.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) ZPcs.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = ZPcs.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) 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) 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] ZPcs.running:DISCRETE(flow=false start = ZPcs.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Zcc.running:DISCRETE(flow=false start = Zcc.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.regcA.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005904/0.4529, allocations: 2.429 MB / 0.545 GB, free: 11.81 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004075/0.457, allocations: 2.676 MB / 0.5476 GB, free: 8.852 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02958/0.4866, allocations: 8.94 MB / 0.5564 GB, free: 15.77 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.413e-05/0.4866, allocations: 4 kB / 0.5564 GB, free: 15.77 MB / 458.7 MB Notification: Performance of matching and sorting (n=508) (initialization_lambda0): time 0.01622/0.5028, allocations: 5.152 MB / 0.5614 GB, free: 10.66 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001162/0.5029, allocations: 69.66 kB / 0.5615 GB, free: 10.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.802e-05/0.5029, allocations: 11.98 kB / 0.5615 GB, free: 10.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001969/0.5049, allocations: 0.5305 MB / 0.562 GB, free: 10.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004502/0.5094, allocations: 0.8164 MB / 0.5628 GB, free: 9.277 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006876/0.5163, allocations: 3.408 MB / 0.5661 GB, free: 5.777 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004113/0.5204, allocations: 405.7 kB / 0.5665 GB, free: 5.383 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007401/0.5211, allocations: 140 kB / 0.5666 GB, free: 5.246 MB / 458.7 MB Warning: Assuming fixed start value for the following 28 variables: Zcc.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Zcc.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) ZPcs.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = ZPcs.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) 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) 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] ZPcs.running:DISCRETE(flow=false start = ZPcs.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Zcc.running:DISCRETE(flow=false start = Zcc.Running0 fixed = true ) \"Indicates if the component is running or not\" 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: 46 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.Zcc.state,Zcc.state,$PRE.ZPcs.state,ZPcs.state,$PRE.BESS.HvTfo.state,BESS.HvTfo.state,$PRE.BESS.LvTfo.state,BESS.LvTfo.state,$PRE.BESS.injector.state,BESS.injector.state,BESS.injector.switchOffSignal3,BESS.injector.switchOffSignal2,BESS.injector.switchOffSignal1,Zcc.switchOffSignal2,Zcc.switchOffSignal1,ZPcs.switchOffSignal2,ZPcs.switchOffSignal1,BESS.regcA.rateLimFirstOrderFreeze1.local_freeze,BESS.regcA.rateLimFirstOrderFreeze2.local_freeze,$PRE.BESS.regcA.offDelay.delaySignal,$PRE.BESS.regcA.offDelay.tNext,$PRE.BESS.injector.running,$PRE.BESS.LvTfo.running,$PRE.BESS.HvTfo.running,$PRE.ZPcs.running,$PRE.Zcc.running,BESS.regcA.QConv0PuNeg.k,BESS.regcA.QConv0PuPos.k,$PRE.BESS.regcA.offDelay.u,Zcc.running,ZPcs.running,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,$whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,$whenCondition5,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition14,$whenCondition16,$whenCondition15,$whenCondition17,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 (468): * Single equations (assignments): 466 * 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 {(14,4,31.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001641/0.5228, allocations: 0.5236 MB / 0.5671 GB, free: 4.777 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001648/0.5244, allocations: 469.5 kB / 0.5676 GB, free: 4.316 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01124/0.5357, allocations: 3.85 MB / 0.5713 GB, free: 472 kB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.781e-05/0.5357, allocations: 24 kB / 0.5714 GB, free: 448 kB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.991e-05/0.5357, allocations: 4 kB / 0.5714 GB, free: 444 kB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-05/0.5358, allocations: 19.88 kB / 0.5714 GB, free: 424 kB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02008/0.5558, allocations: 7.456 MB / 0.5787 GB, free: 8.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.787e-05/0.5559, allocations: 4 kB / 0.5787 GB, free: 8.977 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003515/0.5594, allocations: 0.5403 MB / 0.5792 GB, free: 8.461 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0017/0.5611, allocations: 0.5191 MB / 0.5797 GB, free: 7.941 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004799/0.5616, allocations: 67.97 kB / 0.5798 GB, free: 7.875 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006598/0.5682, allocations: 3.389 MB / 0.5831 GB, free: 4.391 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.044e-05/0.5682, allocations: 11.19 kB / 0.5831 GB, free: 4.383 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01632/0.5845, allocations: 6.125 MB / 0.5891 GB, free: 14.11 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002588/0.5871, allocations: 0.7735 MB / 0.5898 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001122/0.5882, allocations: 63.98 kB / 0.5899 GB, free: 13.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002851/0.5911, allocations: 219.8 kB / 0.5901 GB, free: 13.06 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006983/0.5918, allocations: 242.7 kB / 0.5903 GB, free: 12.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003065/0.5921, allocations: 87.97 kB / 0.5904 GB, free: 12.74 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004707/0.5968, allocations: 2.094 MB / 0.5925 GB, free: 10.66 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5968, allocations: 0 / 0.5925 GB, free: 10.66 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006543/0.6033, allocations: 1.719 MB / 0.5941 GB, free: 8.934 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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: 34 ($whenCondition17,$whenCondition15,$whenCondition16,$whenCondition14,$whenCondition12,$whenCondition13,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,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,ZPcs.running,ZPcs.state,Zcc.running,Zcc.state) * Number of discrete states: 6 (Zcc.running,ZPcs.running,BESS.HvTfo.running,BESS.LvTfo.running,BESS.injector.running,BESS.regcA.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (257): * Single equations (assignments): 244 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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 {(14,4,31.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002416/0.6057, allocations: 0.5209 MB / 0.5947 GB, free: 8.633 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01745/0.6232, allocations: 6.683 MB / 0.6012 GB, free: 2.027 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-05/0.6232, allocations: 4 kB / 0.6012 GB, free: 2.023 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005879/0.6291, allocations: 2.164 MB / 0.6033 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004487/0.6336, allocations: 0.6523 MB / 0.6039 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01815/0.6517, allocations: 7.419 MB / 0.6112 GB, free: 7.766 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002639/0.6543, allocations: 1.583 MB / 0.6127 GB, free: 6.156 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003775/0.6581, allocations: 0.4909 MB / 0.6132 GB, free: 5.66 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001324/0.6594, allocations: 228.5 kB / 0.6134 GB, free: 5.438 MB / 0.4948 GB Notification: Performance of SimCode: time 1.343e-06/0.6594, allocations: 8 kB / 0.6134 GB, free: 5.43 MB / 0.4948 GB Notification: Performance of Templates: time 0.0936/0.7531, allocations: 50.94 MB / 0.6632 GB, free: 2.875 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.pipe >> ../files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.sim & ./Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS -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.BESSCurrentSourceExternalPCS.pipe 2>&1) [Timeout 480] diffSimulationResults("Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.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: 7.852950487984344]