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.001584/0.001584, 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.001671/0.001671, allocations: 214.5 kB / 23.02 MB, free: 5.023 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.352/1.352, allocations: 207.6 MB / 233.8 MB, free: 9.996 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.7439/0.7439, allocations: 103.9 MB / 390 MB, free: 20.42 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: translateModel(Dynawo.Examples.BESS.WECC.BESScbCurrentSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource") translateModel(Dynawo.Examples.BESS.WECC.BESScbCurrentSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource") [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.002249/0.002249, allocations: 69.83 kB / 0.5523 GB, free: 58.21 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1077, allocations: 75.99 MB / 0.6265 GB, free: 9.012 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESScbCurrentSource): time 0.01136/0.119, allocations: 12.3 MB / 0.6385 GB, free: 12.63 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01121/0.1302, allocations: 6.269 MB / 0.6446 GB, free: 6.348 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002602/0.1328, allocations: 95.25 kB / 0.6447 GB, free: 6.254 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.002162/0.135, allocations: 0.7248 MB / 0.6454 GB, free: 5.523 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.002951/0.1379, allocations: 0.9196 MB / 0.6463 GB, free: 4.602 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.005706/0.1437, allocations: 2.854 MB / 0.6491 GB, free: 1.762 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006049/0.1497, allocations: 4.38 MB / 0.6534 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002031/0.1517, allocations: 1.094 MB / 0.6544 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002257/0.154, allocations: 1.615 MB / 0.656 GB, free: 10.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001944/0.1559, allocations: 1.668 MB / 0.6576 GB, free: 8.914 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006775/0.1566, allocations: 468 kB / 0.6581 GB, free: 8.457 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.1577, allocations: 0.6718 MB / 0.6588 GB, free: 7.785 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008327/0.1585, allocations: 0.95 MB / 0.6597 GB, free: 6.832 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0018/0.1603, allocations: 1.838 MB / 0.6615 GB, free: 4.984 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006701/0.167, allocations: 5.674 MB / 0.667 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.167, allocations: 0 / 0.667 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.634e-06/0.167, allocations: 0 / 0.667 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.528e-05/0.1671, allocations: 0 / 0.667 GB, free: 15.29 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.01036/0.1775, allocations: 4.403 MB / 0.6713 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.1775, allocations: 12.03 kB / 0.6713 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004152/0.1816, allocations: 0.8885 MB / 0.6722 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004191/0.1858, allocations: 2.345 MB / 0.6745 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006401/0.1865, allocations: 0.8003 MB / 0.6753 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003871/0.1869, allocations: 216 kB / 0.6755 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005644/0.1925, allocations: 2.918 MB / 0.6783 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.566e-05/0.1925, allocations: 7.938 kB / 0.6783 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000225/0.1928, allocations: 95.98 kB / 0.6784 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-05/0.1928, allocations: 52 kB / 0.6785 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005762/0.1986, allocations: 2.444 MB / 0.6809 GB, free: 0.6289 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.01659/0.2152, allocations: 11.16 MB / 0.6918 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0057/0.2209, allocations: 2.267 MB / 0.694 GB, free: 2.789 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002347/0.2232, allocations: 1.043 MB / 0.695 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001362/0.2234, allocations: 33.28 kB / 0.695 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002912/0.2263, allocations: 1.413 MB / 0.6964 GB, free: 276 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=176): time 3.877e-06/0.2263, allocations: 0 / 0.6964 GB, free: 276 kB / 0.5137 GB Notification: Performance of matching and sorting (n=176): time 0.01056/0.2368, allocations: 3.866 MB / 0.7002 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002894/0.2371, allocations: 0.5178 MB / 0.7007 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004353/0.2415, allocations: 2.822 MB / 0.7034 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000278/0.2418, allocations: 69.69 kB / 0.7035 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001405/0.2432, allocations: 1.402 MB / 0.7049 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007148/0.2439, allocations: 0.6042 MB / 0.7055 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006469/0.2445, allocations: 355.4 kB / 0.7058 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.2447, allocations: 301.1 kB / 0.7061 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002417/0.2471, allocations: 1.024 MB / 0.7071 GB, free: 5.152 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002897/0.25, allocations: 1.522 MB / 0.7086 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01751/0.2675, allocations: 5.567 MB / 0.714 GB, free: 13.72 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/0.2675, allocations: 0 / 0.714 GB, free: 13.72 MB / 0.545 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.008122/0.2756, allocations: 3.203 MB / 0.7171 GB, free: 10.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.458e-05/0.2757, allocations: 37.69 kB / 0.7172 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/0.2757, allocations: 16.78 kB / 0.7172 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005193/0.2762, allocations: 316.7 kB / 0.7175 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00252/0.2787, allocations: 0.4914 MB / 0.718 GB, free: 9.633 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.249e-05/0.2788, allocations: 23.94 kB / 0.718 GB, free: 9.609 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002186/0.2809, allocations: 326.4 kB / 0.7183 GB, free: 9.289 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001747/0.2811, allocations: 71.98 kB / 0.7184 GB, free: 9.219 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.003484/0.2846, allocations: 1.587 MB / 0.7199 GB, free: 7.641 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002727/0.2873, allocations: 1.471 MB / 0.7214 GB, free: 5.988 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01682/0.3042, allocations: 5.407 MB / 0.7266 GB, free: 428 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.534e-06/0.3042, allocations: 0 / 0.7266 GB, free: 428 kB / 0.545 GB Notification: Performance of matching and sorting (n=243) (initialization_lambda0): time 0.007648/0.3118, allocations: 3.106 MB / 0.7297 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.435e-05/0.3119, allocations: 37.7 kB / 0.7297 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.3119, allocations: 8 kB / 0.7297 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000474/0.3123, allocations: 317 kB / 0.73 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002337/0.3147, allocations: 475.3 kB / 0.7305 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.677e-05/0.3147, allocations: 27.92 kB / 0.7305 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0021/0.3168, allocations: 282.9 kB / 0.7308 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001565/0.317, allocations: 79.98 kB / 0.7309 GB, free: 12.08 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.0007508/0.3177, allocations: 451.4 kB / 0.7313 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000574/0.3183, allocations: 333.8 kB / 0.7316 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00745/0.3257, allocations: 2.985 MB / 0.7345 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/0.3257, allocations: 16 kB / 0.7345 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.3258, allocations: 8 kB / 0.7345 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.008e-05/0.3258, allocations: 7.969 kB / 0.7345 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01275/0.3385, allocations: 6.569 MB / 0.741 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.3385, allocations: 0 / 0.741 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002509/0.341, allocations: 427.5 kB / 0.7414 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004722/0.3415, allocations: 300.7 kB / 0.7417 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001636/0.3417, allocations: 43.98 kB / 0.7417 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.039e-05/0.3417, allocations: 15.98 kB / 0.7417 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3417, allocations: 0 / 0.7417 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01019/0.3519, allocations: 4.501 MB / 0.7461 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001514/0.3534, allocations: 0.6225 MB / 0.7467 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004062/0.3538, allocations: 55.97 kB / 0.7468 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001651/0.3554, allocations: 191.8 kB / 0.747 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003271/0.3558, allocations: 145.7 kB / 0.7471 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001392/0.3559, allocations: 59.97 kB / 0.7471 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003028/0.3589, allocations: 1.912 MB / 0.749 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3589, allocations: 0 / 0.749 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002532/0.3615, allocations: 1.009 MB / 0.75 GB, free: 8.344 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.001631/0.3631, allocations: 467.4 kB / 0.7504 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008933/0.372, allocations: 3.887 MB / 0.7542 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.372, allocations: 0 / 0.7542 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002942/0.375, allocations: 1.305 MB / 0.7555 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00238/0.3774, allocations: 0.519 MB / 0.756 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/0.3884, allocations: 5.683 MB / 0.7616 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001536/0.3899, allocations: 1.774 MB / 0.7633 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001627/0.3915, allocations: 374.1 kB / 0.7637 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006618/0.3922, allocations: 183.4 kB / 0.7638 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of SimCode: time 8.02e-07/0.3922, allocations: 0 / 0.7638 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of Templates: time 0.3049/0.6971, allocations: 35.55 MB / 0.7986 GB, free: 147 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.makefile [Timeout 660] (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 & ./Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.958059214986861] Failed to read output from testmodel.py, exit status != 0: 0.8983287550508976 0.715337297 0.5459496660000001 Calling exit ...