Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.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.001004/0.001004, allocations: 72.95 kB / 20.74 MB, free: 3.75 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.0009332/0.0009332, allocations: 173 kB / 24.16 MB, free: 336 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.9358/0.9358, allocations: 158.6 MB / 186 MB, free: 2.754 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.4541/0.4541, allocations: 90.86 MB / 329.2 MB, free: 14.21 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.BESSCurrentSourceNoPPC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|BESS.injector.PInjPuSn|BESS.injector.QInjPuSn|BESS.injector.UPu|BESS.reecC.idCmdPu|BESS.reecC.iqCmdPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC") translateModel(Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|BESS.injector.PInjPuSn|BESS.injector.QInjPuSn|BESS.injector.UPu|BESS.reecC.idCmdPu|BESS.reecC.iqCmdPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 385.7 MB, free: 6.145 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.657e-05/2.815e-05, allocations: 2.312 kB / 385.7 MB, free: 6.141 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC): time 0.009685/0.009713, allocations: 9.628 MB / 395.4 MB, free: 12.46 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008251/0.01796, allocations: 5.197 MB / 400.6 MB, free: 7.258 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0017/0.01966, allocations: 55.62 kB / 400.6 MB, free: 7.203 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00122/0.02088, allocations: 0.6165 MB / 401.2 MB, free: 6.582 MB / 378.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.002301/0.02319, allocations: 0.9549 MB / 402.2 MB, free: 5.621 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/WECC/BaseClasses_INIT/WECCInverterCurrentSource_INIT.mo:69:3-69:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wt4CurrentSource_INIT.s0Pu) == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.002814/0.026, allocations: 1.953 MB / 404.1 MB, free: 3.664 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00355/0.02955, allocations: 3.254 MB / 407.4 MB, free: 412 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001067/0.03062, allocations: 0.7259 MB / 408.1 MB, free: 15.61 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001497/0.03211, allocations: 1.118 MB / 409.2 MB, free: 14.49 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009722/0.03309, allocations: 0.9928 MB / 410.2 MB, free: 13.5 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003112/0.0334, allocations: 332 kB / 410.6 MB, free: 13.17 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009173/0.03431, allocations: 0.605 MB / 411.2 MB, free: 12.57 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004161/0.03473, allocations: 0.7279 MB / 411.9 MB, free: 11.84 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006583/0.03539, allocations: 0.8762 MB / 412.8 MB, free: 10.96 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002692/0.03808, allocations: 2.374 MB / 415.1 MB, free: 8.574 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.03809, allocations: 0 / 415.1 MB, free: 8.574 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.03809, allocations: 0 / 415.1 MB, free: 8.574 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.656e-05/0.03811, allocations: 4 kB / 415.2 MB, free: 8.57 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 433 * Number of variables: 433 Notification: Performance of Generate backend data structure: time 0.004675/0.04279, allocations: 3.493 MB / 418.6 MB, free: 5.023 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.04283, allocations: 8.031 kB / 418.7 MB, free: 5.016 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002045/0.04487, allocations: 0.836 MB / 419.5 MB, free: 4.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/0.04629, allocations: 1.085 MB / 420.6 MB, free: 3.035 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003573/0.04665, allocations: 0.7563 MB / 421.3 MB, free: 2.137 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002687/0.04692, allocations: 184 kB / 421.5 MB, free: 1.957 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/0.04857, allocations: 1.664 MB / 423.2 MB, free: 144 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/0.0486, allocations: 7.938 kB / 423.2 MB, free: 136 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-05/0.04869, allocations: 75.98 kB / 423.3 MB, free: 60 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.406e-05/0.04871, allocations: 40 kB / 423.3 MB, free: 20 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008065/0.04952, allocations: 0.5402 MB / 423.8 MB, free: 15.47 MB / 410.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.005221/0.05474, allocations: 4.782 MB / 428.6 MB, free: 10.56 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.05591, allocations: 0.7827 MB / 429.4 MB, free: 9.762 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003019/0.05622, allocations: 240.6 kB / 429.6 MB, free: 9.523 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001405/0.05636, allocations: 36.98 kB / 429.7 MB, free: 9.488 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006076/0.05696, allocations: 0.6091 MB / 430.3 MB, free: 8.848 MB / 410.7 MB Notification: Performance of pre-optimization done (n=147): time 2.845e-06/0.05697, allocations: 4 kB / 430.3 MB, free: 8.844 MB / 410.7 MB Notification: Performance of matching and sorting (n=147): time 0.002057/0.05902, allocations: 1.12 MB / 431.4 MB, free: 7.719 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.05913, allocations: 290.3 kB / 431.7 MB, free: 7.375 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/0.06044, allocations: 1.549 MB / 433.2 MB, free: 5.781 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.459e-05/0.06052, allocations: 65.69 kB / 433.3 MB, free: 5.711 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004002/0.06092, allocations: 0.7307 MB / 434 MB, free: 4.969 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003298/0.06125, allocations: 0.5269 MB / 434.6 MB, free: 4.438 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004393/0.06169, allocations: 472.3 kB / 435 MB, free: 3.969 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.742e-05/0.06177, allocations: 305.1 kB / 435.3 MB, free: 3.668 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007523/0.06252, allocations: 444 kB / 435.7 MB, free: 3.219 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008791/0.0634, allocations: 0.9868 MB / 436.7 MB, free: 2.051 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002163/0.06556, allocations: 1.888 MB / 438.6 MB, free: 15.99 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.718e-06/0.06557, allocations: 4 kB / 438.6 MB, free: 15.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=314) (initialization): time 0.002519/0.06809, allocations: 1.672 MB / 440.3 MB, free: 14.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.953e-05/0.06815, allocations: 53.67 kB / 440.4 MB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.06817, allocations: 8 kB / 440.4 MB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004629/0.06863, allocations: 220.7 kB / 440.6 MB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/0.06991, allocations: 0.55 MB / 441.1 MB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001684/0.07159, allocations: 1.613 MB / 442.7 MB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009945/0.07259, allocations: 238.7 kB / 443 MB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.07269, allocations: 67.98 kB / 443 MB, free: 11.44 MB / 426.7 MB Warning: Assuming fixed start value for the following 18 variables: 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.regcA.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001263/0.07396, allocations: 0.633 MB / 443.7 MB, free: 10.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008766/0.07483, allocations: 0.9712 MB / 444.6 MB, free: 9.648 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002078/0.07691, allocations: 1.889 MB / 446.5 MB, free: 7.594 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.298e-06/0.07692, allocations: 3.938 kB / 446.5 MB, free: 7.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=314) (initialization_lambda0): time 0.002407/0.07933, allocations: 1.668 MB / 448.2 MB, free: 5.871 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.073e-05/0.07938, allocations: 61.61 kB / 448.3 MB, free: 5.805 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.07939, allocations: 4 kB / 448.3 MB, free: 5.801 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003906/0.07978, allocations: 228.6 kB / 448.5 MB, free: 5.574 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.08105, allocations: 0.5383 MB / 449 MB, free: 5.035 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001539/0.08259, allocations: 1.626 MB / 450.7 MB, free: 3.324 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009522/0.08354, allocations: 218.9 kB / 450.9 MB, free: 3.109 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.261e-05/0.08363, allocations: 71.98 kB / 450.9 MB, free: 3.039 MB / 426.7 MB Warning: Assuming fixed start value for the following 18 variables: 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.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: 33 * Number of states: 0 () * Number of discrete variables: 46 ($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.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,BESS.regcA.QConv0PuPos.k,BESS.regcA.QConv0PuNeg.k,$PRE.BESS.regcA.offDelay.u,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (288): * Single equations (assignments): 286 * 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 {(8,2,50.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005217/0.08415, allocations: 405.4 kB / 451.3 MB, free: 2.645 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002461/0.0844, allocations: 179.8 kB / 451.5 MB, free: 2.469 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001516/0.08592, allocations: 0.9958 MB / 452.5 MB, free: 1.461 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.08593, allocations: 19.98 kB / 452.5 MB, free: 1.441 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.08593, allocations: 0 / 452.5 MB, free: 1.441 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.08594, allocations: 3.984 kB / 452.5 MB, free: 1.438 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003083/0.08903, allocations: 2.268 MB / 454.8 MB, free: 15.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.08903, allocations: 4 kB / 454.8 MB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009527/0.08999, allocations: 335.8 kB / 455.1 MB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003448/0.09033, allocations: 208.7 kB / 455.3 MB, free: 14.56 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.002e-05/0.0904, allocations: 43.97 kB / 455.4 MB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/0.09182, allocations: 1.586 MB / 457 MB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.09183, allocations: 7.938 kB / 457 MB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/0.0937, allocations: 1.48 MB / 458.4 MB, free: 11.29 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004636/0.09417, allocations: 234.2 kB / 458.7 MB, free: 11.06 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/0.09431, allocations: 40 kB / 458.7 MB, free: 11.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005057/0.09482, allocations: 107.9 kB / 458.8 MB, free: 10.91 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002148/0.09503, allocations: 140.9 kB / 459 MB, free: 10.78 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.217e-05/0.09509, allocations: 43.97 kB / 459 MB, free: 10.73 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006988/0.09579, allocations: 0.778 MB / 459.8 MB, free: 9.93 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.09579, allocations: 0 / 459.8 MB, free: 9.93 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001818/0.09761, allocations: 1.025 MB / 460.8 MB, free: 8.902 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 13 (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) * Number of discrete variables: 23 ($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) * Number of discrete states: 4 (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 (146): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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 {(8,2,50.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001135/0.09874, allocations: 0.5326 MB / 461.3 MB, free: 8.559 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003273/0.102, allocations: 2.569 MB / 463.9 MB, free: 5.91 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.442e-05/0.102, allocations: 24.5 kB / 463.9 MB, free: 5.887 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006897/0.1027, allocations: 0.6187 MB / 464.5 MB, free: 5.25 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000934/0.1037, allocations: 353.3 kB / 464.9 MB, free: 4.91 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004666/0.1083, allocations: 3.735 MB / 468.6 MB, free: 1.078 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.1086, allocations: 392.1 kB / 469 MB, free: 0.6719 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008211/0.1095, allocations: 278.1 kB / 469.3 MB, free: 404 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006942/0.1102, allocations: 377.2 kB / 469.7 MB, free: 24 kB / 442.7 MB Notification: Performance of SimCode: time 2.043e-06/0.1102, allocations: 0 / 469.7 MB, free: 24 kB / 442.7 MB Notification: Performance of Templates: time 0.1988/0.309, allocations: 32.57 MB / 0.4904 GB, free: 63.04 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.pipe >> ../files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.sim & ./Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC -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.BESSCurrentSourceNoPPC.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_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.126430990174413]