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.0008252/0.0008252, allocations: 72.52 kB / 19.95 MB, free: 4.613 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008391/0.0008391, allocations: 173.2 kB / 23.23 MB, free: 1.328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.834/0.834, allocations: 158.6 MB / 185 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] 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.38/0.38, allocations: 76.91 MB / 314.2 MB, free: 10.73 MB / 298.7 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: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 489.2 MB, free: 28.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.909e-05/3.101e-05, allocations: 5.906 kB / 489.2 MB, free: 28.07 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESScbCurrentSource): time 0.009114/0.009145, allocations: 10.56 MB / 499.8 MB, free: 20.96 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.009237/0.01838, allocations: 6.047 MB / 0.494 GB, free: 16.6 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002682/0.02106, allocations: 91.41 kB / 0.4941 GB, free: 16.56 MB / 442.7 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.001623/0.02269, allocations: 0.7144 MB / 0.4948 GB, free: 16.15 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001959/0.02465, allocations: 0.9502 MB / 0.4957 GB, free: 15.48 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003703/0.02835, allocations: 2.826 MB / 0.4985 GB, free: 13.7 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.004504/0.03285, allocations: 4.381 MB / 0.5027 GB, free: 11.28 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001394/0.03424, allocations: 1.037 MB / 0.5038 GB, free: 10.59 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002466/0.03671, allocations: 1.473 MB / 0.5052 GB, free: 9.77 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001474/0.03818, allocations: 1.24 MB / 0.5064 GB, free: 9.199 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001018/0.0392, allocations: 468.5 kB / 0.5069 GB, free: 9.199 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001149/0.04035, allocations: 0.668 MB / 0.5075 GB, free: 9.137 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004876/0.04084, allocations: 0.9651 MB / 0.5084 GB, free: 8.43 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00111/0.04195, allocations: 1.139 MB / 0.5096 GB, free: 7.703 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005821/0.04777, allocations: 5.83 MB / 0.5153 GB, free: 5.238 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.04778, allocations: 1.734 kB / 0.5153 GB, free: 5.238 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.04778, allocations: 0 / 0.5153 GB, free: 5.238 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001464/0.04792, allocations: 0 / 0.5153 GB, free: 5.238 MB / 442.7 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.007151/0.05507, allocations: 4.345 MB / 0.5195 GB, free: 2.738 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.05512, allocations: 9.781 kB / 0.5195 GB, free: 2.738 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003294/0.05545, allocations: 312.9 kB / 0.5198 GB, free: 2.547 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002504/0.05795, allocations: 0.896 MB / 0.5207 GB, free: 2.258 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002797/0.06075, allocations: 2.358 MB / 0.523 GB, free: 0.6172 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003608/0.06111, allocations: 0.7908 MB / 0.5238 GB, free: 15.8 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002927/0.0614, allocations: 219.9 kB / 0.524 GB, free: 15.72 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004538/0.06594, allocations: 3.428 MB / 0.5273 GB, free: 13.15 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.796e-05/0.06598, allocations: 10.59 kB / 0.5273 GB, free: 13.14 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001804/0.06616, allocations: 100 kB / 0.5274 GB, free: 13.07 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.054e-05/0.06621, allocations: 54.47 kB / 0.5275 GB, free: 13.07 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004019/0.07023, allocations: 2.461 MB / 0.5299 GB, free: 11.8 MB / 458.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01125/0.08148, allocations: 9.286 MB / 0.5389 GB, free: 4.523 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003375/0.08486, allocations: 2.299 MB / 0.5412 GB, free: 3.168 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00134/0.0862, allocations: 1.076 MB / 0.5422 GB, free: 2.086 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.841e-05/0.08628, allocations: 25.31 kB / 0.5423 GB, free: 2.062 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001742/0.08803, allocations: 1.517 MB / 0.5437 GB, free: 500 kB / 458.7 MB Notification: Performance of pre-optimization done (n=176): time 3.326e-06/0.08803, allocations: 0 / 0.5437 GB, free: 500 kB / 458.7 MB Notification: Performance of matching and sorting (n=176): time 0.006068/0.0941, allocations: 3.936 MB / 0.5476 GB, free: 12.52 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002025/0.0943, allocations: 0.5139 MB / 0.5481 GB, free: 11.89 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003137/0.09744, allocations: 2.829 MB / 0.5509 GB, free: 9.059 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001756/0.09761, allocations: 61.7 kB / 0.5509 GB, free: 8.992 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001004/0.09862, allocations: 1.409 MB / 0.5523 GB, free: 7.57 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000509/0.09913, allocations: 0.6003 MB / 0.5529 GB, free: 6.965 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004243/0.09955, allocations: 351.5 kB / 0.5532 GB, free: 6.617 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.736e-05/0.09962, allocations: 305.1 kB / 0.5535 GB, free: 6.316 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00138/0.101, allocations: 1.053 MB / 0.5545 GB, free: 5.254 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001745/0.1027, allocations: 1.957 MB / 0.5564 GB, free: 3.008 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008911/0.1117, allocations: 5.567 MB / 0.5619 GB, free: 13.29 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.1117, allocations: 0 / 0.5619 GB, free: 13.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=243) (initialization): time 0.004672/0.1163, allocations: 3.241 MB / 0.565 GB, free: 10.02 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.574e-05/0.1164, allocations: 39.58 kB / 0.5651 GB, free: 9.977 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.1164, allocations: 8 kB / 0.5651 GB, free: 9.969 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003449/0.1167, allocations: 320.9 kB / 0.5654 GB, free: 9.652 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.1179, allocations: 491.2 kB / 0.5659 GB, free: 9.172 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.268e-05/0.118, allocations: 27.92 kB / 0.5659 GB, free: 9.145 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/0.1192, allocations: 338.3 kB / 0.5662 GB, free: 8.812 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.1193, allocations: 79.92 kB / 0.5663 GB, free: 8.734 MB / 490.7 MB 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.002244/0.1215, allocations: 1.605 MB / 0.5679 GB, free: 7.137 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001667/0.1232, allocations: 1.902 MB / 0.5697 GB, free: 4.941 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00855/0.1317, allocations: 5.415 MB / 0.575 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.355e-06/0.1317, allocations: 7.938 kB / 0.575 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=243) (initialization_lambda0): time 0.004394/0.1361, allocations: 3.131 MB / 0.5781 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.1362, allocations: 41.64 kB / 0.5781 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.1362, allocations: 8 kB / 0.5781 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002969/0.1365, allocations: 325.5 kB / 0.5784 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/0.1378, allocations: 479.3 kB / 0.5789 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.499e-05/0.1378, allocations: 19.94 kB / 0.5789 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/0.1389, allocations: 282.9 kB / 0.5792 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.1391, allocations: 75.98 kB / 0.5792 GB, free: 10.99 MB / 0.4948 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.0005949/0.1396, allocations: 439.1 kB / 0.5797 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003491/0.14, allocations: 337.8 kB / 0.58 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004474/0.1445, allocations: 3.01 MB / 0.5829 GB, free: 7.188 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.1445, allocations: 16 kB / 0.5829 GB, free: 7.172 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.1445, allocations: 11.94 kB / 0.5829 GB, free: 7.16 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-05/0.1445, allocations: 7.969 kB / 0.583 GB, free: 7.152 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007569/0.1521, allocations: 5.944 MB / 0.5888 GB, free: 1.137 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.1521, allocations: 0 / 0.5888 GB, free: 1.137 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001347/0.1534, allocations: 419.5 kB / 0.5892 GB, free: 0.7266 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000288/0.1537, allocations: 300.7 kB / 0.5894 GB, free: 440 kB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.586e-05/0.1538, allocations: 43.98 kB / 0.5895 GB, free: 396 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/0.1538, allocations: 15.94 kB / 0.5895 GB, free: 380 kB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1538, allocations: 0 / 0.5895 GB, free: 380 kB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006025/0.1598, allocations: 4.571 MB / 0.594 GB, free: 11.76 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009187/0.1608, allocations: 0.6302 MB / 0.5946 GB, free: 11.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000251/0.161, allocations: 44 kB / 0.5946 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008732/0.1619, allocations: 187.8 kB / 0.5948 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000251/0.1621, allocations: 149.7 kB / 0.5949 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.261e-05/0.1622, allocations: 59.91 kB / 0.595 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002081/0.1643, allocations: 1.904 MB / 0.5969 GB, free: 8.797 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1643, allocations: 0 / 0.5969 GB, free: 8.797 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00186/0.1662, allocations: 1.009 MB / 0.5978 GB, free: 7.785 MB / 0.5105 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.00695/0.1731, allocations: 5.514 MB / 0.6032 GB, free: 2.398 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005533/0.1787, allocations: 3.985 MB / 0.6071 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.1787, allocations: 4 kB / 0.6071 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001688/0.1804, allocations: 1.338 MB / 0.6084 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001593/0.1819, allocations: 0.5089 MB / 0.6089 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04604/0.228, allocations: 25.93 MB / 0.6343 GB, free: 1.996 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009266/0.2289, allocations: 1.224 MB / 0.6355 GB, free: 0.7344 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001204/0.2301, allocations: 370.1 kB / 0.6358 GB, free: 380 kB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001261/0.2314, allocations: 1.27 MB / 0.637 GB, free: 15.1 MB / 0.5573 GB Notification: Performance of SimCode: time 1.613e-06/0.2314, allocations: 4 kB / 0.637 GB, free: 15.09 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2768/0.5082, allocations: 69.08 MB / 0.7045 GB, free: 171.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/11, allocations: 3.031 kB / 0.7045 GB, free: 171.2 MB / 0.5886 GB " [Timeout remaining time 649] (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: 13.613688432611525] Failed to read output from testmodel.py, exit status != 0: 11.143925739452243 11.158977522 11.108565089 Calling exit ...