Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008437/0.0008437, allocations: 96.36 kB / 19.72 MB, free: 428 kB / 13.93 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.0008551/0.0008551, allocations: 223 kB / 23.02 MB, free: 2.957 MB / 13.93 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.113/1.113, allocations: 207.7 MB / 233.9 MB, free: 11.48 MB / 186.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.5125/0.5125, allocations: 122.7 MB / 408.8 MB, free: 15.39 MB / 346.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.BESSCurrentSourceNoPPC,fileNamePrefix="Dynawo_Dynawo_Examples_BESS_WECC_BESSCurrentSourceNoPPC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC,fileNamePrefix="Dynawo_Dynawo_Examples_BESS_WECC_BESSCurrentSourceNoPPC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 71.89 kB / 0.5797 GB, free: 8.477 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.4193, allocations: 80.9 MB / 0.6587 GB, free: 20.14 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC): time 0.008453/0.4278, allocations: 9.271 MB / 0.6677 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.007442/0.4352, allocations: 4.93 MB / 0.6725 GB, free: 9.176 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001924/0.4372, allocations: 54.91 kB / 0.6726 GB, free: 9.152 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001149/0.4383, allocations: 0.6105 MB / 0.6732 GB, free: 8.676 MB / 0.4948 GB [/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.002171/0.4405, allocations: 0.9352 MB / 0.6741 GB, free: 7.922 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/Electrical/Controls/WECC/BaseClasses_INIT/WECCInverterCurrentSource_INIT.mo:69:3-69:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wt4CurrentSource_INIT.s0Pu) == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.002562/0.443, allocations: 1.963 MB / 0.676 GB, free: 6.355 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002938/0.446, allocations: 3.194 MB / 0.6791 GB, free: 4.301 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008853/0.4469, allocations: 0.685 MB / 0.6798 GB, free: 3.781 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001204/0.4481, allocations: 1.2 MB / 0.681 GB, free: 2.953 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009905/0.4491, allocations: 1.165 MB / 0.6821 GB, free: 2.078 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.000407/0.4495, allocations: 332.9 kB / 0.6824 GB, free: 2.078 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009632/0.4504, allocations: 0.5992 MB / 0.683 GB, free: 1.957 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003507/0.4508, allocations: 0.706 MB / 0.6837 GB, free: 1.355 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0006494/0.4514, allocations: 1.068 MB / 0.6847 GB, free: 0.5234 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.003774/0.4552, allocations: 4.247 MB / 0.6889 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4552, allocations: 4 kB / 0.6889 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.923e-06/0.4552, allocations: 0 / 0.6889 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.837e-05/0.4553, allocations: 0 / 0.6889 GB, free: 13.18 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 433 * Number of variables: 433 Notification: Performance of Generate backend data structure: time 0.006722/0.462, allocations: 3.589 MB / 0.6924 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.4621, allocations: 9.406 kB / 0.6924 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002758/0.4623, allocations: 260.8 kB / 0.6927 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002252/0.4646, allocations: 0.6788 MB / 0.6933 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002563/0.4671, allocations: 1.66 MB / 0.6949 GB, free: 8.422 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003874/0.4675, allocations: 0.7525 MB / 0.6957 GB, free: 7.527 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002076/0.4677, allocations: 176 kB / 0.6958 GB, free: 7.355 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003104/0.4708, allocations: 2.405 MB / 0.6982 GB, free: 4.801 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/0.4709, allocations: 3.938 kB / 0.6982 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/0.471, allocations: 76 kB / 0.6983 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.22e-05/0.471, allocations: 40 kB / 0.6983 GB, free: 4.684 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002637/0.4736, allocations: 1.886 MB / 0.7002 GB, free: 2.793 MB / 0.5105 GB 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.008682/0.4823, allocations: 6.846 MB / 0.7068 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002721/0.485, allocations: 1.785 MB / 0.7086 GB, free: 9.996 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001119/0.4862, allocations: 0.8011 MB / 0.7094 GB, free: 9.191 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001387/0.4863, allocations: 28.98 kB / 0.7094 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001591/0.4879, allocations: 1.14 MB / 0.7105 GB, free: 8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=147): time 3.246e-06/0.4879, allocations: 0 / 0.7105 GB, free: 8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=147): time 0.004893/0.4928, allocations: 3.016 MB / 0.7134 GB, free: 4.98 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.4929, allocations: 282.3 kB / 0.7137 GB, free: 4.641 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002492/0.4954, allocations: 2.204 MB / 0.7159 GB, free: 2.406 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001347/0.4955, allocations: 65.7 kB / 0.7159 GB, free: 2.336 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006871/0.4962, allocations: 1.006 MB / 0.7169 GB, free: 1.32 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006017/0.4968, allocations: 0.5308 MB / 0.7174 GB, free: 0.7852 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005336/0.4974, allocations: 476.8 kB / 0.7179 GB, free: 316 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.984e-05/0.4974, allocations: 301.1 kB / 0.7182 GB, free: 12 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001489/0.4989, allocations: 1.071 MB / 0.7192 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001715/0.5006, allocations: 1.636 MB / 0.7208 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009345/0.51, allocations: 5.412 MB / 0.7261 GB, free: 7.516 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/0.51, allocations: 8 kB / 0.7261 GB, free: 7.508 MB / 0.5417 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.004917/0.5149, allocations: 3.188 MB / 0.7292 GB, free: 4.258 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 5.258e-05/0.515, allocations: 57.67 kB / 0.7293 GB, free: 4.195 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.515, allocations: 8 kB / 0.7293 GB, free: 4.188 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003939/0.5154, allocations: 276.8 kB / 0.7296 GB, free: 3.914 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/0.5167, allocations: 0.5304 MB / 0.7301 GB, free: 3.383 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002493/0.5192, allocations: 2.475 MB / 0.7325 GB, free: 0.8008 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.5206, allocations: 302.4 kB / 0.7328 GB, free: 0.5039 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/0.5207, allocations: 87.98 kB / 0.7329 GB, free: 428 kB / 0.5417 GB Warning: Assuming fixed start value for the following 18 variables: BESS.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.reecC.firstOrder.y:VARIABLE(flow=false start = BESS.reecC.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.firstOrder1.y:VARIABLE(flow=false start = BESS.reecC.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.firstOrder.y:VARIABLE(flow=false start = BESS.regcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean BESS.regcA.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real BESS.injector.running:DISCRETE(flow=false start = BESS.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.LvTfo.running:DISCRETE(flow=false start = BESS.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.regcA.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002406/0.5231, allocations: 1.542 MB / 0.7344 GB, free: 14.86 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001647/0.5248, allocations: 1.616 MB / 0.7359 GB, free: 13.07 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009522/0.5343, allocations: 5.385 MB / 0.7412 GB, free: 7.5 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.309e-05/0.5343, allocations: 8 kB / 0.7412 GB, free: 7.492 MB / 0.5573 GB Notification: Performance of matching and sorting (n=322) (initialization_lambda0): time 0.005098/0.5394, allocations: 3.161 MB / 0.7443 GB, free: 4.27 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 5.924e-05/0.5395, allocations: 57.67 kB / 0.7444 GB, free: 4.207 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.5395, allocations: 8 kB / 0.7444 GB, free: 4.199 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005676/0.54, allocations: 269 kB / 0.7446 GB, free: 3.934 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/0.5414, allocations: 0.5266 MB / 0.7451 GB, free: 3.406 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002376/0.5438, allocations: 2.467 MB / 0.7475 GB, free: 0.8203 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001675/0.5455, allocations: 266.8 kB / 0.7478 GB, free: 0.5586 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000147/0.5456, allocations: 87.98 kB / 0.7479 GB, free: 484 kB / 0.5573 GB Warning: Assuming fixed start value for the following 18 variables: BESS.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.reecC.firstOrder.y:VARIABLE(flow=false start = BESS.reecC.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.firstOrder1.y:VARIABLE(flow=false start = BESS.reecC.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.firstOrder.y:VARIABLE(flow=false start = BESS.regcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean BESS.regcA.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real BESS.injector.running:DISCRETE(flow=false start = BESS.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.LvTfo.running:DISCRETE(flow=false start = BESS.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.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: 33 * Number of states: 0 () * Number of discrete variables: 50 ($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,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.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,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 (296): * Single equations (assignments): 294 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(8,2,50.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006315/0.5463, allocations: 410.4 kB / 0.7483 GB, free: 76 kB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004273/0.5467, allocations: 242.6 kB / 0.7485 GB, free: 15.83 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003592/0.5503, allocations: 2.29 MB / 0.7507 GB, free: 13.53 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.5503, allocations: 16 kB / 0.7508 GB, free: 13.52 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.5503, allocations: 0 / 0.7508 GB, free: 13.52 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.5503, allocations: 7.969 kB / 0.7508 GB, free: 13.51 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006633/0.5569, allocations: 4.558 MB / 0.7552 GB, free: 8.848 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.557, allocations: 8.031 kB / 0.7552 GB, free: 8.84 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/0.558, allocations: 343.5 kB / 0.7555 GB, free: 8.504 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003436/0.5584, allocations: 256.9 kB / 0.7558 GB, free: 8.25 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.541e-05/0.5585, allocations: 47.98 kB / 0.7558 GB, free: 8.203 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002249/0.5607, allocations: 2.456 MB / 0.7582 GB, free: 5.637 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.5607, allocations: 7.938 kB / 0.7582 GB, free: 5.629 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005079/0.5658, allocations: 3.601 MB / 0.7618 GB, free: 1.965 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009963/0.5668, allocations: 477.9 kB / 0.7622 GB, free: 1.496 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002253/0.567, allocations: 51.92 kB / 0.7623 GB, free: 1.445 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007436/0.5678, allocations: 139.8 kB / 0.7624 GB, free: 1.309 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002411/0.568, allocations: 137.1 kB / 0.7625 GB, free: 1.172 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.944e-05/0.5681, allocations: 55.97 kB / 0.7626 GB, free: 1.117 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00176/0.5699, allocations: 1.45 MB / 0.764 GB, free: 15.65 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8e-08/0.5699, allocations: 0 / 0.764 GB, free: 15.65 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002073/0.5719, allocations: 0.9983 MB / 0.765 GB, free: 14.65 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 13 (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) * Number of discrete variables: 23 ($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) * Number of discrete states: 4 (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 (146): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(8,2,50.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006354/0.5783, allocations: 4.531 MB / 0.7694 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.007126/0.5854, allocations: 4.235 MB / 0.7735 GB, free: 5.898 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/0.5854, allocations: 0 / 0.7735 GB, free: 5.898 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002043/0.5875, allocations: 1.276 MB / 0.7748 GB, free: 4.609 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002026/0.5895, allocations: 336.9 kB / 0.7751 GB, free: 4.293 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03009/0.6196, allocations: 21.18 MB / 0.7958 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008599/0.6204, allocations: 0.9584 MB / 0.7967 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.00117/0.6216, allocations: 314.8 kB / 0.797 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/0.6227, allocations: 0.9406 MB / 0.7979 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of SimCode: time 1.843e-06/0.6227, allocations: 4 kB / 0.7979 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1564/0.7791, allocations: 54.92 MB / 0.8516 GB, free: 5.457 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.582/9.361, allocations: 7.875 kB / 0.8516 GB, free: 5.449 MB / 0.6667 GB " [Timeout remaining time 651] (rm -f Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.pipe ; mkfifo Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.pipe >> ../files/Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Dynawo_Dynawo_Examples_BESS_WECC_BESSCurrentSourceNoPPC_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ../Dynawo_Dynawo_Examples_BESS_WECC_BESSCurrentSourceNoPPC.fmu) > Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.pipe 2>&1) [Timeout 52.5] (rm -f Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_fmpy.pipe ; mkfifo Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_fmpy.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_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_BESSCurrentSourceNoPPC.fmu) > Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.498343965038657]