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.001925/0.001925, allocations: 96.91 kB / 20.23 MB, free: 4.191 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.002044/0.002044, allocations: 161.7 kB / 23.55 MB, free: 0.8789 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.411/1.411, allocations: 158.6 MB / 185.4 MB, free: 2.883 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.9423/0.9423, allocations: 90.61 MB / 328.2 MB, free: 14.59 MB / 314.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -noHomotopyOnFirstTry=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRestart=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRootFinding=() since the simulation runtime does not accept it Running command: translateModel(Dynawo.Examples.BESS.WECC.BESSCurrentSource,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|BESS.injector.PInjPuSn|BESS.injector.QInjPuSn|BESS.reecC.idCmdPu|BESS.reecC.iqCmdPu|BESS.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource") translateModel(Dynawo.Examples.BESS.WECC.BESSCurrentSource,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|BESS.injector.PInjPuSn|BESS.injector.QInjPuSn|BESS.reecC.idCmdPu|BESS.reecC.iqCmdPu|BESS.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 433 MB, free: 6.223 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.148e-05/4.345e-05, allocations: 2.312 kB / 433 MB, free: 6.219 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSource): time 0.03191/0.03195, allocations: 14.48 MB / 447.5 MB, free: 7.664 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.02241/0.05436, allocations: 6.863 MB / 454.4 MB, free: 0.7852 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004692/0.05906, allocations: 99.31 kB / 454.5 MB, free: 0.6875 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0038/0.06286, allocations: 0.9302 MB / 455.4 MB, free: 15.75 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.007705/0.07056, allocations: 1.428 MB / 456.8 MB, free: 14.31 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/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.009187/0.07975, allocations: 3.166 MB / 460 MB, free: 11.14 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.00993/0.08968, allocations: 5.402 MB / 465.4 MB, free: 5.723 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005059/0.09474, allocations: 1.205 MB / 466.6 MB, free: 4.449 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004701/0.09944, allocations: 1.85 MB / 468.4 MB, free: 2.594 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003364/0.1028, allocations: 1.635 MB / 470.1 MB, free: 0.9531 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001583/0.1044, allocations: 0.5586 MB / 470.6 MB, free: 404 kB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2125/0.3169, allocations: 0.8737 MB / 471.5 MB, free: 59.5 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001235/0.3181, allocations: 1.195 MB / 472.7 MB, free: 59.5 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00141/0.3195, allocations: 1.437 MB / 474.1 MB, free: 59.5 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006105/0.3256, allocations: 7.104 MB / 481.2 MB, free: 59.25 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3256, allocations: 0 / 481.2 MB, free: 59.25 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3256, allocations: 0 / 481.2 MB, free: 59.25 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001294/0.3257, allocations: 0 / 481.2 MB, free: 59.25 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 712 * Number of variables: 712 Notification: Performance of Generate backend data structure: time 0.0144/0.3401, allocations: 6.319 MB / 487.6 MB, free: 56.96 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.3402, allocations: 10.53 kB / 487.6 MB, free: 56.96 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005539/0.3457, allocations: 1.432 MB / 489 MB, free: 56.69 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004274/0.35, allocations: 2.806 MB / 491.8 MB, free: 55.89 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005356/0.3505, allocations: 1.081 MB / 492.9 MB, free: 54.77 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004327/0.351, allocations: 302.8 kB / 493.2 MB, free: 54.68 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006082/0.357, allocations: 4.18 MB / 497.4 MB, free: 52.31 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.76e-05/0.3571, allocations: 6.188 kB / 497.4 MB, free: 52.31 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002746/0.3574, allocations: 123.5 kB / 497.5 MB, free: 52.22 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.071e-05/0.3574, allocations: 69.19 kB / 497.6 MB, free: 52.22 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005407/0.3628, allocations: 2.82 MB / 0.4886 GB, free: 51.27 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.02313/0.386, allocations: 18.68 MB / 0.5069 GB, free: 39.85 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005698/0.3917, allocations: 2.574 MB / 0.5094 GB, free: 38.9 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002386/0.394, allocations: 1.172 MB / 0.5105 GB, free: 38.47 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002509/0.3943, allocations: 65.05 kB / 0.5106 GB, free: 38.46 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002958/0.3973, allocations: 1.768 MB / 0.5123 GB, free: 37.78 MB / 442.7 MB Notification: Performance of pre-optimization done (n=236): time 4.678e-06/0.3973, allocations: 7.156 kB / 0.5123 GB, free: 37.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=236): time 0.0108/0.4081, allocations: 4.402 MB / 0.5166 GB, free: 36.24 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001555/0.4082, allocations: 0.4939 MB / 0.5171 GB, free: 35.67 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00516/0.4134, allocations: 4.086 MB / 0.5211 GB, free: 33.99 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004143/0.4138, allocations: 89.17 kB / 0.5212 GB, free: 33.92 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001391/0.4152, allocations: 1.978 MB / 0.5231 GB, free: 32.45 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008172/0.416, allocations: 0.954 MB / 0.5241 GB, free: 31.75 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001315/0.4173, allocations: 0.9405 MB / 0.525 GB, free: 31.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.043e-05/0.4174, allocations: 476.8 kB / 0.5254 GB, free: 30.83 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002664/0.42, allocations: 1.477 MB / 0.5269 GB, free: 29.59 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003234/0.4233, allocations: 2.773 MB / 0.5296 GB, free: 26.68 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007981/0.4312, allocations: 5.197 MB / 0.5347 GB, free: 21.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.208e-05/0.4312, allocations: 0 / 0.5347 GB, free: 21.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=479) (initialization): time 0.008787/0.44, allocations: 4.685 MB / 0.5392 GB, free: 17.05 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.973e-05/0.4401, allocations: 69.66 kB / 0.5393 GB, free: 16.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.4401, allocations: 8 kB / 0.5393 GB, free: 16.97 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001178/0.4413, allocations: 441.5 kB / 0.5397 GB, free: 16.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003391/0.4447, allocations: 0.7545 MB / 0.5405 GB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004356/0.449, allocations: 3.56 MB / 0.5439 GB, free: 12.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003027/0.4521, allocations: 367.2 kB / 0.5443 GB, free: 11.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002644/0.4523, allocations: 129 kB / 0.5444 GB, free: 11.69 MB / 442.7 MB Warning: Assuming fixed start value for the following 26 variables: BESS.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.reecC.firstOrder.y:VARIABLE(flow=false start = BESS.reecC.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.firstOrder1.y:VARIABLE(flow=false start = BESS.reecC.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.firstOrder.y:VARIABLE(flow=false start = BESS.regcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean BESS.regcA.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real BESS.injector.running:DISCRETE(flow=false start = BESS.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.LvTfo.running:DISCRETE(flow=false start = BESS.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.HvTfo.running:DISCRETE(flow=false start = BESS.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.repcA.firstOrder.y:VARIABLE(flow=false start = BESS.repcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder1.y:VARIABLE(flow=false start = BESS.repcA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder2.y:VARIABLE(flow=false start = BESS.repcA.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder3.y:VARIABLE(flow=false start = BESS.repcA.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.repcA.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.leadLag.x_scaled[1]:VARIABLE(start = BESS.repcA.leadLag.X0[1] * BESS.repcA.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] BESS.regcA.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003991/0.4563, allocations: 2.137 MB / 0.5465 GB, free: 9.57 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003062/0.4594, allocations: 2.73 MB / 0.5492 GB, free: 6.504 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007577/0.467, allocations: 5.097 MB / 0.5541 GB, free: 1.227 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.227e-05/0.467, allocations: 4 kB / 0.5542 GB, free: 1.223 MB / 442.7 MB Notification: Performance of matching and sorting (n=479) (initialization_lambda0): time 0.01113/0.4781, allocations: 4.6 MB / 0.5586 GB, free: 12.66 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001018/0.4782, allocations: 76.48 kB / 0.5587 GB, free: 12.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/0.4782, allocations: 12.03 kB / 0.5587 GB, free: 12.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001372/0.4796, allocations: 436.9 kB / 0.5591 GB, free: 12.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004167/0.4838, allocations: 0.7395 MB / 0.5599 GB, free: 11.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006218/0.49, allocations: 3.569 MB / 0.5634 GB, free: 7.789 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003845/0.4938, allocations: 354.3 kB / 0.5637 GB, free: 7.441 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004711/0.4943, allocations: 127.9 kB / 0.5638 GB, free: 7.316 MB / 458.7 MB Warning: Assuming fixed start value for the following 26 variables: BESS.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.reecC.firstOrder.y:VARIABLE(flow=false start = BESS.reecC.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.firstOrder1.y:VARIABLE(flow=false start = BESS.reecC.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.firstOrder.y:VARIABLE(flow=false start = BESS.regcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean BESS.regcA.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real BESS.injector.running:DISCRETE(flow=false start = BESS.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.LvTfo.running:DISCRETE(flow=false start = BESS.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.HvTfo.running:DISCRETE(flow=false start = BESS.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.repcA.firstOrder.y:VARIABLE(flow=false start = BESS.repcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder1.y:VARIABLE(flow=false start = BESS.repcA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder2.y:VARIABLE(flow=false start = BESS.repcA.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder3.y:VARIABLE(flow=false start = BESS.repcA.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.repcA.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.leadLag.x_scaled[1]:VARIABLE(start = BESS.repcA.leadLag.X0[1] * BESS.repcA.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] BESS.regcA.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.BESS.HvTfo.state,BESS.HvTfo.state,$PRE.BESS.LvTfo.state,BESS.LvTfo.state,$PRE.BESS.injector.state,BESS.injector.state,$PRE.line.state,line.state,BESS.injector.switchOffSignal3,BESS.injector.switchOffSignal2,BESS.injector.switchOffSignal1,line.switchOffSignal2,line.switchOffSignal1,BESS.regcA.rateLimFirstOrderFreeze1.local_freeze,BESS.regcA.rateLimFirstOrderFreeze2.local_freeze,$PRE.line.running,$PRE.BESS.regcA.offDelay.delaySignal,$PRE.BESS.regcA.offDelay.tNext,$PRE.BESS.injector.running,$PRE.BESS.LvTfo.running,$PRE.BESS.HvTfo.running,BESS.regcA.QConv0PuNeg.k,BESS.regcA.QConv0PuPos.k,$PRE.BESS.regcA.offDelay.u,BESS.repcA.freeze,BESS.HvTfo.running,BESS.LvTfo.running,BESS.injector.running,BESS.regcA.and2.y,BESS.regcA.and1.y,BESS.regcA.and1.u[2],BESS.regcA.offDelay.tNext,BESS.regcA.offDelay.delaySignal,BESS.regcA.offDelay.u,line.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition14,BESS.repcA.limPIDFreeze.I.resetLocal,BESS.repcA.limPID.I.local_reset,BESS.pll.limIntegrator.local_reset,BESS.pll.integrator.local_reset,BESS.reecC.integrator.local_reset,BESS.reecC.varLimPIDFreeze.I.resetLocal,BESS.reecC.limPIDFreeze.I.resetLocal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (443): * Single equations (assignments): 441 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,4,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00116/0.4955, allocations: 0.5782 MB / 0.5644 GB, free: 6.793 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001169/0.4966, allocations: 445.6 kB / 0.5648 GB, free: 6.355 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008978/0.5056, allocations: 3.277 MB / 0.568 GB, free: 3.07 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.587e-05/0.5056, allocations: 24 kB / 0.568 GB, free: 3.047 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/0.5056, allocations: 4 kB / 0.568 GB, free: 3.043 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.868e-05/0.5057, allocations: 15.95 kB / 0.568 GB, free: 3.027 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01772/0.5234, allocations: 7.863 MB / 0.5757 GB, free: 11.12 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.378e-05/0.5234, allocations: 4 kB / 0.5757 GB, free: 11.12 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003195/0.5266, allocations: 470 kB / 0.5762 GB, free: 10.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00136/0.528, allocations: 433.2 kB / 0.5766 GB, free: 10.26 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000251/0.5282, allocations: 61.17 kB / 0.5766 GB, free: 10.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006112/0.5343, allocations: 3.557 MB / 0.5801 GB, free: 6.535 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/0.5343, allocations: 7 kB / 0.5801 GB, free: 6.531 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01378/0.5481, allocations: 5.459 MB / 0.5855 GB, free: 0.9688 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002338/0.5505, allocations: 0.7351 MB / 0.5862 GB, free: 236 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008266/0.5513, allocations: 56 kB / 0.5862 GB, free: 180 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002397/0.5537, allocations: 167.8 kB / 0.5864 GB, free: 12 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005999/0.5543, allocations: 220.8 kB / 0.5866 GB, free: 15.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002465/0.5545, allocations: 79.97 kB / 0.5867 GB, free: 15.72 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004793/0.5593, allocations: 2.279 MB / 0.5889 GB, free: 13.46 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5593, allocations: 0 / 0.5889 GB, free: 13.46 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005294/0.5646, allocations: 1.639 MB / 0.5905 GB, free: 11.82 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 20 (BESS.reecC.firstOrder.y,BESS.reecC.firstOrder1.y,BESS.reecC.limPIDFreeze.I.y,BESS.reecC.rateLimFirstOrderFreeze1.y,BESS.reecC.slewRateLimiter.y,BESS.reecC.rateLimFirstOrderFreeze.y,BESS.reecC.varLimPIDFreeze.I.y,BESS.reecC.integrator.y,BESS.regcA.rateLimFirstOrderFreeze2.y,BESS.regcA.rateLimFirstOrderFreeze1.y,BESS.regcA.firstOrder.y,BESS.pll.integrator.y,BESS.pll.limIntegrator.y,BESS.repcA.firstOrder.y,BESS.repcA.limPID.I.y,BESS.repcA.firstOrder1.y,BESS.repcA.firstOrder2.y,BESS.repcA.firstOrder3.y,BESS.repcA.limPIDFreeze.I.y,BESS.repcA.leadLag.x_scaled[1]) * Number of discrete variables: 29 ($whenCondition14,$whenCondition12,$whenCondition13,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running,line.state,BESS.regcA.offDelay.u,BESS.regcA.offDelay.delaySignal,BESS.regcA.offDelay.tNext,BESS.regcA.and1.u[2],BESS.regcA.and1.y,BESS.regcA.and2.y,BESS.injector.running,BESS.injector.state,BESS.LvTfo.running,BESS.LvTfo.state,BESS.HvTfo.running,BESS.HvTfo.state,BESS.repcA.freeze) * Number of discrete states: 5 (BESS.HvTfo.running,BESS.LvTfo.running,BESS.injector.running,line.running,BESS.regcA.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (233): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,4,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003032/0.5676, allocations: 0.5119 MB / 0.591 GB, free: 11.52 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0164/0.584, allocations: 6.806 MB / 0.5976 GB, free: 4.77 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.301e-05/0.5841, allocations: 0 / 0.5976 GB, free: 4.77 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004622/0.5887, allocations: 1.821 MB / 0.5994 GB, free: 2.98 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004002/0.5927, allocations: 0.6234 MB / 0.6 GB, free: 2.387 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01594/0.6086, allocations: 6.912 MB / 0.6068 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002023/0.6106, allocations: 1.518 MB / 0.6083 GB, free: 9.789 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002644/0.6133, allocations: 461.7 kB / 0.6087 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009454/0.6142, allocations: 216.5 kB / 0.6089 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of SimCode: time 1.412e-06/0.6142, allocations: 1.641 kB / 0.6089 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of Templates: time 0.0928/0.707, allocations: 47.91 MB / 0.6557 GB, free: 9.578 MB / 0.5417 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=240 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.csv","/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.364930927054957]