Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.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.001441/0.001441, allocations: 80.55 kB / 19.95 MB, free: 4.609 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.001724/0.001724, allocations: 173.2 kB / 23.23 MB, free: 1.328 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 0.8105/0.8105, allocations: 158.6 MB / 185 MB, free: 3.051 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.702/0.702, allocations: 90.84 MB / 328.1 MB, free: 14.54 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS,fileNamePrefix="Dynawo_Dynawo_Examples_BESS_WECC_BESSCurrentSourceExternalPCS",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS,fileNamePrefix="Dynawo_Dynawo_Examples_BESS_WECC_BESSCurrentSourceExternalPCS",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 0.504 GB, free: 16.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.048e-05, allocations: 5.297 kB / 0.504 GB, free: 16.86 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS): time 0.01096/0.01098, allocations: 14.01 MB / 0.5177 GB, free: 7.461 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.009552/0.02053, allocations: 6.851 MB / 0.5244 GB, free: 2.359 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002075/0.0226, allocations: 98.56 kB / 0.5245 GB, free: 2.316 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001281/0.02388, allocations: 0.8944 MB / 0.5254 GB, free: 1.59 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.002186/0.02607, allocations: 1.437 MB / 0.5268 GB, free: 404 kB / 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.003794/0.02986, allocations: 3.308 MB / 0.53 GB, free: 13.77 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.004379/0.03424, allocations: 5.526 MB / 0.5354 GB, free: 10.17 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001432/0.03567, allocations: 1.227 MB / 0.5366 GB, free: 9.246 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001645/0.03732, allocations: 1.879 MB / 0.5384 GB, free: 7.543 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001269/0.03859, allocations: 1.662 MB / 0.5401 GB, free: 5.875 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004913/0.03908, allocations: 0.5664 MB / 0.5406 GB, free: 5.309 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009284/0.04001, allocations: 0.9096 MB / 0.5415 GB, free: 4.398 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006067/0.04061, allocations: 1.211 MB / 0.5427 GB, free: 3.184 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009356/0.04155, allocations: 1.468 MB / 0.5441 GB, free: 1.711 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004982/0.04653, allocations: 7.24 MB / 0.5512 GB, free: 10.45 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.04653, allocations: 0 / 0.5512 GB, free: 10.45 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.04654, allocations: 0 / 0.5512 GB, free: 10.45 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.985e-05/0.04661, allocations: 0 / 0.5512 GB, free: 10.45 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: 749 * Number of variables: 749 Notification: Performance of Generate backend data structure: time 0.008596/0.0552, allocations: 5.981 MB / 0.557 GB, free: 4.379 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.764e-05/0.05523, allocations: 8.031 kB / 0.557 GB, free: 4.371 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003553/0.05558, allocations: 421.3 kB / 0.5574 GB, free: 3.949 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003519/0.0591, allocations: 1.294 MB / 0.5587 GB, free: 2.652 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002635/0.06174, allocations: 2.712 MB / 0.5614 GB, free: 15.89 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000424/0.06216, allocations: 1.098 MB / 0.5624 GB, free: 14.59 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002787/0.06244, allocations: 303.9 kB / 0.5627 GB, free: 14.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004624/0.06706, allocations: 4.151 MB / 0.5668 GB, free: 9.871 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.703e-05/0.0671, allocations: 7.938 kB / 0.5668 GB, free: 9.863 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002074/0.06731, allocations: 128 kB / 0.5669 GB, free: 9.738 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.329e-05/0.06734, allocations: 72 kB / 0.567 GB, free: 9.668 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004287/0.07163, allocations: 3.269 MB / 0.5702 GB, free: 6.387 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.01061/0.08224, allocations: 11.17 MB / 0.5811 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003883/0.08612, allocations: 2.933 MB / 0.5839 GB, free: 8.086 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002078/0.0882, allocations: 1.362 MB / 0.5853 GB, free: 6.723 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001525/0.08836, allocations: 45.97 kB / 0.5853 GB, free: 6.676 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00221/0.09057, allocations: 1.905 MB / 0.5872 GB, free: 4.719 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=265): time 3.566e-06/0.09057, allocations: 0 / 0.5872 GB, free: 4.719 MB / 0.4948 GB Notification: Performance of matching and sorting (n=265): time 0.007798/0.09837, allocations: 5.127 MB / 0.5922 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/0.0985, allocations: 0.4928 MB / 0.5927 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0031/0.1016, allocations: 3.436 MB / 0.596 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001487/0.1017, allocations: 89.69 kB / 0.5961 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008922/0.1026, allocations: 1.638 MB / 0.5977 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000554/0.1032, allocations: 0.9337 MB / 0.5986 GB, free: 8.875 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001058/0.1043, allocations: 0.74 MB / 0.5993 GB, free: 8.125 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.587e-05/0.1043, allocations: 305.1 kB / 0.5996 GB, free: 7.824 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002232/0.1065, allocations: 1.775 MB / 0.6014 GB, free: 6.031 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002781/0.1093, allocations: 2.789 MB / 0.6041 GB, free: 2.945 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0155/0.1248, allocations: 9.245 MB / 0.6131 GB, free: 9.512 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/0.1248, allocations: 4 kB / 0.6131 GB, free: 9.508 MB / 0.5261 GB Notification: Performance of matching and sorting (n=524) (initialization): time 0.006596/0.1314, allocations: 5.227 MB / 0.6182 GB, free: 4.25 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.158e-05/0.1315, allocations: 66.5 kB / 0.6183 GB, free: 4.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.1315, allocations: 19.92 kB / 0.6183 GB, free: 4.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005786/0.1321, allocations: 479 kB / 0.6188 GB, free: 3.691 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002217/0.1343, allocations: 0.8386 MB / 0.6196 GB, free: 2.852 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003429/0.1377, allocations: 3.423 MB / 0.6229 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/0.1392, allocations: 481.4 kB / 0.6234 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001704/0.1394, allocations: 135.9 kB / 0.6235 GB, free: 14.71 MB / 0.5417 GB Warning: Assuming fixed start value for the following 28 variables: Zcc.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Zcc.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) ZPcs.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = ZPcs.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) 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) 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] ZPcs.running:DISCRETE(flow=false start = ZPcs.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Zcc.running:DISCRETE(flow=false start = Zcc.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.regcA.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003115/0.1425, allocations: 2.466 MB / 0.6259 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002763/0.1452, allocations: 2.73 MB / 0.6286 GB, free: 9.211 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01511/0.1603, allocations: 9.096 MB / 0.6375 GB, free: 15.92 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.002e-05/0.1604, allocations: 4 kB / 0.6375 GB, free: 15.92 MB / 0.5573 GB Notification: Performance of matching and sorting (n=524) (initialization_lambda0): time 0.006543/0.1669, allocations: 5.126 MB / 0.6425 GB, free: 10.77 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 5.134e-05/0.167, allocations: 77.53 kB / 0.6425 GB, free: 10.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.167, allocations: 12 kB / 0.6426 GB, free: 10.67 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005618/0.1675, allocations: 476.5 kB / 0.643 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001983/0.1695, allocations: 0.823 MB / 0.6438 GB, free: 9.379 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003451/0.173, allocations: 3.419 MB / 0.6472 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/0.1746, allocations: 414.1 kB / 0.6476 GB, free: 5.441 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001695/0.1748, allocations: 148 kB / 0.6477 GB, free: 5.297 MB / 0.5573 GB Warning: Assuming fixed start value for the following 28 variables: Zcc.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Zcc.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) ZPcs.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = ZPcs.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) 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) 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] ZPcs.running:DISCRETE(flow=false start = ZPcs.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Zcc.running:DISCRETE(flow=false start = Zcc.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.regcA.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 69 ($PRE.Zcc.state,Zcc.state,$PRE.ZPcs.state,ZPcs.state,$PRE.BESS.HvTfo.state,BESS.HvTfo.state,$PRE.BESS.LvTfo.state,BESS.LvTfo.state,$PRE.BESS.injector.state,BESS.injector.state,BESS.injector.switchOffSignal3,BESS.injector.switchOffSignal2,BESS.injector.switchOffSignal1,Zcc.switchOffSignal2,Zcc.switchOffSignal1,ZPcs.switchOffSignal2,ZPcs.switchOffSignal1,BESS.regcA.rateLimFirstOrderFreeze1.local_freeze,BESS.regcA.rateLimFirstOrderFreeze2.local_freeze,$PRE.BESS.regcA.offDelay.delaySignal,$PRE.BESS.regcA.offDelay.tNext,$PRE.BESS.injector.running,$PRE.BESS.LvTfo.running,$PRE.BESS.HvTfo.running,$PRE.ZPcs.running,$PRE.Zcc.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,Zcc.running,ZPcs.running,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,$whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,$whenCondition5,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition14,$whenCondition16,$whenCondition15,$whenCondition17,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 (483): * Single equations (assignments): 481 * 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 {(14,4,31.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006738/0.1754, allocations: 0.5391 MB / 0.6482 GB, free: 4.77 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003731/0.1758, allocations: 393.5 kB / 0.6486 GB, free: 4.383 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005272/0.1811, allocations: 3.86 MB / 0.6524 GB, free: 0.5039 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.1811, allocations: 31.98 kB / 0.6524 GB, free: 484 kB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1811, allocations: 4 kB / 0.6524 GB, free: 480 kB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.791e-05/0.1811, allocations: 19.88 kB / 0.6524 GB, free: 460 kB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009382/0.1905, allocations: 7.8 MB / 0.66 GB, free: 8.539 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.1905, allocations: 8.031 kB / 0.66 GB, free: 8.531 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001618/0.1921, allocations: 0.5383 MB / 0.6606 GB, free: 7.992 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005501/0.1927, allocations: 460.5 kB / 0.661 GB, free: 7.539 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001195/0.1928, allocations: 67.97 kB / 0.6611 GB, free: 7.473 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003571/0.1964, allocations: 3.404 MB / 0.6644 GB, free: 3.953 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.1964, allocations: 8 kB / 0.6644 GB, free: 3.945 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007769/0.2041, allocations: 6.049 MB / 0.6703 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/0.2051, allocations: 0.8092 MB / 0.6711 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002733/0.2054, allocations: 63.98 kB / 0.6712 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/0.2065, allocations: 223.8 kB / 0.6714 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002825/0.2068, allocations: 221.5 kB / 0.6716 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001246/0.2069, allocations: 87.97 kB / 0.6717 GB, free: 12.31 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002168/0.2091, allocations: 2.252 MB / 0.6739 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9e-08/0.2091, allocations: 0 / 0.6739 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002698/0.2118, allocations: 1.665 MB / 0.6755 GB, free: 8.41 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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: 34 ($whenCondition17,$whenCondition15,$whenCondition16,$whenCondition14,$whenCondition12,$whenCondition13,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,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,ZPcs.running,ZPcs.state,Zcc.running,Zcc.state) * Number of discrete states: 6 (Zcc.running,ZPcs.running,BESS.HvTfo.running,BESS.LvTfo.running,BESS.injector.running,BESS.regcA.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (258): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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 {(14,4,31.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008514/0.2203, allocations: 7.044 MB / 0.6824 GB, free: 1.336 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.1782/0.3986, allocations: 6.797 MB / 0.689 GB, free: 165.9 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.944e-06/0.3986, allocations: 2.438 kB / 0.689 GB, free: 165.9 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.003909/0.4025, allocations: 2.119 MB / 0.6911 GB, free: 165.1 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002594/0.4051, allocations: 0.558 MB / 0.6916 GB, free: 164.9 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06015/0.4652, allocations: 33.97 MB / 0.7248 GB, free: 150.1 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/0.4663, allocations: 1.555 MB / 0.7263 GB, free: 149.9 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001763/0.4681, allocations: 0.5711 MB / 0.7269 GB, free: 149.6 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001377/0.4694, allocations: 1.637 MB / 0.7285 GB, free: 148.1 MB / 0.5886 GB Notification: Performance of SimCode: time 1.312e-06/0.4694, allocations: 0 / 0.7285 GB, free: 148.1 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1359/0.6053, allocations: 88.49 MB / 0.8149 GB, free: 60.46 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.36/10.96, allocations: 0 / 0.8149 GB, free: 60.46 MB / 0.5886 GB " [Timeout remaining time 649] (rm -f Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.pipe ; mkfifo Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.pipe >> ../files/Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Dynawo_Dynawo_Examples_BESS_WECC_BESSCurrentSourceExternalPCS_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --mode=me --timeout=240 --tolerance=1e-05 ../Dynawo_Dynawo_Examples_BESS_WECC_BESSCurrentSourceExternalPCS.fmu) > Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.pipe 2>&1) [Timeout 252.0] (rm -f Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS_OMSimulator-cs-cvode.pipe ; mkfifo Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Dynawo_Dynawo_Examples_BESS_WECC_BESSCurrentSourceExternalPCS_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-05 ../Dynawo_Dynawo_Examples_BESS_WECC_BESSCurrentSourceExternalPCS_OMSimulator-cs-cvode.fmu) > Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] (rm -f Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS_OMSimulator-cs-euler.pipe ; mkfifo Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS_OMSimulator-cs-euler.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Dynawo_Dynawo_Examples_BESS_WECC_BESSCurrentSourceExternalPCS_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-05 ../Dynawo_Dynawo_Examples_BESS_WECC_BESSCurrentSourceExternalPCS_OMSimulator-cs-euler.fmu) > Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] (rm -f Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS_fmpy.pipe ; mkfifo Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS_fmpy.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS_fmpy_res.csv --start-time 0 --stop-time 20 --timeout 240 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 ../Dynawo_Dynawo_Examples_BESS_WECC_BESSCurrentSourceExternalPCS.fmu) > Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS_fmpy.pipe 2>&1) [Timeout 252.0] [Calling sys.exit(0), Time elapsed: 17.000770276412368]