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.001286/0.001286, allocations: 122.9 kB / 17.86 MB, free: 5.238 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.001335/0.001335, allocations: 205.2 kB / 20.81 MB, free: 2.297 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.537/1.537, allocations: 207.6 MB / 231.2 MB, free: 4.105 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.9522/0.9522, allocations: 113.9 MB / 397 MB, free: 3.898 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.BESS.WECC.BESSCurrentSource,fileNamePrefix="Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSource",fmuType="cs",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.002313/0.002313, allocations: 70.09 kB / 0.5612 GB, free: 12.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4599/0.4622, allocations: 78.46 MB / 0.6378 GB, free: 14.24 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSource): time 0.01402/0.4763, allocations: 12.92 MB / 0.6504 GB, free: 5.367 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01137/0.4876, allocations: 6.338 MB / 0.6566 GB, free: 0.707 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004187/0.4918, allocations: 86.16 kB / 0.6567 GB, free: 0.668 MB / 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.003417/0.4952, allocations: 0.7495 MB / 0.6574 GB, free: 252 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.005435/0.5007, allocations: 0.9385 MB / 0.6583 GB, free: 15.59 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.007721/0.5084, allocations: 3.032 MB / 0.6613 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008322/0.5167, allocations: 4.471 MB / 0.6657 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002884/0.5196, allocations: 1.117 MB / 0.6667 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003482/0.5231, allocations: 1.658 MB / 0.6684 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003924/0.527, allocations: 1.751 MB / 0.6701 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001601/0.5286, allocations: 489.7 kB / 0.6705 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002077/0.5307, allocations: 0.7764 MB / 0.6713 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001239/0.5319, allocations: 0.9828 MB / 0.6723 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00251/0.5344, allocations: 1.908 MB / 0.6741 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.008525/0.543, allocations: 5.909 MB / 0.6799 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.543, allocations: 0 / 0.6799 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.543, allocations: 1.219 kB / 0.6799 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.000196/0.5432, allocations: 0 / 0.6799 GB, free: 1.309 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.01437/0.5575, allocations: 4.786 MB / 0.6846 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.5576, allocations: 13.11 kB / 0.6846 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.232e-05/0.5576, allocations: 62.44 kB / 0.6846 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004904/0.5581, allocations: 332.6 kB / 0.685 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005085/0.5632, allocations: 0.9191 MB / 0.6859 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005317/0.5685, allocations: 2.435 MB / 0.6882 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006553/0.5692, allocations: 0.6231 MB / 0.6888 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005318/0.5697, allocations: 239.4 kB / 0.6891 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006956/0.5767, allocations: 3.049 MB / 0.692 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.166e-05/0.5767, allocations: 1.781 kB / 0.692 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002628/0.577, allocations: 105.4 kB / 0.6922 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.014e-05/0.577, allocations: 55.69 kB / 0.6922 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006947/0.584, allocations: 2.631 MB / 0.6948 GB, free: 7.246 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.02005/0.604, allocations: 11.62 MB / 0.7061 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006881/0.6109, allocations: 2.518 MB / 0.7086 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002905/0.6138, allocations: 1.143 MB / 0.7097 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002502/0.6141, allocations: 118.3 kB / 0.7098 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003519/0.6176, allocations: 1.608 MB / 0.7114 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=193): time 3.768e-06/0.6176, allocations: 0 / 0.7114 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of matching and sorting (n=193): time 0.01285/0.6304, allocations: 4.238 MB / 0.7155 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004006/0.6308, allocations: 0.5101 MB / 0.716 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005565/0.6364, allocations: 2.969 MB / 0.7189 GB, free: 15.77 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005333/0.6369, allocations: 69.7 kB / 0.719 GB, free: 15.7 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001568/0.6385, allocations: 1.381 MB / 0.7203 GB, free: 14.31 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001125/0.6396, allocations: 0.6935 MB / 0.721 GB, free: 13.61 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00113/0.6408, allocations: 0.5686 MB / 0.7216 GB, free: 13.04 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.6409, allocations: 301.1 kB / 0.7219 GB, free: 12.74 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003378/0.6443, allocations: 1.349 MB / 0.7232 GB, free: 11.38 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003929/0.6482, allocations: 1.902 MB / 0.725 GB, free: 9.293 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02409/0.6723, allocations: 7.064 MB / 0.7319 GB, free: 2.004 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.757e-05/0.6723, allocations: 4 kB / 0.7319 GB, free: 2 MB / 0.545 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.01135/0.6837, allocations: 4.091 MB / 0.7359 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.6838, allocations: 86.66 kB / 0.736 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.272e-05/0.6838, allocations: 11.94 kB / 0.736 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006156/0.6844, allocations: 325.4 kB / 0.7363 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003498/0.6879, allocations: 0.6787 MB / 0.737 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.983e-05/0.688, allocations: 23.94 kB / 0.737 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003273/0.6913, allocations: 405.9 kB / 0.7374 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003986/0.6917, allocations: 108 kB / 0.7375 GB, free: 12.22 MB / 0.5606 GB Warning: Assuming fixed start value for the following 21 variables: line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) 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.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.a_end * BESS.repcA.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004906/0.6966, allocations: 1.938 MB / 0.7394 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00386/0.7004, allocations: 1.843 MB / 0.7412 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02375/0.7242, allocations: 6.92 MB / 0.748 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.331e-05/0.7242, allocations: 0 / 0.748 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of matching and sorting (n=386) (initialization_lambda0): time 0.01072/0.7349, allocations: 3.993 MB / 0.7519 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001072/0.735, allocations: 88.16 kB / 0.7519 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/0.735, allocations: 8 kB / 0.7519 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005561/0.7356, allocations: 320.7 kB / 0.7523 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003267/0.7389, allocations: 0.6631 MB / 0.7529 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.343e-05/0.7389, allocations: 27.92 kB / 0.7529 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003012/0.7419, allocations: 346.5 kB / 0.7533 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002975/0.7422, allocations: 104 kB / 0.7534 GB, free: 11.52 MB / 0.5762 GB Warning: Assuming fixed start value for the following 21 variables: line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) 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.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.a_end * BESS.repcA.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 50 ($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.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,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.reecC.frtOn,$whenCondition11,$whenCondition10,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition9,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 (361): * Single equations (assignments): 358 * Array equations: 0 * Algorithm blocks: 2 * 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.0009776/0.7432, allocations: 495.7 kB / 0.7538 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008992/0.7441, allocations: 345.8 kB / 0.7542 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008413/0.7525, allocations: 3.184 MB / 0.7573 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.157e-05/0.7525, allocations: 23.94 kB / 0.7573 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/0.7525, allocations: 4 kB / 0.7573 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.773e-05/0.7526, allocations: 11.95 kB / 0.7573 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01648/0.7691, allocations: 7.186 MB / 0.7643 GB, free: 128 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/0.7691, allocations: 4 kB / 0.7643 GB, free: 124 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002822/0.7719, allocations: 463.6 kB / 0.7648 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005065/0.7724, allocations: 304.7 kB / 0.7651 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001924/0.7726, allocations: 59.97 kB / 0.7651 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-05/0.7726, allocations: 12 kB / 0.7651 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/0.7726, allocations: 11.94 kB / 0.7651 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01215/0.7848, allocations: 5.043 MB / 0.7701 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002063/0.7868, allocations: 0.7368 MB / 0.7708 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007136/0.7875, allocations: 55.98 kB / 0.7708 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002393/0.7899, allocations: 207.7 kB / 0.771 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004731/0.7904, allocations: 165.7 kB / 0.7712 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001774/0.7906, allocations: 71.97 kB / 0.7713 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004099/0.7947, allocations: 1.96 MB / 0.7732 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7947, allocations: 0 / 0.7732 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005545/0.8002, allocations: 1.217 MB / 0.7744 GB, free: 5.746 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 ($whenCondition9,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,$whenCondition10,$whenCondition11,BESS.reecC.frtOn,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: 7 (line.running.value,BESS.line.running.value,BESS.injector.running.value,BESS.regcA.offDelay.tNext,BESS.regcA.offDelay.delaySignal,$whenCondition11,$whenCondition10) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (193): * Single equations (assignments): 185 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(8,56.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01407/0.8143, allocations: 5.969 MB / 0.7802 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01268/0.827, allocations: 5.206 MB / 0.7853 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.297e-05/0.827, allocations: 4 kB / 0.7853 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004039/0.831, allocations: 1.677 MB / 0.7869 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003393/0.8344, allocations: 0.4975 MB / 0.7874 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06703/0.9014, allocations: 28.07 MB / 0.8148 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002066/0.9035, allocations: 1.809 MB / 0.8166 GB, free: 9.715 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002711/0.9062, allocations: 427.5 kB / 0.817 GB, free: 9.293 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002404/0.9086, allocations: 1.339 MB / 0.8183 GB, free: 7.953 MB / 0.6387 GB Notification: Performance of SimCode: time 1.222e-06/0.9086, allocations: 4 kB / 0.8183 GB, free: 7.949 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1308/1.039, allocations: 69.38 MB / 0.8861 GB, free: 2.719 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.59/17.63, allocations: 11.86 kB / 0.8861 GB, free: 2.707 MB / 0.7012 GB " [Timeout remaining time 642] (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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 22.8328171580215]