Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.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.001723/0.001723, allocations: 104.3 kB / 19.72 MB, free: 1.895 MB / 14.72 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.002155/0.002155, allocations: 209.7 kB / 23.01 MB, free: 4.996 MB / 14.72 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.45/1.45, allocations: 207.7 MB / 233.9 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo): time 0.9608/0.9608, allocations: 103.8 MB / 389.9 MB, free: 21.26 MB / 318.1 MB " [Timeout remaining time 179] Using package Dynawo with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.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 it seems broken on HelloWorld Ignoring simflag -noemit -noRestart=() since it seems broken on HelloWorld Ignoring simflag -noemit -noRootFinding=() since it seems broken on HelloWorld Running command: "" <> buildModelFMU(Dynawo.Examples.BESS.WECC.BESScbCurrentSource,fileNamePrefix="Dynawo_Dynawo_Examples_BESS_WECC_BESScbCurrentSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.BESS.WECC.BESScbCurrentSource,fileNamePrefix="Dynawo_Dynawo_Examples_BESS_WECC_BESScbCurrentSource",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.00234/0.00234, allocations: 78.59 kB / 0.5517 GB, free: 58.46 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1308, allocations: 75.99 MB / 0.6259 GB, free: 9.09 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESScbCurrentSource): time 0.01048/0.1413, allocations: 10.56 MB / 0.6362 GB, free: 14.46 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01174/0.153, allocations: 6.024 MB / 0.6421 GB, free: 8.426 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002832/0.1559, allocations: 91.31 kB / 0.6422 GB, free: 8.336 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:22:3-22:125:writable] Warning: Connector switchOffSignal3 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.002345/0.1582, allocations: 0.717 MB / 0.6429 GB, free: 7.613 MB / 478.1 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.003497/0.1617, allocations: 0.9196 MB / 0.6437 GB, free: 6.688 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006547/0.1683, allocations: 2.81 MB / 0.6465 GB, free: 3.895 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.007129/0.1754, allocations: 4.376 MB / 0.6508 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002263/0.1777, allocations: 1.096 MB / 0.6518 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002663/0.1803, allocations: 1.607 MB / 0.6534 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002228/0.1825, allocations: 1.671 MB / 0.655 GB, free: 11.05 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008421/0.1834, allocations: 476 kB / 0.6555 GB, free: 10.59 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001186/0.1846, allocations: 0.664 MB / 0.6561 GB, free: 9.926 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008449/0.1854, allocations: 0.95 MB / 0.6571 GB, free: 8.973 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001458/0.1869, allocations: 1.395 MB / 0.6584 GB, free: 7.57 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007389/0.1943, allocations: 5.709 MB / 0.664 GB, free: 1.844 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.1943, allocations: 7.875 kB / 0.664 GB, free: 1.836 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1943, allocations: 0 / 0.664 GB, free: 1.836 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001583/0.1944, allocations: 0 / 0.664 GB, free: 1.836 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 548 * Number of variables: 548 Notification: Performance of Generate backend data structure: time 0.01287/0.2073, allocations: 4.391 MB / 0.6683 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/0.2074, allocations: 12.03 kB / 0.6683 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004857/0.2078, allocations: 312.1 kB / 0.6686 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004541/0.2124, allocations: 0.8885 MB / 0.6695 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004444/0.2168, allocations: 2.353 MB / 0.6718 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000647/0.2175, allocations: 0.7962 MB / 0.6726 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004102/0.2179, allocations: 220 kB / 0.6728 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006148/0.224, allocations: 3.441 MB / 0.6761 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.857e-05/0.2241, allocations: 3.938 kB / 0.6761 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002405/0.2243, allocations: 92 kB / 0.6762 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.606e-05/0.2244, allocations: 56 kB / 0.6763 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005906/0.2303, allocations: 2.465 MB / 0.6787 GB, free: 2.184 MB / 0.4981 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.01674/0.247, allocations: 9.3 MB / 0.6878 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005658/0.2527, allocations: 2.282 MB / 0.69 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002298/0.255, allocations: 1.08 MB / 0.691 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001403/0.2551, allocations: 29.3 kB / 0.6911 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002992/0.2581, allocations: 1.529 MB / 0.6926 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=176): time 4.859e-06/0.2581, allocations: 0 / 0.6926 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of matching and sorting (n=176): time 0.01078/0.2689, allocations: 3.932 MB / 0.6964 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003053/0.2692, allocations: 0.5139 MB / 0.6969 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004565/0.2738, allocations: 2.826 MB / 0.6997 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004475/0.2742, allocations: 69.69 kB / 0.6997 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001535/0.2757, allocations: 1.402 MB / 0.7011 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009162/0.2767, allocations: 0.6081 MB / 0.7017 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007435/0.2774, allocations: 355.4 kB / 0.702 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.2776, allocations: 301.1 kB / 0.7023 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002537/0.2801, allocations: 1.057 MB / 0.7034 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003146/0.2832, allocations: 1.953 MB / 0.7053 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01876/0.302, allocations: 5.563 MB / 0.7107 GB, free: 492 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.575e-05/0.302, allocations: 4 kB / 0.7107 GB, free: 488 kB / 0.5294 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.008504/0.3105, allocations: 3.24 MB / 0.7139 GB, free: 13.21 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.138e-05/0.3106, allocations: 41.69 kB / 0.7139 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.057e-05/0.3106, allocations: 16 kB / 0.7139 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005342/0.3111, allocations: 313.2 kB / 0.7142 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002691/0.3138, allocations: 499.2 kB / 0.7147 GB, free: 12.35 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.728e-05/0.3139, allocations: 23.94 kB / 0.7147 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002509/0.3164, allocations: 334.4 kB / 0.715 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002096/0.3166, allocations: 71.92 kB / 0.7151 GB, free: 11.93 MB / 0.545 GB Warning: Assuming fixed start value for the following 21 variables: 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) BESScb.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESScb.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESScb.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESScb.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESScb.reecC.firstOrder.y:VARIABLE(flow=false start = BESScb.reecC.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.firstOrder1.y:VARIABLE(flow=false start = BESScb.reecC.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.limPIDFreeze.I.y:VARIABLE(flow=false start = BESScb.reecC.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESScb.reecC.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESScb.reecC.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESScb.reecC.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.regcBCS.firstOrder.y:VARIABLE(flow=false start = BESScb.regcBCS.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESScb.regcBCS.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESScb.regcBCS.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.regcBCS.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESScb.regcBCS.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.injector.running.value:DISCRETE(flow=false start = BESScb.injector.Running0 fixed = true ) type: Boolean BESScb.line.running.value:DISCRETE(flow=false start = BESScb.line.Running0 fixed = true ) type: Boolean BESScb.repcA.firstOrder.y:VARIABLE(flow=false start = BESScb.repcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.firstOrder1.y:VARIABLE(flow=false start = BESScb.repcA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.firstOrder2.y:VARIABLE(flow=false start = BESScb.repcA.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.firstOrder3.y:VARIABLE(flow=false start = BESScb.repcA.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.limPIDFreeze.I.y:VARIABLE(flow=false start = BESScb.repcA.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.leadLag.x_scaled[1]:VARIABLE(start = BESScb.repcA.leadLag.a_end * BESScb.repcA.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00365/0.3202, allocations: 1.616 MB / 0.7167 GB, free: 10.32 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002941/0.3232, allocations: 1.894 MB / 0.7185 GB, free: 8.137 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01785/0.341, allocations: 5.419 MB / 0.7238 GB, free: 2.555 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.264e-05/0.341, allocations: 4 kB / 0.7238 GB, free: 2.551 MB / 0.545 GB Notification: Performance of matching and sorting (n=243) (initialization_lambda0): time 0.008398/0.3494, allocations: 3.143 MB / 0.7269 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.887e-05/0.3495, allocations: 37.64 kB / 0.7269 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.94e-05/0.3495, allocations: 12 kB / 0.7269 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004806/0.35, allocations: 316.7 kB / 0.7272 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002719/0.3527, allocations: 479.3 kB / 0.7277 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.804e-05/0.3527, allocations: 27.92 kB / 0.7277 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002862/0.3556, allocations: 282.9 kB / 0.728 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002547/0.3559, allocations: 75.98 kB / 0.7281 GB, free: 14.17 MB / 0.5606 GB Warning: Assuming fixed start value for the following 21 variables: 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) BESScb.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESScb.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESScb.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESScb.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESScb.reecC.firstOrder.y:VARIABLE(flow=false start = BESScb.reecC.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.firstOrder1.y:VARIABLE(flow=false start = BESScb.reecC.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.limPIDFreeze.I.y:VARIABLE(flow=false start = BESScb.reecC.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESScb.reecC.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESScb.reecC.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESScb.reecC.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.regcBCS.firstOrder.y:VARIABLE(flow=false start = BESScb.regcBCS.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESScb.regcBCS.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESScb.regcBCS.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.regcBCS.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESScb.regcBCS.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.injector.running.value:DISCRETE(flow=false start = BESScb.injector.Running0 fixed = true ) type: Boolean BESScb.line.running.value:DISCRETE(flow=false start = BESScb.line.Running0 fixed = true ) type: Boolean BESScb.repcA.firstOrder.y:VARIABLE(flow=false start = BESScb.repcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.firstOrder1.y:VARIABLE(flow=false start = BESScb.repcA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.firstOrder2.y:VARIABLE(flow=false start = BESScb.repcA.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.firstOrder3.y:VARIABLE(flow=false start = BESScb.repcA.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.limPIDFreeze.I.y:VARIABLE(flow=false start = BESScb.repcA.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.leadLag.x_scaled[1]:VARIABLE(start = BESScb.repcA.leadLag.a_end * BESScb.repcA.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 42 ($PRE.line.state,line.state,$PRE.BESScb.line.state,BESScb.line.state,$PRE.BESScb.injector.state,BESScb.injector.state,BESScb.injector.switchOffSignal3.value,BESScb.injector.switchOffSignal2.value,BESScb.injector.switchOffSignal1.value,line.switchOffSignal2.value,line.switchOffSignal1.value,BESScb.regcBCS.rateLimFirstOrderFreeze1.local_freeze,BESScb.regcBCS.rateLimFirstOrderFreeze.local_freeze,$PRE.BESScb.injector.running.value,$PRE.BESScb.line.running.value,$PRE.line.running.value,line.running.value,BESScb.repcA.freeze,BESScb.line.running.value,BESScb.injector.running.value,BESScb.regcBCS.offDelay.tNext,BESScb.regcBCS.offDelay.delaySignal,BESScb.regcBCS.offDelay.y,BESScb.reecC.frtOn,$whenCondition11,$whenCondition10,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition9,BESScb.repcA.limPIDFreeze.I.resetLocal,BESScb.repcA.limPID.I.local_reset,BESScb.pll.limIntegrator.local_reset,BESScb.pll.integrator.local_reset,BESScb.reecC.integrator.local_reset,BESScb.reecC.varLimPIDFreeze.I.resetLocal,BESScb.reecC.limPIDFreeze.I.resetLocal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (233): * Single equations (assignments): 231 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(8,56.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008553/0.3567, allocations: 452.7 kB / 0.7285 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007952/0.3575, allocations: 325.9 kB / 0.7288 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007895/0.3654, allocations: 3.017 MB / 0.7318 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.93e-05/0.3654, allocations: 19.94 kB / 0.7318 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.466e-05/0.3654, allocations: 7.984 kB / 0.7318 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.078e-05/0.3655, allocations: 7.969 kB / 0.7318 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01296/0.3784, allocations: 5.936 MB / 0.7376 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.3784, allocations: 0 / 0.7376 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002695/0.3811, allocations: 427.5 kB / 0.738 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004723/0.3816, allocations: 304.7 kB / 0.7383 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001941/0.3818, allocations: 55.91 kB / 0.7383 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.136e-05/0.3818, allocations: 7.938 kB / 0.7383 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3818, allocations: 0 / 0.7383 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01029/0.3921, allocations: 4.571 MB / 0.7428 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001787/0.3939, allocations: 0.6264 MB / 0.7434 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004377/0.3943, allocations: 51.98 kB / 0.7435 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001715/0.396, allocations: 191.8 kB / 0.7437 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003598/0.3964, allocations: 145.7 kB / 0.7438 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000153/0.3965, allocations: 55.97 kB / 0.7438 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003151/0.3997, allocations: 1.904 MB / 0.7457 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.3997, allocations: 0 / 0.7457 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002849/0.4025, allocations: 1.009 MB / 0.7467 GB, free: 10.95 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (BESScb.reecC.firstOrder.y,BESScb.reecC.firstOrder1.y,BESScb.reecC.limPIDFreeze.I.y,BESScb.reecC.varLimPIDFreeze.I.y,BESScb.reecC.rateLimFirstOrderFreeze1.y,BESScb.reecC.slewRateLimiter.y,BESScb.reecC.rateLimFirstOrderFreeze.y,BESScb.reecC.integrator.y,BESScb.regcBCS.firstOrder.y,BESScb.regcBCS.rateLimFirstOrderFreeze.y,BESScb.regcBCS.rateLimFirstOrderFreeze1.y,BESScb.pll.integrator.y,BESScb.pll.limIntegrator.y,BESScb.repcA.firstOrder.y,BESScb.repcA.limPID.I.y,BESScb.repcA.firstOrder1.y,BESScb.repcA.firstOrder2.y,BESScb.repcA.firstOrder3.y,BESScb.repcA.limPIDFreeze.I.y,BESScb.repcA.leadLag.x_scaled[1]) * Number of discrete variables: 22 ($whenCondition9,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,$whenCondition10,$whenCondition11,BESScb.reecC.frtOn,BESScb.regcBCS.offDelay.y,BESScb.regcBCS.offDelay.delaySignal,BESScb.regcBCS.offDelay.tNext,BESScb.injector.running.value,BESScb.injector.state,BESScb.line.running.value,BESScb.line.state,BESScb.repcA.freeze,line.running.value,line.state) * Number of discrete states: 7 (line.running.value,BESScb.line.running.value,BESScb.injector.running.value,BESScb.regcBCS.offDelay.tNext,BESScb.regcBCS.offDelay.delaySignal,$whenCondition11,$whenCondition10) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(8,56.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01219/0.4147, allocations: 5.51 MB / 0.7521 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009301/0.424, allocations: 3.977 MB / 0.756 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.424, allocations: 0 / 0.756 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003073/0.4271, allocations: 1.353 MB / 0.7573 GB, free: 144 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002712/0.4298, allocations: 0.5156 MB / 0.7578 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05327/0.4831, allocations: 25.65 MB / 0.7828 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001386/0.4845, allocations: 1.22 MB / 0.784 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002043/0.4865, allocations: 378.1 kB / 0.7844 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002104/0.4886, allocations: 1.276 MB / 0.7856 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of SimCode: time 1.142e-06/0.4886, allocations: 0 / 0.7856 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3939/0.8825, allocations: 69.51 MB / 0.8535 GB, free: 97.16 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.95/15.83, allocations: 6.781 kB / 0.8535 GB, free: 97.16 MB / 0.6075 GB " [Timeout remaining time 644] (rm -f Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.pipe ; mkfifo Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.pipe >> ../files/Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Dynawo_Dynawo_Examples_BESS_WECC_BESScbCurrentSource_fmu --startTime=0 --stopTime=3 --stepSize=0.001 --timeout=50 --tolerance=1e-05 Dynawo_Dynawo_Examples_BESS_WECC_BESScbCurrentSource.fmu > Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.181590215011965] Failed to read output from testmodel.py, exit status != 0: 16.281309884012444 16.044259323 15.847612393 Calling exit ...