Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 96.36 kB / 20.47 MB, free: 1.367 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002011/0.002011, allocations: 218.1 kB / 23.77 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.455/1.455, allocations: 207.7 MB / 234.6 MB, free: 9.781 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 1.016/1.016, allocations: 114.2 MB / 401.1 MB, free: 17.2 MB / 318.1 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -noHomotopyOnFirstTry=() since it seems broken on HelloWorld Ignoring simflag -noemit -noRestart=() since it seems broken on HelloWorld Ignoring simflag -noemit -noRootFinding=() since it seems broken on HelloWorld Running command: translateModel(Dynawo.Examples.BESS.WECC.BESSCurrentSource,tolerance=1e-05,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|BESS.injector.PInjPuSn|BESS.injector.QInjPuSn|BESS.reecC.idCmdPu|BESS.reecC.iqCmdPu|BESS.regcBCS.UPu|BESS.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource") translateModel(Dynawo.Examples.BESS.WECC.BESSCurrentSource,tolerance=1e-05,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|BESS.injector.PInjPuSn|BESS.injector.QInjPuSn|BESS.reecC.idCmdPu|BESS.reecC.iqCmdPu|BESS.regcBCS.UPu|BESS.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource") [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.002322/0.002322, allocations: 63.19 kB / 0.5682 GB, free: 42.3 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1548, allocations: 78.64 MB / 0.645 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSource): time 0.01833/0.1731, allocations: 11.15 MB / 0.6559 GB, free: 2.215 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01423/0.1873, allocations: 6.134 MB / 0.6619 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003694/0.191, allocations: 87.38 kB / 0.662 GB, free: 11.97 MB / 0.4981 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:22:3-22:125:writable] Warning: Connector switchOffSignal3 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.002986/0.194, allocations: 0.7518 MB / 0.6627 GB, free: 11.22 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.00586/0.1999, allocations: 0.9624 MB / 0.6636 GB, free: 10.25 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/BESS/WECC/BESS_INIT.mo:54:3-54:99:writable] Warning: In relation Modelica.ComplexMath.'abs'(bess_INIT.sInj0Pu) == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.008512/0.2084, allocations: 2.992 MB / 0.6666 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008404/0.2168, allocations: 4.52 MB / 0.671 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002748/0.2195, allocations: 1.114 MB / 0.6721 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003278/0.2228, allocations: 1.685 MB / 0.6737 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00325/0.2261, allocations: 1.769 MB / 0.6754 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001331/0.2274, allocations: 492 kB / 0.6759 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001823/0.2292, allocations: 0.7771 MB / 0.6767 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001092/0.2303, allocations: 0.9928 MB / 0.6776 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001868/0.2322, allocations: 1.469 MB / 0.6791 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.008818/0.241, allocations: 5.989 MB / 0.6849 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/0.241, allocations: 4 kB / 0.6849 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.184e-06/0.241, allocations: 0 / 0.6849 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001583/0.2412, allocations: 0 / 0.6849 GB, free: 4.348 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.01479/0.256, allocations: 4.687 MB / 0.6895 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.256, allocations: 8.031 kB / 0.6895 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005129/0.2611, allocations: 0.9196 MB / 0.6904 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005018/0.2662, allocations: 2.38 MB / 0.6927 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000733/0.2669, allocations: 0.8796 MB / 0.6936 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004926/0.2674, allocations: 239.9 kB / 0.6938 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006393/0.2738, allocations: 3.454 MB / 0.6972 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.856e-05/0.2738, allocations: 3.938 kB / 0.6972 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002508/0.2741, allocations: 99.98 kB / 0.6973 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.094e-05/0.2741, allocations: 56 kB / 0.6973 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005972/0.2801, allocations: 2.62 MB / 0.6999 GB, free: 4.41 MB / 0.5294 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.01776/0.2979, allocations: 9.224 MB / 0.7089 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006316/0.3042, allocations: 2.462 MB / 0.7113 GB, free: 8.523 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002622/0.3068, allocations: 1.14 MB / 0.7124 GB, free: 7.383 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002161/0.307, allocations: 37.98 kB / 0.7125 GB, free: 7.348 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003264/0.3103, allocations: 1.554 MB / 0.714 GB, free: 5.766 MB / 0.545 GB Notification: Performance of pre-optimization done (n=193): time 4.608e-06/0.3103, allocations: 0 / 0.714 GB, free: 5.766 MB / 0.545 GB Notification: Performance of matching and sorting (n=193): time 0.01149/0.3218, allocations: 4.087 MB / 0.718 GB, free: 1.672 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004153/0.3222, allocations: 0.4888 MB / 0.7184 GB, free: 1.074 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004923/0.3271, allocations: 2.704 MB / 0.7211 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005805/0.3277, allocations: 69.7 kB / 0.7212 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001532/0.3292, allocations: 1.399 MB / 0.7225 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001069/0.3303, allocations: 0.6897 MB / 0.7232 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001079/0.3314, allocations: 0.5568 MB / 0.7237 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.3315, allocations: 305.1 kB / 0.724 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00326/0.3348, allocations: 1.394 MB / 0.7254 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003962/0.3388, allocations: 2.31 MB / 0.7276 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02353/0.3623, allocations: 6.961 MB / 0.7344 GB, free: 140 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.72e-05/0.3623, allocations: 4 kB / 0.7344 GB, free: 136 kB / 0.5606 GB Notification: Performance of matching and sorting (n=379) (initialization): time 0.01047/0.3728, allocations: 4.071 MB / 0.7384 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.606e-05/0.3729, allocations: 57.67 kB / 0.7385 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/0.3729, allocations: 8 kB / 0.7385 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005099/0.3734, allocations: 317.2 kB / 0.7388 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003348/0.3768, allocations: 0.6709 MB / 0.7394 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.802e-05/0.3768, allocations: 27.94 kB / 0.7395 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002755/0.3795, allocations: 366.2 kB / 0.7398 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002683/0.3798, allocations: 111.9 kB / 0.7399 GB, free: 10.46 MB / 0.5762 GB Warning: Assuming fixed start value for the following 24 variables: line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.reecC.firstOrder.y:VARIABLE(flow=false start = BESS.reecC.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.firstOrder1.y:VARIABLE(flow=false start = BESS.reecC.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.firstOrder.y:VARIABLE(flow=false start = BESS.regcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean BESS.regcA.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real BESS.injector.running.value:DISCRETE(flow=false start = BESS.injector.Running0 fixed = true ) type: Boolean BESS.line.running.value:DISCRETE(flow=false start = BESS.line.Running0 fixed = true ) type: Boolean BESS.repcA.firstOrder.y:VARIABLE(flow=false start = BESS.repcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder1.y:VARIABLE(flow=false start = BESS.repcA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder2.y:VARIABLE(flow=false start = BESS.repcA.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder3.y:VARIABLE(flow=false start = BESS.repcA.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.repcA.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.leadLag.x_scaled[1]:VARIABLE(start = BESS.repcA.leadLag.X0[1] * BESS.repcA.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean BESS.regcA.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004415/0.3842, allocations: 1.984 MB / 0.7419 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003636/0.3879, allocations: 2.256 MB / 0.7441 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02207/0.4099, allocations: 6.813 MB / 0.7507 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.025e-05/0.4099, allocations: 4 kB / 0.7507 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of matching and sorting (n=379) (initialization_lambda0): time 0.0111/0.421, allocations: 3.966 MB / 0.7546 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.9e-05/0.4211, allocations: 57.67 kB / 0.7546 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/0.4212, allocations: 8 kB / 0.7547 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005002/0.4217, allocations: 324.8 kB / 0.755 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0034/0.4251, allocations: 0.6553 MB / 0.7556 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.035e-05/0.4251, allocations: 27.92 kB / 0.7556 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002871/0.428, allocations: 346.5 kB / 0.756 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002627/0.4282, allocations: 107.9 kB / 0.7561 GB, free: 9.395 MB / 0.5919 GB Warning: Assuming fixed start value for the following 24 variables: line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.reecC.firstOrder.y:VARIABLE(flow=false start = BESS.reecC.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.firstOrder1.y:VARIABLE(flow=false start = BESS.reecC.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.firstOrder.y:VARIABLE(flow=false start = BESS.regcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean BESS.regcA.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real BESS.injector.running.value:DISCRETE(flow=false start = BESS.injector.Running0 fixed = true ) type: Boolean BESS.line.running.value:DISCRETE(flow=false start = BESS.line.Running0 fixed = true ) type: Boolean BESS.repcA.firstOrder.y:VARIABLE(flow=false start = BESS.repcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder1.y:VARIABLE(flow=false start = BESS.repcA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder2.y:VARIABLE(flow=false start = BESS.repcA.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder3.y:VARIABLE(flow=false start = BESS.repcA.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.repcA.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.leadLag.x_scaled[1]:VARIABLE(start = BESS.repcA.leadLag.X0[1] * BESS.repcA.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean BESS.regcA.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 49 ($PRE.line.state,line.state,$PRE.BESS.line.state,BESS.line.state,$PRE.BESS.injector.state,BESS.injector.state,BESS.injector.switchOffSignal3.value,BESS.injector.switchOffSignal2.value,BESS.injector.switchOffSignal1.value,line.switchOffSignal2.value,line.switchOffSignal1.value,BESS.regcA.rateLimFirstOrderFreeze1.local_freeze,BESS.regcA.rateLimFirstOrderFreeze2.local_freeze,$PRE.BESS.regcA.offDelay.delaySignal,$PRE.BESS.regcA.offDelay.tNext,$PRE.BESS.injector.running.value,$PRE.BESS.line.running.value,$PRE.line.running.value,BESS.regcA.Qinj0PuNeg.k,BESS.regcA.QInj0PuPos.k,$PRE.BESS.regcA.offDelay.u,line.running.value,BESS.repcA.freeze,BESS.line.running.value,BESS.injector.running.value,BESS.regcA.and2.y,BESS.regcA.and1.y,BESS.regcA.and1.u[2],BESS.regcA.offDelay.tNext,BESS.regcA.offDelay.delaySignal,BESS.regcA.offDelay.u,$whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,$whenCondition5,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition10,$whenCondition9,$whenCondition11,BESS.repcA.limPIDFreeze.I.resetLocal,BESS.repcA.limPID.I.local_reset,BESS.pll.limIntegrator.local_reset,BESS.pll.integrator.local_reset,BESS.reecC.integrator.local_reset,BESS.reecC.varLimPIDFreeze.I.resetLocal,BESS.reecC.limPIDFreeze.I.resetLocal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (357): * Single equations (assignments): 355 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(8,56.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00102/0.4292, allocations: 467.2 kB / 0.7565 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008656/0.4301, allocations: 310 kB / 0.7568 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008089/0.4382, allocations: 3.122 MB / 0.7599 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.326e-05/0.4382, allocations: 20 kB / 0.7599 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/0.4382, allocations: 0 / 0.7599 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.919e-05/0.4383, allocations: 15.89 kB / 0.7599 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01335/0.4516, allocations: 6.131 MB / 0.7659 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/0.4516, allocations: 4 kB / 0.7659 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002776/0.4544, allocations: 463.8 kB / 0.7663 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004897/0.4549, allocations: 312.7 kB / 0.7666 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00018/0.4551, allocations: 47.98 kB / 0.7667 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.465e-05/0.4551, allocations: 12 kB / 0.7667 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/0.4551, allocations: 7.938 kB / 0.7667 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0114/0.4665, allocations: 4.95 MB / 0.7715 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002079/0.4686, allocations: 0.6303 MB / 0.7721 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004467/0.469, allocations: 59.92 kB / 0.7722 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001927/0.4709, allocations: 207.8 kB / 0.7724 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000399/0.4713, allocations: 173.6 kB / 0.7726 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001709/0.4715, allocations: 71.97 kB / 0.7726 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002952/0.4745, allocations: 1.761 MB / 0.7743 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.4745, allocations: 0 / 0.7743 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003463/0.4779, allocations: 1.274 MB / 0.7756 GB, free: 5.199 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 20 (BESS.reecC.firstOrder.y,BESS.reecC.firstOrder1.y,BESS.reecC.limPIDFreeze.I.y,BESS.reecC.varLimPIDFreeze.I.y,BESS.reecC.rateLimFirstOrderFreeze1.y,BESS.reecC.slewRateLimiter.y,BESS.reecC.rateLimFirstOrderFreeze.y,BESS.reecC.integrator.y,BESS.regcA.rateLimFirstOrderFreeze2.y,BESS.regcA.rateLimFirstOrderFreeze1.y,BESS.regcA.firstOrder.y,BESS.pll.integrator.y,BESS.pll.limIntegrator.y,BESS.repcA.firstOrder.y,BESS.repcA.limPID.I.y,BESS.repcA.firstOrder1.y,BESS.repcA.firstOrder2.y,BESS.repcA.firstOrder3.y,BESS.repcA.limPIDFreeze.I.y,BESS.repcA.leadLag.x_scaled[1]) * Number of discrete variables: 24 ($whenCondition11,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,BESS.regcA.offDelay.u,BESS.regcA.offDelay.delaySignal,BESS.regcA.offDelay.tNext,BESS.regcA.and1.u[2],BESS.regcA.and1.y,BESS.regcA.and2.y,BESS.injector.running.value,BESS.injector.state,BESS.line.running.value,BESS.line.state,BESS.repcA.freeze,line.running.value,line.state) * Number of discrete states: 4 (line.running.value,BESS.line.running.value,BESS.injector.running.value,BESS.regcA.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (196): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(8,56.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001727/0.4797, allocations: 0.5013 MB / 0.7761 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.3503/0.83, allocations: 5.016 MB / 0.781 GB, free: 131 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.649e-05/0.83, allocations: 3.812 kB / 0.781 GB, free: 131 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003945/0.8339, allocations: 1.552 MB / 0.7825 GB, free: 131 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002961/0.8369, allocations: 467.5 kB / 0.7829 GB, free: 130.9 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/0.8482, allocations: 6.075 MB / 0.7889 GB, free: 128.6 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001569/0.8497, allocations: 1.273 MB / 0.7901 GB, free: 128.4 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002263/0.852, allocations: 408.1 kB / 0.7905 GB, free: 128.3 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007342/0.8527, allocations: 184.7 kB / 0.7907 GB, free: 128.3 MB / 0.6075 GB Notification: Performance of SimCode: time 1.082e-06/0.8527, allocations: 0 / 0.7907 GB, free: 128.3 MB / 0.6075 GB Notification: Performance of Templates: time 0.06546/0.9182, allocations: 42.02 MB / 0.8317 GB, free: 99.05 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe >> ../files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.sim & ./Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource -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.BESSCurrentSource.pipe 2>&1) [Timeout 480] diffSimulationResults("Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable BESS.regcBCS.UPu in file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.mat. Warning: Get data of variable BESS.regcBCS.UPu from file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.814138253990677]