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.001385/0.001385, allocations: 112.9 kB / 17.82 MB, free: 5.324 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.001306/0.001306, allocations: 199.3 kB / 20.78 MB, free: 2.379 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.407/1.407, allocations: 207.6 MB / 231.2 MB, free: 4.09 MB / 174.1 MB " [Timeout remaining time 179] 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.7061/0.7061, allocations: 104 MB / 387 MB, free: 13.89 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.002047/0.002047, allocations: 63.91 kB / 0.547 GB, free: 10.28 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1265, allocations: 75.96 MB / 0.6212 GB, free: 14.24 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESScbCurrentSource): time 0.01427/0.1408, allocations: 12.25 MB / 0.6332 GB, free: 1.914 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.2565/0.3973, allocations: 6.235 MB / 0.6393 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002444/0.3998, allocations: 90.55 kB / 0.6394 GB, free: 13.93 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.001663/0.4014, allocations: 0.7345 MB / 0.6401 GB, free: 13.91 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.002579/0.404, allocations: 0.9169 MB / 0.641 GB, free: 13.62 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.00457/0.4086, allocations: 2.809 MB / 0.6437 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004854/0.4134, allocations: 4.354 MB / 0.648 GB, free: 11.47 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001695/0.4151, allocations: 1.094 MB / 0.649 GB, free: 10.75 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00201/0.4171, allocations: 1.598 MB / 0.6506 GB, free: 9.836 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001607/0.4187, allocations: 1.668 MB / 0.6522 GB, free: 8.879 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006398/0.4194, allocations: 477.4 kB / 0.6527 GB, free: 8.875 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/0.4205, allocations: 0.6714 MB / 0.6533 GB, free: 8.812 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006898/0.4212, allocations: 0.9473 MB / 0.6543 GB, free: 8.148 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001262/0.4225, allocations: 1.835 MB / 0.656 GB, free: 6.746 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00573/0.4282, allocations: 5.675 MB / 0.6616 GB, free: 3.922 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4282, allocations: 0.5312 kB / 0.6616 GB, free: 3.922 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4282, allocations: 0 / 0.6616 GB, free: 3.922 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001298/0.4283, allocations: 1.656 kB / 0.6616 GB, free: 3.922 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.01016/0.4385, allocations: 4.469 MB / 0.666 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.4385, allocations: 9.625 kB / 0.666 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00415/0.4427, allocations: 0.8904 MB / 0.6668 GB, free: 384 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004055/0.4467, allocations: 2.424 MB / 0.6692 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004982/0.4472, allocations: 0.5634 MB / 0.6698 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003562/0.4476, allocations: 219.8 kB / 0.67 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006026/0.4536, allocations: 2.929 MB / 0.6728 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.133e-05/0.4537, allocations: 6.875 kB / 0.6728 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002386/0.4539, allocations: 92.19 kB / 0.6729 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.237e-05/0.4539, allocations: 53.69 kB / 0.673 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005678/0.4596, allocations: 2.441 MB / 0.6754 GB, free: 10.66 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.01669/0.4763, allocations: 11.28 MB / 0.6864 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005733/0.482, allocations: 2.339 MB / 0.6887 GB, free: 116 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002613/0.4846, allocations: 1.04 MB / 0.6897 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001373/0.4848, allocations: 30.55 kB / 0.6897 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002814/0.4876, allocations: 1.416 MB / 0.6911 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=176): time 3.677e-06/0.4876, allocations: 4 kB / 0.6911 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of matching and sorting (n=176): time 0.01064/0.4982, allocations: 3.938 MB / 0.6949 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003198/0.4986, allocations: 0.514 MB / 0.6954 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005097/0.5037, allocations: 2.83 MB / 0.6982 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004633/0.5041, allocations: 61.7 kB / 0.6983 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001403/0.5055, allocations: 1.402 MB / 0.6996 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007733/0.5063, allocations: 0.61 MB / 0.7002 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006428/0.5069, allocations: 347.5 kB / 0.7005 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.5071, allocations: 313.1 kB / 0.7008 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002429/0.5095, allocations: 1.02 MB / 0.7018 GB, free: 5 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002881/0.5124, allocations: 1.522 MB / 0.7033 GB, free: 3.297 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01784/0.5302, allocations: 5.561 MB / 0.7088 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.144e-05/0.5302, allocations: 3.938 kB / 0.7088 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.008517/0.5388, allocations: 3.212 MB / 0.7119 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.55e-05/0.5388, allocations: 33.7 kB / 0.7119 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-05/0.5388, allocations: 12 kB / 0.7119 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005168/0.5393, allocations: 317 kB / 0.7122 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00252/0.5419, allocations: 495.2 kB / 0.7127 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.816e-05/0.5419, allocations: 27.92 kB / 0.7127 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002519/0.5444, allocations: 330.4 kB / 0.7131 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001707/0.5446, allocations: 71.98 kB / 0.7131 GB, free: 9.102 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.003615/0.5482, allocations: 1.58 MB / 0.7147 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002781/0.551, allocations: 1.468 MB / 0.7161 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01775/0.5687, allocations: 5.413 MB / 0.7214 GB, free: 312 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.323e-05/0.5688, allocations: 3.984 kB / 0.7214 GB, free: 308 kB / 0.5294 GB Notification: Performance of matching and sorting (n=243) (initialization_lambda0): time 0.008557/0.5773, allocations: 3.103 MB / 0.7244 GB, free: 13.18 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.148e-05/0.5774, allocations: 41.64 kB / 0.7245 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.5774, allocations: 8 kB / 0.7245 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000469/0.5778, allocations: 320.7 kB / 0.7248 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002348/0.5802, allocations: 487.3 kB / 0.7252 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.633e-05/0.5802, allocations: 23.88 kB / 0.7253 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002611/0.5828, allocations: 286.9 kB / 0.7255 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001609/0.583, allocations: 75.98 kB / 0.7256 GB, free: 11.95 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.0008231/0.5838, allocations: 441.5 kB / 0.726 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006518/0.5845, allocations: 337.8 kB / 0.7264 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007657/0.5921, allocations: 2.978 MB / 0.7293 GB, free: 8.184 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.922e-05/0.5921, allocations: 23.94 kB / 0.7293 GB, free: 8.16 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.5922, allocations: 3.984 kB / 0.7293 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.865e-05/0.5922, allocations: 7.969 kB / 0.7293 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01266/0.6048, allocations: 6.593 MB / 0.7357 GB, free: 1.531 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.6048, allocations: 4 kB / 0.7357 GB, free: 1.527 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002529/0.6074, allocations: 419.5 kB / 0.7361 GB, free: 1.117 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004656/0.6078, allocations: 311.8 kB / 0.7364 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001566/0.608, allocations: 47.92 kB / 0.7365 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.398e-06/0.608, allocations: 8 kB / 0.7365 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.608, allocations: 0 / 0.7365 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01031/0.6183, allocations: 4.507 MB / 0.7409 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001507/0.6198, allocations: 0.7056 MB / 0.7416 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003593/0.6202, allocations: 47.98 kB / 0.7416 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001673/0.6219, allocations: 187.8 kB / 0.7418 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003331/0.6222, allocations: 141.8 kB / 0.7419 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001404/0.6223, allocations: 67.91 kB / 0.742 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003118/0.6254, allocations: 1.908 MB / 0.7439 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6254, allocations: 0 / 0.7439 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002624/0.6281, allocations: 1.009 MB / 0.7449 GB, free: 8.148 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.001599/0.6297, allocations: 470.2 kB / 0.7453 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009056/0.6387, allocations: 4.057 MB / 0.7493 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/0.6387, allocations: 0 / 0.7493 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003021/0.6418, allocations: 1.39 MB / 0.7506 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002851/0.6446, allocations: 0.5099 MB / 0.7511 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01123/0.6558, allocations: 5.756 MB / 0.7567 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001485/0.6573, allocations: 1.77 MB / 0.7585 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/0.6584, allocations: 199.4 kB / 0.7587 GB, free: 9.996 MB / 0.5762 GB Notification: Performance of SimCode: time 1.082e-06/0.6584, allocations: 0 / 0.7587 GB, free: 9.996 MB / 0.5762 GB Notification: Performance of Templates: time 0.07196/0.7304, allocations: 55.43 MB / 0.8128 GB, free: 2.57 MB / 0.6231 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: 10.602133245993173] Failed to read output from testmodel.py, exit status != 0: 0.7392285339883529 0.7504587779999999 0.31958898199999997 Calling exit ...