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.001544/0.001544, allocations: 114.1 kB / 19.71 MB, free: 2.18 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.001628/0.001628, allocations: 217.5 kB / 23.02 MB, free: 5.027 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.419/1.419, allocations: 207.6 MB / 233.8 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.8303/0.8303, allocations: 103.9 MB / 390 MB, free: 20.38 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.002422/0.002422, allocations: 71.86 kB / 0.5518 GB, free: 58.12 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1118, allocations: 75.99 MB / 0.626 GB, free: 9.465 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESScbCurrentSource): time 0.01254/0.1243, allocations: 12.3 MB / 0.638 GB, free: 13.09 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01254/0.1369, allocations: 6.273 MB / 0.6441 GB, free: 6.801 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003131/0.14, allocations: 87.31 kB / 0.6442 GB, free: 6.715 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.002801/0.1428, allocations: 0.7287 MB / 0.6449 GB, free: 5.98 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.004218/0.147, allocations: 0.9158 MB / 0.6458 GB, free: 5.059 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.006935/0.154, allocations: 2.848 MB / 0.6486 GB, free: 2.227 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006879/0.1608, allocations: 4.38 MB / 0.6529 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00267/0.1635, allocations: 1.097 MB / 0.654 GB, free: 12.67 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00274/0.1663, allocations: 1.611 MB / 0.6555 GB, free: 11.05 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002578/0.1688, allocations: 1.664 MB / 0.6572 GB, free: 9.383 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001197/0.17, allocations: 472 kB / 0.6576 GB, free: 8.922 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001735/0.1718, allocations: 0.6716 MB / 0.6583 GB, free: 8.254 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001628/0.1734, allocations: 0.95 MB / 0.6592 GB, free: 7.301 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003277/0.1767, allocations: 1.838 MB / 0.661 GB, free: 5.453 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008602/0.1853, allocations: 5.68 MB / 0.6665 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1853, allocations: 0 / 0.6665 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.923e-06/0.1853, allocations: 0 / 0.6665 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.000176/0.1855, allocations: 0 / 0.6665 GB, free: 15.75 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.01246/0.1979, allocations: 4.391 MB / 0.6708 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.198, allocations: 12.03 kB / 0.6708 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004401/0.1984, allocations: 316 kB / 0.6711 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004083/0.2025, allocations: 0.8924 MB / 0.672 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00433/0.2068, allocations: 2.349 MB / 0.6743 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006938/0.2075, allocations: 0.7923 MB / 0.6751 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003436/0.2079, allocations: 215.9 kB / 0.6753 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005639/0.2135, allocations: 2.916 MB / 0.6781 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.594e-05/0.2135, allocations: 11.92 kB / 0.6781 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002136/0.2138, allocations: 99.98 kB / 0.6782 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.211e-05/0.2138, allocations: 52 kB / 0.6783 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005697/0.2195, allocations: 2.44 MB / 0.6807 GB, free: 0.7812 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.01666/0.2362, allocations: 11.17 MB / 0.6916 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005436/0.2416, allocations: 2.263 MB / 0.6938 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002278/0.2439, allocations: 1.035 MB / 0.6948 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00013/0.244, allocations: 41.22 kB / 0.6948 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002877/0.2469, allocations: 1.421 MB / 0.6962 GB, free: 420 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=176): time 3.897e-06/0.2469, allocations: 3.938 kB / 0.6962 GB, free: 416 kB / 0.5137 GB Notification: Performance of matching and sorting (n=176): time 0.01045/0.2574, allocations: 3.858 MB / 0.7 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000329/0.2577, allocations: 0.514 MB / 0.7005 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004716/0.2624, allocations: 2.826 MB / 0.7033 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002684/0.2627, allocations: 61.7 kB / 0.7033 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001507/0.2642, allocations: 1.402 MB / 0.7047 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007294/0.2649, allocations: 0.6081 MB / 0.7053 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006307/0.2655, allocations: 355.4 kB / 0.7056 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.2657, allocations: 301.1 kB / 0.7059 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00235/0.268, allocations: 1.028 MB / 0.7069 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003012/0.2711, allocations: 1.518 MB / 0.7084 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01721/0.2883, allocations: 5.567 MB / 0.7138 GB, free: 13.87 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/0.2883, allocations: 0 / 0.7138 GB, free: 13.87 MB / 0.545 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.008206/0.2965, allocations: 3.207 MB / 0.717 GB, free: 10.64 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.002e-05/0.2965, allocations: 41.62 kB / 0.717 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.477e-05/0.2966, allocations: 12 kB / 0.717 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005393/0.2971, allocations: 313.3 kB / 0.7173 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002382/0.2995, allocations: 0.4914 MB / 0.7178 GB, free: 9.781 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.317e-05/0.2995, allocations: 23.94 kB / 0.7178 GB, free: 9.758 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002275/0.3018, allocations: 326.4 kB / 0.7181 GB, free: 9.438 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001597/0.302, allocations: 79.92 kB / 0.7182 GB, free: 9.359 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.003445/0.3054, allocations: 1.576 MB / 0.7197 GB, free: 7.789 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002634/0.308, allocations: 1.471 MB / 0.7212 GB, free: 6.137 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01636/0.3244, allocations: 5.411 MB / 0.7265 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.008e-05/0.3244, allocations: 4 kB / 0.7265 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of matching and sorting (n=243) (initialization_lambda0): time 0.007851/0.3322, allocations: 3.099 MB / 0.7295 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.897e-05/0.3323, allocations: 45.64 kB / 0.7295 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.3323, allocations: 8 kB / 0.7295 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005043/0.3328, allocations: 320.7 kB / 0.7299 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002335/0.3352, allocations: 479.3 kB / 0.7303 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.545e-05/0.3352, allocations: 23.92 kB / 0.7303 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00237/0.3376, allocations: 282.9 kB / 0.7306 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002034/0.3378, allocations: 71.98 kB / 0.7307 GB, free: 12.23 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.0008965/0.3387, allocations: 457.2 kB / 0.7311 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008483/0.3395, allocations: 329.9 kB / 0.7314 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007332/0.3468, allocations: 2.977 MB / 0.7343 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.812e-05/0.3469, allocations: 20 kB / 0.7343 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.3469, allocations: 0 / 0.7343 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.912e-05/0.3469, allocations: 7.969 kB / 0.7344 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01302/0.3599, allocations: 6.573 MB / 0.7408 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/0.3599, allocations: 0 / 0.7408 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002493/0.3624, allocations: 427.5 kB / 0.7412 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005029/0.3629, allocations: 304.7 kB / 0.7415 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001836/0.3631, allocations: 51.97 kB / 0.7415 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.501e-05/0.3631, allocations: 4 kB / 0.7415 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.3631, allocations: 0 / 0.7415 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01045/0.3736, allocations: 4.505 MB / 0.7459 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001742/0.3753, allocations: 0.6303 MB / 0.7465 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006447/0.376, allocations: 44 kB / 0.7466 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001883/0.3778, allocations: 191.8 kB / 0.7468 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003455/0.3782, allocations: 149.7 kB / 0.7469 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001436/0.3783, allocations: 55.97 kB / 0.747 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0039/0.3822, allocations: 1.912 MB / 0.7488 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.3822, allocations: 0 / 0.7488 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003023/0.3853, allocations: 1.009 MB / 0.7498 GB, free: 8.496 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.01184/0.3971, allocations: 5.428 MB / 0.7551 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008899/0.406, allocations: 3.883 MB / 0.7589 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.406, allocations: 0 / 0.7589 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002905/0.4089, allocations: 1.312 MB / 0.7602 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002583/0.4115, allocations: 0.5113 MB / 0.7607 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05377/0.4653, allocations: 25.61 MB / 0.7857 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001735/0.467, allocations: 1.774 MB / 0.7874 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001928/0.4689, allocations: 370.1 kB / 0.7878 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3124/0.7813, allocations: 1.274 MB / 0.789 GB, free: 148.3 MB / 0.6075 GB Notification: Performance of SimCode: time 1.503e-06/0.7813, allocations: 0 / 0.789 GB, free: 148.3 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.154/0.9353, allocations: 65.41 MB / 0.8529 GB, free: 96.9 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.5/18.44, allocations: 5.625 kB / 0.8529 GB, free: 96.9 MB / 0.6075 GB " [Timeout remaining time 641] (rm -f Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.pipe ; mkfifo Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.pipe >> ../files/Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Dynawo_Dynawo_Examples_BESS_WECC_BESScbCurrentSource_fmu --startTime=0 --stopTime=3 --stepSize=0.001 --timeout=50 --tolerance=1e-05 Dynawo_Dynawo_Examples_BESS_WECC_BESScbCurrentSource.fmu > Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.6486382111907] Failed to read output from testmodel.py, exit status != 0: 18.887849112972617 18.645406123 18.457760748 Calling exit ...