Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.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.0007716/0.0007716, allocations: 114.4 kB / 19.71 MB, free: 0.5 MB / 13.93 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.001292/0.001292, allocations: 216.4 kB / 23.03 MB, free: 3.078 MB / 13.93 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 0.9359/0.9359, allocations: 207.6 MB / 233.8 MB, free: 4.762 MB / 186.7 MB " [Timeout remaining time 179] 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.4345/0.4345, allocations: 121.4 MB / 407.5 MB, free: 3.543 MB / 314.7 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.BESSCurrentSourceNoPPC,fileNamePrefix="Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSourceNoPPC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC,fileNamePrefix="Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSourceNoPPC",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.001168/0.001168, allocations: 68.41 kB / 0.5776 GB, free: 28.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1265, allocations: 80.46 MB / 0.6562 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC): time 0.008882/0.1353, allocations: 10.83 MB / 0.6668 GB, free: 1.703 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.006376/0.1417, allocations: 5.3 MB / 0.672 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001005/0.1427, allocations: 55.62 kB / 0.672 GB, free: 12.33 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo: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: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). Notification: Performance of NFTyping.typeComponents: time 0.001086/0.1438, allocations: 0.6595 MB / 0.6727 GB, free: 11.67 MB / 0.5105 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.00174/0.1456, allocations: 0.9865 MB / 0.6736 GB, free: 10.68 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Examples/BESS/WECC/BESSCurrentSourceNoPPC.mo:171:3-171: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/BESSCurrentSourceNoPPC.mo:173:3-173: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/BESSCurrentSourceNoPPC.mo:174:3-174:47: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/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/WECC/BaseClasses_INIT/WECCInverterCurrentSource_INIT.mo:94:3-94:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wt4CurrentSource_INIT.s0Pu) == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.002428/0.148, allocations: 2.086 MB / 0.6757 GB, free: 8.602 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002463/0.1504, allocations: 3.273 MB / 0.6789 GB, free: 5.328 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008158/0.1513, allocations: 0.7389 MB / 0.6796 GB, free: 4.539 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00097/0.1522, allocations: 1.233 MB / 0.6808 GB, free: 3.301 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/0.1532, allocations: 1.345 MB / 0.6821 GB, free: 1.949 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0003598/0.1536, allocations: 336 kB / 0.6824 GB, free: 1.621 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007148/0.1543, allocations: 0.6092 MB / 0.683 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004006/0.1547, allocations: 0.7241 MB / 0.6837 GB, free: 292 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0007832/0.1555, allocations: 1.41 MB / 0.6851 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.003139/0.1586, allocations: 4.3 MB / 0.6893 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1586, allocations: 0 / 0.6893 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.375e-06/0.1586, allocations: 0 / 0.6893 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.198e-05/0.1587, allocations: 0 / 0.6893 GB, free: 10.55 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.005949/0.1647, allocations: 3.661 MB / 0.6929 GB, free: 6.824 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.1647, allocations: 8.031 kB / 0.6929 GB, free: 6.816 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002162/0.1649, allocations: 257.1 kB / 0.6931 GB, free: 6.555 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001691/0.1666, allocations: 0.6743 MB / 0.6938 GB, free: 5.879 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001892/0.1685, allocations: 1.713 MB / 0.6955 GB, free: 4.113 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004169/0.1689, allocations: 0.7525 MB / 0.6962 GB, free: 3.219 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.1691, allocations: 180 kB / 0.6964 GB, free: 3.043 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00258/0.1717, allocations: 2.208 MB / 0.6985 GB, free: 0.7344 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.1717, allocations: 0 / 0.6985 GB, free: 0.7344 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.1718, allocations: 76 kB / 0.6986 GB, free: 0.6602 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.359e-05/0.1719, allocations: 40 kB / 0.6986 GB, free: 0.6211 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002635/0.1745, allocations: 1.897 MB / 0.7005 GB, free: 14.71 MB / 0.5417 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.007682/0.1822, allocations: 8.876 MB / 0.7092 GB, free: 5.402 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002739/0.1849, allocations: 1.78 MB / 0.7109 GB, free: 3.602 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001038/0.186, allocations: 0.8127 MB / 0.7117 GB, free: 2.785 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001205/0.1861, allocations: 28.97 kB / 0.7117 GB, free: 2.758 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001373/0.1874, allocations: 1.127 MB / 0.7128 GB, free: 1.613 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=146): time 2.324e-06/0.1874, allocations: 3.938 kB / 0.7128 GB, free: 1.609 MB / 0.5417 GB Notification: Performance of matching and sorting (n=146): time 0.004495/0.1919, allocations: 3 MB / 0.7158 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.192, allocations: 282.3 kB / 0.716 GB, free: 14.27 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002181/0.1942, allocations: 2.303 MB / 0.7183 GB, free: 11.94 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.946e-05/0.1943, allocations: 61.7 kB / 0.7183 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006061/0.1949, allocations: 1.045 MB / 0.7193 GB, free: 10.81 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003423/0.1953, allocations: 0.527 MB / 0.7199 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004899/0.1958, allocations: 472.8 kB / 0.7203 GB, free: 9.812 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.317e-05/0.1958, allocations: 301.1 kB / 0.7206 GB, free: 9.516 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001345/0.1972, allocations: 1.026 MB / 0.7216 GB, free: 8.48 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001543/0.1987, allocations: 1.424 MB / 0.723 GB, free: 6.926 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008735/0.2074, allocations: 5.373 MB / 0.7282 GB, free: 1.379 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/0.2074, allocations: 4 kB / 0.7282 GB, free: 1.375 MB / 0.5573 GB Notification: Performance of matching and sorting (n=321) (initialization): time 0.004241/0.2117, allocations: 3.143 MB / 0.7313 GB, free: 14.17 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 4.563e-05/0.2117, allocations: 49.69 kB / 0.7314 GB, free: 14.12 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.2117, allocations: 11.98 kB / 0.7314 GB, free: 14.11 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003739/0.2121, allocations: 273.1 kB / 0.7316 GB, free: 13.84 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/0.2134, allocations: 0.5266 MB / 0.7321 GB, free: 13.31 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002253/0.2156, allocations: 2.538 MB / 0.7346 GB, free: 10.66 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009993/0.2166, allocations: 298.4 kB / 0.7349 GB, free: 10.36 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/0.2168, allocations: 91.98 kB / 0.735 GB, free: 10.27 MB / 0.573 GB Warning: Assuming fixed start value for the following 18 variables: BESS.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.LvTfo.State0 fixed = true ) \"Transformer 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) 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) line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean BESS.reecC.firstOrder.y:VARIABLE(flow=false start = BESS.reecC.UConv0Pu 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.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.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.varLimPIDFreeze.I.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.LvTfo.running.value:DISCRETE(flow=false start = BESS.LvTfo.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.00207/0.2188, allocations: 1.512 MB / 0.7365 GB, free: 8.758 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001603/0.2204, allocations: 1.403 MB / 0.7378 GB, free: 7.227 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008506/0.2289, allocations: 5.33 MB / 0.7431 GB, free: 1.715 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.541e-06/0.2289, allocations: 0 / 0.7431 GB, free: 1.715 MB / 0.573 GB Notification: Performance of matching and sorting (n=321) (initialization_lambda0): time 0.2666/0.4956, allocations: 3.108 MB / 0.7461 GB, free: 85.18 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 5.974e-05/0.4956, allocations: 55.22 kB / 0.7461 GB, free: 85.15 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.4956, allocations: 8.594 kB / 0.7461 GB, free: 85.15 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004/0.496, allocations: 274.1 kB / 0.7464 GB, free: 85.14 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001509/0.4975, allocations: 0.5324 MB / 0.7469 GB, free: 85.14 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002042/0.4996, allocations: 2.532 MB / 0.7494 GB, free: 83.86 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/0.5009, allocations: 263.7 kB / 0.7497 GB, free: 83.82 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/0.501, allocations: 89.94 kB / 0.7497 GB, free: 83.8 MB / 0.573 GB Warning: Assuming fixed start value for the following 18 variables: BESS.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.LvTfo.State0 fixed = true ) \"Transformer 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) 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) line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean BESS.reecC.firstOrder.y:VARIABLE(flow=false start = BESS.reecC.UConv0Pu 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.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.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.varLimPIDFreeze.I.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.LvTfo.running.value:DISCRETE(flow=false start = BESS.LvTfo.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: 33 * Number of states: 0 () * Number of discrete variables: 50 ($PRE.BESS.LvTfo.state,BESS.LvTfo.state,$PRE.BESS.injector.state,BESS.injector.state,$PRE.line.state,line.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.line.running.value,$PRE.BESS.regcA.offDelay.delaySignal,$PRE.BESS.regcA.offDelay.tNext,$PRE.BESS.injector.running.value,$PRE.BESS.LvTfo.running.value,BESS.regcA.QConv0PuPos.k,BESS.regcA.and1.u[1],BESS.regcA.QConv0PuPos.y,BESS.regcA.QConv0PuNeg.k,BESS.regcA.and2.u[2],BESS.regcA.QConv0PuNeg.y,$PRE.BESS.regcA.offDelay.u,BESS.LvTfo.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,line.running.value,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition10,$whenCondition9,$whenCondition11,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 (295): * Single equations (assignments): 293 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(8,2,50.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004782/0.5015, allocations: 402.9 kB / 0.7501 GB, free: 83.54 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002436/0.5017, allocations: 251.2 kB / 0.7504 GB, free: 83.54 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003532/0.5052, allocations: 2.292 MB / 0.7526 GB, free: 82.68 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.816e-05/0.5053, allocations: 20.77 kB / 0.7526 GB, free: 82.68 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.5053, allocations: 3.234 kB / 0.7526 GB, free: 82.68 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-05/0.5053, allocations: 7.797 kB / 0.7526 GB, free: 82.68 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006059/0.5114, allocations: 5.074 MB / 0.7576 GB, free: 80.41 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.5114, allocations: 3.344 kB / 0.7576 GB, free: 80.41 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.5124, allocations: 341.2 kB / 0.7579 GB, free: 80.39 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003129/0.5127, allocations: 267.8 kB / 0.7582 GB, free: 80.31 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.538e-05/0.5128, allocations: 43.94 kB / 0.7582 GB, free: 80.29 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/0.5147, allocations: 2.515 MB / 0.7607 GB, free: 78.39 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.5147, allocations: 4.875 kB / 0.7607 GB, free: 78.39 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004218/0.5189, allocations: 3.617 MB / 0.7642 GB, free: 76.86 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005918/0.5195, allocations: 485.8 kB / 0.7647 GB, free: 76.57 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001574/0.5196, allocations: 43.47 kB / 0.7647 GB, free: 76.54 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006587/0.5203, allocations: 137.9 kB / 0.7648 GB, free: 76.52 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001975/0.5205, allocations: 141.5 kB / 0.765 GB, free: 76.48 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.249e-05/0.5206, allocations: 54.8 kB / 0.765 GB, free: 76.47 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001491/0.522, allocations: 1.523 MB / 0.7665 GB, free: 75.88 MB / 0.573 GB Notification: Performance of sort global known variables: time 9e-08/0.522, allocations: 2.625 kB / 0.7665 GB, free: 75.88 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001814/0.5239, allocations: 1.008 MB / 0.7675 GB, free: 75.71 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 13 (BESS.reecC.firstOrder.y,BESS.reecC.firstOrder1.y,BESS.reecC.limPIDFreeze.I.y,BESS.reecC.rateLimFirstOrderFreeze1.y,BESS.reecC.slewRateLimiter.y,BESS.reecC.rateLimFirstOrderFreeze.y,BESS.reecC.varLimPIDFreeze.I.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) * Number of discrete variables: 23 ($whenCondition11,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running.value,line.state,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.LvTfo.running.value,BESS.LvTfo.state) * Number of discrete states: 4 (BESS.LvTfo.running.value,BESS.injector.running.value,line.running.value,BESS.regcA.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(8,2,50.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005121/0.529, allocations: 4.531 MB / 0.7719 GB, free: 73.39 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.005281/0.5343, allocations: 4.115 MB / 0.7759 GB, free: 71.5 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.5343, allocations: 5.469 kB / 0.776 GB, free: 71.5 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001627/0.5359, allocations: 1.275 MB / 0.7772 GB, free: 70.81 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.537, allocations: 355 kB / 0.7775 GB, free: 70.61 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02114/0.5582, allocations: 21.45 MB / 0.7985 GB, free: 54.32 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005687/0.5587, allocations: 1.545 MB / 0.8 GB, free: 52.73 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0008282/0.5596, allocations: 326.8 kB / 0.8003 GB, free: 52.41 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007509/0.5603, allocations: 0.9757 MB / 0.8013 GB, free: 51.44 MB / 0.573 GB Notification: Performance of SimCode: time 8.62e-07/0.5603, allocations: 0 / 0.8013 GB, free: 51.44 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05329/0.6136, allocations: 54.77 MB / 0.8547 GB, free: 12.83 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.88, allocations: 23.36 kB / 0.8548 GB, free: 12.81 MB / 0.5886 GB " [Timeout remaining time 648] (rm -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.pipe >> ../files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.mat --tempDir=temp_Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSourceNoPPC_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --timeout=50 --tolerance=1e-05 Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSourceNoPPC.fmu > Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 16.273164223879576]