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.001635/0.001635, allocations: 109.1 kB / 17.14 MB, free: 5.93 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.001479/0.001479, allocations: 204 kB / 20.11 MB, free: 2.977 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 2.132/2.132, allocations: 207.6 MB / 230.5 MB, free: 4.047 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.7137/0.7137, allocations: 114.5 MB / 396.9 MB, free: 3.32 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.002343/0.002343, allocations: 75.91 kB / 0.5618 GB, free: 10.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7192/0.7216, allocations: 78.6 MB / 0.6386 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSource): time 0.0169/0.7385, allocations: 12.93 MB / 0.6512 GB, free: 5.125 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01703/0.7555, allocations: 6.354 MB / 0.6574 GB, free: 464 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006717/0.7622, allocations: 87.56 kB / 0.6575 GB, free: 424 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.005048/0.7673, allocations: 0.7521 MB / 0.6583 GB, free: 15.98 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.008973/0.7762, allocations: 0.9508 MB / 0.6592 GB, free: 15.32 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.01204/0.7883, allocations: 3.037 MB / 0.6621 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01383/0.8021, allocations: 4.497 MB / 0.6665 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005319/0.8074, allocations: 1.118 MB / 0.6676 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006258/0.8137, allocations: 1.676 MB / 0.6693 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005456/0.8191, allocations: 1.765 MB / 0.671 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.002686/0.8218, allocations: 490.6 kB / 0.6715 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003463/0.8253, allocations: 0.7805 MB / 0.6722 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001896/0.8272, allocations: 0.9936 MB / 0.6732 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.003397/0.8306, allocations: 1.903 MB / 0.6751 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01256/0.8431, allocations: 5.938 MB / 0.6808 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.042e-05/0.8432, allocations: 1.062 kB / 0.6809 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.445e-06/0.8432, allocations: 0 / 0.6809 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0002872/0.8434, allocations: 0 / 0.6809 GB, free: 0.6953 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.01883/0.8623, allocations: 4.761 MB / 0.6855 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.8623, allocations: 17.55 kB / 0.6855 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005792/0.8681, allocations: 0.9238 MB / 0.6864 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006662/0.8748, allocations: 2.448 MB / 0.6888 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007749/0.8756, allocations: 0.6297 MB / 0.6894 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006636/0.8762, allocations: 236.5 kB / 0.6897 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007812/0.884, allocations: 3.049 MB / 0.6926 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.416e-05/0.8841, allocations: 6.156 kB / 0.6926 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003169/0.8844, allocations: 101.6 kB / 0.6927 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.155e-05/0.8845, allocations: 55.66 kB / 0.6928 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007232/0.8917, allocations: 2.63 MB / 0.6954 GB, free: 6.898 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.02302/0.9147, allocations: 11.64 MB / 0.7067 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006655/0.9214, allocations: 2.531 MB / 0.7092 GB, free: 9.785 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002829/0.9242, allocations: 1.144 MB / 0.7103 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002384/0.9244, allocations: 119.1 kB / 0.7104 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003377/0.9278, allocations: 1.525 MB / 0.7119 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=193): time 3.636e-06/0.9278, allocations: 4 kB / 0.7119 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of matching and sorting (n=193): time 0.01191/0.9397, allocations: 4.19 MB / 0.716 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002989/0.94, allocations: 496.6 kB / 0.7165 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005278/0.9453, allocations: 2.997 MB / 0.7194 GB, free: 15.14 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004667/0.9458, allocations: 69.7 kB / 0.7195 GB, free: 15.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001421/0.9472, allocations: 1.385 MB / 0.7208 GB, free: 13.67 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001019/0.9482, allocations: 0.6857 MB / 0.7215 GB, free: 12.98 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001288/0.9495, allocations: 0.5766 MB / 0.7221 GB, free: 12.39 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.9497, allocations: 305.1 kB / 0.7223 GB, free: 12.09 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004753/0.9544, allocations: 1.373 MB / 0.7237 GB, free: 10.71 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00604/0.9604, allocations: 1.906 MB / 0.7255 GB, free: 8.625 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03791/0.9984, allocations: 7.028 MB / 0.7324 GB, free: 1.395 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-05/0.9984, allocations: 0 / 0.7324 GB, free: 1.395 MB / 0.545 GB Notification: Performance of matching and sorting (n=391) (initialization): time 0.01932/1.018, allocations: 4.103 MB / 0.7364 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001291/1.018, allocations: 49.69 kB / 0.7365 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.135e-05/1.018, allocations: 8 kB / 0.7365 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008806/1.019, allocations: 320.9 kB / 0.7368 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006691/1.025, allocations: 0.6865 MB / 0.7375 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.645e-05/1.026, allocations: 23.94 kB / 0.7375 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005656/1.031, allocations: 409.9 kB / 0.7379 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00071/1.032, allocations: 104 kB / 0.738 GB, free: 11.65 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.008605/1.04, allocations: 1.958 MB / 0.7399 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006917/1.047, allocations: 1.855 MB / 0.7417 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0401/1.088, allocations: 6.872 MB / 0.7484 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.961e-05/1.088, allocations: 4 kB / 0.7484 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of matching and sorting (n=391) (initialization_lambda0): time 0.01802/1.106, allocations: 4.001 MB / 0.7523 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001141/1.106, allocations: 50.53 kB / 0.7524 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.039e-05/1.106, allocations: 15.94 kB / 0.7524 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007732/1.106, allocations: 320.7 kB / 0.7527 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006119/1.113, allocations: 0.667 MB / 0.7533 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.306e-05/1.113, allocations: 27.94 kB / 0.7534 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005144/1.118, allocations: 354.5 kB / 0.7537 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005183/1.118, allocations: 108 kB / 0.7538 GB, free: 11.02 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.001428/1.12, allocations: 473.1 kB / 0.7542 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001368/1.121, allocations: 349.8 kB / 0.7546 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01396/1.135, allocations: 3.132 MB / 0.7576 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.228e-05/1.135, allocations: 20 kB / 0.7577 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.037e-05/1.135, allocations: 3.938 kB / 0.7577 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.152e-05/1.135, allocations: 11.97 kB / 0.7577 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02588/1.161, allocations: 7.172 MB / 0.7647 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.039e-05/1.161, allocations: 4 kB / 0.7647 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005116/1.166, allocations: 463.8 kB / 0.7651 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008241/1.167, allocations: 312.7 kB / 0.7654 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004112/1.167, allocations: 47.98 kB / 0.7655 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-05/1.167, allocations: 15.94 kB / 0.7655 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.059e-05/1.167, allocations: 11.92 kB / 0.7655 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02003/1.187, allocations: 4.979 MB / 0.7704 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002999/1.19, allocations: 0.7483 MB / 0.7711 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009803/1.191, allocations: 55.98 kB / 0.7711 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003171/1.195, allocations: 203.8 kB / 0.7713 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005953/1.195, allocations: 177.6 kB / 0.7715 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002411/1.195, allocations: 63.97 kB / 0.7716 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005234/1.201, allocations: 1.984 MB / 0.7735 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/1.201, allocations: 0 / 0.7735 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006715/1.207, allocations: 1.228 MB / 0.7747 GB, free: 5.363 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.002626/1.21, allocations: 479.2 kB / 0.7752 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02006/1.23, allocations: 5.129 MB / 0.7802 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.869e-05/1.23, allocations: 4 kB / 0.7802 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.006881/1.237, allocations: 1.623 MB / 0.7818 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004884/1.242, allocations: 494.6 kB / 0.7822 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01618/1.258, allocations: 6.11 MB / 0.7882 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001657/1.26, allocations: 1.817 MB / 0.79 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002208/1.262, allocations: 439.8 kB / 0.7904 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007691/1.263, allocations: 199.4 kB / 0.7906 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of SimCode: time 1.573e-06/1.263, allocations: 0 / 0.7906 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of Templates: time 0.07105/1.334, allocations: 39.32 MB / 0.829 GB, free: 13.78 MB / 0.6544 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.csv","/var/lib/jenkins/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: 8.671333823818713]