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.001323/0.001323, allocations: 105 kB / 20.5 MB, free: 1.465 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.001655/0.001655, allocations: 215.5 kB / 23.82 MB, free: 4.688 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.455/1.455, allocations: 207.6 MB / 234.6 MB, free: 10 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.7569/0.7569, allocations: 103.9 MB / 390.8 MB, free: 20.33 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.002099/0.002099, allocations: 82.09 kB / 0.5526 GB, free: 58.29 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1169, allocations: 75.99 MB / 0.6268 GB, free: 9.496 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESScbCurrentSource): time 0.01139/0.1282, allocations: 12.3 MB / 0.6388 GB, free: 13.12 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01193/0.1402, allocations: 6.277 MB / 0.6449 GB, free: 6.828 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002479/0.1427, allocations: 91.31 kB / 0.645 GB, free: 6.738 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.001988/0.1446, allocations: 0.7132 MB / 0.6457 GB, free: 6.02 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.002882/0.1475, allocations: 0.9196 MB / 0.6466 GB, free: 5.094 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Examples/BESS/WECC/BESScbCurrentSource.mo:39:3-39:38:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Examples/BESS/WECC/BESScbCurrentSource.mo:41:3-41:49:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Examples/BESS/WECC/BESScbCurrentSource.mo:42:3-42:49:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/BESS/WECC/BaseClasses/BaseBESScbCurrentSource.mo:108:3-108:64:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:40:5-44:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:40:5-44:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:40:5-44:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.005442/0.153, allocations: 2.854 MB / 0.6494 GB, free: 2.254 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006025/0.159, allocations: 4.384 MB / 0.6537 GB, free: 13.87 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001948/0.1609, allocations: 1.097 MB / 0.6547 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002194/0.1631, allocations: 1.603 MB / 0.6563 GB, free: 11.09 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001936/0.1651, allocations: 1.675 MB / 0.6579 GB, free: 9.41 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000618/0.1657, allocations: 468 kB / 0.6584 GB, free: 8.953 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.1667, allocations: 0.6717 MB / 0.659 GB, free: 8.281 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008083/0.1675, allocations: 0.9539 MB / 0.66 GB, free: 7.324 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001622/0.1692, allocations: 1.834 MB / 0.6618 GB, free: 5.48 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006291/0.1755, allocations: 5.676 MB / 0.6673 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.026e-05/0.1755, allocations: 4 kB / 0.6673 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1755, allocations: 0 / 0.6673 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001098/0.1756, allocations: 0 / 0.6673 GB, free: 15.78 MB / 0.4981 GB 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.01096/0.1865, allocations: 4.391 MB / 0.6716 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.1866, allocations: 8.031 kB / 0.6716 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.739e-05/0.1867, allocations: 64.41 kB / 0.6717 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004252/0.1871, allocations: 316.1 kB / 0.672 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004324/0.1914, allocations: 0.8846 MB / 0.6728 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004367/0.1958, allocations: 2.357 MB / 0.6751 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006493/0.1964, allocations: 0.7846 MB / 0.6759 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004009/0.1968, allocations: 220 kB / 0.6761 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005734/0.2026, allocations: 2.923 MB / 0.679 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.541e-05/0.2026, allocations: 3.938 kB / 0.679 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000226/0.2028, allocations: 92 kB / 0.6791 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.692e-05/0.2029, allocations: 56 kB / 0.6791 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005743/0.2086, allocations: 2.444 MB / 0.6815 GB, free: 0.75 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.01672/0.2253, allocations: 11.16 MB / 0.6924 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005878/0.2312, allocations: 2.267 MB / 0.6946 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002437/0.2337, allocations: 1.047 MB / 0.6956 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001166/0.2338, allocations: 33.2 kB / 0.6957 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002979/0.2367, allocations: 1.413 MB / 0.697 GB, free: 396 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=176): time 3.637e-06/0.2368, allocations: 0 / 0.697 GB, free: 396 kB / 0.5137 GB Notification: Performance of matching and sorting (n=176): time 0.01084/0.2476, allocations: 3.866 MB / 0.7008 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002978/0.2479, allocations: 0.51 MB / 0.7013 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004572/0.2525, allocations: 2.834 MB / 0.7041 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004402/0.2529, allocations: 65.7 kB / 0.7042 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001588/0.2545, allocations: 1.394 MB / 0.7055 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009194/0.2554, allocations: 0.612 MB / 0.7061 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007078/0.2561, allocations: 351.4 kB / 0.7064 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.2563, allocations: 301.1 kB / 0.7067 GB, free: 6.301 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002585/0.2589, allocations: 1.024 MB / 0.7077 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003008/0.2619, allocations: 1.53 MB / 0.7092 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01777/0.2796, allocations: 5.551 MB / 0.7146 GB, free: 13.85 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-05/0.2796, allocations: 4 kB / 0.7147 GB, free: 13.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.008155/0.2878, allocations: 3.212 MB / 0.7178 GB, free: 10.61 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.009e-05/0.2879, allocations: 37.7 kB / 0.7178 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/0.2879, allocations: 8 kB / 0.7178 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004934/0.2884, allocations: 316.8 kB / 0.7181 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002473/0.2908, allocations: 0.4914 MB / 0.7186 GB, free: 9.758 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.699e-05/0.2909, allocations: 27.92 kB / 0.7186 GB, free: 9.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002191/0.2931, allocations: 326.3 kB / 0.719 GB, free: 9.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000164/0.2932, allocations: 75.98 kB / 0.719 GB, free: 9.336 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.003498/0.2967, allocations: 1.582 MB / 0.7206 GB, free: 7.762 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002701/0.2994, allocations: 1.464 MB / 0.722 GB, free: 6.117 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01714/0.3166, allocations: 5.411 MB / 0.7273 GB, free: 0.543 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.345e-05/0.3166, allocations: 4 kB / 0.7273 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of matching and sorting (n=243) (initialization_lambda0): time 0.008863/0.3254, allocations: 3.106 MB / 0.7303 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.116e-05/0.3255, allocations: 41.69 kB / 0.7304 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/0.3255, allocations: 12 kB / 0.7304 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000494/0.326, allocations: 317.2 kB / 0.7307 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00242/0.3284, allocations: 475.3 kB / 0.7311 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.456e-05/0.3285, allocations: 23.92 kB / 0.7311 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002369/0.3309, allocations: 286.9 kB / 0.7314 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002125/0.3311, allocations: 75.98 kB / 0.7315 GB, free: 12.2 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.0009043/0.332, allocations: 444.8 kB / 0.7319 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008834/0.3329, allocations: 337.9 kB / 0.7322 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007782/0.3406, allocations: 2.988 MB / 0.7352 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/0.3407, allocations: 16 kB / 0.7352 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/0.3407, allocations: 0 / 0.7352 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.231e-05/0.3407, allocations: 11.97 kB / 0.7352 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01379/0.3545, allocations: 6.565 MB / 0.7416 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.321e-06/0.3545, allocations: 0 / 0.7416 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002549/0.357, allocations: 423.4 kB / 0.742 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004792/0.3575, allocations: 308.6 kB / 0.7423 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001894/0.3577, allocations: 47.98 kB / 0.7423 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.039e-05/0.3577, allocations: 4 kB / 0.7423 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3577, allocations: 0 / 0.7423 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01095/0.3687, allocations: 4.509 MB / 0.7467 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002106/0.3708, allocations: 0.6303 MB / 0.7474 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007334/0.3715, allocations: 51.98 kB / 0.7474 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002065/0.3736, allocations: 191.7 kB / 0.7476 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003994/0.374, allocations: 145.7 kB / 0.7477 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001772/0.3741, allocations: 55.98 kB / 0.7478 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004349/0.3785, allocations: 1.912 MB / 0.7497 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3785, allocations: 4 kB / 0.7497 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004133/0.3826, allocations: 1.013 MB / 0.7506 GB, free: 8.453 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.01295/0.3956, allocations: 5.423 MB / 0.7559 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01009/0.4057, allocations: 3.879 MB / 0.7597 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/0.4057, allocations: 4 kB / 0.7597 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003431/0.4091, allocations: 1.305 MB / 0.761 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002994/0.4121, allocations: 0.5086 MB / 0.7615 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05746/0.4696, allocations: 25.61 MB / 0.7865 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001632/0.4712, allocations: 1.774 MB / 0.7883 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001937/0.4731, allocations: 370.1 kB / 0.7886 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2893/0.7624, allocations: 1.267 MB / 0.7898 GB, free: 148.4 MB / 0.6075 GB Notification: Performance of SimCode: time 1.172e-06/0.7624, allocations: 0 / 0.7898 GB, free: 148.4 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1022/0.8646, allocations: 65.45 MB / 0.8538 GB, free: 97.09 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.08/17.95, allocations: 15.42 kB / 0.8538 GB, free: 97.08 MB / 0.6075 GB " [Timeout remaining time 642] (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.255817489000037] Failed to read output from testmodel.py, exit status != 0: 18.44762174296193 18.232014496 18.054077497 Calling exit ...