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.001343/0.001343, allocations: 77.97 kB / 20.67 MB, free: 3.828 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.0009873/0.0009873, allocations: 177.3 kB / 24.08 MB, free: 432 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.8972/0.8972, allocations: 158.6 MB / 186 MB, free: 2.781 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.4299/0.4299, allocations: 91.27 MB / 329.6 MB, free: 13.82 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.333e-06/1.333e-06, allocations: 0 / 435.4 MB, free: 4.578 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.101e-05/2.234e-05, allocations: 2.312 kB / 435.4 MB, free: 4.574 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC): time 0.00924/0.009262, allocations: 10.37 MB / 445.7 MB, free: 10.15 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.007611/0.01687, allocations: 5.447 MB / 451.2 MB, free: 4.688 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001594/0.01847, allocations: 59.56 kB / 451.2 MB, free: 4.629 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001346/0.01981, allocations: 0.737 MB / 452 MB, free: 3.887 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.002333/0.02215, allocations: 1.099 MB / 453.1 MB, free: 2.781 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Machines/Protections/HVRT.mo:61:3-67:11:writable] Warning: In relation pre(BESS.hvrt.tThresholdReached) <> Modelica.Constants.inf, <> on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Machines/Protections/LVRT.mo:61:3-67:11:writable] Warning: In relation pre(BESS.lvrt.tThresholdReached) <> Modelica.Constants.inf, <> on Real operands is deprecated in non-function contexts. [/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.003276/0.02542, allocations: 2.234 MB / 455.3 MB, free: 0.543 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003631/0.02905, allocations: 3.757 MB / 459.1 MB, free: 12.78 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001311/0.03037, allocations: 0.7914 MB / 459.9 MB, free: 11.93 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001965/0.03233, allocations: 1.285 MB / 461.1 MB, free: 10.64 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001476/0.03381, allocations: 1.145 MB / 462.3 MB, free: 9.488 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006256/0.03443, allocations: 375.9 kB / 462.6 MB, free: 9.121 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.03544, allocations: 0.6441 MB / 463.3 MB, free: 8.477 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005556/0.03599, allocations: 0.8329 MB / 464.1 MB, free: 7.641 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009024/0.03689, allocations: 0.9891 MB / 465.1 MB, free: 6.648 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003288/0.04018, allocations: 2.674 MB / 467.8 MB, free: 3.961 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.04019, allocations: 0 / 467.8 MB, free: 3.961 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.04019, allocations: 0 / 467.8 MB, free: 3.961 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.454e-05/0.04023, allocations: 4 kB / 467.8 MB, free: 3.957 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: 482 * Number of variables: 482 Notification: Performance of Generate backend data structure: time 0.1633/0.2035, allocations: 4.082 MB / 471.9 MB, free: 65.45 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.2036, allocations: 8.906 kB / 471.9 MB, free: 65.45 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00213/0.2057, allocations: 0.9505 MB / 472.8 MB, free: 65.35 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001861/0.2075, allocations: 1.825 MB / 474.7 MB, free: 64.91 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002499/0.2078, allocations: 0.771 MB / 475.4 MB, free: 64.18 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002266/0.208, allocations: 213.6 kB / 475.6 MB, free: 64.18 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001979/0.21, allocations: 1.838 MB / 477.5 MB, free: 63.52 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.308e-05/0.21, allocations: 2.406 kB / 477.5 MB, free: 63.52 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/0.2101, allocations: 86.17 kB / 477.6 MB, free: 63.52 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.539e-05/0.2102, allocations: 46.97 kB / 477.6 MB, free: 63.52 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009953/0.2112, allocations: 0.6607 MB / 478.3 MB, free: 63.49 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.006355/0.2175, allocations: 7.213 MB / 485.5 MB, free: 60.38 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.2189, allocations: 1.028 MB / 486.5 MB, free: 60.28 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003619/0.2192, allocations: 321.5 kB / 486.8 MB, free: 60.25 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001297/0.2194, allocations: 57.14 kB / 486.9 MB, free: 60.25 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000791/0.2202, allocations: 0.8482 MB / 487.7 MB, free: 60.11 MB / 442.7 MB Notification: Performance of pre-optimization done (n=190): time 4.458e-06/0.2202, allocations: 0 / 487.7 MB, free: 60.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=190): time 0.002632/0.2228, allocations: 1.777 MB / 489.5 MB, free: 59.86 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.572e-05/0.2229, allocations: 300 kB / 489.8 MB, free: 59.54 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/0.2244, allocations: 1.924 MB / 491.7 MB, free: 59.18 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001293/0.2245, allocations: 83.09 kB / 491.8 MB, free: 59.15 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006473/0.2252, allocations: 1.25 MB / 493.1 MB, free: 58.5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003917/0.2256, allocations: 0.644 MB / 493.7 MB, free: 58.05 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005199/0.2261, allocations: 0.5667 MB / 494.3 MB, free: 57.86 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.518e-05/0.2261, allocations: 476.8 kB / 494.7 MB, free: 57.39 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006641/0.2268, allocations: 0.5081 MB / 495.2 MB, free: 57.26 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008552/0.2277, allocations: 1.204 MB / 496.4 MB, free: 56.44 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002067/0.2297, allocations: 2.138 MB / 498.6 MB, free: 55.46 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.201e-05/0.2297, allocations: 2.625 kB / 498.6 MB, free: 55.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=378) (initialization): time 0.002968/0.2327, allocations: 2.308 MB / 0.4892 GB, free: 54.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.257e-05/0.2327, allocations: 55.52 kB / 0.4892 GB, free: 54.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.2328, allocations: 7.469 kB / 0.4892 GB, free: 54.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004299/0.2332, allocations: 233 kB / 0.4894 GB, free: 54.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/0.2344, allocations: 0.5452 MB / 0.49 GB, free: 54.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001442/0.2359, allocations: 2.227 MB / 0.4921 GB, free: 52.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.237, allocations: 272.8 kB / 0.4924 GB, free: 52.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001301/0.2372, allocations: 83.64 kB / 0.4925 GB, free: 52.52 MB / 442.7 MB Warning: Assuming fixed start value for the following 28 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.hvrt.switchOffSignal:DISCRETE(flow=false start = false fixed = true ) \"Switch off message for the machine\" type: Boolean BESS.hvrt.filter.y:VARIABLE(flow=false start = BESS.hvrt.filter.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.hvrt.tThresholdReached:DISCRETE(start = 1e60 unit = \"s\" fixed = true protected = true ) \"Time when the threshold is reached in s\" type: Real BESS.lvrt.switchOffSignal:DISCRETE(flow=false start = false fixed = true ) \"Switch off message for the machine\" type: Boolean BESS.lvrt.filter.y:VARIABLE(flow=false start = BESS.lvrt.filter.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.lvrt.tThresholdReached:DISCRETE(start = 1e60 unit = \"s\" fixed = true protected = true ) \"Time when the threshold is reached in s\" type: Real BESS.lvrt.timer1.u:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean BESS.lvrt.timer.u:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean BESS.hvrt.timer1.u:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean BESS.hvrt.timer.u:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean BESS.regcA.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001368/0.2385, allocations: 0.7916 MB / 0.4933 GB, free: 52.22 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009288/0.2395, allocations: 1.203 MB / 0.4944 GB, free: 51.4 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002445/0.2419, allocations: 2.131 MB / 0.4965 GB, free: 50.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.412e-05/0.2419, allocations: 9.562 kB / 0.4965 GB, free: 50.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=378) (initialization_lambda0): time 0.003254/0.2452, allocations: 2.302 MB / 0.4988 GB, free: 49.68 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.819e-05/0.2452, allocations: 57.45 kB / 0.4988 GB, free: 49.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.2452, allocations: 7.625 kB / 0.4988 GB, free: 49.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003733/0.2456, allocations: 230.3 kB / 0.4991 GB, free: 49.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/0.2469, allocations: 0.5447 MB / 0.4996 GB, free: 49.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/0.2483, allocations: 2.222 MB / 0.5018 GB, free: 47.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/0.2495, allocations: 259.4 kB / 0.502 GB, free: 47.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/0.2496, allocations: 88.7 kB / 0.5021 GB, free: 47.49 MB / 442.7 MB Warning: Assuming fixed start value for the following 28 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.hvrt.switchOffSignal:DISCRETE(flow=false start = false fixed = true ) \"Switch off message for the machine\" type: Boolean BESS.hvrt.filter.y:VARIABLE(flow=false start = BESS.hvrt.filter.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.hvrt.tThresholdReached:DISCRETE(start = 1e60 unit = \"s\" fixed = true protected = true ) \"Time when the threshold is reached in s\" type: Real BESS.lvrt.switchOffSignal:DISCRETE(flow=false start = false fixed = true ) \"Switch off message for the machine\" type: Boolean BESS.lvrt.filter.y:VARIABLE(flow=false start = BESS.lvrt.filter.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.lvrt.tThresholdReached:DISCRETE(start = 1e60 unit = \"s\" fixed = true protected = true ) \"Time when the threshold is reached in s\" type: Real BESS.lvrt.timer1.u:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean BESS.lvrt.timer.u:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean BESS.hvrt.timer1.u:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean BESS.hvrt.timer.u:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" 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: 32 * Number of states: 0 () * Number of discrete variables: 93 ($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,$PRE.line.running,$PRE.BESS.regcA.offDelay.delaySignal,$PRE.BESS.regcA.offDelay.tNext,$PRE.BESS.injector.running,$PRE.BESS.LvTfo.running,$PRE.BESS.hvrt.switchOffSignal,$PRE.BESS.hvrt.tThresholdReached,$PRE.BESS.lvrt.switchOffSignal,$PRE.BESS.lvrt.tThresholdReached,BESS.regcA.QConv0PuPos.k,BESS.regcA.QConv0PuNeg.k,$PRE.BESS.lvrt.pre1.u,$PRE.BESS.lvrt.timer1.entryTime,$PRE.BESS.lvrt.timer1.u,$PRE.BESS.lvrt.timer.entryTime,$PRE.BESS.lvrt.timer.u,$PRE.BESS.hvrt.pre1.u,$PRE.BESS.hvrt.timer1.entryTime,$PRE.BESS.hvrt.timer1.u,$PRE.BESS.hvrt.timer.entryTime,$PRE.BESS.hvrt.timer.u,$PRE.BESS.regcA.offDelay.u,BESS.lvrt.tThresholdReached,BESS.lvrt.or1.u[2],BESS.lvrt.or1.u[1],BESS.lvrt.pre1.u,BESS.lvrt.timer1.entryTime,BESS.lvrt.timer1.u,BESS.lvrt.timer.entryTime,BESS.lvrt.timer.u,BESS.lvrt.switchOffSignal,BESS.hvrt.tThresholdReached,BESS.hvrt.pre1.u,BESS.hvrt.or1.u[2],BESS.hvrt.or1.u[1],BESS.hvrt.timer1.entryTime,BESS.hvrt.timer1.u,BESS.hvrt.timer.entryTime,BESS.hvrt.timer.u,BESS.hvrt.switchOffSignal,BESS.LvTfo.running,BESS.injector.running,BESS.injector.switchOffSignal3,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,$whenCondition9,$whenCondition8,$whenCondition11,$whenCondition10,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition16,$whenCondition15,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition21,$whenCondition23,$whenCondition22,$whenCondition24,$whenCondition25,$whenCondition26) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (352): * Single equations (assignments): 350 * 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.0005862/0.2502, allocations: 0.5563 MB / 0.5026 GB, free: 47.09 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004071/0.2506, allocations: 340.9 kB / 0.503 GB, free: 46.92 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002019/0.2527, allocations: 1.474 MB / 0.5044 GB, free: 46.49 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/0.2527, allocations: 17.75 kB / 0.5044 GB, free: 46.49 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.2527, allocations: 6.078 kB / 0.5044 GB, free: 46.49 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.2527, allocations: 11.75 kB / 0.5044 GB, free: 46.48 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004262/0.257, allocations: 3.393 MB / 0.5077 GB, free: 45.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.257, allocations: 4.641 kB / 0.5077 GB, free: 45.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000977/0.2579, allocations: 329.2 kB / 0.5081 GB, free: 45.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003899/0.2583, allocations: 215 kB / 0.5083 GB, free: 45.03 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/0.2584, allocations: 49.72 kB / 0.5083 GB, free: 45.01 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001317/0.2598, allocations: 2.216 MB / 0.5105 GB, free: 43.08 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.2598, allocations: 7.219 kB / 0.5105 GB, free: 43.08 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002754/0.2625, allocations: 2.25 MB / 0.5127 GB, free: 42.14 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007754/0.2633, allocations: 0.5177 MB / 0.5132 GB, free: 41.79 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002305/0.2635, allocations: 52.16 kB / 0.5132 GB, free: 41.76 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006314/0.2641, allocations: 124.6 kB / 0.5134 GB, free: 41.73 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003394/0.2645, allocations: 217.2 kB / 0.5136 GB, free: 41.69 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.898e-05/0.2646, allocations: 54.33 kB / 0.5136 GB, free: 41.68 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001048/0.2656, allocations: 1.038 MB / 0.5146 GB, free: 41.44 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2656, allocations: 0 / 0.5146 GB, free: 41.44 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002188/0.2678, allocations: 1.175 MB / 0.5158 GB, free: 41.14 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 15 (BESS.reecC.firstOrder.y,BESS.reecC.firstOrder1.y,BESS.reecC.limPIDFreeze.I.y,BESS.reecC.rateLimFirstOrderFreeze1.y,BESS.reecC.slewRateLimiter.y,BESS.reecC.rateLimFirstOrderFreeze.y,BESS.reecC.varLimPIDFreeze.I.y,BESS.reecC.integrator.y,BESS.regcA.rateLimFirstOrderFreeze2.y,BESS.regcA.rateLimFirstOrderFreeze1.y,BESS.regcA.firstOrder.y,BESS.pll.integrator.y,BESS.pll.limIntegrator.y,BESS.hvrt.filter.y,BESS.lvrt.filter.y) * Number of discrete variables: 57 ($whenCondition26,$whenCondition25,$whenCondition24,$whenCondition22,$whenCondition23,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition15,$whenCondition16,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition10,$whenCondition11,$whenCondition8,$whenCondition9,$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.switchOffSignal3,BESS.injector.running,BESS.injector.state,BESS.LvTfo.running,BESS.LvTfo.state,BESS.hvrt.switchOffSignal,BESS.hvrt.timer.u,BESS.hvrt.timer.entryTime,BESS.hvrt.timer1.u,BESS.hvrt.timer1.entryTime,BESS.hvrt.or1.u[1],BESS.hvrt.or1.u[2],BESS.hvrt.pre1.u,BESS.hvrt.tThresholdReached,BESS.lvrt.switchOffSignal,BESS.lvrt.timer.u,BESS.lvrt.timer.entryTime,BESS.lvrt.timer1.u,BESS.lvrt.timer1.entryTime,BESS.lvrt.pre1.u,BESS.lvrt.or1.u[1],BESS.lvrt.or1.u[2],BESS.lvrt.tThresholdReached) * Number of discrete states: 10 (BESS.lvrt.switchOffSignal,BESS.hvrt.switchOffSignal,BESS.LvTfo.running,line.running,BESS.hvrt.pre1.u,BESS.lvrt.pre1.u,BESS.lvrt.tThresholdReached,BESS.injector.running,BESS.hvrt.tThresholdReached,BESS.regcA.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (189): * Single equations (assignments): 168 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 20 * 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.0009437/0.2688, allocations: 485.9 kB / 0.5162 GB, free: 40.95 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004701/0.2735, allocations: 3.141 MB / 0.5193 GB, free: 38.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.2735, allocations: 0 / 0.5193 GB, free: 38.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.2745, allocations: 0.8468 MB / 0.5201 GB, free: 38.09 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/0.276, allocations: 452.1 kB / 0.5206 GB, free: 37.75 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005628/0.2816, allocations: 4.355 MB / 0.5248 GB, free: 33.66 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.282, allocations: 446.7 kB / 0.5252 GB, free: 33.33 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001203/0.2832, allocations: 345.4 kB / 0.5256 GB, free: 33.08 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008079/0.284, allocations: 0.4954 MB / 0.5261 GB, free: 32.64 MB / 442.7 MB Notification: Performance of SimCode: time 1.863e-06/0.284, allocations: 4 kB / 0.5261 GB, free: 32.64 MB / 442.7 MB Notification: Performance of Templates: time 0.04196/0.326, allocations: 38.16 MB / 0.5633 GB, free: 11.98 MB / 458.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: 4.259655262809247]