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.0008688/0.0008688, allocations: 76.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.0009488/0.0009488, allocations: 169.2 kB / 23.22 MB, free: 1.324 MB / 18.57 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.8728/0.8728, allocations: 158.6 MB / 185 MB, free: 3.039 MB / 170.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.4228/0.4228, allocations: 89.96 MB / 327.2 MB, free: 15.38 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.001085/0.001085, allocations: 74.56 kB / 0.4993 GB, free: 17.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1257, allocations: 80.44 MB / 0.5779 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC): time 0.008413/0.1341, allocations: 9.399 MB / 0.587 GB, free: 3.855 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.007421/0.1415, allocations: 5.042 MB / 0.592 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00184/0.1433, allocations: 55.62 kB / 0.592 GB, free: 14.74 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.00122/0.1446, allocations: 0.6664 MB / 0.5927 GB, free: 14.07 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.002111/0.1467, allocations: 0.9823 MB / 0.5936 GB, free: 13.09 MB / 0.5105 GB [/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 operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.003035/0.1497, allocations: 2.044 MB / 0.5956 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002803/0.1525, allocations: 3.278 MB / 0.5988 GB, free: 7.773 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008835/0.1534, allocations: 0.692 MB / 0.5995 GB, free: 7.031 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/0.1545, allocations: 1.133 MB / 0.6006 GB, free: 5.895 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009947/0.1555, allocations: 1.02 MB / 0.6016 GB, free: 4.871 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0003014/0.1558, allocations: 340 kB / 0.6019 GB, free: 4.539 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009238/0.1568, allocations: 0.5972 MB / 0.6025 GB, free: 3.941 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003881/0.1571, allocations: 0.7318 MB / 0.6032 GB, free: 3.207 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0005528/0.1577, allocations: 0.8841 MB / 0.6041 GB, free: 2.32 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002843/0.1605, allocations: 4.405 MB / 0.6084 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1605, allocations: 0 / 0.6084 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1606, allocations: 0 / 0.6084 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.165e-05/0.1606, allocations: 7.938 kB / 0.6084 GB, free: 13.89 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.004732/0.1653, allocations: 3.661 MB / 0.612 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.1654, allocations: 12.03 kB / 0.612 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002149/0.1656, allocations: 253.1 kB / 0.6122 GB, free: 9.898 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001562/0.1671, allocations: 0.6782 MB / 0.6129 GB, free: 9.219 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001725/0.1689, allocations: 1.705 MB / 0.6146 GB, free: 7.461 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003211/0.1692, allocations: 0.7602 MB / 0.6153 GB, free: 6.559 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/0.1693, allocations: 180 kB / 0.6155 GB, free: 6.383 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002794/0.1721, allocations: 2.401 MB / 0.6178 GB, free: 3.832 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.698e-05/0.1722, allocations: 11.92 kB / 0.6178 GB, free: 3.82 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001688/0.1723, allocations: 75.98 kB / 0.6179 GB, free: 3.746 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.219e-05/0.1724, allocations: 48 kB / 0.6179 GB, free: 3.699 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003626/0.176, allocations: 1.878 MB / 0.6198 GB, free: 1.816 MB / 0.5261 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.00704/0.183, allocations: 6.883 MB / 0.6265 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002508/0.1856, allocations: 1.773 MB / 0.6282 GB, free: 8.984 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001029/0.1866, allocations: 0.8011 MB / 0.629 GB, free: 8.18 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.1867, allocations: 28.98 kB / 0.629 GB, free: 8.152 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001582/0.1883, allocations: 1.16 MB / 0.6302 GB, free: 6.969 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=146): time 2.304e-06/0.1883, allocations: 0 / 0.6302 GB, free: 6.969 MB / 0.5417 GB Notification: Performance of matching and sorting (n=146): time 0.004316/0.1926, allocations: 3.004 MB / 0.6331 GB, free: 3.957 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.1927, allocations: 282.3 kB / 0.6334 GB, free: 3.617 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002022/0.1947, allocations: 2.314 MB / 0.6356 GB, free: 1.277 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.892e-05/0.1948, allocations: 61.69 kB / 0.6357 GB, free: 1.211 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006276/0.1955, allocations: 1.049 MB / 0.6367 GB, free: 152 kB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007536/0.1962, allocations: 0.5192 MB / 0.6372 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004803/0.1967, allocations: 472.8 kB / 0.6377 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.905e-05/0.1968, allocations: 309.1 kB / 0.638 GB, free: 14.85 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00131/0.1981, allocations: 1.067 MB / 0.639 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001598/0.1997, allocations: 1.636 MB / 0.6406 GB, free: 11.95 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008743/0.2084, allocations: 5.387 MB / 0.6459 GB, free: 6.395 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/0.2084, allocations: 8 kB / 0.6459 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of matching and sorting (n=321) (initialization): time 0.003899/0.2123, allocations: 3.199 MB / 0.649 GB, free: 3.125 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 5.857e-05/0.2124, allocations: 53.67 kB / 0.6491 GB, free: 3.066 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.2124, allocations: 8 kB / 0.6491 GB, free: 3.059 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003677/0.2128, allocations: 272.8 kB / 0.6493 GB, free: 2.789 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/0.214, allocations: 0.5304 MB / 0.6498 GB, free: 2.258 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002392/0.2164, allocations: 2.487 MB / 0.6523 GB, free: 15.65 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008951/0.2173, allocations: 294.4 kB / 0.6526 GB, free: 15.36 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.2174, allocations: 87.98 kB / 0.6526 GB, free: 15.28 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.001936/0.2193, allocations: 1.576 MB / 0.6542 GB, free: 13.7 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001514/0.2208, allocations: 1.624 MB / 0.6558 GB, free: 11.9 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01176/0.2326, allocations: 5.336 MB / 0.661 GB, free: 6.379 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.485e-05/0.2326, allocations: 4 kB / 0.661 GB, free: 6.375 MB / 0.573 GB Notification: Performance of matching and sorting (n=321) (initialization_lambda0): time 0.005385/0.238, allocations: 3.172 MB / 0.6641 GB, free: 3.141 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 4.73e-05/0.238, allocations: 57.67 kB / 0.6641 GB, free: 3.078 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.238, allocations: 12 kB / 0.6641 GB, free: 3.066 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003308/0.2384, allocations: 273.2 kB / 0.6644 GB, free: 2.797 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.2396, allocations: 0.5305 MB / 0.6649 GB, free: 2.266 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002269/0.2419, allocations: 2.491 MB / 0.6674 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/0.2431, allocations: 258.8 kB / 0.6676 GB, free: 15.41 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.2432, allocations: 87.98 kB / 0.6677 GB, free: 15.32 MB / 0.5886 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.0004946/0.2437, allocations: 407.2 kB / 0.6681 GB, free: 14.92 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002919/0.244, allocations: 258.3 kB / 0.6683 GB, free: 14.67 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003465/0.2474, allocations: 2.291 MB / 0.6706 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.2475, allocations: 16 kB / 0.6706 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.2475, allocations: 7.922 kB / 0.6706 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/0.2475, allocations: 15.97 kB / 0.6706 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005717/0.2532, allocations: 4.587 MB / 0.6751 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/0.2532, allocations: 4 kB / 0.6751 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/0.2542, allocations: 343.9 kB / 0.6754 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005852/0.2548, allocations: 256.8 kB / 0.6756 GB, free: 7.043 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.5e-05/0.2549, allocations: 43.97 kB / 0.6757 GB, free: 7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002019/0.2569, allocations: 2.476 MB / 0.6781 GB, free: 4.41 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.2569, allocations: 7.938 kB / 0.6781 GB, free: 4.402 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004618/0.2615, allocations: 3.614 MB / 0.6816 GB, free: 0.7266 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008956/0.2624, allocations: 485.9 kB / 0.6821 GB, free: 256 kB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/0.2626, allocations: 43.98 kB / 0.6821 GB, free: 212 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006901/0.2633, allocations: 143.8 kB / 0.6823 GB, free: 68 kB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.257/0.5203, allocations: 133.4 kB / 0.6824 GB, free: 101.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003034/0.5206, allocations: 54.27 kB / 0.6825 GB, free: 101.6 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002482/0.5231, allocations: 1.523 MB / 0.684 GB, free: 101.4 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5231, allocations: 0 / 0.684 GB, free: 101.4 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002751/0.5258, allocations: 1.005 MB / 0.6849 GB, free: 101.4 MB / 0.5886 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.006307/0.5321, allocations: 4.545 MB / 0.6894 GB, free: 99.88 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.006731/0.5389, allocations: 4.211 MB / 0.6935 GB, free: 98.15 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/0.5389, allocations: 2.719 kB / 0.6935 GB, free: 98.15 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002096/0.541, allocations: 1.283 MB / 0.6947 GB, free: 97.61 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001833/0.5428, allocations: 351.1 kB / 0.6951 GB, free: 97.46 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0336/0.5764, allocations: 21.51 MB / 0.7161 GB, free: 87.77 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007661/0.5772, allocations: 0.9876 MB / 0.717 GB, free: 87.46 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001042/0.5782, allocations: 332.5 kB / 0.7174 GB, free: 87.23 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008296/0.5791, allocations: 0.975 MB / 0.7183 GB, free: 86.34 MB / 0.5886 GB Notification: Performance of SimCode: time 1.633e-06/0.5791, allocations: 0 / 0.7183 GB, free: 86.34 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0637/0.6428, allocations: 56.48 MB / 0.7735 GB, free: 30.71 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.89/9.533, allocations: 4 kB / 0.7735 GB, free: 30.71 MB / 0.5886 GB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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] "Error: Could not read variable BESS.injector.PInjPuSn in file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.csv. Warning: Get data of variable BESS.injector.PInjPuSn from file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.csv failed! Error: Could not read variable BESS.injector.QInjPuSn in file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.csv. Warning: Get data of variable BESS.injector.QInjPuSn from file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.csv failed! Error: Could not read variable BESS.injector.UPu in file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.csv. Warning: Get data of variable BESS.injector.UPu from file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.csv failed! Error: Could not read variable BESS.reecC.idCmdPu in file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.csv. Warning: Get data of variable BESS.reecC.idCmdPu from file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.csv failed! Error: Could not read variable BESS.reecC.iqCmdPu in file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.csv. Warning: Get data of variable BESS.reecC.iqCmdPu from file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.447594108991325]