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.001403/0.001403, allocations: 100.3 kB / 19.72 MB, free: 1.785 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.001498/0.001498, allocations: 207.4 kB / 23.01 MB, free: 4.621 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.454/1.454, allocations: 207.7 MB / 233.9 MB, free: 9.805 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 0.6859/0.6859, allocations: 121.3 MB / 407.4 MB, free: 11.59 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.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.002422/0.002422, allocations: 74.42 kB / 0.578 GB, free: 37.75 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1373, allocations: 80.47 MB / 0.6566 GB, free: 2.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC): time 0.01437/0.1517, allocations: 9.393 MB / 0.6657 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01097/0.1626, allocations: 5.028 MB / 0.6707 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002252/0.1649, allocations: 55.62 kB / 0.6707 GB, free: 3.473 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: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.002244/0.1671, allocations: 0.6635 MB / 0.6714 GB, free: 2.809 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.004022/0.1712, allocations: 0.9981 MB / 0.6723 GB, free: 1.805 MB / 0.4981 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.004945/0.1761, allocations: 2.022 MB / 0.6743 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005443/0.1815, allocations: 3.273 MB / 0.6775 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001853/0.1834, allocations: 0.6959 MB / 0.6782 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00211/0.1855, allocations: 1.222 MB / 0.6794 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002095/0.1876, allocations: 1.212 MB / 0.6806 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000821/0.1884, allocations: 336 kB / 0.6809 GB, free: 9 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001526/0.1899, allocations: 0.5897 MB / 0.6815 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0009863/0.1909, allocations: 0.7241 MB / 0.6822 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001781/0.1927, allocations: 1.092 MB / 0.6832 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006111/0.1988, allocations: 4.327 MB / 0.6875 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.1988, allocations: 4 kB / 0.6875 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.226e-06/0.1988, allocations: 0 / 0.6875 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.000202/0.199, allocations: 0 / 0.6875 GB, free: 2.238 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: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.01224/0.2113, allocations: 3.661 MB / 0.691 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.2113, allocations: 12.03 kB / 0.691 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003717/0.215, allocations: 0.6782 MB / 0.6917 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003421/0.2185, allocations: 1.697 MB / 0.6934 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006751/0.2191, allocations: 0.7642 MB / 0.6941 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003322/0.2195, allocations: 172 kB / 0.6943 GB, free: 11 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004818/0.2243, allocations: 2.413 MB / 0.6966 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.88e-05/0.2243, allocations: 0 / 0.6966 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001983/0.2245, allocations: 79.98 kB / 0.6967 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.725e-05/0.2246, allocations: 40 kB / 0.6967 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004489/0.2291, allocations: 1.885 MB / 0.6986 GB, free: 6.426 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.01243/0.2415, allocations: 6.642 MB / 0.7051 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00488/0.2464, allocations: 1.775 MB / 0.7068 GB, free: 13.85 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001908/0.2483, allocations: 0.8011 MB / 0.7076 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001816/0.2485, allocations: 28.98 kB / 0.7076 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002585/0.251, allocations: 1.152 MB / 0.7087 GB, free: 11.84 MB / 0.545 GB Notification: Performance of pre-optimization done (n=146): time 3.537e-06/0.251, allocations: 0 / 0.7087 GB, free: 11.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=146): time 0.008922/0.26, allocations: 2.989 MB / 0.7117 GB, free: 8.848 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00019/0.2602, allocations: 282.3 kB / 0.7119 GB, free: 8.508 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004132/0.2643, allocations: 2.131 MB / 0.714 GB, free: 6.34 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002411/0.2645, allocations: 69.69 kB / 0.7141 GB, free: 6.266 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001221/0.2658, allocations: 1.052 MB / 0.7151 GB, free: 5.203 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007403/0.2665, allocations: 0.5192 MB / 0.7156 GB, free: 4.68 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001024/0.2675, allocations: 460.5 kB / 0.716 GB, free: 4.223 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.2677, allocations: 305.1 kB / 0.7163 GB, free: 3.922 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002588/0.2703, allocations: 1.051 MB / 0.7174 GB, free: 2.855 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003076/0.2733, allocations: 1.615 MB / 0.7189 GB, free: 1.059 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.019/0.2923, allocations: 5.323 MB / 0.7241 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.526e-05/0.2923, allocations: 0 / 0.7241 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.008662/0.301, allocations: 3.131 MB / 0.7272 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/0.3011, allocations: 57.67 kB / 0.7273 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.607e-05/0.3011, allocations: 11.98 kB / 0.7273 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000697/0.3018, allocations: 277.3 kB / 0.7275 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002782/0.3046, allocations: 0.5226 MB / 0.728 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004062/0.3087, allocations: 2.46 MB / 0.7304 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002361/0.311, allocations: 278.7 kB / 0.7307 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003584/0.3114, allocations: 83.98 kB / 0.7308 GB, free: 4.57 MB / 0.5606 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.003917/0.3153, allocations: 1.527 MB / 0.7323 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003147/0.3185, allocations: 1.6 MB / 0.7338 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01851/0.337, allocations: 5.288 MB / 0.739 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.166e-05/0.337, allocations: 0 / 0.739 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=311) (initialization_lambda0): time 0.008753/0.3457, allocations: 3.108 MB / 0.742 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.028e-05/0.3458, allocations: 57.67 kB / 0.7421 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.3458, allocations: 8 kB / 0.7421 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005905/0.3464, allocations: 264.8 kB / 0.7424 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002751/0.3492, allocations: 0.5226 MB / 0.7429 GB, free: 7.758 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004025/0.3532, allocations: 2.476 MB / 0.7453 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002488/0.3557, allocations: 254.9 kB / 0.7455 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003302/0.356, allocations: 87.98 kB / 0.7456 GB, free: 4.848 MB / 0.5762 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.0008864/0.3569, allocations: 404 kB / 0.746 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006905/0.3576, allocations: 234.5 kB / 0.7462 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006344/0.3639, allocations: 2.285 MB / 0.7485 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/0.364, allocations: 16 kB / 0.7485 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.364, allocations: 7.938 kB / 0.7485 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.091e-05/0.364, allocations: 11.91 kB / 0.7485 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01086/0.3748, allocations: 4.402 MB / 0.7528 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-05/0.3749, allocations: 11.97 kB / 0.7528 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002202/0.3771, allocations: 335.6 kB / 0.7531 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000612/0.3777, allocations: 264.7 kB / 0.7534 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001796/0.3779, allocations: 43.98 kB / 0.7534 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003833/0.3817, allocations: 2.441 MB / 0.7558 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.3817, allocations: 4 kB / 0.7558 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008946/0.3906, allocations: 3.604 MB / 0.7593 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001437/0.3921, allocations: 466 kB / 0.7598 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005426/0.3926, allocations: 47.98 kB / 0.7598 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001705/0.3943, allocations: 135.8 kB / 0.7599 GB, free: 5.902 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003758/0.3947, allocations: 144.9 kB / 0.7601 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001635/0.3949, allocations: 51.98 kB / 0.7601 GB, free: 5.707 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002952/0.3978, allocations: 1.393 MB / 0.7615 GB, free: 4.297 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3978, allocations: 0 / 0.7615 GB, free: 4.297 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003931/0.4017, allocations: 1.033 MB / 0.7625 GB, free: 3.262 MB / 0.5919 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.001928/0.4037, allocations: 489.8 kB / 0.763 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01087/0.4145, allocations: 4.169 MB / 0.767 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.499e-05/0.4146, allocations: 8.125 kB / 0.767 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003393/0.418, allocations: 1.283 MB / 0.7683 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002504/0.4205, allocations: 342.1 kB / 0.7686 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.4312, allocations: 4.593 MB / 0.7731 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001448/0.4327, allocations: 0.9823 MB / 0.7741 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00179/0.4345, allocations: 306.1 kB / 0.7744 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006509/0.4351, allocations: 143.4 kB / 0.7745 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of SimCode: time 8.92e-07/0.4351, allocations: 0 / 0.7745 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of Templates: time 0.3352/0.7703, allocations: 32.66 MB / 0.8064 GB, free: 111.2 MB / 0.6075 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.267842076718807]