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.0007722/0.0007722, allocations: 84.44 kB / 20.7 MB, free: 3.844 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.0007705/0.0007705, allocations: 173.2 kB / 23.98 MB, free: 0.5664 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.821/0.821, allocations: 158.6 MB / 185.7 MB, free: 3.043 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.4302/0.4302, allocations: 89.95 MB / 328 MB, free: 15.37 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: translateModel(Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|BESS.injector.PInjPuSn|BESS.injector.QInjPuSn|BESS.injector.UPu|BESS.reecC.idCmdPu|BESS.reecC.iqCmdPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC") translateModel(Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|BESS.injector.PInjPuSn|BESS.injector.QInjPuSn|BESS.injector.UPu|BESS.reecC.idCmdPu|BESS.reecC.iqCmdPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC") [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.001113/0.001113, allocations: 77.52 kB / 0.5005 GB, free: 17.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1272, allocations: 80.44 MB / 0.5791 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC): time 0.008461/0.1357, allocations: 9.398 MB / 0.5883 GB, free: 3.332 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.007395/0.1431, allocations: 5.05 MB / 0.5932 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002025/0.1451, allocations: 59.56 kB / 0.5933 GB, free: 14.21 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.001632/0.1467, allocations: 0.6555 MB / 0.5939 GB, free: 13.55 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.002856/0.1496, allocations: 0.9784 MB / 0.5949 GB, free: 12.56 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.003558/0.1531, allocations: 2.031 MB / 0.5968 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003976/0.1571, allocations: 3.291 MB / 0.6001 GB, free: 7.25 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001226/0.1583, allocations: 0.692 MB / 0.6007 GB, free: 6.508 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001635/0.16, allocations: 1.133 MB / 0.6018 GB, free: 5.371 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001142/0.1611, allocations: 1.02 MB / 0.6028 GB, free: 4.348 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0005031/0.1616, allocations: 336 kB / 0.6032 GB, free: 4.02 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.1627, allocations: 0.6011 MB / 0.6037 GB, free: 3.418 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0005749/0.1632, allocations: 0.7318 MB / 0.6045 GB, free: 2.684 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0009549/0.1642, allocations: 0.884 MB / 0.6053 GB, free: 1.797 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.004685/0.1689, allocations: 4.416 MB / 0.6096 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.1689, allocations: 0 / 0.6096 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.856e-06/0.1689, allocations: 0 / 0.6096 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001016/0.169, allocations: 0 / 0.6096 GB, free: 13.37 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.007253/0.1762, allocations: 3.657 MB / 0.6132 GB, free: 9.645 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.1763, allocations: 8.031 kB / 0.6132 GB, free: 9.637 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001953/0.1782, allocations: 0.6782 MB / 0.6139 GB, free: 8.957 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002871/0.1811, allocations: 1.705 MB / 0.6155 GB, free: 7.199 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00042/0.1815, allocations: 0.7604 MB / 0.6163 GB, free: 6.297 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002673/0.1818, allocations: 180 kB / 0.6165 GB, free: 6.121 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003269/0.1851, allocations: 2.41 MB / 0.6188 GB, free: 3.562 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.249e-05/0.1851, allocations: 11.94 kB / 0.6188 GB, free: 3.551 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001528/0.1852, allocations: 71.98 kB / 0.6189 GB, free: 3.48 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.554e-05/0.1853, allocations: 44 kB / 0.6189 GB, free: 3.438 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00278/0.1881, allocations: 1.874 MB / 0.6208 GB, free: 1.559 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.008843/0.1969, allocations: 6.634 MB / 0.6272 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002846/0.1997, allocations: 1.773 MB / 0.629 GB, free: 8.992 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001079/0.2008, allocations: 0.8011 MB / 0.6298 GB, free: 8.188 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001424/0.201, allocations: 28.98 kB / 0.6298 GB, free: 8.16 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001522/0.2025, allocations: 1.152 MB / 0.6309 GB, free: 6.984 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=146): time 3.567e-06/0.2025, allocations: 0 / 0.6309 GB, free: 6.984 MB / 0.5417 GB Notification: Performance of matching and sorting (n=146): time 0.004953/0.2074, allocations: 2.992 MB / 0.6338 GB, free: 3.988 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/0.2076, allocations: 282.3 kB / 0.6341 GB, free: 3.648 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002594/0.2102, allocations: 2.131 MB / 0.6362 GB, free: 1.48 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002052/0.2104, allocations: 61.7 kB / 0.6362 GB, free: 1.414 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000731/0.2111, allocations: 1.052 MB / 0.6373 GB, free: 360 kB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004797/0.2116, allocations: 0.5231 MB / 0.6378 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005198/0.2121, allocations: 456.5 kB / 0.6382 GB, free: 15.37 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.201e-05/0.2122, allocations: 313 kB / 0.6385 GB, free: 15.06 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001482/0.2137, allocations: 1.047 MB / 0.6395 GB, free: 14 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001654/0.2153, allocations: 1.607 MB / 0.6411 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009251/0.2246, allocations: 5.341 MB / 0.6463 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-05/0.2246, allocations: 4 kB / 0.6463 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004776/0.2294, allocations: 3.127 MB / 0.6494 GB, free: 3.5 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 6.421e-05/0.2294, allocations: 57.67 kB / 0.6494 GB, free: 3.438 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.2294, allocations: 4 kB / 0.6494 GB, free: 3.434 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004157/0.2298, allocations: 269.1 kB / 0.6497 GB, free: 3.168 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/0.2311, allocations: 0.5226 MB / 0.6502 GB, free: 2.645 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002408/0.2335, allocations: 2.453 MB / 0.6526 GB, free: 88 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/0.235, allocations: 278.6 kB / 0.6529 GB, free: 15.81 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001547/0.2351, allocations: 91.98 kB / 0.653 GB, free: 15.72 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.002574/0.2377, allocations: 1.539 MB / 0.6545 GB, free: 14.18 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001715/0.2394, allocations: 1.6 MB / 0.656 GB, free: 12.4 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00918/0.2486, allocations: 5.29 MB / 0.6612 GB, free: 6.926 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.257e-06/0.2486, allocations: 4 kB / 0.6612 GB, free: 6.922 MB / 0.573 GB Notification: Performance of matching and sorting (n=311) (initialization_lambda0): time 0.00479/0.2534, allocations: 3.111 MB / 0.6642 GB, free: 3.746 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 5.672e-05/0.2535, allocations: 53.67 kB / 0.6643 GB, free: 3.688 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.2535, allocations: 8.562 kB / 0.6643 GB, free: 3.68 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003828/0.2538, allocations: 276.7 kB / 0.6646 GB, free: 3.406 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.2551, allocations: 0.511 MB / 0.665 GB, free: 2.895 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002331/0.2575, allocations: 2.465 MB / 0.6675 GB, free: 336 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/0.2591, allocations: 254.9 kB / 0.6677 GB, free: 80 kB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00018/0.2592, allocations: 88.03 kB / 0.6678 GB, free: 15.99 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: 46 ($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.QConv0PuNeg.k,BESS.regcA.QConv0PuPos.k,$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 (285): * Single equations (assignments): 283 * 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.0006282/0.2599, allocations: 396.2 kB / 0.6682 GB, free: 15.61 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004122/0.2603, allocations: 238.5 kB / 0.6684 GB, free: 15.37 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003581/0.2639, allocations: 2.285 MB / 0.6706 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.2639, allocations: 19.98 kB / 0.6706 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.2639, allocations: 4 kB / 0.6706 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.2639, allocations: 3.984 kB / 0.6706 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006304/0.2702, allocations: 4.405 MB / 0.6749 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.395e-06/0.2702, allocations: 8 kB / 0.675 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/0.2713, allocations: 348 kB / 0.6753 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003465/0.2716, allocations: 260.7 kB / 0.6755 GB, free: 7.945 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.454e-05/0.2717, allocations: 43.92 kB / 0.6756 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002168/0.2739, allocations: 2.453 MB / 0.678 GB, free: 5.344 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.2739, allocations: 4 kB / 0.678 GB, free: 5.34 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005043/0.2789, allocations: 3.585 MB / 0.6815 GB, free: 1.691 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/0.28, allocations: 473.9 kB / 0.6819 GB, free: 1.227 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002055/0.2802, allocations: 36 kB / 0.682 GB, free: 1.191 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007178/0.2809, allocations: 139.8 kB / 0.6821 GB, free: 1.055 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002597/0.2811, allocations: 141 kB / 0.6822 GB, free: 0.9141 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.19e-05/0.2812, allocations: 55.97 kB / 0.6823 GB, free: 0.8594 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.2684/0.5496, allocations: 1.388 MB / 0.6836 GB, free: 101.2 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.71e-07/0.5496, allocations: 0.9844 kB / 0.6836 GB, free: 101.2 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002911/0.5526, allocations: 1.035 MB / 0.6847 GB, free: 101.2 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.0008942/0.5535, allocations: 489.3 kB / 0.6851 GB, free: 101.1 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.006191/0.5596, allocations: 4.162 MB / 0.6892 GB, free: 100.3 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/0.5597, allocations: 6.719 kB / 0.6892 GB, free: 100.3 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001606/0.5613, allocations: 1.275 MB / 0.6904 GB, free: 99.73 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/0.5627, allocations: 342.3 kB / 0.6908 GB, free: 99.59 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006091/0.5687, allocations: 4.512 MB / 0.6952 GB, free: 97.4 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009659/0.5697, allocations: 0.9845 MB / 0.6961 GB, free: 97.21 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.00111/0.5708, allocations: 305.6 kB / 0.6964 GB, free: 97.18 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003615/0.5712, allocations: 152.6 kB / 0.6966 GB, free: 97.16 MB / 0.5886 GB Notification: Performance of SimCode: time 1.382e-06/0.5712, allocations: 0 / 0.6966 GB, free: 97.16 MB / 0.5886 GB Notification: Performance of Templates: time 0.03627/0.6075, allocations: 30.56 MB / 0.7264 GB, free: 80.63 MB / 0.5886 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.makefile [Timeout 660] (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 & ./Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.pipe 2>&1) [Timeout 480] 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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.616168790962547]