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.00171/0.00171, allocations: 114.4 kB / 19.71 MB, free: 2.18 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.00239/0.00239, allocations: 211.4 kB / 23.02 MB, free: 5.023 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.566/1.566, allocations: 207.6 MB / 233.8 MB, free: 9.992 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.7266/0.7266, allocations: 121.4 MB / 407.5 MB, free: 10.71 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.00348/0.00348, allocations: 78 kB / 0.5781 GB, free: 38.07 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.1971, allocations: 80.45 MB / 0.6567 GB, free: 2.121 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC): time 0.01495/0.2121, allocations: 10.83 MB / 0.6673 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01094/0.223, allocations: 5.296 MB / 0.6725 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002229/0.2252, allocations: 59.62 kB / 0.6725 GB, free: 1.859 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.002217/0.2275, allocations: 0.6674 MB / 0.6732 GB, free: 1.191 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.003323/0.2308, allocations: 0.9827 MB / 0.6741 GB, free: 208 kB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Examples/BESS/WECC/BESSCurrentSourceNoPPC.mo:171:3-171:38:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Examples/BESS/WECC/BESSCurrentSourceNoPPC.mo:173:3-173:47:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Examples/BESS/WECC/BESSCurrentSourceNoPPC.mo:174:3-174:47:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:40:5-44:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:40:5-44:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:40:5-44:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/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.004676/0.2355, allocations: 2.078 MB / 0.6762 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004962/0.2404, allocations: 3.282 MB / 0.6794 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001458/0.2419, allocations: 0.7311 MB / 0.6801 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001869/0.2437, allocations: 1.23 MB / 0.6813 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001652/0.2454, allocations: 1.345 MB / 0.6826 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004613/0.2459, allocations: 336 kB / 0.6829 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.247, allocations: 0.617 MB / 0.6835 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006632/0.2476, allocations: 0.7202 MB / 0.6842 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001367/0.249, allocations: 1.414 MB / 0.6856 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00567/0.2547, allocations: 4.3 MB / 0.6898 GB, free: 80 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.2547, allocations: 0 / 0.6898 GB, free: 80 kB / 0.5137 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2547, allocations: 0 / 0.6898 GB, free: 80 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001132/0.2548, allocations: 0 / 0.6898 GB, free: 80 kB / 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.01099/0.2658, allocations: 3.658 MB / 0.6934 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.2658, allocations: 8.031 kB / 0.6934 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003593/0.2694, allocations: 0.6782 MB / 0.694 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003312/0.2727, allocations: 1.705 MB / 0.6957 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006677/0.2734, allocations: 0.7642 MB / 0.6964 GB, free: 9 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003158/0.2737, allocations: 172 kB / 0.6966 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004473/0.2782, allocations: 2.208 MB / 0.6988 GB, free: 6.523 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/0.2782, allocations: 0 / 0.6988 GB, free: 6.523 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001813/0.2784, allocations: 76 kB / 0.6988 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.862e-05/0.2784, allocations: 40 kB / 0.6989 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004442/0.2829, allocations: 1.893 MB / 0.7007 GB, free: 4.512 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.01396/0.2968, allocations: 8.887 MB / 0.7094 GB, free: 11.19 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004818/0.3017, allocations: 1.782 MB / 0.7111 GB, free: 9.387 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001921/0.3036, allocations: 0.8089 MB / 0.7119 GB, free: 8.574 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001899/0.3038, allocations: 24.97 kB / 0.712 GB, free: 8.551 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002496/0.3063, allocations: 1.127 MB / 0.7131 GB, free: 7.406 MB / 0.545 GB Notification: Performance of pre-optimization done (n=146): time 3.046e-06/0.3063, allocations: 0 / 0.7131 GB, free: 7.406 MB / 0.545 GB Notification: Performance of matching and sorting (n=146): time 0.008495/0.3148, allocations: 2.997 MB / 0.716 GB, free: 4.402 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001826/0.3149, allocations: 290.3 kB / 0.7163 GB, free: 4.055 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003717/0.3187, allocations: 2.307 MB / 0.7185 GB, free: 1.723 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002149/0.3189, allocations: 57.7 kB / 0.7186 GB, free: 1.66 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001069/0.3199, allocations: 1.049 MB / 0.7196 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005992/0.3205, allocations: 0.5231 MB / 0.7201 GB, free: 72 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007978/0.3213, allocations: 472.8 kB / 0.7206 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.3215, allocations: 301.1 kB / 0.7208 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002369/0.3238, allocations: 1.026 MB / 0.7218 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002768/0.3266, allocations: 1.411 MB / 0.7232 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01749/0.3441, allocations: 5.373 MB / 0.7285 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-05/0.3441, allocations: 3.938 kB / 0.7285 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of matching and sorting (n=321) (initialization): time 0.00751/0.3516, allocations: 3.143 MB / 0.7315 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.624e-05/0.3517, allocations: 53.69 kB / 0.7316 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/0.3517, allocations: 12.03 kB / 0.7316 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005938/0.3523, allocations: 264.7 kB / 0.7319 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002497/0.3548, allocations: 0.5343 MB / 0.7324 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003796/0.3586, allocations: 2.542 MB / 0.7349 GB, free: 464 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001987/0.3606, allocations: 298.4 kB / 0.7352 GB, free: 164 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001805/0.3608, allocations: 95.98 kB / 0.7352 GB, free: 68 kB / 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.003396/0.3642, allocations: 1.506 MB / 0.7367 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002632/0.3668, allocations: 1.397 MB / 0.7381 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01642/0.3832, allocations: 5.338 MB / 0.7433 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.815e-06/0.3832, allocations: 0 / 0.7433 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of matching and sorting (n=321) (initialization_lambda0): time 0.007136/0.3904, allocations: 3.115 MB / 0.7463 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.187e-05/0.3904, allocations: 57.61 kB / 0.7464 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.3904, allocations: 8 kB / 0.7464 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005198/0.391, allocations: 273.2 kB / 0.7467 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002395/0.3934, allocations: 0.5344 MB / 0.7472 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0036/0.397, allocations: 2.526 MB / 0.7496 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001926/0.3989, allocations: 270.8 kB / 0.7499 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001645/0.399, allocations: 83.98 kB / 0.75 GB, free: 492 kB / 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: 50 ($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.QConv0PuPos.k,BESS.regcA.and1.u[1],BESS.regcA.QConv0PuPos.y,BESS.regcA.QConv0PuNeg.k,BESS.regcA.and2.u[2],BESS.regcA.QConv0PuNeg.y,$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 (295): * Single equations (assignments): 293 * 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.000686/0.3997, allocations: 416.6 kB / 0.7504 GB, free: 76 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004088/0.4001, allocations: 254.6 kB / 0.7506 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005595/0.4057, allocations: 2.287 MB / 0.7529 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/0.4057, allocations: 12 kB / 0.7529 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4058, allocations: 4.281 kB / 0.7529 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-05/0.4058, allocations: 7.969 kB / 0.7529 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009179/0.4149, allocations: 5.086 MB / 0.7578 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/0.415, allocations: 7.938 kB / 0.7579 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001959/0.4169, allocations: 335.8 kB / 0.7582 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005116/0.4174, allocations: 264.7 kB / 0.7584 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001154/0.4175, allocations: 43.98 kB / 0.7585 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003546/0.4211, allocations: 2.519 MB / 0.7609 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.4211, allocations: 8.094 kB / 0.7609 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007764/0.4289, allocations: 3.615 MB / 0.7645 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00112/0.43, allocations: 485.9 kB / 0.7649 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002831/0.4303, allocations: 39.98 kB / 0.765 GB, free: 0.8398 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001344/0.4316, allocations: 147.7 kB / 0.7651 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003167/0.4319, allocations: 133 kB / 0.7652 GB, free: 0.5625 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001244/0.432, allocations: 59.97 kB / 0.7653 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002422/0.4345, allocations: 1.522 MB / 0.7668 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4345, allocations: 288 / 0.7668 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002755/0.4372, allocations: 1.01 MB / 0.7678 GB, free: 13.96 MB / 0.6075 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.001589/0.4388, allocations: 468.9 kB / 0.7682 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.009356/0.4482, allocations: 4.119 MB / 0.7722 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.4482, allocations: 4.062 kB / 0.7722 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002953/0.4511, allocations: 1.279 MB / 0.7735 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001949/0.4531, allocations: 343 kB / 0.7738 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00963/0.4627, allocations: 4.617 MB / 0.7783 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001361/0.4641, allocations: 1.545 MB / 0.7798 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001479/0.4655, allocations: 330.9 kB / 0.7801 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005117/0.4661, allocations: 147.4 kB / 0.7803 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of SimCode: time 9.62e-07/0.4661, allocations: 0 / 0.7803 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of Templates: time 0.3891/0.8552, allocations: 31.61 MB / 0.8112 GB, free: 108.4 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.896683782339096]