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.001641/0.001641, allocations: 100.3 kB / 20.5 MB, free: 1.367 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.001827/0.001827, allocations: 218.6 kB / 23.8 MB, free: 4.539 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.477/1.477, allocations: 207.7 MB / 234.7 MB, free: 9.797 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.7661/0.7661, allocations: 103.8 MB / 390.7 MB, free: 21.18 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.BESS.WECC.BESScbCurrentSource,fileNamePrefix="Dynawo_Dynawo_Examples_BESS_WECC_BESScbCurrentSource",fmuType="cs",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.002276/0.002276, allocations: 76.3 kB / 0.5524 GB, free: 57.75 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1338, allocations: 75.99 MB / 0.6266 GB, free: 8.969 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESScbCurrentSource): time 0.0119/0.1457, allocations: 10.55 MB / 0.6369 GB, free: 14.35 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01186/0.1576, allocations: 6.005 MB / 0.6428 GB, free: 8.332 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002722/0.1603, allocations: 83.38 kB / 0.6429 GB, free: 8.25 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.002379/0.1627, allocations: 0.7326 MB / 0.6436 GB, free: 7.512 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.003711/0.1664, allocations: 0.9157 MB / 0.6445 GB, free: 6.59 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006263/0.1727, allocations: 2.807 MB / 0.6472 GB, free: 3.797 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006751/0.1794, allocations: 4.378 MB / 0.6515 GB, free: 15.42 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002324/0.1817, allocations: 1.097 MB / 0.6526 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002524/0.1843, allocations: 1.603 MB / 0.6541 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002149/0.1864, allocations: 1.671 MB / 0.6558 GB, free: 10.96 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006891/0.1871, allocations: 472 kB / 0.6562 GB, free: 10.5 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001166/0.1883, allocations: 0.6718 MB / 0.6569 GB, free: 9.828 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008405/0.1891, allocations: 0.9538 MB / 0.6578 GB, free: 8.871 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001454/0.1906, allocations: 1.406 MB / 0.6592 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006734/0.1973, allocations: 5.707 MB / 0.6648 GB, free: 1.73 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1973, allocations: 0 / 0.6648 GB, free: 1.73 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1973, allocations: 0 / 0.6648 GB, free: 1.73 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001084/0.1974, allocations: 0 / 0.6648 GB, free: 1.73 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.01101/0.2084, allocations: 4.395 MB / 0.669 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.2085, allocations: 8.031 kB / 0.6691 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.421e-05/0.2085, allocations: 60.41 kB / 0.6691 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004761/0.209, allocations: 316.1 kB / 0.6694 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004382/0.2134, allocations: 0.8923 MB / 0.6703 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004493/0.2179, allocations: 2.345 MB / 0.6726 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006505/0.2185, allocations: 0.7923 MB / 0.6733 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004028/0.2189, allocations: 224 kB / 0.6736 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006065/0.225, allocations: 3.433 MB / 0.6769 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.973e-05/0.2251, allocations: 3.938 kB / 0.6769 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002352/0.2253, allocations: 96 kB / 0.677 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.76e-05/0.2253, allocations: 56 kB / 0.6771 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005544/0.2309, allocations: 2.465 MB / 0.6795 GB, free: 2.027 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.01592/0.2468, allocations: 9.308 MB / 0.6886 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005543/0.2523, allocations: 2.298 MB / 0.6908 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002412/0.2548, allocations: 1.072 MB / 0.6919 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001232/0.2549, allocations: 29.25 kB / 0.6919 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003045/0.2579, allocations: 1.525 MB / 0.6934 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=176): time 4.278e-06/0.2579, allocations: 0 / 0.6934 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of matching and sorting (n=176): time 0.01045/0.2684, allocations: 3.936 MB / 0.6972 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000316/0.2687, allocations: 0.5101 MB / 0.6977 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004711/0.2734, allocations: 2.826 MB / 0.7005 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003576/0.2738, allocations: 65.7 kB / 0.7005 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001372/0.2751, allocations: 1.402 MB / 0.7019 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007188/0.2759, allocations: 0.6081 MB / 0.7025 GB, free: 10 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006627/0.2765, allocations: 355.5 kB / 0.7028 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.2767, allocations: 301.1 kB / 0.7031 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002376/0.279, allocations: 1.053 MB / 0.7042 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003031/0.2821, allocations: 1.957 MB / 0.7061 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0172/0.2993, allocations: 5.571 MB / 0.7115 GB, free: 316 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.449e-05/0.2993, allocations: 4 kB / 0.7115 GB, free: 312 kB / 0.5294 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.008406/0.3077, allocations: 3.241 MB / 0.7147 GB, free: 13.04 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.037e-05/0.3077, allocations: 33.7 kB / 0.7147 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.066e-05/0.3078, allocations: 12 kB / 0.7147 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005051/0.3083, allocations: 316.9 kB / 0.715 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002546/0.3108, allocations: 491.2 kB / 0.7155 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.361e-05/0.3109, allocations: 23.92 kB / 0.7155 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002252/0.3131, allocations: 334.3 kB / 0.7158 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/0.3133, allocations: 75.98 kB / 0.7159 GB, free: 11.77 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.003492/0.3168, allocations: 1.612 MB / 0.7175 GB, free: 10.16 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002919/0.3197, allocations: 1.91 MB / 0.7193 GB, free: 7.965 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01699/0.3367, allocations: 5.415 MB / 0.7246 GB, free: 2.387 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.162e-05/0.3367, allocations: 7.984 kB / 0.7246 GB, free: 2.379 MB / 0.545 GB Notification: Performance of matching and sorting (n=243) (initialization_lambda0): time 0.00769/0.3444, allocations: 3.135 MB / 0.7277 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.162e-05/0.3444, allocations: 33.7 kB / 0.7277 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/0.3444, allocations: 12 kB / 0.7277 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004679/0.3449, allocations: 321.5 kB / 0.728 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002359/0.3473, allocations: 479.3 kB / 0.7285 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.541e-05/0.3473, allocations: 23.94 kB / 0.7285 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002593/0.3499, allocations: 286.9 kB / 0.7288 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001686/0.3501, allocations: 68 kB / 0.7289 GB, free: 14.01 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.0009556/0.351, allocations: 453.1 kB / 0.7293 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000854/0.3519, allocations: 333.8 kB / 0.7296 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007678/0.3595, allocations: 3.025 MB / 0.7326 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/0.3596, allocations: 16 kB / 0.7326 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.3596, allocations: 4 kB / 0.7326 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.881e-05/0.3596, allocations: 7.969 kB / 0.7326 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01239/0.372, allocations: 5.936 MB / 0.7384 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.966e-06/0.372, allocations: 7.938 kB / 0.7384 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002549/0.3745, allocations: 427.4 kB / 0.7388 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004743/0.375, allocations: 300.7 kB / 0.7391 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001547/0.3752, allocations: 43.98 kB / 0.7391 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.476e-06/0.3752, allocations: 8 kB / 0.7391 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3752, allocations: 0 / 0.7391 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01011/0.3853, allocations: 4.571 MB / 0.7436 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001709/0.387, allocations: 0.6303 MB / 0.7442 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004087/0.3874, allocations: 47.98 kB / 0.7443 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001632/0.389, allocations: 191.7 kB / 0.7445 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003419/0.3894, allocations: 157.7 kB / 0.7446 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001426/0.3895, allocations: 51.98 kB / 0.7447 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003144/0.3927, allocations: 1.916 MB / 0.7465 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.3927, allocations: 0 / 0.7465 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002651/0.3953, allocations: 1.009 MB / 0.7475 GB, free: 10.77 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.01174/0.4071, allocations: 5.516 MB / 0.7529 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009017/0.4161, allocations: 3.981 MB / 0.7568 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.4161, allocations: 0 / 0.7568 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003005/0.4191, allocations: 1.345 MB / 0.7581 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002725/0.4218, allocations: 0.5112 MB / 0.7586 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05226/0.4741, allocations: 25.74 MB / 0.7837 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001426/0.4755, allocations: 1.224 MB / 0.7849 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001763/0.4773, allocations: 374.1 kB / 0.7853 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00196/0.4792, allocations: 1.272 MB / 0.7865 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of SimCode: time 1.052e-06/0.4792, allocations: 0 / 0.7865 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4042/0.8834, allocations: 66.53 MB / 0.8515 GB, free: 100.1 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.61/18.49, allocations: 3.938 kB / 0.8515 GB, free: 100.1 MB / 0.6075 GB " [Timeout remaining time 641] (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: 22.919062396977097] Failed to read output from testmodel.py, exit status != 0: 19.012034324929118 18.78315217 18.582145194 Calling exit ...