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.0009683/0.0009683, 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.001015/0.001015, allocations: 173.5 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.8019/0.8019, allocations: 158.6 MB / 185 MB, free: 3.047 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.9773/0.9773, allocations: 90.82 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.BESSCurrentSource,fileNamePrefix="Dynawo_Dynawo_Examples_BESS_WECC_BESSCurrentSource",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.BESS.WECC.BESSCurrentSource,fileNamePrefix="Dynawo_Dynawo_Examples_BESS_WECC_BESSCurrentSource",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.504 GB, free: 17.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.462e-05/1.592e-05, allocations: 2.281 kB / 0.504 GB, free: 17.09 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSource): time 0.009898/0.009914, allocations: 13.58 MB / 0.5173 GB, free: 7.98 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.008117/0.01803, allocations: 6.71 MB / 0.5239 GB, free: 2.969 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001297/0.01933, allocations: 94.06 kB / 0.5239 GB, free: 2.93 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.02035, allocations: 0.8829 MB / 0.5248 GB, free: 2.215 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.001677/0.02202, allocations: 1.393 MB / 0.5262 GB, free: 1.055 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.003114/0.02514, allocations: 3.108 MB / 0.5292 GB, free: 14.57 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.003569/0.02871, allocations: 5.35 MB / 0.5344 GB, free: 11.08 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00131/0.03002, allocations: 1.201 MB / 0.5356 GB, free: 10.17 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001604/0.03162, allocations: 1.832 MB / 0.5374 GB, free: 8.777 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001024/0.03264, allocations: 1.608 MB / 0.539 GB, free: 7.164 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000406/0.03305, allocations: 0.5547 MB / 0.5395 GB, free: 6.609 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008197/0.03387, allocations: 0.8784 MB / 0.5404 GB, free: 5.73 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005424/0.03441, allocations: 1.176 MB / 0.5415 GB, free: 4.551 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007915/0.0352, allocations: 1.425 MB / 0.5429 GB, free: 3.121 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004936/0.04014, allocations: 7.057 MB / 0.5498 GB, free: 12.04 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.04014, allocations: 0 / 0.5498 GB, free: 12.04 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.04015, allocations: 0 / 0.5498 GB, free: 12.04 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.563e-05/0.04021, allocations: 7.984 kB / 0.5498 GB, free: 12.04 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.008208/0.04842, allocations: 5.711 MB / 0.5554 GB, free: 6.234 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.04846, allocations: 16.03 kB / 0.5554 GB, free: 6.219 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003453/0.0488, allocations: 396.4 kB / 0.5558 GB, free: 5.824 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00287/0.05167, allocations: 1.095 MB / 0.5568 GB, free: 4.727 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002892/0.05456, allocations: 2.684 MB / 0.5595 GB, free: 1.996 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003916/0.05496, allocations: 0.9738 MB / 0.5604 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002642/0.05522, allocations: 291.9 kB / 0.5607 GB, free: 0.5625 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004012/0.05923, allocations: 3.975 MB / 0.5646 GB, free: 12.31 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.489e-05/0.05927, allocations: 3.938 kB / 0.5646 GB, free: 12.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001935/0.05946, allocations: 120 kB / 0.5647 GB, free: 12.19 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.122e-05/0.05949, allocations: 68 kB / 0.5648 GB, free: 12.12 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004322/0.06381, allocations: 3.108 MB / 0.5678 GB, free: 9 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.01013/0.07394, allocations: 10.8 MB / 0.5783 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004006/0.07795, allocations: 2.752 MB / 0.581 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001631/0.07958, allocations: 1.272 MB / 0.5823 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001515/0.07973, allocations: 41.97 kB / 0.5823 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002032/0.08177, allocations: 1.751 MB / 0.584 GB, free: 8.156 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=237): time 3.246e-06/0.08177, allocations: 0 / 0.584 GB, free: 8.156 MB / 0.4948 GB Notification: Performance of matching and sorting (n=237): time 0.007111/0.08888, allocations: 4.668 MB / 0.5886 GB, free: 3.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001425/0.08902, allocations: 0.4967 MB / 0.5891 GB, free: 2.871 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003083/0.09211, allocations: 3.491 MB / 0.5925 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001381/0.09224, allocations: 81.69 kB / 0.5925 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00112/0.09336, allocations: 1.622 MB / 0.5941 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004974/0.09386, allocations: 0.8446 MB / 0.595 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000768/0.09463, allocations: 0.7041 MB / 0.5956 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.678e-05/0.09469, allocations: 305.1 kB / 0.5959 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002166/0.09685, allocations: 1.688 MB / 0.5976 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002834/0.09969, allocations: 2.662 MB / 0.6002 GB, free: 7.18 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01442/0.1141, allocations: 8.587 MB / 0.6086 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.1141, allocations: 4 kB / 0.6086 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=495) (initialization): time 0.006042/0.1202, allocations: 4.915 MB / 0.6134 GB, free: 9.461 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.59e-05/0.1202, allocations: 67.69 kB / 0.6134 GB, free: 9.391 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.1202, allocations: 12 kB / 0.6134 GB, free: 9.379 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004785/0.1207, allocations: 380.8 kB / 0.6138 GB, free: 9.008 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002157/0.1229, allocations: 0.8113 MB / 0.6146 GB, free: 8.195 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002979/0.1258, allocations: 2.991 MB / 0.6175 GB, free: 5.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/0.1273, allocations: 473.4 kB / 0.618 GB, free: 4.625 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001696/0.1275, allocations: 132.1 kB / 0.6181 GB, free: 4.496 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.003036/0.1305, allocations: 2.358 MB / 0.6204 GB, free: 2.141 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002652/0.1332, allocations: 2.602 MB / 0.6229 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01506/0.1482, allocations: 8.447 MB / 0.6312 GB, free: 6.641 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.072e-05/0.1482, allocations: 4 kB / 0.6312 GB, free: 6.637 MB / 0.5417 GB Notification: Performance of matching and sorting (n=495) (initialization_lambda0): time 0.007036/0.1553, allocations: 4.806 MB / 0.6359 GB, free: 1.797 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 5.783e-05/0.1553, allocations: 69.66 kB / 0.636 GB, free: 1.723 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.1553, allocations: 12 kB / 0.636 GB, free: 1.711 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004903/0.1558, allocations: 373 kB / 0.6363 GB, free: 1.344 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00202/0.1578, allocations: 0.7957 MB / 0.6371 GB, free: 0.5469 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003294/0.1611, allocations: 2.999 MB / 0.64 GB, free: 13.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0022/0.1633, allocations: 406.1 kB / 0.6404 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002359/0.1636, allocations: 136 kB / 0.6405 GB, free: 12.9 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.0007118/0.1643, allocations: 0.5074 MB / 0.641 GB, free: 12.39 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004977/0.1648, allocations: 385.5 kB / 0.6414 GB, free: 12.02 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005086/0.1699, allocations: 3.531 MB / 0.6449 GB, free: 8.469 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.1699, allocations: 24 kB / 0.6449 GB, free: 8.445 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1699, allocations: 0 / 0.6449 GB, free: 8.445 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.637e-05/0.1699, allocations: 15.95 kB / 0.6449 GB, free: 8.43 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008981/0.1789, allocations: 7.167 MB / 0.6519 GB, free: 1.148 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.1789, allocations: 4 kB / 0.6519 GB, free: 1.145 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001591/0.1805, allocations: 0.5112 MB / 0.6524 GB, free: 0.6328 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000466/0.181, allocations: 368.6 kB / 0.6528 GB, free: 276 kB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001165/0.1811, allocations: 59.98 kB / 0.6528 GB, free: 216 kB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00321/0.1843, allocations: 2.987 MB / 0.6557 GB, free: 13.11 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.1843, allocations: 11.97 kB / 0.6557 GB, free: 13.1 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007334/0.1916, allocations: 5.586 MB / 0.6612 GB, free: 7.418 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001155/0.1928, allocations: 0.7665 MB / 0.6619 GB, free: 6.648 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002764/0.1931, allocations: 59.98 kB / 0.662 GB, free: 6.59 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/0.1942, allocations: 227.6 kB / 0.6622 GB, free: 6.367 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002874/0.1945, allocations: 209.5 kB / 0.6624 GB, free: 6.164 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/0.1946, allocations: 83.97 kB / 0.6625 GB, free: 6.082 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002428/0.197, allocations: 2.287 MB / 0.6647 GB, free: 3.812 MB / 0.573 GB Notification: Performance of sort global known variables: time 4e-08/0.197, allocations: 0 / 0.6647 GB, free: 3.812 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002648/0.1997, allocations: 1.579 MB / 0.6663 GB, free: 2.23 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.008449/0.2081, allocations: 6.548 MB / 0.6727 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.009147/0.2173, allocations: 6.365 MB / 0.6789 GB, free: 5.32 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/0.2173, allocations: 4 kB / 0.6789 GB, free: 5.316 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.00301/0.2203, allocations: 1.968 MB / 0.6808 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002444/0.2227, allocations: 0.5276 MB / 0.6813 GB, free: 2.824 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2393/0.4621, allocations: 32.91 MB / 0.7135 GB, free: 154.8 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001401/0.4635, allocations: 1.494 MB / 0.7149 GB, free: 154.5 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001937/0.4654, allocations: 0.5487 MB / 0.7155 GB, free: 154.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001395/0.4668, allocations: 1.574 MB / 0.717 GB, free: 153.2 MB / 0.5886 GB Notification: Performance of SimCode: time 1.553e-06/0.4668, allocations: 0 / 0.717 GB, free: 153.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1349/0.6017, allocations: 84.21 MB / 0.7992 GB, free: 76.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.31/10.91, allocations: 11.3 kB / 0.7992 GB, free: 76.49 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 --mode=me --timeout=240 --tolerance=1e-05 ../Dynawo_Dynawo_Examples_BESS_WECC_BESSCurrentSource.fmu) > Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe 2>&1) [Timeout 252.0] (rm -f Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-cvode.pipe ; mkfifo Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource_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_BESSCurrentSource_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-05 ../Dynawo_Dynawo_Examples_BESS_WECC_BESSCurrentSource_OMSimulator-cs-cvode.fmu) > Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] (rm -f Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-euler.pipe ; mkfifo Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-euler.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource_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_BESSCurrentSource_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-05 ../Dynawo_Dynawo_Examples_BESS_WECC_BESSCurrentSource_OMSimulator-cs-euler.fmu) > Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] (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 240 --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 252.0] [Calling sys.exit(0), Time elapsed: 16.96631312277168]