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.001618/0.001618, allocations: 80.28 kB / 19.96 MB, free: 1.598 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.001862/0.001862, allocations: 176.7 kB / 23.23 MB, free: 4.637 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.321/1.321, allocations: 158.6 MB / 185 MB, free: 6.418 MB / 174.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 0.6479/0.6479, allocations: 89.95 MB / 327.2 MB, free: 400 kB / 302.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.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: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.4998 GB, free: 50.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.204e-05/2.342e-05, allocations: 2.938 kB / 0.4998 GB, free: 50.33 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC): time 0.008875/0.008899, allocations: 9.384 MB / 0.5089 GB, free: 44.07 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007616/0.01651, allocations: 5.039 MB / 0.5138 GB, free: 40.49 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002492/0.01901, allocations: 58 kB / 0.5139 GB, free: 40.47 MB / 478.1 MB [/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.002316/0.02132, allocations: 0.6662 MB / 0.5145 GB, free: 40.14 MB / 478.1 MB [/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.002911/0.02423, allocations: 0.9784 MB / 0.5155 GB, free: 39.5 MB / 478.1 MB [/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.003779/0.02801, allocations: 2.038 MB / 0.5175 GB, free: 38.25 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004017/0.03203, allocations: 3.286 MB / 0.5207 GB, free: 36.49 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00147/0.0335, allocations: 0.6908 MB / 0.5214 GB, free: 36.05 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001694/0.03519, allocations: 1.131 MB / 0.5225 GB, free: 35.44 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001675/0.03687, allocations: 1.018 MB / 0.5235 GB, free: 34.99 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000813/0.03768, allocations: 338 kB / 0.5238 GB, free: 34.99 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001438/0.03912, allocations: 0.598 MB / 0.5244 GB, free: 34.91 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007669/0.03989, allocations: 0.7291 MB / 0.5251 GB, free: 34.4 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00153/0.04142, allocations: 0.8896 MB / 0.526 GB, free: 33.85 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005035/0.04645, allocations: 4.413 MB / 0.5303 GB, free: 32 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.04646, allocations: 0.6562 kB / 0.5303 GB, free: 32 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.04646, allocations: 0.9375 kB / 0.5303 GB, free: 32 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.571e-05/0.04655, allocations: 1.031 kB / 0.5303 GB, free: 32 MB / 478.1 MB 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.009094/0.05564, allocations: 3.664 MB / 0.5338 GB, free: 29.93 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.05568, allocations: 9.625 kB / 0.5339 GB, free: 29.93 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003471/0.05915, allocations: 0.6732 MB / 0.5345 GB, free: 29.72 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002876/0.06202, allocations: 1.701 MB / 0.5362 GB, free: 28.62 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003537/0.06238, allocations: 0.7574 MB / 0.5369 GB, free: 27.83 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002744/0.06265, allocations: 185.2 kB / 0.5371 GB, free: 27.77 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003996/0.06665, allocations: 2.409 MB / 0.5394 GB, free: 26.13 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.662e-05/0.06668, allocations: 2.438 kB / 0.5394 GB, free: 26.13 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001751/0.06686, allocations: 85.83 kB / 0.5395 GB, free: 26.07 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-05/0.0669, allocations: 42.31 kB / 0.5396 GB, free: 26.07 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004023/0.07092, allocations: 1.877 MB / 0.5414 GB, free: 25.14 MB / 478.1 MB 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.01021/0.08113, allocations: 6.636 MB / 0.5479 GB, free: 20.02 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004268/0.08539, allocations: 1.78 MB / 0.5496 GB, free: 19.11 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001689/0.08708, allocations: 0.8135 MB / 0.5504 GB, free: 18.69 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001658/0.08725, allocations: 23.7 kB / 0.5504 GB, free: 18.68 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002238/0.08949, allocations: 1.14 MB / 0.5516 GB, free: 17.99 MB / 478.1 MB Notification: Performance of pre-optimization done (n=146): time 3.587e-06/0.08949, allocations: 0 / 0.5516 GB, free: 17.99 MB / 478.1 MB Notification: Performance of matching and sorting (n=146): time 0.007995/0.09749, allocations: 2.989 MB / 0.5545 GB, free: 16.48 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.412e-05/0.09757, allocations: 285.6 kB / 0.5547 GB, free: 16.15 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002853/0.1004, allocations: 2.131 MB / 0.5568 GB, free: 14.98 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001754/0.1006, allocations: 65.62 kB / 0.5569 GB, free: 14.93 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006994/0.1013, allocations: 1.049 MB / 0.5579 GB, free: 14 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004264/0.1017, allocations: 0.531 MB / 0.5584 GB, free: 13.54 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006802/0.1024, allocations: 469 kB / 0.5589 GB, free: 13.26 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.678e-05/0.1024, allocations: 306.4 kB / 0.5592 GB, free: 12.96 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001941/0.1044, allocations: 1.053 MB / 0.5602 GB, free: 11.93 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002133/0.1065, allocations: 1.607 MB / 0.5618 GB, free: 10.15 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01506/0.1216, allocations: 5.325 MB / 0.567 GB, free: 4.645 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/0.1216, allocations: 0 / 0.567 GB, free: 4.645 MB / 478.1 MB Notification: Performance of matching and sorting (n=311) (initialization): time 0.006258/0.1278, allocations: 3.127 MB / 0.57 GB, free: 1.453 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.512e-05/0.1279, allocations: 64.58 kB / 0.5701 GB, free: 1.387 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.1279, allocations: 8 kB / 0.5701 GB, free: 1.379 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005045/0.1284, allocations: 272.7 kB / 0.5703 GB, free: 1.109 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002333/0.1308, allocations: 0.5188 MB / 0.5709 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003676/0.1344, allocations: 2.464 MB / 0.5733 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002345/0.1368, allocations: 282.6 kB / 0.5735 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002101/0.137, allocations: 83.98 kB / 0.5736 GB, free: 13.67 MB / 494.1 MB 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.003637/0.1406, allocations: 1.534 MB / 0.5751 GB, free: 12.13 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00293/0.1436, allocations: 1.6 MB / 0.5767 GB, free: 10.35 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01768/0.1612, allocations: 5.294 MB / 0.5818 GB, free: 4.875 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.917e-06/0.1612, allocations: 0 / 0.5818 GB, free: 4.875 MB / 494.1 MB Notification: Performance of matching and sorting (n=311) (initialization_lambda0): time 0.007793/0.169, allocations: 3.104 MB / 0.5849 GB, free: 1.707 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.416e-05/0.1691, allocations: 61.61 kB / 0.5849 GB, free: 1.641 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.1691, allocations: 8 kB / 0.5849 GB, free: 1.633 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005932/0.1697, allocations: 261 kB / 0.5852 GB, free: 1.375 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002689/0.1724, allocations: 0.5188 MB / 0.5857 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003959/0.1764, allocations: 2.464 MB / 0.5881 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00249/0.1789, allocations: 266.8 kB / 0.5884 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002943/0.1792, allocations: 83.98 kB / 0.5884 GB, free: 13.95 MB / 0.4981 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.0008327/0.18, allocations: 406.2 kB / 0.5888 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007465/0.1807, allocations: 234.5 kB / 0.589 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006344/0.1871, allocations: 2.289 MB / 0.5913 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.937e-05/0.1871, allocations: 16 kB / 0.5913 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.1871, allocations: 4 kB / 0.5913 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.89e-05/0.1871, allocations: 7.969 kB / 0.5913 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0106/0.1977, allocations: 4.414 MB / 0.5956 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.732e-05/0.1978, allocations: 4 kB / 0.5956 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002182/0.1999, allocations: 339.6 kB / 0.5959 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006022/0.2005, allocations: 256.8 kB / 0.5962 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001604/0.2007, allocations: 43.92 kB / 0.5962 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0041/0.2048, allocations: 2.452 MB / 0.5986 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/0.2048, allocations: 7.938 kB / 0.5986 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009008/0.2138, allocations: 3.593 MB / 0.6021 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001612/0.2154, allocations: 465.9 kB / 0.6026 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006258/0.216, allocations: 43.95 kB / 0.6026 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00172/0.2178, allocations: 139.8 kB / 0.6028 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003761/0.2181, allocations: 144.9 kB / 0.6029 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001381/0.2183, allocations: 47.98 kB / 0.603 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002744/0.221, allocations: 1.393 MB / 0.6043 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.221, allocations: 0 / 0.6043 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003327/0.2244, allocations: 1.033 MB / 0.6053 GB, free: 12.37 MB / 0.5137 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.001747/0.2261, allocations: 486.7 kB / 0.6058 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01005/0.2361, allocations: 4.172 MB / 0.6099 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.2362, allocations: 0 / 0.6099 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003192/0.2393, allocations: 1.284 MB / 0.6111 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002193/0.2415, allocations: 328.7 kB / 0.6114 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/0.2518, allocations: 4.511 MB / 0.6158 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001372/0.2531, allocations: 0.9862 MB / 0.6168 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001644/0.2548, allocations: 306.1 kB / 0.6171 GB, free: 316 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005242/0.2553, allocations: 144.5 kB / 0.6172 GB, free: 172 kB / 0.5137 GB Notification: Performance of SimCode: time 8.71e-07/0.2553, allocations: 0 / 0.6172 GB, free: 172 kB / 0.5137 GB Notification: Performance of Templates: time 0.05745/0.3128, allocations: 30.57 MB / 0.6471 GB, free: 1.719 MB / 0.545 GB " [Timeout remaining time 660] 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: 6.825838163495064]