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.001396/0.001396, allocations: 81.09 kB / 20.67 MB, free: 3.832 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.001573/0.001573, allocations: 173 kB / 24.08 MB, free: 440 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.9269/0.9269, allocations: 158.6 MB / 186 MB, free: 2.793 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.4738/0.4738, allocations: 90.58 MB / 328.9 MB, free: 14.62 MB / 314.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -noHomotopyOnFirstTry=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRestart=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRootFinding=() since the simulation runtime does not accept it Running command: translateModel(Dynawo.Examples.BESS.WECC.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.593e-06/1.593e-06, allocations: 0 / 434.4 MB, free: 5.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.178e-05/2.337e-05, allocations: 6.25 kB / 434.4 MB, free: 5.562 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC): time 0.009309/0.009333, allocations: 9.705 MB / 444.1 MB, free: 11.8 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.006799/0.01613, allocations: 5.089 MB / 449.2 MB, free: 6.699 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007963/0.01693, allocations: 55.62 kB / 449.2 MB, free: 6.645 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.01793, allocations: 0.6555 MB / 449.9 MB, free: 5.984 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001723/0.01966, allocations: 0.9938 MB / 450.9 MB, free: 4.984 MB / 426.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.002393/0.02205, allocations: 2.027 MB / 452.9 MB, free: 2.953 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002734/0.02479, allocations: 3.324 MB / 456.2 MB, free: 15.62 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008483/0.02563, allocations: 0.6959 MB / 456.9 MB, free: 14.87 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009833/0.02662, allocations: 1.153 MB / 458.1 MB, free: 13.71 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007779/0.0274, allocations: 1.02 MB / 459.1 MB, free: 12.69 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002872/0.02768, allocations: 336 kB / 459.4 MB, free: 12.36 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000671/0.02835, allocations: 0.5934 MB / 460 MB, free: 11.77 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000407/0.02876, allocations: 0.7356 MB / 460.7 MB, free: 11.03 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005768/0.02934, allocations: 0.8918 MB / 461.6 MB, free: 10.14 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002521/0.03186, allocations: 2.409 MB / 464 MB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.03186, allocations: 0 / 464 MB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.03186, allocations: 4 kB / 464 MB, free: 7.715 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.482e-05/0.03188, allocations: 3.938 kB / 464.1 MB, free: 7.711 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 436 * Number of variables: 436 Notification: Performance of Generate backend data structure: time 0.004456/0.03633, allocations: 3.723 MB / 467.8 MB, free: 3.914 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.03637, allocations: 8.031 kB / 467.8 MB, free: 3.906 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002068/0.03843, allocations: 0.8969 MB / 468.7 MB, free: 3.008 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001786/0.04022, allocations: 1.661 MB / 470.3 MB, free: 1.281 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000328/0.04055, allocations: 0.7525 MB / 471.1 MB, free: 396 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001796/0.04073, allocations: 180 kB / 471.3 MB, free: 216 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1987/0.2395, allocations: 1.709 MB / 473 MB, free: 66.36 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.64e-05/0.2395, allocations: 6.062 kB / 473 MB, free: 66.36 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/0.2396, allocations: 76.38 kB / 473.1 MB, free: 66.36 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/0.2396, allocations: 42.94 kB / 473.1 MB, free: 66.36 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008944/0.2405, allocations: 0.6044 MB / 473.7 MB, free: 66.33 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005652/0.2462, allocations: 6.828 MB / 480.5 MB, free: 63.51 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.2474, allocations: 0.8637 MB / 481.4 MB, free: 63.43 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003261/0.2477, allocations: 287.5 kB / 481.7 MB, free: 63.41 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001103/0.2478, allocations: 33.34 kB / 481.7 MB, free: 63.41 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006101/0.2484, allocations: 0.6203 MB / 482.3 MB, free: 63.28 MB / 442.7 MB Notification: Performance of pre-optimization done (n=148): time 2.745e-06/0.2484, allocations: 1.094 kB / 482.3 MB, free: 63.28 MB / 442.7 MB Notification: Performance of matching and sorting (n=148): time 0.002304/0.2507, allocations: 1.481 MB / 483.8 MB, free: 63.07 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.227e-05/0.2508, allocations: 275.2 kB / 484.1 MB, free: 62.75 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.2519, allocations: 1.748 MB / 485.8 MB, free: 62.41 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.949e-05/0.252, allocations: 58.05 kB / 485.9 MB, free: 62.38 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005374/0.2526, allocations: 1.147 MB / 487 MB, free: 62.04 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002544/0.2528, allocations: 0.5349 MB / 487.6 MB, free: 61.77 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000459/0.2533, allocations: 495.9 kB / 488.1 MB, free: 61.73 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.074e-05/0.2533, allocations: 476.8 kB / 488.5 MB, free: 61.26 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005774/0.2539, allocations: 462.1 kB / 489 MB, free: 61.2 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007785/0.2547, allocations: 1.128 MB / 490.1 MB, free: 60.45 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001883/0.2566, allocations: 1.928 MB / 492 MB, free: 59.87 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/0.2566, allocations: 3.031 kB / 492 MB, free: 59.87 MB / 442.7 MB Notification: Performance of matching and sorting (n=315) (initialization): time 0.002418/0.259, allocations: 2.045 MB / 494.1 MB, free: 59.46 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.666e-05/0.259, allocations: 56.02 kB / 494.1 MB, free: 59.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.259, allocations: 8.125 kB / 494.1 MB, free: 59.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004889/0.2595, allocations: 229.9 kB / 494.4 MB, free: 59.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/0.2609, allocations: 0.495 MB / 494.9 MB, free: 59.37 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001414/0.2623, allocations: 2.22 MB / 497.1 MB, free: 57.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000747/0.263, allocations: 235.8 kB / 497.3 MB, free: 57.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/0.2631, allocations: 71.53 kB / 497.4 MB, free: 57.34 MB / 442.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.0009648/0.2641, allocations: 0.6924 MB / 498.1 MB, free: 57.06 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008002/0.2649, allocations: 1.129 MB / 499.2 MB, free: 56.24 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002237/0.2671, allocations: 1.92 MB / 0.4894 GB, free: 55.31 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.404e-06/0.2671, allocations: 6.688 kB / 0.4894 GB, free: 55.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=315) (initialization_lambda0): time 0.002751/0.2699, allocations: 2.037 MB / 0.4914 GB, free: 54.65 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.016e-05/0.2699, allocations: 58.52 kB / 0.4914 GB, free: 54.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.2699, allocations: 7.219 kB / 0.4914 GB, free: 54.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003894/0.2703, allocations: 235.3 kB / 0.4917 GB, free: 54.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.2715, allocations: 0.49 MB / 0.4921 GB, free: 54.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001438/0.273, allocations: 2.21 MB / 0.4943 GB, free: 52.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007799/0.2738, allocations: 226.2 kB / 0.4945 GB, free: 52.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.2739, allocations: 71.95 kB / 0.4946 GB, free: 52.53 MB / 442.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.0004167/0.2743, allocations: 489.4 kB / 0.495 GB, free: 52.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000282/0.2746, allocations: 279.6 kB / 0.4953 GB, free: 52.04 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00178/0.2763, allocations: 1.223 MB / 0.4965 GB, free: 51.69 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.2764, allocations: 18.88 kB / 0.4965 GB, free: 51.69 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2764, allocations: 6.25 kB / 0.4965 GB, free: 51.68 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.2764, allocations: 11.05 kB / 0.4965 GB, free: 51.68 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003537/0.2799, allocations: 2.976 MB / 0.4994 GB, free: 50.42 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/0.2799, allocations: 7.844 kB / 0.4995 GB, free: 50.42 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/0.281, allocations: 305.8 kB / 0.4997 GB, free: 50.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003761/0.2813, allocations: 223 kB / 0.5 GB, free: 50.36 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.72e-05/0.2814, allocations: 41.7 kB / 0.5 GB, free: 50.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001373/0.2828, allocations: 2.203 MB / 0.5021 GB, free: 48.42 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.2828, allocations: 4.219 kB / 0.5022 GB, free: 48.42 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002388/0.2852, allocations: 1.917 MB / 0.504 GB, free: 47.56 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004718/0.2856, allocations: 455.1 kB / 0.5045 GB, free: 47.28 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000172/0.2858, allocations: 47.69 kB / 0.5045 GB, free: 47.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005833/0.2864, allocations: 113.4 kB / 0.5046 GB, free: 47.22 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002009/0.2866, allocations: 139.2 kB / 0.5047 GB, free: 47.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.37e-05/0.2867, allocations: 43.58 kB / 0.5048 GB, free: 47.18 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009243/0.2876, allocations: 0.9539 MB / 0.5057 GB, free: 46.94 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.2876, allocations: 0 / 0.5057 GB, free: 46.94 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002031/0.2896, allocations: 1.034 MB / 0.5067 GB, free: 46.75 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.0009916/0.2906, allocations: 437 kB / 0.5071 GB, free: 46.59 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003446/0.2941, allocations: 2.804 MB / 0.5099 GB, free: 45.68 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.2941, allocations: 3.844 kB / 0.5099 GB, free: 45.68 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007596/0.2948, allocations: 0.705 MB / 0.5106 GB, free: 45.43 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.2959, allocations: 383.2 kB / 0.5109 GB, free: 45.29 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004543/0.3005, allocations: 3.856 MB / 0.5147 GB, free: 43.25 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.3008, allocations: 400.4 kB / 0.5151 GB, free: 43.12 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007979/0.3016, allocations: 293.9 kB / 0.5154 GB, free: 43.05 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007751/0.3024, allocations: 442.5 kB / 0.5158 GB, free: 42.98 MB / 442.7 MB Notification: Performance of SimCode: time 6.51e-07/0.3024, allocations: 4 kB / 0.5158 GB, free: 42.97 MB / 442.7 MB Notification: Performance of Templates: time 0.03612/0.3385, allocations: 33.36 MB / 0.5484 GB, free: 12.91 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 & (cd run_cvode && ../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 -inputPath=.. -r=../Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.mat -s cvode) > 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 (rm -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_gbode.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_gbode.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_gbode.sim & (cd run_gbode && ../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 -inputPath=.. -r=../Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_gbode_res.mat -s gbode -gbm=radauIIA3) > Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_gbode.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_gbode_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 (rm -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_ida.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_ida.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_ida.sim & (cd run_ida && ../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 -inputPath=.. -r=../Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_ida_res.mat -s ida) > Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_ida.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_ida_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.779653148259968]