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.001895/0.001895, allocations: 121 kB / 17.86 MB, free: 5.219 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.002353/0.002353, allocations: 205.3 kB / 20.81 MB, free: 2.277 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.67/1.67, allocations: 207.6 MB / 231.2 MB, free: 4.102 MB / 174.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.8267/0.8267, allocations: 104 MB / 387.1 MB, free: 13.93 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.00362/0.00362, allocations: 79.89 kB / 0.5466 GB, free: 10.8 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1783, allocations: 75.93 MB / 0.6208 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESScbCurrentSource): time 0.01488/0.1932, allocations: 12.26 MB / 0.6327 GB, free: 2.441 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3499/0.5432, allocations: 6.237 MB / 0.6388 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003698/0.5468, allocations: 88.91 kB / 0.6389 GB, free: 13.48 MB / 494.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.002624/0.5495, allocations: 0.7242 MB / 0.6396 GB, free: 13.46 MB / 494.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.004187/0.5537, allocations: 0.9268 MB / 0.6405 GB, free: 13.25 MB / 494.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.007462/0.5611, allocations: 2.811 MB / 0.6433 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.007302/0.5684, allocations: 4.35 MB / 0.6475 GB, free: 11.48 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002442/0.5709, allocations: 1.095 MB / 0.6486 GB, free: 10.76 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002854/0.5737, allocations: 1.602 MB / 0.6501 GB, free: 9.844 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002782/0.5765, allocations: 1.668 MB / 0.6518 GB, free: 8.887 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001478/0.578, allocations: 469.5 kB / 0.6522 GB, free: 8.887 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002144/0.5801, allocations: 0.6734 MB / 0.6529 GB, free: 8.824 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000996/0.5811, allocations: 0.9529 MB / 0.6538 GB, free: 8.156 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002091/0.5832, allocations: 1.827 MB / 0.6556 GB, free: 6.762 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008484/0.5917, allocations: 5.673 MB / 0.6611 GB, free: 3.984 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.5917, allocations: 2.781 kB / 0.6611 GB, free: 3.984 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.5917, allocations: 0.5 kB / 0.6611 GB, free: 3.984 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001894/0.5919, allocations: 0 / 0.6611 GB, free: 3.984 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.01324/0.6051, allocations: 4.473 MB / 0.6655 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.6052, allocations: 8.656 kB / 0.6655 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.125e-05/0.6053, allocations: 56 kB / 0.6656 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004016/0.6057, allocations: 319.9 kB / 0.6659 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004595/0.6103, allocations: 0.8828 MB / 0.6667 GB, free: 184 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00504/0.6153, allocations: 2.435 MB / 0.6691 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005824/0.6159, allocations: 0.5622 MB / 0.6697 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004506/0.6163, allocations: 221 kB / 0.6699 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00686/0.6232, allocations: 2.925 MB / 0.6727 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.472e-05/0.6232, allocations: 5.266 kB / 0.6727 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002636/0.6235, allocations: 97.06 kB / 0.6728 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.113e-05/0.6236, allocations: 57.47 kB / 0.6729 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006459/0.63, allocations: 2.442 MB / 0.6753 GB, free: 10.45 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.01965/0.6497, allocations: 11.25 MB / 0.6863 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006106/0.6558, allocations: 2.344 MB / 0.6885 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002491/0.6583, allocations: 1.044 MB / 0.6896 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001438/0.6584, allocations: 34.66 kB / 0.6896 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002975/0.6614, allocations: 1.42 MB / 0.691 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=176): time 4.308e-06/0.6614, allocations: 0 / 0.691 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of matching and sorting (n=176): time 0.01145/0.6728, allocations: 3.938 MB / 0.6948 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003365/0.6732, allocations: 0.5097 MB / 0.6953 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005464/0.6786, allocations: 2.834 MB / 0.6981 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004697/0.6791, allocations: 65.7 kB / 0.6982 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001554/0.6807, allocations: 1.4 MB / 0.6995 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009175/0.6816, allocations: 0.6124 MB / 0.7001 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006902/0.6823, allocations: 343.5 kB / 0.7004 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.6824, allocations: 301.1 kB / 0.7007 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002604/0.685, allocations: 1.028 MB / 0.7017 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003089/0.6881, allocations: 1.53 MB / 0.7032 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01822/0.7063, allocations: 5.554 MB / 0.7087 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.351e-05/0.7063, allocations: 4 kB / 0.7087 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.008738/0.7151, allocations: 3.208 MB / 0.7118 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.848e-05/0.7151, allocations: 45.73 kB / 0.7118 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/0.7152, allocations: 8 kB / 0.7118 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005303/0.7157, allocations: 316.7 kB / 0.7121 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002612/0.7183, allocations: 491.3 kB / 0.7126 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.921e-05/0.7183, allocations: 31.86 kB / 0.7126 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002787/0.7211, allocations: 326.4 kB / 0.713 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002042/0.7213, allocations: 79.92 kB / 0.713 GB, free: 8.98 MB / 0.5294 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.003917/0.7252, allocations: 1.58 MB / 0.7146 GB, free: 7.41 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002864/0.7281, allocations: 1.469 MB / 0.716 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01752/0.7456, allocations: 5.413 MB / 0.7213 GB, free: 192 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.075e-05/0.7456, allocations: 4 kB / 0.7213 GB, free: 188 kB / 0.5294 GB Notification: Performance of matching and sorting (n=243) (initialization_lambda0): time 0.008485/0.7541, allocations: 3.102 MB / 0.7243 GB, free: 13.06 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.742e-05/0.7542, allocations: 37.7 kB / 0.7244 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.7542, allocations: 12 kB / 0.7244 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005123/0.7547, allocations: 321.4 kB / 0.7247 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002479/0.7572, allocations: 475.3 kB / 0.7251 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.832e-05/0.7572, allocations: 23.94 kB / 0.7252 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002868/0.7601, allocations: 286.9 kB / 0.7254 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001836/0.7603, allocations: 68 kB / 0.7255 GB, free: 11.86 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: 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.0008912/0.7612, allocations: 465.1 kB / 0.7259 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007804/0.7619, allocations: 333.9 kB / 0.7263 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007935/0.7699, allocations: 2.985 MB / 0.7292 GB, free: 8.062 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/0.7699, allocations: 16 kB / 0.7292 GB, free: 8.047 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.7699, allocations: 0 / 0.7292 GB, free: 8.047 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.351e-05/0.7699, allocations: 15.95 kB / 0.7292 GB, free: 8.031 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01396/0.7839, allocations: 6.595 MB / 0.7356 GB, free: 1.414 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.7839, allocations: 0 / 0.7356 GB, free: 1.414 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002603/0.7865, allocations: 419.5 kB / 0.736 GB, free: 1.004 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004961/0.787, allocations: 308.6 kB / 0.7363 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001676/0.7872, allocations: 47.98 kB / 0.7364 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.368e-06/0.7872, allocations: 4 kB / 0.7364 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.7872, allocations: 4 kB / 0.7364 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01099/0.7982, allocations: 4.505 MB / 0.7408 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001785/0.7999, allocations: 0.7017 MB / 0.7415 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004241/0.8004, allocations: 51.98 kB / 0.7415 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001806/0.8022, allocations: 187.8 kB / 0.7417 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000366/0.8025, allocations: 141.7 kB / 0.7418 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001447/0.8027, allocations: 59.97 kB / 0.7419 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003244/0.8059, allocations: 1.916 MB / 0.7438 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8059, allocations: 0 / 0.7438 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002756/0.8087, allocations: 1.009 MB / 0.7448 GB, free: 8.031 MB / 0.5606 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.0122/0.8209, allocations: 5.414 MB / 0.75 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009592/0.8305, allocations: 4.045 MB / 0.754 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/0.8305, allocations: 0 / 0.754 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003108/0.8336, allocations: 1.384 MB / 0.7553 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002987/0.8366, allocations: 0.5154 MB / 0.7558 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05713/0.8937, allocations: 25.6 MB / 0.7809 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001587/0.8953, allocations: 1.774 MB / 0.7826 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001789/0.8971, allocations: 378.1 kB / 0.7829 GB, free: 376 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002016/0.8991, allocations: 1.277 MB / 0.7842 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of SimCode: time 1.153e-06/0.8991, allocations: 0 / 0.7842 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1285/1.028, allocations: 63.96 MB / 0.8467 GB, free: 15.37 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.08/17.11, allocations: 4.062 kB / 0.8467 GB, free: 15.37 MB / 0.67 GB " [Timeout remaining time 643] (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: 21.615880045981612] Failed to read output from testmodel.py, exit status != 0: 17.346876796043944 17.367674587 16.771611115 Calling exit ...