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.001679/0.001679, allocations: 111.6 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.002045/0.002045, allocations: 197.7 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.512/1.512, allocations: 207.6 MB / 231.2 MB, free: 4.074 MB / 174.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.8187/0.8187, allocations: 114.4 MB / 397.5 MB, free: 3.367 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.002825/0.002825, allocations: 75.89 kB / 0.5624 GB, free: 10.77 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.503/0.5058, allocations: 78.59 MB / 0.6391 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSource): time 0.01383/0.5197, allocations: 12.93 MB / 0.6518 GB, free: 5.199 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01332/0.533, allocations: 6.366 MB / 0.658 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004566/0.5375, allocations: 87 kB / 0.6581 GB, free: 488 kB / 494.1 MB [/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.00325/0.5408, allocations: 0.7448 MB / 0.6588 GB, free: 60 kB / 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.006133/0.5469, allocations: 0.9544 MB / 0.6597 GB, free: 15.39 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Examples/BESS/WECC/BESSCurrentSource.mo:178:3-178:38:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Examples/BESS/WECC/BESSCurrentSource.mo:180:3-180:47:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Examples/BESS/WECC/BESSCurrentSource.mo:181:3-181:47:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/BESS/WECC/BaseClasses/BaseBESSCurrentSource.mo:66:3-66:64:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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 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.009088/0.556, allocations: 3.032 MB / 0.6627 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.009786/0.5658, allocations: 4.495 MB / 0.6671 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00328/0.5691, allocations: 1.122 MB / 0.6682 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004558/0.5736, allocations: 1.668 MB / 0.6698 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003933/0.5776, allocations: 1.771 MB / 0.6715 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001681/0.5792, allocations: 491.8 kB / 0.672 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002139/0.5814, allocations: 0.7725 MB / 0.6728 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001211/0.5826, allocations: 0.9933 MB / 0.6737 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002639/0.5852, allocations: 1.911 MB / 0.6756 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.009188/0.5944, allocations: 5.938 MB / 0.6814 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.5944, allocations: 4 kB / 0.6814 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.515e-06/0.5944, allocations: 0 / 0.6814 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0002131/0.5946, allocations: 1.375 kB / 0.6814 GB, free: 0.7617 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.01586/0.6105, allocations: 4.761 MB / 0.686 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/0.6106, allocations: 13.8 kB / 0.6861 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005183/0.6157, allocations: 0.923 MB / 0.687 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004836/0.6206, allocations: 2.452 MB / 0.6894 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006284/0.6212, allocations: 0.6297 MB / 0.69 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000486/0.6217, allocations: 239.8 kB / 0.6902 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006613/0.6283, allocations: 3.05 MB / 0.6932 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.275e-05/0.6284, allocations: 6.344 kB / 0.6932 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002713/0.6286, allocations: 95.97 kB / 0.6933 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.425e-05/0.6287, allocations: 57.06 kB / 0.6933 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006346/0.635, allocations: 2.627 MB / 0.6959 GB, free: 6.965 MB / 0.5137 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.01932/0.6543, allocations: 11.62 MB / 0.7072 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006378/0.6607, allocations: 2.543 MB / 0.7097 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002622/0.6633, allocations: 1.144 MB / 0.7108 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002496/0.6636, allocations: 119.1 kB / 0.711 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003274/0.6669, allocations: 1.525 MB / 0.7124 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=193): time 3.737e-06/0.6669, allocations: 4 kB / 0.7124 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=193): time 0.01208/0.6789, allocations: 4.182 MB / 0.7165 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002816/0.6792, allocations: 0.4888 MB / 0.717 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005351/0.6846, allocations: 3.005 MB / 0.7199 GB, free: 15.27 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005149/0.6851, allocations: 73.62 kB / 0.72 GB, free: 15.19 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001389/0.6865, allocations: 1.378 MB / 0.7214 GB, free: 13.8 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009173/0.6874, allocations: 0.6974 MB / 0.722 GB, free: 13.1 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001012/0.6884, allocations: 0.5688 MB / 0.7226 GB, free: 12.52 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.6885, allocations: 309.1 kB / 0.7229 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003165/0.6917, allocations: 1.365 MB / 0.7242 GB, free: 10.84 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003704/0.6954, allocations: 1.918 MB / 0.7261 GB, free: 8.746 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02277/0.7182, allocations: 7.004 MB / 0.7329 GB, free: 1.539 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-05/0.7182, allocations: 4 kB / 0.7329 GB, free: 1.535 MB / 0.545 GB Notification: Performance of matching and sorting (n=391) (initialization): time 0.01051/0.7287, allocations: 4.102 MB / 0.7369 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.545e-05/0.7288, allocations: 57.67 kB / 0.737 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.437e-05/0.7288, allocations: 16 kB / 0.737 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005366/0.7294, allocations: 321.4 kB / 0.7373 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003447/0.7328, allocations: 0.6826 MB / 0.738 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.486e-05/0.7329, allocations: 27.94 kB / 0.738 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003176/0.736, allocations: 401.9 kB / 0.7384 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003307/0.7364, allocations: 111.9 kB / 0.7385 GB, free: 11.78 MB / 0.5606 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.004739/0.7411, allocations: 1.967 MB / 0.7404 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003826/0.7449, allocations: 1.855 MB / 0.7422 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02241/0.7673, allocations: 6.864 MB / 0.7489 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.125e-05/0.7673, allocations: 0 / 0.7489 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of matching and sorting (n=391) (initialization_lambda0): time 0.01122/0.7786, allocations: 4.005 MB / 0.7529 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.774e-05/0.7786, allocations: 57.67 kB / 0.7529 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/0.7787, allocations: 11.94 kB / 0.7529 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004938/0.7792, allocations: 320.9 kB / 0.7532 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003301/0.7825, allocations: 0.6631 MB / 0.7539 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-05/0.7825, allocations: 31.92 kB / 0.7539 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003124/0.7856, allocations: 346.5 kB / 0.7542 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002843/0.7859, allocations: 108 kB / 0.7543 GB, free: 11.14 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: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 53 ($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.QInj0PuPos.k,BESS.regcA.and1.u[1],BESS.regcA.QInj0PuPos.y,BESS.regcA.Qinj0PuNeg.k,BESS.regcA.and2.u[2],BESS.regcA.Qinj0PuNeg.y,$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 (369): * Single equations (assignments): 367 * 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.0009849/0.7869, allocations: 469.2 kB / 0.7548 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009099/0.7878, allocations: 341.8 kB / 0.7551 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008414/0.7962, allocations: 3.136 MB / 0.7582 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-05/0.7962, allocations: 20 kB / 0.7582 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.595e-05/0.7963, allocations: 11.94 kB / 0.7582 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.192e-05/0.7963, allocations: 11.95 kB / 0.7582 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01465/0.8109, allocations: 7.168 MB / 0.7652 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/0.8109, allocations: 8.406 kB / 0.7652 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002821/0.8138, allocations: 471.4 kB / 0.7657 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004763/0.8142, allocations: 304.7 kB / 0.766 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00019/0.8144, allocations: 59.97 kB / 0.766 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.401e-05/0.8144, allocations: 12 kB / 0.766 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/0.8145, allocations: 7.938 kB / 0.766 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01198/0.8264, allocations: 4.978 MB / 0.7709 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002554/0.829, allocations: 0.7484 MB / 0.7716 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007684/0.8298, allocations: 51.98 kB / 0.7717 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002165/0.8319, allocations: 207.8 kB / 0.7719 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004301/0.8324, allocations: 173.6 kB / 0.772 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001599/0.8325, allocations: 63.98 kB / 0.7721 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003518/0.836, allocations: 1.98 MB / 0.774 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.836, allocations: 0 / 0.774 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.004017/0.84, allocations: 1.228 MB / 0.7752 GB, free: 5.504 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 20 (BESS.reecC.firstOrder.y,BESS.reecC.firstOrder1.y,BESS.reecC.limPIDFreeze.I.y,BESS.reecC.varLimPIDFreeze.I.y,BESS.reecC.rateLimFirstOrderFreeze1.y,BESS.reecC.slewRateLimiter.y,BESS.reecC.rateLimFirstOrderFreeze.y,BESS.reecC.integrator.y,BESS.regcA.rateLimFirstOrderFreeze2.y,BESS.regcA.rateLimFirstOrderFreeze1.y,BESS.regcA.firstOrder.y,BESS.pll.integrator.y,BESS.pll.limIntegrator.y,BESS.repcA.firstOrder.y,BESS.repcA.limPID.I.y,BESS.repcA.firstOrder1.y,BESS.repcA.firstOrder2.y,BESS.repcA.firstOrder3.y,BESS.repcA.limPIDFreeze.I.y,BESS.repcA.leadLag.x_scaled[1]) * Number of discrete variables: 24 ($whenCondition11,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,BESS.regcA.offDelay.u,BESS.regcA.offDelay.delaySignal,BESS.regcA.offDelay.tNext,BESS.regcA.and1.u[2],BESS.regcA.and1.y,BESS.regcA.and2.y,BESS.injector.running.value,BESS.injector.state,BESS.line.running.value,BESS.line.state,BESS.repcA.freeze,line.running.value,line.state) * Number of discrete states: 4 (line.running.value,BESS.line.running.value,BESS.injector.running.value,BESS.regcA.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (196): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001846/0.8419, allocations: 486.5 kB / 0.7757 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01314/0.855, allocations: 5.15 MB / 0.7807 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.236e-05/0.855, allocations: 4 kB / 0.7807 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004143/0.8592, allocations: 1.634 MB / 0.7823 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003533/0.8627, allocations: 494.4 kB / 0.7828 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0141/0.8768, allocations: 6.179 MB / 0.7888 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001661/0.8785, allocations: 1.821 MB / 0.7906 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001404/0.8799, allocations: 211.4 kB / 0.7908 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of SimCode: time 1.222e-06/0.8799, allocations: 7.938 kB / 0.7908 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of Templates: time 0.08698/0.9669, allocations: 58.33 MB / 0.8478 GB, free: 11.14 MB / 0.67 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] diffSimulationResults("Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable BESS.regcBCS.UPu in file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.mat. Warning: Get data of variable BESS.regcBCS.UPu from file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.922483391987043]