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.001303/0.001303, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.001464/0.001464, allocations: 212.3 kB / 23.01 MB, free: 4.992 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 / 233.9 MB, free: 9.801 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.8261/0.8261, allocations: 103.8 MB / 389.9 MB, free: 21.16 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.002458/0.002458, allocations: 70.38 kB / 0.5517 GB, free: 58.5 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1292, allocations: 76 MB / 0.6259 GB, free: 9.074 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESScbCurrentSource): time 0.01153/0.1407, allocations: 10.55 MB / 0.6362 GB, free: 14.46 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01232/0.153, allocations: 6.024 MB / 0.6421 GB, free: 8.418 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003365/0.1564, allocations: 87.31 kB / 0.6421 GB, free: 8.332 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.002794/0.1592, allocations: 0.7244 MB / 0.6428 GB, free: 7.605 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.004278/0.1635, allocations: 0.9351 MB / 0.6438 GB, free: 6.664 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007109/0.1706, allocations: 2.791 MB / 0.6465 GB, free: 3.891 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.007184/0.1778, allocations: 4.384 MB / 0.6508 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003161/0.1809, allocations: 1.029 MB / 0.6518 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003229/0.1841, allocations: 1.607 MB / 0.6533 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002583/0.1867, allocations: 1.496 MB / 0.6548 GB, free: 11.29 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001357/0.1881, allocations: 468 kB / 0.6553 GB, free: 10.83 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001825/0.1899, allocations: 0.664 MB / 0.6559 GB, free: 10.16 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001559/0.1915, allocations: 0.9499 MB / 0.6568 GB, free: 9.211 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002708/0.1942, allocations: 1.395 MB / 0.6582 GB, free: 7.809 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009117/0.2033, allocations: 5.705 MB / 0.6638 GB, free: 2.086 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.2033, allocations: 3.938 kB / 0.6638 GB, free: 2.082 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.113e-06/0.2033, allocations: 8 kB / 0.6638 GB, free: 2.074 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002163/0.2035, allocations: 3.984 kB / 0.6638 GB, free: 2.07 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.0139/0.2174, allocations: 4.387 MB / 0.6681 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.2175, allocations: 8.031 kB / 0.6681 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000965/0.2184, allocations: 316.1 kB / 0.6684 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005143/0.2236, allocations: 0.8924 MB / 0.6692 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006251/0.2298, allocations: 2.357 MB / 0.6715 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008306/0.2307, allocations: 0.7962 MB / 0.6723 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008516/0.2315, allocations: 215.9 kB / 0.6725 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008877/0.2404, allocations: 3.437 MB / 0.6759 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.202e-05/0.2405, allocations: 7.938 kB / 0.6759 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005881/0.241, allocations: 99.98 kB / 0.676 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.419e-05/0.2411, allocations: 52 kB / 0.676 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006945/0.248, allocations: 2.465 MB / 0.6784 GB, free: 2.414 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.01953/0.2676, allocations: 9.296 MB / 0.6875 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006296/0.2739, allocations: 2.294 MB / 0.6898 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002744/0.2766, allocations: 1.072 MB / 0.6908 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001683/0.2768, allocations: 25.3 kB / 0.6908 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003475/0.2803, allocations: 1.525 MB / 0.6923 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=176): time 4.959e-06/0.2803, allocations: 4 kB / 0.6923 GB, free: 3.918 MB / 0.5137 GB Notification: Performance of matching and sorting (n=176): time 0.0114/0.2917, allocations: 3.924 MB / 0.6962 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003242/0.292, allocations: 0.5139 MB / 0.6967 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006058/0.298, allocations: 2.837 MB / 0.6994 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005147/0.2986, allocations: 65.7 kB / 0.6995 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001856/0.3004, allocations: 1.402 MB / 0.7009 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001189/0.3016, allocations: 0.6081 MB / 0.7015 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001233/0.3028, allocations: 343.5 kB / 0.7018 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.303, allocations: 305.1 kB / 0.7021 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002799/0.3058, allocations: 1.061 MB / 0.7031 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003718/0.3095, allocations: 1.961 MB / 0.705 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01883/0.3283, allocations: 5.563 MB / 0.7105 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.747e-05/0.3283, allocations: 0 / 0.7105 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.009306/0.3376, allocations: 3.24 MB / 0.7136 GB, free: 13.45 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.961e-05/0.3377, allocations: 38.61 kB / 0.7137 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.165e-05/0.3377, allocations: 8 kB / 0.7137 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000526/0.3383, allocations: 324.7 kB / 0.714 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002601/0.3409, allocations: 499.2 kB / 0.7144 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.915e-05/0.3409, allocations: 27.86 kB / 0.7145 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002372/0.3433, allocations: 322.4 kB / 0.7148 GB, free: 12.24 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002331/0.3435, allocations: 79.92 kB / 0.7149 GB, free: 12.16 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.003777/0.3473, allocations: 1.608 MB / 0.7164 GB, free: 10.55 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003113/0.3504, allocations: 1.894 MB / 0.7183 GB, free: 8.375 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01715/0.3675, allocations: 5.426 MB / 0.7236 GB, free: 2.785 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.041e-05/0.3676, allocations: 0 / 0.7236 GB, free: 2.785 MB / 0.545 GB Notification: Performance of matching and sorting (n=243) (initialization_lambda0): time 0.008319/0.3759, allocations: 3.139 MB / 0.7266 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.752e-05/0.3759, allocations: 37.7 kB / 0.7267 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.3759, allocations: 8 kB / 0.7267 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004947/0.3764, allocations: 325 kB / 0.727 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002466/0.3789, allocations: 479.3 kB / 0.7275 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-05/0.3789, allocations: 19.94 kB / 0.7275 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002434/0.3814, allocations: 290.9 kB / 0.7278 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002205/0.3816, allocations: 72 kB / 0.7278 GB, free: 14.41 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.001008/0.3826, allocations: 448.8 kB / 0.7282 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001048/0.3837, allocations: 329.9 kB / 0.7286 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00822/0.3919, allocations: 3.017 MB / 0.7315 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.755e-05/0.3919, allocations: 23.94 kB / 0.7315 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.484e-05/0.3919, allocations: 0 / 0.7315 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.035e-05/0.3919, allocations: 7.969 kB / 0.7315 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01386/0.4058, allocations: 5.948 MB / 0.7373 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.4058, allocations: 0 / 0.7373 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00263/0.4084, allocations: 415.5 kB / 0.7377 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004868/0.4089, allocations: 312.6 kB / 0.738 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001998/0.4091, allocations: 47.98 kB / 0.7381 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.799e-05/0.4091, allocations: 11.94 kB / 0.7381 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4091, allocations: 0 / 0.7381 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0108/0.4199, allocations: 4.567 MB / 0.7426 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001698/0.4216, allocations: 0.6303 MB / 0.7432 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006316/0.4223, allocations: 44 kB / 0.7432 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001929/0.4242, allocations: 187.8 kB / 0.7434 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003499/0.4245, allocations: 149.7 kB / 0.7435 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001512/0.4247, allocations: 59.97 kB / 0.7436 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003635/0.4283, allocations: 1.904 MB / 0.7455 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4283, allocations: 0 / 0.7455 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003235/0.4316, allocations: 1.009 MB / 0.7464 GB, free: 11.18 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.0125/0.4441, allocations: 5.518 MB / 0.7518 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009428/0.4535, allocations: 3.982 MB / 0.7557 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.4535, allocations: 4 kB / 0.7557 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003122/0.4566, allocations: 1.349 MB / 0.757 GB, free: 380 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002718/0.4593, allocations: 0.5042 MB / 0.7575 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05553/0.5149, allocations: 25.66 MB / 0.7826 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001744/0.5166, allocations: 1.224 MB / 0.7838 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001882/0.5185, allocations: 374.1 kB / 0.7841 GB, free: 4 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002093/0.5206, allocations: 1.272 MB / 0.7854 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of SimCode: time 7.31e-07/0.5206, allocations: 0 / 0.7854 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3538/0.8743, allocations: 68.98 MB / 0.8528 GB, free: 98.06 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.89/15.76, allocations: 4 kB / 0.8528 GB, free: 98.05 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 & python3 -m fmpy simulate --output-file Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 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: 19.627268616110086] Failed to read output from testmodel.py, exit status != 0: 16.182661468628794 15.985311021 15.778331184 Calling exit ...