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.00089/0.00089, 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.0009511/0.0009511, allocations: 169.4 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.7862/0.7862, 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.4249/0.4249, allocations: 90.87 MB / 329.2 MB, free: 14.23 MB / 314.7 MB " [Timeout remaining time 180] 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.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 2.756e-06/2.756e-06, allocations: 4 kB / 385.7 MB, free: 6.184 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975e-05/2.25e-05, allocations: 2.312 kB / 385.7 MB, free: 6.18 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC): time 0.01196/0.01198, allocations: 9.733 MB / 395.5 MB, free: 12.39 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009256/0.02124, allocations: 5.28 MB / 400.7 MB, free: 7.105 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001193/0.02243, allocations: 55.62 kB / 400.8 MB, free: 7.051 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001266/0.0237, allocations: 0.6671 MB / 401.5 MB, free: 6.379 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.00221/0.02591, allocations: 0.9976 MB / 402.5 MB, free: 5.375 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/WECC/BaseClasses_INIT/WECCInverterCurrentSource_INIT.mo:94:3-94: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.003305/0.02921, allocations: 2.042 MB / 404.5 MB, free: 3.328 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003353/0.03256, allocations: 3.328 MB / 407.8 MB, free: 15.99 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001182/0.03375, allocations: 0.73 MB / 408.6 MB, free: 15.2 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001366/0.03511, allocations: 1.149 MB / 409.7 MB, free: 14.05 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001096/0.03621, allocations: 1.024 MB / 410.7 MB, free: 13.02 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003849/0.03659, allocations: 336 kB / 411.1 MB, free: 12.69 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008364/0.03743, allocations: 0.5973 MB / 411.7 MB, free: 12.09 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005653/0.03799, allocations: 0.7356 MB / 412.4 MB, free: 11.36 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007881/0.03878, allocations: 0.8918 MB / 413.3 MB, free: 10.46 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002617/0.0414, allocations: 2.413 MB / 415.7 MB, free: 8.039 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.0414, allocations: 0 / 415.7 MB, free: 8.039 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.0414, allocations: 0 / 415.7 MB, free: 8.039 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.804e-05/0.04142, allocations: 0 / 415.7 MB, free: 8.039 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: 437 * Number of variables: 437 Notification: Performance of Generate backend data structure: time 0.006288/0.04771, allocations: 3.579 MB / 419.3 MB, free: 4.402 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.04774, allocations: 8.031 kB / 419.3 MB, free: 4.395 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002959/0.0507, allocations: 0.8438 MB / 420.1 MB, free: 3.551 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.05194, allocations: 1.12 MB / 421.3 MB, free: 2.371 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003165/0.05225, allocations: 0.7525 MB / 422 MB, free: 1.477 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/0.05242, allocations: 184 kB / 422.2 MB, free: 1.297 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.05395, allocations: 1.681 MB / 423.9 MB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/0.05397, allocations: 3.938 kB / 423.9 MB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.98e-05/0.05407, allocations: 72 kB / 423.9 MB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.297e-05/0.0541, allocations: 44 kB / 424 MB, free: 15.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007562/0.05485, allocations: 0.5328 MB / 424.5 MB, free: 14.8 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.004498/0.05935, allocations: 4.829 MB / 429.3 MB, free: 9.852 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.06046, allocations: 0.7749 MB / 430.1 MB, free: 9.055 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003424/0.0608, allocations: 244.6 kB / 430.4 MB, free: 8.812 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001205/0.06092, allocations: 36.98 kB / 430.4 MB, free: 8.777 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006537/0.06158, allocations: 0.617 MB / 431 MB, free: 8.129 MB / 410.7 MB Notification: Performance of pre-optimization done (n=148): time 3.897e-06/0.06158, allocations: 0 / 431 MB, free: 8.129 MB / 410.7 MB Notification: Performance of matching and sorting (n=148): time 0.001856/0.06344, allocations: 1.127 MB / 432.1 MB, free: 7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.784e-05/0.06352, allocations: 282.3 kB / 432.4 MB, free: 6.664 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.06461, allocations: 1.629 MB / 434 MB, free: 4.996 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.555e-05/0.06468, allocations: 57.7 kB / 434.1 MB, free: 4.934 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003506/0.06503, allocations: 0.7509 MB / 434.8 MB, free: 4.172 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002693/0.0653, allocations: 0.5424 MB / 435.4 MB, free: 3.625 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004114/0.06571, allocations: 464.3 kB / 435.8 MB, free: 3.164 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.387e-05/0.06577, allocations: 305.1 kB / 436.1 MB, free: 2.863 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006283/0.06639, allocations: 452.1 kB / 436.6 MB, free: 2.406 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008369/0.06723, allocations: 0.9752 MB / 437.6 MB, free: 1.254 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001959/0.06919, allocations: 1.9 MB / 439.5 MB, free: 15.19 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.0692, allocations: 0 / 439.5 MB, free: 15.19 MB / 426.7 MB Notification: Performance of matching and sorting (n=315) (initialization): time 0.002088/0.07128, allocations: 1.688 MB / 441.1 MB, free: 13.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.917e-05/0.07132, allocations: 57.67 kB / 441.2 MB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.07133, allocations: 8 kB / 441.2 MB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004733/0.07181, allocations: 216.6 kB / 441.4 MB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/0.07289, allocations: 0.4914 MB / 441.9 MB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/0.07416, allocations: 1.601 MB / 443.5 MB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006175/0.07478, allocations: 242.7 kB / 443.7 MB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/0.0749, allocations: 63.98 kB / 443.8 MB, free: 10.68 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.0009441/0.07584, allocations: 0.6413 MB / 444.5 MB, free: 10.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008202/0.07666, allocations: 0.9865 MB / 445.4 MB, free: 8.871 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001943/0.0786, allocations: 1.885 MB / 447.3 MB, free: 6.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.32e-06/0.07861, allocations: 3.984 kB / 447.3 MB, free: 6.816 MB / 426.7 MB Notification: Performance of matching and sorting (n=315) (initialization_lambda0): time 0.002077/0.08069, allocations: 1.68 MB / 449 MB, free: 5.086 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.382e-05/0.08072, allocations: 57.67 kB / 449.1 MB, free: 5.023 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.08073, allocations: 8 kB / 449.1 MB, free: 5.016 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003217/0.08105, allocations: 216.7 kB / 449.3 MB, free: 4.801 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.08228, allocations: 499.2 kB / 449.8 MB, free: 4.312 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00124/0.08352, allocations: 1.603 MB / 451.4 MB, free: 2.621 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006428/0.08416, allocations: 234.9 kB / 451.6 MB, free: 2.391 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.739e-05/0.08425, allocations: 71.97 kB / 451.7 MB, free: 2.32 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 (289): * Single equations (assignments): 287 * 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.0003075/0.08456, allocations: 401.2 kB / 452.1 MB, free: 1.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001883/0.08474, allocations: 179.8 kB / 452.2 MB, free: 1.754 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001315/0.08606, allocations: 1.009 MB / 453.3 MB, free: 0.7344 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.08607, allocations: 15.98 kB / 453.3 MB, free: 0.7188 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.08607, allocations: 4 kB / 453.3 MB, free: 0.7148 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.08608, allocations: 7.969 kB / 453.3 MB, free: 0.707 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00262/0.0887, allocations: 2.292 MB / 455.6 MB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.08871, allocations: 4 kB / 455.6 MB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000871/0.08958, allocations: 307.9 kB / 455.9 MB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000317/0.0899, allocations: 200.7 kB / 456.1 MB, free: 13.84 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.413e-05/0.08996, allocations: 43.98 kB / 456.1 MB, free: 13.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001157/0.09112, allocations: 1.594 MB / 457.7 MB, free: 12.12 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.09112, allocations: 11.92 kB / 457.7 MB, free: 12.11 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/0.09282, allocations: 1.487 MB / 459.2 MB, free: 10.56 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003955/0.09322, allocations: 242.2 kB / 459.4 MB, free: 10.32 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/0.09336, allocations: 40 kB / 459.5 MB, free: 10.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005054/0.09387, allocations: 115.8 kB / 459.6 MB, free: 10.17 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/0.09402, allocations: 133 kB / 459.7 MB, free: 10.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.872e-05/0.09408, allocations: 43.97 kB / 459.8 MB, free: 9.996 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006103/0.09469, allocations: 0.8243 MB / 460.6 MB, free: 9.148 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.09469, allocations: 0 / 460.6 MB, free: 9.148 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001274/0.09597, allocations: 1.045 MB / 461.6 MB, free: 8.102 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 (147): * Single equations (assignments): 138 * 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.0009703/0.09694, allocations: 0.5283 MB / 462.2 MB, free: 7.762 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002636/0.09957, allocations: 2.569 MB / 464.7 MB, free: 5.113 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.922e-05/0.09959, allocations: 24.5 kB / 464.8 MB, free: 5.09 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006543/0.1002, allocations: 0.6148 MB / 465.4 MB, free: 4.457 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008559/0.1011, allocations: 380.6 kB / 465.7 MB, free: 4.098 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003953/0.1051, allocations: 3.833 MB / 469.6 MB, free: 164 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.117/0.2221, allocations: 400.5 kB / 470 MB, free: 80.65 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001043/0.2231, allocations: 285.2 kB / 470.2 MB, free: 80.63 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006956/0.2238, allocations: 389.7 kB / 470.6 MB, free: 80.59 MB / 442.7 MB Notification: Performance of SimCode: time 1.012e-06/0.2238, allocations: 0 / 470.6 MB, free: 80.59 MB / 442.7 MB Notification: Performance of Templates: time 0.03236/0.2562, allocations: 33.13 MB / 0.492 GB, free: 61.9 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 -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: 3.938120648264885]