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.0008088/0.0008088, allocations: 100.3 kB / 20.46 MB, free: 4.574 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008307/0.0008307, allocations: 222.5 kB / 23.77 MB, free: 2.105 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9592/0.9592, allocations: 207.7 MB / 234.6 MB, free: 11.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.4252/0.4252, allocations: 121.3 MB / 408.2 MB, free: 0.6836 MB / 330.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.001087/0.001087, allocations: 82.8 kB / 0.5787 GB, free: 9.859 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3401, allocations: 80.47 MB / 0.6573 GB, free: 21.91 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC): time 0.008114/0.3482, allocations: 9.391 MB / 0.6665 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.00782/0.356, allocations: 5.021 MB / 0.6714 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001566/0.3576, allocations: 58 kB / 0.6714 GB, free: 10.76 MB / 0.4948 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.00113/0.3587, allocations: 0.6679 MB / 0.6721 GB, free: 10.25 MB / 0.4948 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.001622/0.3603, allocations: 0.9836 MB / 0.673 GB, free: 9.457 MB / 0.4948 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 numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.002504/0.3628, allocations: 2.029 MB / 0.675 GB, free: 7.848 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002419/0.3652, allocations: 3.278 MB / 0.6782 GB, free: 5.742 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007845/0.366, allocations: 0.6915 MB / 0.6789 GB, free: 5.215 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008843/0.3669, allocations: 1.222 MB / 0.6801 GB, free: 4.375 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007295/0.3676, allocations: 1.211 MB / 0.6813 GB, free: 3.469 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003332/0.368, allocations: 337.2 kB / 0.6816 GB, free: 3.469 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008027/0.3688, allocations: 0.5934 MB / 0.6822 GB, free: 3.359 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003304/0.3691, allocations: 0.7311 MB / 0.6829 GB, free: 2.738 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005667/0.3697, allocations: 1.082 MB / 0.684 GB, free: 1.895 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.003067/0.3727, allocations: 4.332 MB / 0.6882 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3728, allocations: 1.094 kB / 0.6882 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.515e-06/0.3728, allocations: 0 / 0.6882 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.689e-05/0.3728, allocations: 0 / 0.6882 GB, free: 14.49 MB / 0.5105 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.005436/0.3782, allocations: 3.66 MB / 0.6918 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.3783, allocations: 9.906 kB / 0.6918 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001985/0.3802, allocations: 0.6786 MB / 0.6924 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001968/0.3822, allocations: 1.704 MB / 0.6941 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003638/0.3826, allocations: 0.7603 MB / 0.6948 GB, free: 9.219 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001771/0.3828, allocations: 180 kB / 0.695 GB, free: 9.043 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002677/0.3854, allocations: 2.409 MB / 0.6974 GB, free: 6.484 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/0.3855, allocations: 3.938 kB / 0.6974 GB, free: 6.48 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/0.3856, allocations: 75.98 kB / 0.6974 GB, free: 6.406 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.343e-05/0.3856, allocations: 44 kB / 0.6975 GB, free: 6.363 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002513/0.3881, allocations: 1.878 MB / 0.6993 GB, free: 4.48 MB / 0.5105 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.006911/0.395, allocations: 6.638 MB / 0.7058 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002647/0.3977, allocations: 1.781 MB / 0.7075 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/0.3987, allocations: 0.8011 MB / 0.7083 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/0.3988, allocations: 28.98 kB / 0.7083 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001417/0.4003, allocations: 1.144 MB / 0.7095 GB, free: 9.906 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=146): time 2.555e-06/0.4003, allocations: 3.938 kB / 0.7095 GB, free: 9.902 MB / 0.5261 GB Notification: Performance of matching and sorting (n=146): time 0.004719/0.405, allocations: 2.988 MB / 0.7124 GB, free: 6.91 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.4051, allocations: 286.3 kB / 0.7127 GB, free: 6.566 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002067/0.4072, allocations: 2.135 MB / 0.7147 GB, free: 4.395 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.773e-05/0.4073, allocations: 65.69 kB / 0.7148 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006534/0.4079, allocations: 1.052 MB / 0.7158 GB, free: 3.262 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000369/0.4083, allocations: 0.527 MB / 0.7163 GB, free: 2.73 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004814/0.4088, allocations: 456.5 kB / 0.7168 GB, free: 2.277 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.262e-05/0.4088, allocations: 301.1 kB / 0.7171 GB, free: 1.98 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001374/0.4102, allocations: 1.055 MB / 0.7181 GB, free: 0.9102 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001645/0.4119, allocations: 1.611 MB / 0.7197 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008909/0.4208, allocations: 5.327 MB / 0.7249 GB, free: 9.609 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.148e-06/0.4208, allocations: 4 kB / 0.7249 GB, free: 9.605 MB / 0.5417 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.00421/0.425, allocations: 3.131 MB / 0.7279 GB, free: 6.41 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 5.303e-05/0.425, allocations: 57.67 kB / 0.728 GB, free: 6.348 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.4251, allocations: 12 kB / 0.728 GB, free: 6.336 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003832/0.4254, allocations: 268.7 kB / 0.7283 GB, free: 6.07 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/0.4267, allocations: 0.5149 MB / 0.7288 GB, free: 5.555 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002335/0.429, allocations: 2.468 MB / 0.7312 GB, free: 2.984 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/0.4302, allocations: 278.6 kB / 0.7314 GB, free: 2.711 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/0.4303, allocations: 83.98 kB / 0.7315 GB, free: 2.629 MB / 0.5417 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.002253/0.4325, allocations: 1.541 MB / 0.733 GB, free: 1.082 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001615/0.4342, allocations: 1.604 MB / 0.7346 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008518/0.4427, allocations: 5.284 MB / 0.7397 GB, free: 9.832 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.985e-06/0.4427, allocations: 4 kB / 0.7398 GB, free: 9.828 MB / 0.5573 GB Notification: Performance of matching and sorting (n=311) (initialization_lambda0): time 0.004202/0.4469, allocations: 3.111 MB / 0.7428 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.504e-05/0.4469, allocations: 57.67 kB / 0.7428 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.4469, allocations: 4 kB / 0.7428 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003213/0.4473, allocations: 265.1 kB / 0.7431 GB, free: 6.324 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/0.4485, allocations: 0.5187 MB / 0.7436 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002199/0.4507, allocations: 2.465 MB / 0.746 GB, free: 3.242 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/0.4518, allocations: 258.9 kB / 0.7463 GB, free: 2.988 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.4519, allocations: 87.98 kB / 0.7463 GB, free: 2.902 MB / 0.5573 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.0005365/0.4524, allocations: 402.5 kB / 0.7467 GB, free: 2.508 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002446/0.4527, allocations: 230.5 kB / 0.747 GB, free: 2.281 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003325/0.456, allocations: 2.289 MB / 0.7492 GB, free: 15.98 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/0.456, allocations: 19.94 kB / 0.7492 GB, free: 15.96 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.456, allocations: 0 / 0.7492 GB, free: 15.96 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.652e-05/0.456, allocations: 15.91 kB / 0.7492 GB, free: 15.94 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00538/0.4614, allocations: 4.398 MB / 0.7535 GB, free: 11.46 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.4614, allocations: 7.938 kB / 0.7535 GB, free: 11.45 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/0.4624, allocations: 339.7 kB / 0.7538 GB, free: 11.12 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003181/0.4628, allocations: 256.8 kB / 0.7541 GB, free: 10.87 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-05/0.4628, allocations: 43.98 kB / 0.7541 GB, free: 10.82 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002193/0.465, allocations: 2.445 MB / 0.7565 GB, free: 8.273 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.465, allocations: 7.984 kB / 0.7565 GB, free: 8.266 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004497/0.4695, allocations: 3.601 MB / 0.76 GB, free: 4.598 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006215/0.4702, allocations: 473.9 kB / 0.7605 GB, free: 4.133 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001663/0.4703, allocations: 43.98 kB / 0.7605 GB, free: 4.09 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006676/0.471, allocations: 131.9 kB / 0.7607 GB, free: 3.961 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002149/0.4712, allocations: 144.9 kB / 0.7608 GB, free: 3.816 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.99e-05/0.4713, allocations: 51.98 kB / 0.7609 GB, free: 3.766 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001434/0.4727, allocations: 1.393 MB / 0.7622 GB, free: 2.355 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.11e-07/0.4727, allocations: 0 / 0.7622 GB, free: 2.355 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001966/0.4747, allocations: 1.033 MB / 0.7632 GB, free: 1.32 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 13 (BESS.reecC.firstOrder.y,BESS.reecC.firstOrder1.y,BESS.reecC.limPIDFreeze.I.y,BESS.reecC.rateLimFirstOrderFreeze1.y,BESS.reecC.slewRateLimiter.y,BESS.reecC.rateLimFirstOrderFreeze.y,BESS.reecC.varLimPIDFreeze.I.y,BESS.reecC.integrator.y,BESS.regcA.rateLimFirstOrderFreeze2.y,BESS.regcA.rateLimFirstOrderFreeze1.y,BESS.regcA.firstOrder.y,BESS.pll.integrator.y,BESS.pll.limIntegrator.y) * Number of discrete variables: 23 ($whenCondition11,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running.value,line.state,BESS.regcA.offDelay.u,BESS.regcA.offDelay.delaySignal,BESS.regcA.offDelay.tNext,BESS.regcA.and1.u[2],BESS.regcA.and1.y,BESS.regcA.and2.y,BESS.injector.running.value,BESS.injector.state,BESS.LvTfo.running.value,BESS.LvTfo.state) * Number of discrete states: 4 (BESS.LvTfo.running.value,BESS.injector.running.value,line.running.value,BESS.regcA.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(8,2,50.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008952/0.4756, allocations: 488.4 kB / 0.7637 GB, free: 1 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.005674/0.4813, allocations: 4.176 MB / 0.7678 GB, free: 12.76 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.4813, allocations: 0 / 0.7678 GB, free: 12.76 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001721/0.483, allocations: 1.288 MB / 0.769 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.4841, allocations: 330.6 kB / 0.7693 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00595/0.49, allocations: 4.661 MB / 0.7739 GB, free: 6.398 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007184/0.4908, allocations: 0.9823 MB / 0.7748 GB, free: 5.375 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004157/0.4912, allocations: 159.3 kB / 0.775 GB, free: 5.219 MB / 0.5886 GB Notification: Performance of SimCode: time 1.002e-06/0.4912, allocations: 0 / 0.775 GB, free: 5.219 MB / 0.5886 GB Notification: Performance of Templates: time 0.03625/0.5274, allocations: 43.19 MB / 0.8172 GB, free: 10.07 MB / 0.6355 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 -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: 7.362860397901386]