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.001324/0.001324, allocations: 105.5 kB / 17.14 MB, free: 6.023 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.001535/0.001535, allocations: 203.2 kB / 20.11 MB, free: 3.066 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.634/1.634, allocations: 207.6 MB / 230.5 MB, free: 3.996 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 1.029/1.029, allocations: 114.4 MB / 396.8 MB, free: 3.379 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: "" <> buildModelFMU(Dynawo.Examples.BESS.WECC.BESSCurrentSource,fileNamePrefix="Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.BESS.WECC.BESSCurrentSource,fileNamePrefix="Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSource",fmuType="me",version="2.0",platforms={"static"}) [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.003151/0.003151, allocations: 71.91 kB / 0.5613 GB, free: 11.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4985/0.5016, allocations: 78.59 MB / 0.638 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSource): time 0.01228/0.5139, allocations: 12.94 MB / 0.6506 GB, free: 4.906 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01161/0.5255, allocations: 6.356 MB / 0.6568 GB, free: 244 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003715/0.5292, allocations: 86.44 kB / 0.6569 GB, free: 204 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.002903/0.5321, allocations: 0.742 MB / 0.6576 GB, free: 15.78 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.005179/0.5373, allocations: 0.9588 MB / 0.6586 GB, free: 15.11 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.00892/0.5462, allocations: 3.034 MB / 0.6615 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01011/0.5564, allocations: 4.499 MB / 0.6659 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002984/0.5593, allocations: 1.119 MB / 0.667 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003452/0.5628, allocations: 1.675 MB / 0.6687 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003084/0.5659, allocations: 1.762 MB / 0.6704 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001054/0.5669, allocations: 492.6 kB / 0.6709 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00164/0.5686, allocations: 0.7759 MB / 0.6716 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001127/0.5697, allocations: 0.997 MB / 0.6726 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002404/0.5721, allocations: 1.907 MB / 0.6745 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.008475/0.5806, allocations: 5.938 MB / 0.6803 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.5806, allocations: 4 kB / 0.6803 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.354e-06/0.5806, allocations: 0 / 0.6803 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0002239/0.5808, allocations: 0 / 0.6803 GB, free: 0.5977 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.01608/0.5969, allocations: 4.765 MB / 0.6849 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 7.083e-05/0.597, allocations: 13.98 kB / 0.6849 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006953/0.5977, allocations: 327 kB / 0.6852 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005457/0.6031, allocations: 0.9193 MB / 0.6861 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005408/0.6085, allocations: 2.453 MB / 0.6885 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006445/0.6092, allocations: 0.6295 MB / 0.6891 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006128/0.6098, allocations: 235.1 kB / 0.6894 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00769/0.6175, allocations: 3.047 MB / 0.6923 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.213e-05/0.6175, allocations: 5.25 kB / 0.6923 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002923/0.6178, allocations: 104.2 kB / 0.6924 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.681e-05/0.6179, allocations: 56.59 kB / 0.6925 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006898/0.6247, allocations: 2.624 MB / 0.6951 GB, free: 6.551 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.02271/0.6475, allocations: 11.62 MB / 0.7064 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007984/0.6554, allocations: 2.535 MB / 0.7089 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003168/0.6586, allocations: 1.143 MB / 0.71 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003317/0.6589, allocations: 123.3 kB / 0.7101 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003971/0.6629, allocations: 1.533 MB / 0.7116 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=193): time 5.1e-06/0.6629, allocations: 4 kB / 0.7116 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of matching and sorting (n=193): time 0.01258/0.6755, allocations: 4.185 MB / 0.7157 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003182/0.6758, allocations: 0.4889 MB / 0.7162 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006046/0.6819, allocations: 3.001 MB / 0.7191 GB, free: 14.98 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006439/0.6825, allocations: 73.7 kB / 0.7192 GB, free: 14.9 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001598/0.6841, allocations: 1.385 MB / 0.7205 GB, free: 13.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001171/0.6853, allocations: 0.6935 MB / 0.7212 GB, free: 12.8 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001301/0.6866, allocations: 0.5688 MB / 0.7218 GB, free: 12.23 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.6867, allocations: 301.1 kB / 0.7221 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003597/0.6903, allocations: 1.369 MB / 0.7234 GB, free: 10.55 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004518/0.6948, allocations: 1.91 MB / 0.7253 GB, free: 8.461 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02584/0.7207, allocations: 7.02 MB / 0.7321 GB, free: 1.238 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.351e-05/0.7207, allocations: 4 kB / 0.7321 GB, free: 1.234 MB / 0.545 GB Notification: Performance of matching and sorting (n=391) (initialization): time 0.01294/0.7336, allocations: 4.102 MB / 0.7361 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.162e-05/0.7337, allocations: 53.69 kB / 0.7362 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.429e-05/0.7338, allocations: 8 kB / 0.7362 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005618/0.7343, allocations: 317.4 kB / 0.7365 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003748/0.7381, allocations: 0.6904 MB / 0.7372 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.866e-05/0.7381, allocations: 23.94 kB / 0.7372 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003653/0.7418, allocations: 409.9 kB / 0.7376 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005302/0.7423, allocations: 108 kB / 0.7377 GB, free: 11.48 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.005509/0.7478, allocations: 1.948 MB / 0.7396 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004528/0.7524, allocations: 1.855 MB / 0.7414 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02588/0.7783, allocations: 6.864 MB / 0.7481 GB, free: 452 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.123e-05/0.7783, allocations: 7.938 kB / 0.7481 GB, free: 444 kB / 0.5606 GB Notification: Performance of matching and sorting (n=391) (initialization_lambda0): time 0.01387/0.7921, allocations: 4.001 MB / 0.752 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-05/0.7922, allocations: 53.62 kB / 0.7521 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.107e-05/0.7923, allocations: 12 kB / 0.7521 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005314/0.7928, allocations: 320.9 kB / 0.7524 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003753/0.7965, allocations: 0.667 MB / 0.753 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.744e-05/0.7966, allocations: 23.94 kB / 0.7531 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003629/0.8002, allocations: 354.5 kB / 0.7534 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004429/0.8007, allocations: 108 kB / 0.7535 GB, free: 10.86 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.001251/0.8019, allocations: 483.2 kB / 0.754 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00114/0.8031, allocations: 337.8 kB / 0.7543 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009326/0.8124, allocations: 3.14 MB / 0.7573 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.778e-05/0.8124, allocations: 23.94 kB / 0.7574 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.046e-05/0.8124, allocations: 8 kB / 0.7574 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.56e-05/0.8125, allocations: 7.969 kB / 0.7574 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01767/0.8301, allocations: 7.165 MB / 0.7644 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.558e-05/0.8302, allocations: 4.469 kB / 0.7644 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003164/0.8333, allocations: 475.3 kB / 0.7648 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005603/0.8339, allocations: 308.7 kB / 0.7651 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003389/0.8342, allocations: 55.92 kB / 0.7652 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.329e-05/0.8342, allocations: 11.94 kB / 0.7652 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.8343, allocations: 7.984 kB / 0.7652 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01327/0.8475, allocations: 4.979 MB / 0.7701 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002278/0.8498, allocations: 0.7484 MB / 0.7708 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009696/0.8508, allocations: 55.98 kB / 0.7709 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002559/0.8533, allocations: 203.8 kB / 0.771 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004909/0.8538, allocations: 165.7 kB / 0.7712 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002115/0.854, allocations: 67.97 kB / 0.7713 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004301/0.8583, allocations: 1.984 MB / 0.7732 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8583, allocations: 0 / 0.7732 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.004996/0.8633, allocations: 1.228 MB / 0.7744 GB, free: 5.207 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.01548/0.8788, allocations: 5.907 MB / 0.7802 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01409/0.8929, allocations: 5.122 MB / 0.7852 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.346e-05/0.8929, allocations: 0.875 kB / 0.7852 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004596/0.8975, allocations: 1.634 MB / 0.7868 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004693/0.9022, allocations: 0.4905 MB / 0.7873 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07458/0.9768, allocations: 28.12 MB / 0.8147 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002119/0.9789, allocations: 1.825 MB / 0.8165 GB, free: 9.355 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0025/0.9814, allocations: 435.7 kB / 0.8169 GB, free: 8.926 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002432/0.9838, allocations: 1.335 MB / 0.8182 GB, free: 7.59 MB / 0.6387 GB Notification: Performance of SimCode: time 1.583e-06/0.9838, allocations: 0 / 0.8182 GB, free: 7.59 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1415/1.125, allocations: 69.59 MB / 0.8862 GB, free: 2.164 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.43/18.56, allocations: 11.94 kB / 0.8862 GB, free: 2.152 MB / 0.7012 GB " [Timeout remaining time 641] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.mat --tempDir=temp_Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSource_fmu --startTime=0 --stopTime=3 --stepSize=0.001 --timeout=50 --tolerance=1e-05 Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSource.fmu > Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe 2>&1) [Timeout 52.5] 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: 23.52041730703786]