Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_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.00126/0.00126, allocations: 80.44 kB / 19.95 MB, free: 4.617 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.001477/0.001477, allocations: 169.2 kB / 23.23 MB, free: 1.336 MB / 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 1.056/1.056, allocations: 158.6 MB / 185 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/package.mo): time 0.5725/0.5725, allocations: 90.84 MB / 328.1 MB, free: 14.49 MB / 314.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/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: "" <> buildModelFMU(Dynawo.Examples.BESS.WECC.BESSCurrentSource,fileNamePrefix="Dynawo_Dynawo_Examples_BESS_WECC_BESSCurrentSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.BESS.WECC.BESSCurrentSource,fileNamePrefix="Dynawo_Dynawo_Examples_BESS_WECC_BESSCurrentSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 0.501 GB, free: 16.4 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.875e-05, allocations: 2.281 kB / 0.501 GB, free: 16.39 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSource): time 0.01713/0.01716, allocations: 13.56 MB / 0.5142 GB, free: 7.301 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01564/0.0328, allocations: 6.712 MB / 0.5208 GB, free: 2.461 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00418/0.03698, allocations: 93.31 kB / 0.5209 GB, free: 2.422 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003852/0.04083, allocations: 0.8893 MB / 0.5217 GB, free: 1.918 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.00621/0.04704, allocations: 1.4 MB / 0.5231 GB, free: 0.7812 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:90:3-90: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.007373/0.05441, allocations: 3.104 MB / 0.5261 GB, free: 14.3 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.008853/0.06327, allocations: 5.354 MB / 0.5313 GB, free: 10.81 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003108/0.06637, allocations: 1.197 MB / 0.5325 GB, free: 9.906 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00324/0.06961, allocations: 1.824 MB / 0.5343 GB, free: 8.684 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003016/0.07263, allocations: 1.608 MB / 0.5359 GB, free: 7.535 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001851/0.07448, allocations: 0.5573 MB / 0.5364 GB, free: 7.48 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002315/0.0768, allocations: 0.8784 MB / 0.5373 GB, free: 6.602 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001314/0.07811, allocations: 1.179 MB / 0.5384 GB, free: 5.418 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002359/0.08047, allocations: 1.437 MB / 0.5398 GB, free: 3.977 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009088/0.08956, allocations: 7.049 MB / 0.5467 GB, free: 12.91 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.08956, allocations: 0 / 0.5467 GB, free: 12.91 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.08956, allocations: 0 / 0.5467 GB, free: 12.91 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002063/0.08977, allocations: 0 / 0.5467 GB, free: 12.91 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 714 * Number of variables: 714 Notification: Performance of Generate backend data structure: time 0.01436/0.1041, allocations: 5.73 MB / 0.5523 GB, free: 7.086 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.1042, allocations: 8.031 kB / 0.5523 GB, free: 7.078 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009506/0.1051, allocations: 396.4 kB / 0.5527 GB, free: 6.684 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00405/0.1092, allocations: 1.095 MB / 0.5538 GB, free: 5.586 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004999/0.1142, allocations: 2.677 MB / 0.5564 GB, free: 2.863 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005508/0.1147, allocations: 0.9778 MB / 0.5573 GB, free: 1.711 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006538/0.1154, allocations: 291.9 kB / 0.5576 GB, free: 1.426 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007057/0.1224, allocations: 3.979 MB / 0.5615 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.615e-05/0.1225, allocations: 7.938 kB / 0.5615 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003447/0.1228, allocations: 124 kB / 0.5616 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.346e-05/0.1229, allocations: 68 kB / 0.5617 GB, free: 12.97 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007403/0.1303, allocations: 3.1 MB / 0.5647 GB, free: 9.855 MB / 490.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.02141/0.1517, allocations: 10.79 MB / 0.5753 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006423/0.1581, allocations: 2.76 MB / 0.5779 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003061/0.1612, allocations: 1.269 MB / 0.5792 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002251/0.1614, allocations: 37.97 kB / 0.5792 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003385/0.1648, allocations: 1.747 MB / 0.5809 GB, free: 9.023 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=237): time 7.194e-06/0.1648, allocations: 3.938 kB / 0.5809 GB, free: 9.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=237): time 0.01122/0.176, allocations: 4.682 MB / 0.5855 GB, free: 4.332 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002333/0.1763, allocations: 0.4928 MB / 0.586 GB, free: 3.727 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00644/0.1827, allocations: 3.491 MB / 0.5894 GB, free: 256 kB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007482/0.1835, allocations: 85.69 kB / 0.5895 GB, free: 164 kB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001871/0.1853, allocations: 1.618 MB / 0.5911 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001523/0.1869, allocations: 0.8446 MB / 0.5919 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001201/0.1881, allocations: 0.7041 MB / 0.5926 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.246e-05/0.1881, allocations: 301.1 kB / 0.5929 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003075/0.1912, allocations: 1.688 MB / 0.5945 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00347/0.1947, allocations: 2.662 MB / 0.5971 GB, free: 8.039 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02009/0.2148, allocations: 8.591 MB / 0.6055 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-05/0.2148, allocations: 4 kB / 0.6055 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of matching and sorting (n=495) (initialization): time 0.01045/0.2252, allocations: 4.903 MB / 0.6103 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001518/0.2254, allocations: 72.78 kB / 0.6104 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.961e-05/0.2254, allocations: 8 kB / 0.6104 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007645/0.2262, allocations: 384.8 kB / 0.6107 GB, free: 9.863 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003285/0.2295, allocations: 0.8113 MB / 0.6115 GB, free: 9.051 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004122/0.2336, allocations: 3.001 MB / 0.6145 GB, free: 5.938 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003392/0.237, allocations: 469.5 kB / 0.6149 GB, free: 5.477 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005791/0.2376, allocations: 128 kB / 0.615 GB, free: 5.352 MB / 0.5261 GB Warning: Assuming fixed start value for the following 26 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.regcA.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004767/0.2423, allocations: 2.349 MB / 0.6173 GB, free: 3.004 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003656/0.246, allocations: 2.608 MB / 0.6199 GB, free: 128 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02015/0.2661, allocations: 8.439 MB / 0.6281 GB, free: 7.504 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.131e-05/0.2662, allocations: 7.984 kB / 0.6281 GB, free: 7.496 MB / 0.5417 GB Notification: Performance of matching and sorting (n=495) (initialization_lambda0): time 0.01121/0.2774, allocations: 4.81 MB / 0.6328 GB, free: 2.652 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 9.521e-05/0.2775, allocations: 69.66 kB / 0.6329 GB, free: 2.578 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.2775, allocations: 8 kB / 0.6329 GB, free: 2.57 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006866/0.2782, allocations: 380.7 kB / 0.6332 GB, free: 2.195 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003229/0.2814, allocations: 0.7919 MB / 0.634 GB, free: 1.402 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004688/0.2861, allocations: 2.995 MB / 0.6369 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003534/0.2896, allocations: 410.1 kB / 0.6373 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006418/0.2903, allocations: 132 kB / 0.6375 GB, free: 13.76 MB / 0.5573 GB Warning: Assuming fixed start value for the following 26 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.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: 43 * Number of states: 0 () * Number of discrete variables: 60 ($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.injector.switchOffSignal3,BESS.injector.switchOffSignal2,BESS.injector.switchOffSignal1,line.switchOffSignal2,line.switchOffSignal1,BESS.regcA.rateLimFirstOrderFreeze1.local_freeze,BESS.regcA.rateLimFirstOrderFreeze2.local_freeze,$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,BESS.regcA.QConv0PuPos.k,BESS.regcA.and1.u[1],BESS.regcA.QConv0PuPos.y,BESS.regcA.QConv0PuNeg.k,BESS.regcA.and2.u[2],BESS.regcA.QConv0PuNeg.y,$PRE.BESS.regcA.offDelay.u,BESS.repcA.freeze,BESS.HvTfo.running,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,$whenCondition13,$whenCondition12,$whenCondition14,BESS.repcA.limPIDFreeze.I.resetLocal,BESS.repcA.limPID.I.local_reset,BESS.pll.limIntegrator.local_reset,BESS.pll.integrator.local_reset,BESS.reecC.integrator.local_reset,BESS.reecC.varLimPIDFreeze.I.resetLocal,BESS.reecC.limPIDFreeze.I.resetLocal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (458): * Single equations (assignments): 456 * 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.001369/0.2916, allocations: 0.5092 MB / 0.638 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001376/0.293, allocations: 385.5 kB / 0.6383 GB, free: 12.87 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007854/0.3009, allocations: 3.511 MB / 0.6418 GB, free: 9.34 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.476e-05/0.3009, allocations: 31.81 kB / 0.6418 GB, free: 9.312 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.3009, allocations: 8 kB / 0.6418 GB, free: 9.305 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.56e-05/0.3009, allocations: 11.95 kB / 0.6418 GB, free: 9.293 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0153/0.3162, allocations: 7.179 MB / 0.6488 GB, free: 2.004 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.637e-05/0.3162, allocations: 8 kB / 0.6488 GB, free: 1.996 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002674/0.3189, allocations: 0.511 MB / 0.6493 GB, free: 1.484 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006902/0.3196, allocations: 360.6 kB / 0.6497 GB, free: 1.129 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002936/0.3199, allocations: 63.98 kB / 0.6497 GB, free: 1.066 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004079/0.324, allocations: 2.979 MB / 0.6526 GB, free: 13.97 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/0.324, allocations: 12 kB / 0.6526 GB, free: 13.96 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01466/0.3386, allocations: 5.584 MB / 0.6581 GB, free: 8.281 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003778/0.3424, allocations: 0.7702 MB / 0.6589 GB, free: 7.508 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001553/0.344, allocations: 67.98 kB / 0.6589 GB, free: 7.441 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003404/0.3474, allocations: 220.3 kB / 0.6591 GB, free: 7.227 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009804/0.3484, allocations: 205.5 kB / 0.6593 GB, free: 7.027 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004428/0.3488, allocations: 75.97 kB / 0.6594 GB, free: 6.953 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.006213/0.355, allocations: 2.295 MB / 0.6616 GB, free: 4.676 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.71e-07/0.355, allocations: 0 / 0.6616 GB, free: 4.676 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.008504/0.3635, allocations: 1.583 MB / 0.6632 GB, free: 3.09 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 20 (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]) * Number of discrete variables: 29 ($whenCondition14,$whenCondition12,$whenCondition13,$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,BESS.HvTfo.running,BESS.HvTfo.state,BESS.repcA.freeze) * Number of discrete states: 5 (BESS.HvTfo.running,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 (234): * Single equations (assignments): 223 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.01711/0.3806, allocations: 6.548 MB / 0.6696 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01964/0.4003, allocations: 6.361 MB / 0.6758 GB, free: 6.188 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.756e-05/0.4003, allocations: 4 kB / 0.6758 GB, free: 6.184 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.005783/0.4061, allocations: 1.972 MB / 0.6777 GB, free: 4.195 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004906/0.411, allocations: 0.5298 MB / 0.6782 GB, free: 3.68 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3713/0.7823, allocations: 32.91 MB / 0.7104 GB, free: 153.8 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001693/0.784, allocations: 1.496 MB / 0.7118 GB, free: 153.6 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002281/0.7863, allocations: 0.5512 MB / 0.7124 GB, free: 153.6 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001696/0.788, allocations: 1.575 MB / 0.7139 GB, free: 152.3 MB / 0.5886 GB Notification: Performance of SimCode: time 1.493e-06/0.788, allocations: 0 / 0.7139 GB, free: 152.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2563/1.044, allocations: 84.11 MB / 0.7961 GB, free: 77.16 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.02/11.06, allocations: 3.75 kB / 0.7961 GB, free: 77.16 MB / 0.5886 GB " [Timeout remaining time 649] (rm -f Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe ; mkfifo Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe >> ../files/Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Dynawo_Dynawo_Examples_BESS_WECC_BESSCurrentSource_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ../Dynawo_Dynawo_Examples_BESS_WECC_BESSCurrentSource.fmu) > Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe 2>&1) [Timeout 52.5] (rm -f Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource_fmpy.pipe ; mkfifo Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource_fmpy.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource_fmpy_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 ../Dynawo_Dynawo_Examples_BESS_WECC_BESSCurrentSource.fmu) > Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.467825081199408]