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.001067/0.001067, allocations: 91.55 kB / 20.97 MB, free: 3.578 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.001043/0.001043, allocations: 177 kB / 24.27 MB, free: 280 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8704/0.8704, allocations: 158.6 MB / 186.1 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.4694/0.4694, allocations: 90.57 MB / 328.9 MB, free: 14.71 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.803e-06/1.803e-06, allocations: 0 / 433.7 MB, free: 6.352 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.907e-05/3.088e-05, allocations: 9.547 kB / 433.7 MB, free: 6.344 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSource): time 0.0151/0.01513, allocations: 14.52 MB / 448.2 MB, free: 7.742 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01145/0.02657, allocations: 6.851 MB / 455 MB, free: 0.875 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006798/0.03337, allocations: 99.31 kB / 455.1 MB, free: 0.7773 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003087/0.03646, allocations: 0.9302 MB / 456.1 MB, free: 15.84 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.01231/0.04877, allocations: 1.432 MB / 457.5 MB, free: 14.4 MB / 442.7 MB [/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.01607/0.06484, allocations: 3.166 MB / 460.7 MB, free: 11.23 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.01403/0.07887, allocations: 5.397 MB / 466.1 MB, free: 5.816 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003602/0.08247, allocations: 1.198 MB / 467.3 MB, free: 4.547 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002647/0.08512, allocations: 1.842 MB / 469.1 MB, free: 2.699 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002095/0.08721, allocations: 1.631 MB / 470.7 MB, free: 1.062 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001308/0.08852, allocations: 0.5547 MB / 471.3 MB, free: 0.5078 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1952/0.2837, allocations: 0.8771 MB / 472.2 MB, free: 59.51 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001511/0.2853, allocations: 1.189 MB / 473.4 MB, free: 59.51 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002349/0.2876, allocations: 1.438 MB / 474.8 MB, free: 59.51 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005497/0.2931, allocations: 3.789 MB / 478.6 MB, free: 59.26 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.2931, allocations: 3.5 kB / 478.6 MB, free: 59.26 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.2931, allocations: 0 / 478.6 MB, free: 59.26 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001527/0.2933, allocations: 0 / 478.6 MB, free: 59.26 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.01071/0.304, allocations: 5.818 MB / 484.4 MB, free: 56.98 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/0.304, allocations: 11.5 kB / 484.4 MB, free: 56.98 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003348/0.3074, allocations: 1.435 MB / 485.9 MB, free: 56.7 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003523/0.3109, allocations: 2.68 MB / 488.5 MB, free: 55.99 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000415/0.3113, allocations: 0.9776 MB / 489.5 MB, free: 55.11 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003584/0.3117, allocations: 302.8 kB / 489.8 MB, free: 55.1 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003945/0.3156, allocations: 3.009 MB / 492.8 MB, free: 53.91 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.396e-05/0.3157, allocations: 3.375 kB / 492.8 MB, free: 53.91 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002058/0.3159, allocations: 119.9 kB / 492.9 MB, free: 53.91 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.119e-05/0.316, allocations: 70.34 kB / 493 MB, free: 53.91 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002478/0.3184, allocations: 1.256 MB / 494.3 MB, free: 53.84 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.01219/0.3306, allocations: 11.13 MB / 0.4936 GB, free: 46.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002702/0.3333, allocations: 1.44 MB / 0.495 GB, free: 46.15 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009085/0.3342, allocations: 0.5198 MB / 0.4955 GB, free: 46.04 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001886/0.3344, allocations: 64.02 kB / 0.4955 GB, free: 46.02 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001422/0.3358, allocations: 0.981 MB / 0.4965 GB, free: 45.71 MB / 442.7 MB Notification: Performance of pre-optimization done (n=236): time 7.023e-06/0.3358, allocations: 1.984 kB / 0.4965 GB, free: 45.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=236): time 0.006269/0.3421, allocations: 2.497 MB / 0.4989 GB, free: 45.08 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/0.3423, allocations: 0.4964 MB / 0.4994 GB, free: 44.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00521/0.3475, allocations: 2.714 MB / 0.5021 GB, free: 43.53 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005612/0.348, allocations: 83.73 kB / 0.5021 GB, free: 43.46 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001721/0.3497, allocations: 1.722 MB / 0.5038 GB, free: 42.12 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00141/0.3512, allocations: 0.846 MB / 0.5046 GB, free: 41.47 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001355/0.3525, allocations: 0.7093 MB / 0.5053 GB, free: 41.13 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.036e-05/0.3526, allocations: 482.9 kB / 0.5058 GB, free: 40.66 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002016/0.3546, allocations: 0.7337 MB / 0.5065 GB, free: 40.51 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002518/0.3571, allocations: 1.836 MB / 0.5083 GB, free: 39.12 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005601/0.3627, allocations: 2.97 MB / 0.5112 GB, free: 37.78 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.097e-05/0.3627, allocations: 2.406 kB / 0.5112 GB, free: 37.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=479) (initialization): time 0.006475/0.3692, allocations: 3.18 MB / 0.5143 GB, free: 36.87 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.577e-05/0.3693, allocations: 67.52 kB / 0.5144 GB, free: 36.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.368e-05/0.3693, allocations: 9.953 kB / 0.5144 GB, free: 36.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/0.3703, allocations: 340.4 kB / 0.5147 GB, free: 36.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002493/0.3728, allocations: 0.7459 MB / 0.5154 GB, free: 36.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002978/0.3758, allocations: 2.529 MB / 0.5179 GB, free: 34.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002711/0.3785, allocations: 359.2 kB / 0.5183 GB, free: 34.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003081/0.3788, allocations: 131.8 kB / 0.5184 GB, free: 34.41 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.002706/0.3815, allocations: 1.026 MB / 0.5194 GB, free: 34.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001909/0.3834, allocations: 1.829 MB / 0.5212 GB, free: 32.68 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004577/0.388, allocations: 2.955 MB / 0.5241 GB, free: 31.34 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.466e-05/0.388, allocations: 3.906 kB / 0.5241 GB, free: 31.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=479) (initialization_lambda0): time 0.006202/0.3942, allocations: 3.156 MB / 0.5271 GB, free: 29.14 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.241e-05/0.3943, allocations: 68.27 kB / 0.5272 GB, free: 29.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/0.3943, allocations: 8.859 kB / 0.5272 GB, free: 29.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008925/0.3952, allocations: 340.9 kB / 0.5275 GB, free: 28.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002698/0.3979, allocations: 0.7437 MB / 0.5283 GB, free: 28.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002923/0.4008, allocations: 2.524 MB / 0.5307 GB, free: 25.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002928/0.4037, allocations: 343.8 kB / 0.5311 GB, free: 25.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004211/0.4042, allocations: 131.1 kB / 0.5312 GB, free: 25.31 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: 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.001055/0.4052, allocations: 0.5926 MB / 0.5318 GB, free: 24.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001066/0.4063, allocations: 440.8 kB / 0.5322 GB, free: 24.37 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003572/0.4099, allocations: 2.005 MB / 0.5341 GB, free: 22.73 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/0.4099, allocations: 24 kB / 0.5342 GB, free: 22.71 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.4099, allocations: 4 kB / 0.5342 GB, free: 22.7 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.876e-05/0.4099, allocations: 12.8 kB / 0.5342 GB, free: 22.7 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007991/0.4179, allocations: 5.088 MB / 0.5392 GB, free: 18.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.4179, allocations: 8.031 kB / 0.5392 GB, free: 18.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001481/0.4194, allocations: 470.3 kB / 0.5396 GB, free: 17.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006945/0.4201, allocations: 323.4 kB / 0.5399 GB, free: 17.36 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001702/0.4202, allocations: 59.97 kB / 0.54 GB, free: 17.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002274/0.4225, allocations: 2.526 MB / 0.5424 GB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.4225, allocations: 8 kB / 0.5424 GB, free: 14.65 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004736/0.4273, allocations: 3.085 MB / 0.5455 GB, free: 11.46 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001511/0.4288, allocations: 0.7312 MB / 0.5462 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003962/0.4292, allocations: 67.05 kB / 0.5462 GB, free: 10.67 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.4302, allocations: 159.9 kB / 0.5464 GB, free: 10.51 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003139/0.4305, allocations: 207.8 kB / 0.5466 GB, free: 10.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/0.4306, allocations: 79.97 kB / 0.5467 GB, free: 10.23 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001752/0.4324, allocations: 1.574 MB / 0.5482 GB, free: 8.672 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.4324, allocations: 0 / 0.5482 GB, free: 8.672 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003201/0.4356, allocations: 1.633 MB / 0.5498 GB, free: 7.035 MB / 442.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.001013/0.4366, allocations: 487.2 kB / 0.5503 GB, free: 6.738 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006264/0.4428, allocations: 4.183 MB / 0.5543 GB, free: 2.617 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.859e-06/0.4429, allocations: 0 / 0.5543 GB, free: 2.617 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001693/0.4445, allocations: 1.099 MB / 0.5554 GB, free: 1.551 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00227/0.4468, allocations: 0.6103 MB / 0.556 GB, free: 0.9688 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/0.4572, allocations: 6.082 MB / 0.562 GB, free: 10.75 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005959/0.4578, allocations: 0.5835 MB / 0.5625 GB, free: 10.15 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001948/0.4597, allocations: 461.7 kB / 0.563 GB, free: 9.691 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006187/0.4603, allocations: 216.5 kB / 0.5632 GB, free: 9.48 MB / 458.7 MB Notification: Performance of SimCode: time 1.844e-06/0.4603, allocations: 0 / 0.5632 GB, free: 9.48 MB / 458.7 MB Notification: Performance of Templates: time 0.06085/0.5212, allocations: 47.8 MB / 0.6099 GB, free: 10.03 MB / 0.4948 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.041271490976214]