Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009911/0.0009911, allocations: 73.98 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.001333/0.001333, allocations: 177 kB / 24.08 MB, free: 428 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.848/0.848, allocations: 158.6 MB / 186 MB, free: 2.809 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.4411/0.4411, allocations: 91.27 MB / 329.6 MB, free: 13.88 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.BESSCurrentSource,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|BESS.injector.PInjPuSn|BESS.injector.QInjPuSn|BESS.reecC.idCmdPu|BESS.reecC.iqCmdPu|BESS.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource") translateModel(Dynawo.Examples.BESS.WECC.BESSCurrentSource,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|BESS.injector.PInjPuSn|BESS.injector.QInjPuSn|BESS.reecC.idCmdPu|BESS.reecC.iqCmdPu|BESS.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 435.4 MB, free: 4.543 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.218e-05/3.409e-05, allocations: 6.312 kB / 435.4 MB, free: 4.535 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSource): time 0.01351/0.01354, allocations: 14.77 MB / 450.1 MB, free: 5.688 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01097/0.02451, allocations: 7.21 MB / 457.3 MB, free: 14.46 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002314/0.02683, allocations: 99.31 kB / 457.4 MB, free: 14.36 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001607/0.02843, allocations: 1.004 MB / 458.4 MB, free: 13.35 MB / 442.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.002646/0.03108, allocations: 1.533 MB / 460 MB, free: 11.81 MB / 442.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/WECCPlantCurrentSource_INIT.mo:112:3-112:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wTG4CurrentSource_INIT.s0Pu) == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.004191/0.03527, allocations: 3.365 MB / 463.3 MB, free: 8.438 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.004582/0.03985, allocations: 5.83 MB / 469.2 MB, free: 2.59 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001398/0.04125, allocations: 1.27 MB / 470.4 MB, free: 1.246 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1844/0.2257, allocations: 1.982 MB / 472.4 MB, free: 55.71 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001918/0.2276, allocations: 1.77 MB / 474.2 MB, free: 55.71 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001111/0.2287, allocations: 0.5959 MB / 474.8 MB, free: 55.71 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001257/0.23, allocations: 0.9297 MB / 475.7 MB, free: 55.71 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007517/0.2307, allocations: 1.289 MB / 477 MB, free: 55.71 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002018/0.2327, allocations: 1.542 MB / 478.5 MB, free: 55.64 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003451/0.2362, allocations: 4.055 MB / 482.6 MB, free: 55.1 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2362, allocations: 3.406 kB / 482.6 MB, free: 55.1 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2362, allocations: 0.7812 kB / 482.6 MB, free: 55.1 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.14e-05/0.2363, allocations: 0 / 482.6 MB, free: 55.1 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: 762 * Number of variables: 762 Notification: Performance of Generate backend data structure: time 0.006953/0.2432, allocations: 6.241 MB / 488.8 MB, free: 52.65 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.2432, allocations: 12.59 kB / 488.9 MB, free: 52.64 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002811/0.2461, allocations: 1.488 MB / 490.3 MB, free: 52.35 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002126/0.2482, allocations: 2.785 MB / 493.1 MB, free: 51.6 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003059/0.2485, allocations: 0.9954 MB / 494.1 MB, free: 50.71 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003056/0.2488, allocations: 330.8 kB / 494.5 MB, free: 50.71 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002554/0.2513, allocations: 2.959 MB / 497.4 MB, free: 49.52 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.857e-05/0.2514, allocations: 6.438 kB / 497.4 MB, free: 49.52 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001871/0.2516, allocations: 132.8 kB / 497.5 MB, free: 49.52 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.344e-05/0.2516, allocations: 74.34 kB / 497.6 MB, free: 49.52 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001348/0.253, allocations: 1.049 MB / 498.7 MB, free: 49.43 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.008403/0.2614, allocations: 11.09 MB / 0.4978 GB, free: 42.67 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002283/0.2636, allocations: 1.497 MB / 0.4993 GB, free: 42.39 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006735/0.2643, allocations: 466.1 kB / 0.4997 GB, free: 42.32 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000173/0.2645, allocations: 82.95 kB / 0.4998 GB, free: 42.32 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001323/0.2658, allocations: 1.127 MB / 0.5009 GB, free: 42.06 MB / 442.7 MB Notification: Performance of pre-optimization done (n=280): time 3.968e-06/0.2658, allocations: 4 kB / 0.5009 GB, free: 42.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=280): time 0.004228/0.27, allocations: 2.519 MB / 0.5034 GB, free: 41.46 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.396e-05/0.2701, allocations: 0.5087 MB / 0.5039 GB, free: 40.88 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002633/0.2728, allocations: 2.778 MB / 0.5066 GB, free: 40.35 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001562/0.2729, allocations: 101.8 kB / 0.5067 GB, free: 40.27 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009912/0.2739, allocations: 1.884 MB / 0.5085 GB, free: 38.96 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005277/0.2744, allocations: 0.9685 MB / 0.5094 GB, free: 38.27 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008956/0.2753, allocations: 0.8169 MB / 0.5102 GB, free: 37.99 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.197e-05/0.2754, allocations: 477.6 kB / 0.5107 GB, free: 37.52 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/0.2765, allocations: 0.736 MB / 0.5114 GB, free: 37.35 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001442/0.2779, allocations: 1.882 MB / 0.5133 GB, free: 36.01 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003199/0.2811, allocations: 3.087 MB / 0.5163 GB, free: 34.68 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/0.2811, allocations: 4.562 kB / 0.5163 GB, free: 34.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=545) (initialization): time 0.003885/0.285, allocations: 3.315 MB / 0.5195 GB, free: 33.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.893e-05/0.2851, allocations: 69.16 kB / 0.5196 GB, free: 33.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.2851, allocations: 8.406 kB / 0.5196 GB, free: 33.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005797/0.2857, allocations: 335.2 kB / 0.5199 GB, free: 33.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001733/0.2874, allocations: 0.8031 MB / 0.5207 GB, free: 33.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001877/0.2893, allocations: 2.484 MB / 0.5231 GB, free: 31.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/0.2906, allocations: 397.4 kB / 0.5235 GB, free: 31.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001581/0.2908, allocations: 125.1 kB / 0.5236 GB, free: 31.27 MB / 442.7 MB Warning: Assuming fixed start value for the following 36 variables: BESS.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.reecC.firstOrder.y:VARIABLE(flow=false start = BESS.reecC.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.firstOrder1.y:VARIABLE(flow=false start = BESS.reecC.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.firstOrder.y:VARIABLE(flow=false start = BESS.regcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean BESS.regcA.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real BESS.injector.running:DISCRETE(flow=false start = BESS.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.LvTfo.running:DISCRETE(flow=false start = BESS.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.HvTfo.running:DISCRETE(flow=false start = BESS.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.repcA.firstOrder.y:VARIABLE(flow=false start = BESS.repcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder1.y:VARIABLE(flow=false start = BESS.repcA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder2.y:VARIABLE(flow=false start = BESS.repcA.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder3.y:VARIABLE(flow=false start = BESS.repcA.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.repcA.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.leadLag.x_scaled[1]:VARIABLE(start = BESS.repcA.leadLag.X0[1] * BESS.repcA.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] BESS.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.001663/0.2924, allocations: 1.07 MB / 0.5247 GB, free: 30.9 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001313/0.2937, allocations: 1.878 MB / 0.5265 GB, free: 29.56 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002971/0.2967, allocations: 3.064 MB / 0.5295 GB, free: 26.94 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.005e-06/0.2967, allocations: 4 kB / 0.5295 GB, free: 26.94 MB / 442.7 MB Notification: Performance of matching and sorting (n=545) (initialization_lambda0): time 0.003788/0.3005, allocations: 3.302 MB / 0.5327 GB, free: 23.98 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.999e-05/0.3005, allocations: 71.52 kB / 0.5328 GB, free: 23.92 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.3005, allocations: 11.94 kB / 0.5328 GB, free: 23.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005306/0.3011, allocations: 330.6 kB / 0.5331 GB, free: 23.65 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00167/0.3027, allocations: 0.799 MB / 0.5339 GB, free: 23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001747/0.3045, allocations: 2.468 MB / 0.5363 GB, free: 20.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/0.3058, allocations: 381.7 kB / 0.5367 GB, free: 20.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001477/0.306, allocations: 112.7 kB / 0.5368 GB, free: 20.14 MB / 442.7 MB Warning: Assuming fixed start value for the following 36 variables: BESS.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.reecC.firstOrder.y:VARIABLE(flow=false start = BESS.reecC.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.firstOrder1.y:VARIABLE(flow=false start = BESS.reecC.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.firstOrder.y:VARIABLE(flow=false start = BESS.regcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean BESS.regcA.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real BESS.injector.running:DISCRETE(flow=false start = BESS.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.LvTfo.running:DISCRETE(flow=false start = BESS.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.HvTfo.running:DISCRETE(flow=false start = BESS.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.repcA.firstOrder.y:VARIABLE(flow=false start = BESS.repcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder1.y:VARIABLE(flow=false start = BESS.repcA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder2.y:VARIABLE(flow=false start = BESS.repcA.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder3.y:VARIABLE(flow=false start = BESS.repcA.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.repcA.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.leadLag.x_scaled[1]:VARIABLE(start = BESS.repcA.leadLag.X0[1] * BESS.repcA.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] BESS.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: 42 * Number of states: 0 () * Number of discrete variables: 103 ($PRE.BESS.HvTfo.state,BESS.HvTfo.state,$PRE.BESS.LvTfo.state,BESS.LvTfo.state,$PRE.BESS.injector.state,BESS.injector.state,$PRE.line.state,line.state,BESS.reecC.limPIDFreeze.I.resetLocal,BESS.reecC.varLimPIDFreeze.I.resetLocal,BESS.reecC.integrator.local_reset,BESS.pll.integrator.local_reset,BESS.pll.limIntegrator.local_reset,BESS.repcA.limPID.I.local_reset,BESS.repcA.limPIDFreeze.I.resetLocal,BESS.regcA.rateLimFirstOrderFreeze2.local_freeze,BESS.regcA.rateLimFirstOrderFreeze1.local_freeze,line.switchOffSignal1,line.switchOffSignal2,BESS.injector.switchOffSignal1,BESS.injector.switchOffSignal2,$PRE.line.running,$PRE.BESS.regcA.offDelay.delaySignal,$PRE.BESS.regcA.offDelay.tNext,$PRE.BESS.injector.running,$PRE.BESS.LvTfo.running,$PRE.BESS.HvTfo.running,$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.repcA.freeze,BESS.HvTfo.running,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,$whenCondition14,$whenCondition13,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition19,$whenCondition18,$whenCondition20,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition26,$whenCondition25,$whenCondition27,$whenCondition28,$whenCondition29) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (509): * Single equations (assignments): 507 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,4,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006448/0.3066, allocations: 0.6637 MB / 0.5374 GB, free: 19.53 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000456/0.3071, allocations: 0.4897 MB / 0.5379 GB, free: 19.04 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002585/0.3096, allocations: 2.059 MB / 0.5399 GB, free: 16.94 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.3097, allocations: 35.92 kB / 0.5399 GB, free: 16.9 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.3097, allocations: 4 kB / 0.5399 GB, free: 16.9 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/0.3097, allocations: 19.94 kB / 0.54 GB, free: 16.88 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005436/0.3151, allocations: 4.985 MB / 0.5448 GB, free: 12.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.3151, allocations: 8 kB / 0.5448 GB, free: 12.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001357/0.3165, allocations: 499.1 kB / 0.5453 GB, free: 11.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005058/0.317, allocations: 317.2 kB / 0.5456 GB, free: 11.32 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001196/0.3171, allocations: 75.95 kB / 0.5457 GB, free: 11.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00169/0.3188, allocations: 2.451 MB / 0.5481 GB, free: 8.734 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.3188, allocations: 11.31 kB / 0.5481 GB, free: 8.727 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003272/0.3221, allocations: 3.136 MB / 0.5512 GB, free: 5.445 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009418/0.323, allocations: 0.7895 MB / 0.5519 GB, free: 4.652 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002675/0.3233, allocations: 79.97 kB / 0.552 GB, free: 4.574 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009205/0.3242, allocations: 175.8 kB / 0.5522 GB, free: 4.402 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003266/0.3245, allocations: 280.9 kB / 0.5524 GB, free: 4.129 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/0.3246, allocations: 83.95 kB / 0.5525 GB, free: 4.047 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001062/0.3257, allocations: 1.503 MB / 0.554 GB, free: 2.711 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3257, allocations: 0 / 0.554 GB, free: 2.711 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002522/0.3282, allocations: 1.785 MB / 0.5557 GB, free: 0.9219 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 22 (BESS.reecC.firstOrder.y,BESS.reecC.firstOrder1.y,BESS.reecC.limPIDFreeze.I.y,BESS.reecC.rateLimFirstOrderFreeze1.y,BESS.reecC.slewRateLimiter.y,BESS.reecC.rateLimFirstOrderFreeze.y,BESS.reecC.varLimPIDFreeze.I.y,BESS.reecC.integrator.y,BESS.regcA.rateLimFirstOrderFreeze2.y,BESS.regcA.rateLimFirstOrderFreeze1.y,BESS.regcA.firstOrder.y,BESS.pll.integrator.y,BESS.pll.limIntegrator.y,BESS.repcA.firstOrder.y,BESS.repcA.limPID.I.y,BESS.repcA.firstOrder1.y,BESS.repcA.firstOrder2.y,BESS.repcA.firstOrder3.y,BESS.repcA.limPIDFreeze.I.y,BESS.repcA.leadLag.x_scaled[1],BESS.hvrt.filter.y,BESS.lvrt.filter.y) * Number of discrete variables: 63 ($whenCondition29,$whenCondition28,$whenCondition27,$whenCondition25,$whenCondition26,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition18,$whenCondition19,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition13,$whenCondition14,$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.HvTfo.running,BESS.HvTfo.state,BESS.repcA.freeze,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: 11 (BESS.lvrt.switchOffSignal,BESS.hvrt.switchOffSignal,BESS.HvTfo.running,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 (277): * Single equations (assignments): 254 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 22 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,4,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009428/0.3292, allocations: 0.5211 MB / 0.5562 GB, free: 0.582 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005272/0.3344, allocations: 4.337 MB / 0.5605 GB, free: 12.37 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.3344, allocations: 8 kB / 0.5605 GB, free: 12.36 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001323/0.3358, allocations: 1.118 MB / 0.5616 GB, free: 11.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001708/0.3375, allocations: 0.6863 MB / 0.5622 GB, free: 10.66 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007936/0.3454, allocations: 6.575 MB / 0.5687 GB, free: 3.977 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005248/0.3459, allocations: 0.6373 MB / 0.5693 GB, free: 3.324 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0015/0.3474, allocations: 496.4 kB / 0.5698 GB, free: 2.836 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001389/0.3488, allocations: 0.7205 MB / 0.5705 GB, free: 2.113 MB / 458.7 MB Notification: Performance of SimCode: time 1.092e-06/0.3488, allocations: 0 / 0.5705 GB, free: 2.113 MB / 458.7 MB Notification: Performance of Templates: time 0.06062/0.4094, allocations: 54.97 MB / 0.6242 GB, free: 11.58 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe >> ../files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.sim & ./Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.808932564686984]