Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.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.001597/0.001597, allocations: 88.38 kB / 20.47 MB, free: 1.363 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.001902/0.001902, allocations: 222.1 kB / 23.78 MB, free: 4.508 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.515/1.515, allocations: 207.7 MB / 234.6 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.9324/0.9324, allocations: 114.2 MB / 401.1 MB, free: 17.14 MB / 318.1 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/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.BESSCurrentSource,tolerance=1e-05,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|BESS.injector.PInjPuSn|BESS.injector.QInjPuSn|BESS.reecC.idCmdPu|BESS.reecC.iqCmdPu|BESS.regcBCS.UPu|BESS.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource") translateModel(Dynawo.Examples.BESS.WECC.BESSCurrentSource,tolerance=1e-05,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|BESS.injector.PInjPuSn|BESS.injector.QInjPuSn|BESS.reecC.idCmdPu|BESS.reecC.iqCmdPu|BESS.regcBCS.UPu|BESS.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource") [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.002632/0.002632, allocations: 76.59 kB / 0.5682 GB, free: 42.53 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1602, allocations: 78.63 MB / 0.645 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSource): time 0.01686/0.1771, allocations: 11.15 MB / 0.6559 GB, free: 2.355 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01288/0.19, allocations: 6.13 MB / 0.6619 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003493/0.1935, allocations: 83.38 kB / 0.662 GB, free: 12.12 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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.003/0.1965, allocations: 0.7593 MB / 0.6627 GB, free: 11.36 MB / 0.4981 GB [/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.004563/0.201, allocations: 0.9624 MB / 0.6636 GB, free: 10.39 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/BESS/WECC/BESS_INIT.mo:54:3-54:99:writable] Warning: In relation Modelica.ComplexMath.'abs'(bess_INIT.sInj0Pu) == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.00772/0.2088, allocations: 2.989 MB / 0.6666 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.009646/0.2184, allocations: 4.524 MB / 0.671 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003136/0.2215, allocations: 1.114 MB / 0.6721 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003066/0.2246, allocations: 1.677 MB / 0.6737 GB, free: 20 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00305/0.2277, allocations: 1.773 MB / 0.6754 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001592/0.2292, allocations: 492 kB / 0.6759 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002162/0.2314, allocations: 0.7848 MB / 0.6767 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001315/0.2327, allocations: 0.9889 MB / 0.6776 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002171/0.2349, allocations: 1.469 MB / 0.6791 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.008929/0.2438, allocations: 5.978 MB / 0.6849 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.2438, allocations: 0 / 0.6849 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.143e-06/0.2438, allocations: 0 / 0.6849 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.000194/0.244, allocations: 3.938 kB / 0.6849 GB, free: 4.5 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.01497/0.259, allocations: 4.696 MB / 0.6895 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.656e-05/0.2591, allocations: 12.03 kB / 0.6895 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005322/0.2644, allocations: 0.9274 MB / 0.6904 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005744/0.2701, allocations: 2.363 MB / 0.6927 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008006/0.2709, allocations: 0.8797 MB / 0.6936 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000647/0.2716, allocations: 232 kB / 0.6938 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007106/0.2787, allocations: 3.462 MB / 0.6972 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.089e-05/0.2787, allocations: 7.938 kB / 0.6972 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002735/0.279, allocations: 104 kB / 0.6973 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.016e-05/0.279, allocations: 56 kB / 0.6974 GB, free: 7.188 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00621/0.2853, allocations: 2.616 MB / 0.6999 GB, free: 4.555 MB / 0.5294 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.01817/0.3034, allocations: 9.224 MB / 0.7089 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006548/0.31, allocations: 2.466 MB / 0.7113 GB, free: 8.664 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002731/0.3127, allocations: 1.144 MB / 0.7124 GB, free: 7.52 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002075/0.3129, allocations: 29.98 kB / 0.7125 GB, free: 7.492 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00348/0.3164, allocations: 1.551 MB / 0.714 GB, free: 5.914 MB / 0.545 GB Notification: Performance of pre-optimization done (n=193): time 5.27e-06/0.3164, allocations: 0 / 0.714 GB, free: 5.914 MB / 0.545 GB Notification: Performance of matching and sorting (n=193): time 0.01151/0.3279, allocations: 4.087 MB / 0.718 GB, free: 1.82 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003043/0.3282, allocations: 0.4889 MB / 0.7185 GB, free: 1.223 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004813/0.333, allocations: 2.7 MB / 0.7211 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000538/0.3336, allocations: 77.69 kB / 0.7212 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001506/0.3351, allocations: 1.395 MB / 0.7225 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001148/0.3362, allocations: 0.6896 MB / 0.7232 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001054/0.3373, allocations: 0.5568 MB / 0.7237 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3374, allocations: 305.1 kB / 0.724 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00316/0.3406, allocations: 1.394 MB / 0.7254 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00393/0.3445, allocations: 2.31 MB / 0.7277 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02348/0.368, allocations: 6.961 MB / 0.7344 GB, free: 292 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-05/0.368, allocations: 4 kB / 0.7345 GB, free: 288 kB / 0.5606 GB Notification: Performance of matching and sorting (n=379) (initialization): time 0.01181/0.3798, allocations: 4.067 MB / 0.7384 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.491e-05/0.3799, allocations: 57.67 kB / 0.7385 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.603e-05/0.3799, allocations: 8.844 kB / 0.7385 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005485/0.3805, allocations: 324.7 kB / 0.7388 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00387/0.3843, allocations: 0.6709 MB / 0.7395 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.587e-05/0.3844, allocations: 27.94 kB / 0.7395 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003436/0.3879, allocations: 370.2 kB / 0.7398 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005803/0.3884, allocations: 104 kB / 0.7399 GB, free: 10.61 MB / 0.5762 GB Warning: Assuming fixed start value for the following 24 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) BESS.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.reecC.firstOrder.y:VARIABLE(flow=false start = BESS.reecC.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.firstOrder1.y:VARIABLE(flow=false start = BESS.reecC.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.firstOrder.y:VARIABLE(flow=false start = BESS.regcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean BESS.regcA.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real BESS.injector.running.value:DISCRETE(flow=false start = BESS.injector.Running0 fixed = true ) type: Boolean BESS.line.running.value:DISCRETE(flow=false start = BESS.line.Running0 fixed = true ) type: Boolean BESS.repcA.firstOrder.y:VARIABLE(flow=false start = BESS.repcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder1.y:VARIABLE(flow=false start = BESS.repcA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder2.y:VARIABLE(flow=false start = BESS.repcA.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder3.y:VARIABLE(flow=false start = BESS.repcA.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.repcA.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.leadLag.x_scaled[1]:VARIABLE(start = BESS.repcA.leadLag.X0[1] * BESS.repcA.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean BESS.regcA.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005745/0.3942, allocations: 1.984 MB / 0.7419 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004423/0.3986, allocations: 2.263 MB / 0.7441 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02495/0.4236, allocations: 6.809 MB / 0.7507 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.566e-05/0.4236, allocations: 4 kB / 0.7507 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of matching and sorting (n=379) (initialization_lambda0): time 0.01244/0.436, allocations: 3.969 MB / 0.7546 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.173e-05/0.4361, allocations: 57.67 kB / 0.7547 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.561e-05/0.4361, allocations: 8 kB / 0.7547 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005382/0.4367, allocations: 321.4 kB / 0.755 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003626/0.4403, allocations: 0.6553 MB / 0.7556 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.901e-05/0.4404, allocations: 27.94 kB / 0.7556 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003414/0.4438, allocations: 342.6 kB / 0.756 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004678/0.4442, allocations: 104 kB / 0.7561 GB, free: 9.547 MB / 0.5919 GB Warning: Assuming fixed start value for the following 24 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) BESS.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.reecC.firstOrder.y:VARIABLE(flow=false start = BESS.reecC.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.firstOrder1.y:VARIABLE(flow=false start = BESS.reecC.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.firstOrder.y:VARIABLE(flow=false start = BESS.regcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean BESS.regcA.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real BESS.injector.running.value:DISCRETE(flow=false start = BESS.injector.Running0 fixed = true ) type: Boolean BESS.line.running.value:DISCRETE(flow=false start = BESS.line.Running0 fixed = true ) type: Boolean BESS.repcA.firstOrder.y:VARIABLE(flow=false start = BESS.repcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder1.y:VARIABLE(flow=false start = BESS.repcA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder2.y:VARIABLE(flow=false start = BESS.repcA.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder3.y:VARIABLE(flow=false start = BESS.repcA.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.repcA.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.leadLag.x_scaled[1]:VARIABLE(start = BESS.repcA.leadLag.X0[1] * BESS.repcA.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean BESS.regcA.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 49 ($PRE.line.state,line.state,$PRE.BESS.line.state,BESS.line.state,$PRE.BESS.injector.state,BESS.injector.state,BESS.injector.switchOffSignal3.value,BESS.injector.switchOffSignal2.value,BESS.injector.switchOffSignal1.value,line.switchOffSignal2.value,line.switchOffSignal1.value,BESS.regcA.rateLimFirstOrderFreeze1.local_freeze,BESS.regcA.rateLimFirstOrderFreeze2.local_freeze,$PRE.BESS.regcA.offDelay.delaySignal,$PRE.BESS.regcA.offDelay.tNext,$PRE.BESS.injector.running.value,$PRE.BESS.line.running.value,$PRE.line.running.value,BESS.regcA.Qinj0PuNeg.k,BESS.regcA.QInj0PuPos.k,$PRE.BESS.regcA.offDelay.u,line.running.value,BESS.repcA.freeze,BESS.line.running.value,BESS.injector.running.value,BESS.regcA.and2.y,BESS.regcA.and1.y,BESS.regcA.and1.u[2],BESS.regcA.offDelay.tNext,BESS.regcA.offDelay.delaySignal,BESS.regcA.offDelay.u,$whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,$whenCondition5,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition10,$whenCondition9,$whenCondition11,BESS.repcA.limPIDFreeze.I.resetLocal,BESS.repcA.limPID.I.local_reset,BESS.pll.limIntegrator.local_reset,BESS.pll.integrator.local_reset,BESS.reecC.integrator.local_reset,BESS.reecC.varLimPIDFreeze.I.resetLocal,BESS.reecC.limPIDFreeze.I.resetLocal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (357): * Single equations (assignments): 355 * 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.001426/0.4457, allocations: 467.2 kB / 0.7565 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001117/0.4468, allocations: 310 kB / 0.7568 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009503/0.4563, allocations: 3.125 MB / 0.7599 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.117e-05/0.4563, allocations: 7.969 kB / 0.7599 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.4563, allocations: 8 kB / 0.7599 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002145/0.4585, allocations: 0.6262 MB / 0.7605 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009149/0.4594, allocations: 48 kB / 0.7605 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002523/0.4619, allocations: 199.8 kB / 0.7607 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005055/0.4624, allocations: 165.7 kB / 0.7609 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009133/0.4716, allocations: 3.212 MB / 0.764 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01087/0.4824, allocations: 4.633 MB / 0.7685 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002958/0.4854, allocations: 1.276 MB / 0.7698 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.004255/0.4896, allocations: 1.761 MB / 0.7715 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of Backend: time 8.12e-07/0.4896, allocations: 0 / 0.7715 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01592/0.5056, allocations: 4.509 MB / 0.7759 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of SimCode: time 0.3523/0.8578, allocations: 5.613 MB / 0.7814 GB, free: 131.6 MB / 0.6075 GB Notification: Performance of Templates: time 0.09196/0.9498, allocations: 66.19 MB / 0.846 GB, free: 85.29 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe >> ../files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.sim & ./Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.613591059998726] Failed to read output from testmodel.py, exit status != 0: 0.9596101170027396 0.968287912 0.721887922 Calling exit ...