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.00148/0.00148, allocations: 88.22 kB / 20.23 MB, free: 4.211 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.001566/0.001566, allocations: 157.7 kB / 23.53 MB, free: 0.9102 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.325/1.325, allocations: 158.6 MB / 185.3 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.906/0.906, allocations: 90.62 MB / 328.3 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.673e-06/1.673e-06, allocations: 0 / 433 MB, free: 6.262 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.776e-05/2.944e-05, allocations: 2.312 kB / 433 MB, free: 6.258 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSource): time 0.02061/0.02064, allocations: 13.65 MB / 446.7 MB, free: 8.527 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01507/0.03571, allocations: 6.781 MB / 453.5 MB, free: 1.73 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003346/0.03905, allocations: 91.38 kB / 453.5 MB, free: 1.641 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003221/0.04227, allocations: 0.9341 MB / 454.5 MB, free: 0.6992 MB / 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.005846/0.04812, allocations: 1.428 MB / 455.9 MB, free: 15.26 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.00777/0.05589, allocations: 3.146 MB / 459 MB, free: 12.11 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.009094/0.06498, allocations: 5.414 MB / 464.5 MB, free: 6.684 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00374/0.06872, allocations: 1.201 MB / 465.7 MB, free: 5.406 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00355/0.07227, allocations: 1.846 MB / 467.5 MB, free: 3.555 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00301/0.07528, allocations: 1.627 MB / 469.1 MB, free: 1.922 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001438/0.07672, allocations: 0.5586 MB / 469.7 MB, free: 1.363 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002153/0.07887, allocations: 0.8784 MB / 470.6 MB, free: 496 kB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1824/0.2613, allocations: 1.191 MB / 471.8 MB, free: 59.68 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00181/0.2631, allocations: 1.435 MB / 473.2 MB, free: 59.68 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00634/0.2694, allocations: 7.106 MB / 480.3 MB, free: 59.44 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2694, allocations: 1.531 kB / 480.3 MB, free: 59.44 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2694, allocations: 0 / 480.3 MB, free: 59.44 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001541/0.2696, allocations: 0 / 480.3 MB, free: 59.44 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.01657/0.2862, allocations: 5.783 MB / 486.1 MB, free: 57.27 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.2862, allocations: 10.91 kB / 486.1 MB, free: 57.27 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005638/0.2918, allocations: 1.427 MB / 487.5 MB, free: 57 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005528/0.2974, allocations: 2.818 MB / 490.3 MB, free: 56.32 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000613/0.298, allocations: 1.085 MB / 491.4 MB, free: 55.3 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007816/0.2988, allocations: 310.8 kB / 491.7 MB, free: 55.3 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008084/0.3068, allocations: 3.965 MB / 495.7 MB, free: 53.29 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.072e-05/0.3069, allocations: 6.406 kB / 495.7 MB, free: 53.29 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004225/0.3073, allocations: 122.6 kB / 495.8 MB, free: 53.2 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-05/0.3074, allocations: 69.28 kB / 495.9 MB, free: 53.2 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006818/0.3142, allocations: 3.07 MB / 499 MB, free: 52.09 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.02177/0.336, allocations: 10.58 MB / 0.4976 GB, free: 45.77 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007196/0.3432, allocations: 2.734 MB / 0.5003 GB, free: 44.78 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003025/0.3462, allocations: 1.266 MB / 0.5015 GB, free: 44.27 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002947/0.3465, allocations: 70.03 kB / 0.5016 GB, free: 44.26 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004131/0.3506, allocations: 1.739 MB / 0.5033 GB, free: 43.59 MB / 442.7 MB Notification: Performance of pre-optimization done (n=236): time 9.338e-06/0.3506, allocations: 3.281 kB / 0.5033 GB, free: 43.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=236): time 0.01355/0.3642, allocations: 4.726 MB / 0.5079 GB, free: 41.84 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/0.3643, allocations: 0.4956 MB / 0.5084 GB, free: 41.27 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00748/0.3718, allocations: 3.242 MB / 0.5115 GB, free: 40.01 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006642/0.3725, allocations: 79.92 kB / 0.5116 GB, free: 39.95 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001692/0.3742, allocations: 1.654 MB / 0.5132 GB, free: 38.67 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001339/0.3755, allocations: 0.8384 MB / 0.514 GB, free: 38.02 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002552/0.378, allocations: 0.683 MB / 0.5147 GB, free: 37.71 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.563e-05/0.3781, allocations: 304.2 kB / 0.515 GB, free: 37.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003834/0.3819, allocations: 1.641 MB / 0.5166 GB, free: 36.72 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004886/0.3868, allocations: 2.611 MB / 0.5192 GB, free: 34.97 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02759/0.4144, allocations: 8.412 MB / 0.5274 GB, free: 29.79 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-05/0.4144, allocations: 4 kB / 0.5274 GB, free: 29.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=479) (initialization): time 0.01267/0.4271, allocations: 4.922 MB / 0.5322 GB, free: 24.89 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.343e-05/0.4272, allocations: 69.66 kB / 0.5323 GB, free: 24.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.5e-05/0.4272, allocations: 12.06 kB / 0.5323 GB, free: 24.81 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00128/0.4285, allocations: 436.1 kB / 0.5327 GB, free: 24.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003932/0.4324, allocations: 0.7926 MB / 0.5335 GB, free: 23.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004464/0.4369, allocations: 2.989 MB / 0.5364 GB, free: 20.56 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004172/0.4411, allocations: 417.9 kB / 0.5368 GB, free: 20.15 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008137/0.4419, allocations: 132 kB / 0.5369 GB, free: 20.02 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.006188/0.4481, allocations: 2.314 MB / 0.5392 GB, free: 17.71 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004015/0.4521, allocations: 2.558 MB / 0.5417 GB, free: 14.88 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02712/0.4792, allocations: 8.268 MB / 0.5497 GB, free: 6.469 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.21e-05/0.4792, allocations: 6.047 kB / 0.5497 GB, free: 6.469 MB / 442.7 MB Notification: Performance of matching and sorting (n=479) (initialization_lambda0): time 0.01228/0.4915, allocations: 4.825 MB / 0.5544 GB, free: 1.676 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.924e-05/0.4916, allocations: 65.67 kB / 0.5545 GB, free: 1.605 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.92e-05/0.4916, allocations: 8 kB / 0.5545 GB, free: 1.598 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001181/0.4928, allocations: 434.3 kB / 0.5549 GB, free: 1.172 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003665/0.4964, allocations: 0.778 MB / 0.5557 GB, free: 448 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005608/0.502, allocations: 2.983 MB / 0.5586 GB, free: 13.38 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004119/0.5062, allocations: 400 kB / 0.559 GB, free: 12.98 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006428/0.5068, allocations: 131.9 kB / 0.5591 GB, free: 12.86 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.001532/0.5083, allocations: 0.492 MB / 0.5596 GB, free: 12.42 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001741/0.5101, allocations: 445.5 kB / 0.56 GB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01018/0.5203, allocations: 3.508 MB / 0.5634 GB, free: 8.465 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.712e-05/0.5203, allocations: 24 kB / 0.5635 GB, free: 8.441 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-05/0.5203, allocations: 8 kB / 0.5635 GB, free: 8.434 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.184e-05/0.5203, allocations: 11.95 kB / 0.5635 GB, free: 8.422 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01895/0.5393, allocations: 6.889 MB / 0.5702 GB, free: 1.535 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.217e-05/0.5393, allocations: 8 kB / 0.5702 GB, free: 1.527 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003374/0.5427, allocations: 0.5045 MB / 0.5707 GB, free: 1.043 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001424/0.5441, allocations: 420.6 kB / 0.5711 GB, free: 0.6289 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004153/0.5445, allocations: 67.58 kB / 0.5712 GB, free: 0.5664 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00575/0.5503, allocations: 2.972 MB / 0.5741 GB, free: 13.51 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.116e-05/0.5503, allocations: 15.83 kB / 0.5741 GB, free: 13.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0159/0.5662, allocations: 5.623 MB / 0.5796 GB, free: 7.797 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00313/0.5693, allocations: 0.7392 MB / 0.5803 GB, free: 7.055 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001238/0.5705, allocations: 59.98 kB / 0.5804 GB, free: 6.996 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003142/0.5737, allocations: 219.7 kB / 0.5806 GB, free: 6.781 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006378/0.5743, allocations: 216.9 kB / 0.5808 GB, free: 6.574 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002794/0.5746, allocations: 79.97 kB / 0.5809 GB, free: 6.496 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005435/0.58, allocations: 2.109 MB / 0.5829 GB, free: 4.398 MB / 474.7 MB Notification: Performance of sort global known variables: time 9e-08/0.58, allocations: 4 kB / 0.5829 GB, free: 4.395 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006188/0.5862, allocations: 1.633 MB / 0.5845 GB, free: 2.758 MB / 474.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.002362/0.5886, allocations: 0.5124 MB / 0.585 GB, free: 2.457 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01792/0.6065, allocations: 6.236 MB / 0.5911 GB, free: 12.31 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-05/0.6065, allocations: 4.312 kB / 0.5911 GB, free: 12.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005862/0.6124, allocations: 1.999 MB / 0.5931 GB, free: 10.35 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005121/0.6175, allocations: 0.6152 MB / 0.5937 GB, free: 9.758 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01925/0.6368, allocations: 7.141 MB / 0.6006 GB, free: 2.52 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002835/0.6396, allocations: 1.526 MB / 0.6021 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003548/0.6431, allocations: 485.7 kB / 0.6026 GB, free: 496 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00124/0.6444, allocations: 220 kB / 0.6028 GB, free: 280 kB / 490.7 MB Notification: Performance of SimCode: time 1.282e-06/0.6444, allocations: 0 / 0.6028 GB, free: 280 kB / 490.7 MB Notification: Performance of Templates: time 0.09048/0.7349, allocations: 47.38 MB / 0.6491 GB, free: 1.227 MB / 0.5261 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: 7.793992722057737]