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.0009249/0.0009249, allocations: 80.94 kB / 20.74 MB, free: 3.738 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.0009306/0.0009306, allocations: 169 kB / 24.17 MB, free: 324 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.9179/0.9179, allocations: 158.6 MB / 186 MB, free: 2.758 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.4698/0.4698, allocations: 90.86 MB / 329.2 MB, free: 14.26 MB / 314.7 MB " [Timeout remaining time 179] Using package Dynawo with version 2.0.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 2.034e-06/2.034e-06, allocations: 0 / 385.7 MB, free: 6.168 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.836e-05/3.04e-05, allocations: 6.312 kB / 385.8 MB, free: 6.16 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSource): time 0.01516/0.0152, allocations: 14.07 MB / 399.8 MB, free: 8.027 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01121/0.0264, allocations: 7.026 MB / 406.9 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001557/0.02796, allocations: 99.38 kB / 406.9 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001332/0.02929, allocations: 0.9069 MB / 407.9 MB, free: 15.96 MB / 394.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.002319/0.03161, allocations: 1.389 MB / 409.2 MB, free: 14.57 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:90:3-90: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.006005/0.03762, allocations: 3.087 MB / 412.3 MB, free: 11.47 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.006944/0.04456, allocations: 5.335 MB / 417.7 MB, free: 6.125 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002831/0.04739, allocations: 1.255 MB / 418.9 MB, free: 4.781 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002961/0.05035, allocations: 1.823 MB / 420.7 MB, free: 2.953 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002256/0.05261, allocations: 1.62 MB / 422.4 MB, free: 1.328 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001179/0.05379, allocations: 0.5586 MB / 422.9 MB, free: 0.7695 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001556/0.05534, allocations: 0.8941 MB / 423.8 MB, free: 15.88 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009781/0.05632, allocations: 1.176 MB / 425 MB, free: 14.7 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002085/0.05841, allocations: 1.429 MB / 426.4 MB, free: 13.26 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004806/0.06321, allocations: 3.771 MB / 430.2 MB, free: 9.477 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.06322, allocations: 0 / 430.2 MB, free: 9.477 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.06322, allocations: 0 / 430.2 MB, free: 9.477 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.404e-05/0.06329, allocations: 0 / 430.2 MB, free: 9.477 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 714 * Number of variables: 714 Notification: Performance of Generate backend data structure: time 0.008959/0.07225, allocations: 5.62 MB / 435.8 MB, free: 3.773 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.07229, allocations: 8.031 kB / 435.8 MB, free: 3.766 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003322/0.07562, allocations: 1.351 MB / 437.2 MB, free: 2.414 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002651/0.07827, allocations: 1.684 MB / 438.9 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004592/0.07873, allocations: 0.9778 MB / 439.8 MB, free: 15.53 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003174/0.07904, allocations: 296 kB / 440.1 MB, free: 15.24 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003056/0.0821, allocations: 2.758 MB / 442.9 MB, free: 12.21 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.195e-05/0.08214, allocations: 7.938 kB / 442.9 MB, free: 12.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001562/0.0823, allocations: 120 kB / 443 MB, free: 12.08 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.192e-05/0.08234, allocations: 68 kB / 443.1 MB, free: 12.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001522/0.08386, allocations: 0.8919 MB / 444 MB, free: 11.09 MB / 426.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.009366/0.09323, allocations: 7.459 MB / 451.4 MB, free: 3.461 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00185/0.09508, allocations: 1.272 MB / 452.7 MB, free: 2.18 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000497/0.09558, allocations: 375.6 kB / 453.1 MB, free: 1.812 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002006/0.09578, allocations: 57.97 kB / 453.1 MB, free: 1.754 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009865/0.09676, allocations: 0.9147 MB / 454 MB, free: 0.8164 MB / 426.7 MB Notification: Performance of pre-optimization done (n=237): time 4.979e-06/0.09677, allocations: 3.938 kB / 454 MB, free: 0.8125 MB / 426.7 MB Notification: Performance of matching and sorting (n=237): time 0.003423/0.1002, allocations: 1.713 MB / 455.8 MB, free: 15.09 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001893/0.1004, allocations: 0.4966 MB / 456.2 MB, free: 14.48 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002524/0.1029, allocations: 2.386 MB / 458.6 MB, free: 12.09 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001533/0.1031, allocations: 77.7 kB / 458.7 MB, free: 12.01 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007922/0.1038, allocations: 1.148 MB / 459.9 MB, free: 10.84 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006244/0.1045, allocations: 0.8484 MB / 460.7 MB, free: 9.988 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007613/0.1052, allocations: 0.7034 MB / 461.4 MB, free: 9.277 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.1054, allocations: 305.1 kB / 461.7 MB, free: 8.977 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001074/0.1065, allocations: 0.6659 MB / 462.4 MB, free: 8.297 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001421/0.1079, allocations: 1.595 MB / 464 MB, free: 6.426 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003448/0.1113, allocations: 2.848 MB / 466.8 MB, free: 3.398 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.414e-05/0.1113, allocations: 0 / 466.8 MB, free: 3.398 MB / 442.7 MB Notification: Performance of matching and sorting (n=483) (initialization): time 0.003929/0.1153, allocations: 2.513 MB / 469.3 MB, free: 0.8555 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.601e-05/0.1153, allocations: 69.66 kB / 469.4 MB, free: 0.7812 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.166e-05/0.1154, allocations: 15.94 kB / 469.4 MB, free: 0.7656 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007053/0.1161, allocations: 320.5 kB / 469.7 MB, free: 460 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2077/0.3237, allocations: 0.8153 MB / 470.5 MB, free: 73.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002283/0.326, allocations: 1.833 MB / 472.4 MB, free: 72.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002446/0.3285, allocations: 364.9 kB / 472.7 MB, free: 72.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003232/0.3288, allocations: 98.89 kB / 472.8 MB, free: 72.55 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.002563/0.3314, allocations: 0.9171 MB / 473.7 MB, free: 72.4 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001716/0.3331, allocations: 1.589 MB / 475.3 MB, free: 71.41 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004148/0.3372, allocations: 2.813 MB / 478.1 MB, free: 70.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.879e-05/0.3372, allocations: 5.25 kB / 478.2 MB, free: 70.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=483) (initialization_lambda0): time 0.003764/0.341, allocations: 2.504 MB / 480.7 MB, free: 70.68 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.605e-05/0.3411, allocations: 66.95 kB / 480.7 MB, free: 70.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.337e-05/0.3411, allocations: 9.312 kB / 480.7 MB, free: 70.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007051/0.3418, allocations: 319.3 kB / 481 MB, free: 70.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001912/0.3437, allocations: 0.8125 MB / 481.9 MB, free: 70.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002076/0.3458, allocations: 1.841 MB / 483.7 MB, free: 69.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002224/0.348, allocations: 343.1 kB / 484 MB, free: 69.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002013/0.3482, allocations: 103 kB / 484.1 MB, free: 69.51 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.reecC.limPIDFreeze.I.resetLocal,BESS.reecC.varLimPIDFreeze.I.resetLocal,BESS.reecC.integrator.local_reset,BESS.pll.integrator.local_reset,BESS.pll.limIntegrator.local_reset,BESS.repcA.limPID.I.local_reset,BESS.repcA.limPIDFreeze.I.resetLocal,BESS.regcA.rateLimFirstOrderFreeze2.local_freeze,BESS.regcA.rateLimFirstOrderFreeze1.local_freeze,line.switchOffSignal1,line.switchOffSignal2,BESS.injector.switchOffSignal1,BESS.injector.switchOffSignal2,BESS.injector.switchOffSignal3,$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.QConv0PuPos.k,BESS.regcA.QConv0PuNeg.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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (446): * Single equations (assignments): 444 * 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.001186/0.3494, allocations: 0.5025 MB / 484.6 MB, free: 69.31 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006471/0.35, allocations: 282.3 kB / 484.9 MB, free: 69.31 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002709/0.3528, allocations: 1.496 MB / 486.4 MB, free: 69.18 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/0.3528, allocations: 23.34 kB / 486.4 MB, free: 69.18 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.3528, allocations: 7.25 kB / 486.4 MB, free: 69.17 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.819e-05/0.3528, allocations: 17.92 kB / 486.5 MB, free: 69.17 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006924/0.3597, allocations: 3.479 MB / 489.9 MB, free: 68.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/0.3597, allocations: 10.22 kB / 489.9 MB, free: 68.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001579/0.3613, allocations: 0.499 MB / 490.4 MB, free: 68.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006855/0.362, allocations: 304.9 kB / 490.7 MB, free: 68.59 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002259/0.3622, allocations: 60.75 kB / 490.8 MB, free: 68.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001937/0.3642, allocations: 1.825 MB / 492.6 MB, free: 67.45 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.3642, allocations: 11.28 kB / 492.6 MB, free: 67.45 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002983/0.3672, allocations: 2.237 MB / 494.9 MB, free: 66.89 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009144/0.3681, allocations: 387.2 kB / 495.2 MB, free: 66.89 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003229/0.3684, allocations: 60.31 kB / 495.3 MB, free: 66.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009163/0.3693, allocations: 163 kB / 495.5 MB, free: 66.88 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003093/0.3696, allocations: 209 kB / 495.7 MB, free: 66.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.824e-05/0.3697, allocations: 61.12 kB / 495.7 MB, free: 66.88 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001342/0.3711, allocations: 1.241 MB / 497 MB, free: 66.06 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3711, allocations: 0 / 497 MB, free: 66.06 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003082/0.3741, allocations: 1.632 MB / 498.6 MB, free: 64.8 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 (234): * Single equations (assignments): 223 * 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.001225/0.3754, allocations: 0.5754 MB / 499.2 MB, free: 64.56 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004948/0.3803, allocations: 3.75 MB / 0.4911 GB, free: 61.56 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.756e-05/0.3803, allocations: 32.5 kB / 0.4912 GB, free: 61.53 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001137/0.3815, allocations: 0.8999 MB / 0.4921 GB, free: 60.74 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00163/0.3831, allocations: 0.5966 MB / 0.4926 GB, free: 60.35 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007902/0.391, allocations: 5.919 MB / 0.4984 GB, free: 54.68 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000556/0.3916, allocations: 0.5704 MB / 0.499 GB, free: 54.1 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001561/0.3931, allocations: 0.4893 MB / 0.4994 GB, free: 53.61 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001164/0.3943, allocations: 0.5744 MB / 0.5 GB, free: 53.05 MB / 442.7 MB Notification: Performance of SimCode: time 1.693e-06/0.3943, allocations: 4 kB / 0.5 GB, free: 53.05 MB / 442.7 MB Notification: Performance of Templates: time 0.05568/0.45, allocations: 51.05 MB / 0.5499 GB, free: 3.043 MB / 442.7 MB " [Timeout remaining time 660] 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 -s gbode -gbm=radauIIA3 -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: 4.739810321945697]