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.0008433/0.0008433, allocations: 105.7 kB / 20.46 MB, free: 4.602 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008623/0.0008623, allocations: 213.9 kB / 23.78 MB, free: 2.266 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8824/0.8824, allocations: 207.6 MB / 234.6 MB, free: 11.64 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.4305/0.4305, allocations: 121.4 MB / 408.2 MB, free: 0.7852 MB / 330.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -noHomotopyOnFirstTry=() since it seems broken on HelloWorld Ignoring simflag -noemit -noRestart=() since it seems broken on HelloWorld Ignoring simflag -noemit -noRootFinding=() since it seems broken on HelloWorld Running command: translateModel(Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|BESS.injector.PInjPuSn|BESS.injector.QInjPuSn|BESS.injector.UPu|BESS.reecC.idCmdPu|BESS.reecC.iqCmdPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC") translateModel(Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|BESS.injector.PInjPuSn|BESS.injector.QInjPuSn|BESS.injector.UPu|BESS.reecC.idCmdPu|BESS.reecC.iqCmdPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 75.17 kB / 0.5789 GB, free: 9.926 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3499, allocations: 80.46 MB / 0.6575 GB, free: 22.05 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC): time 0.008737/0.3586, allocations: 10.82 MB / 0.668 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.007523/0.3662, allocations: 5.284 MB / 0.6732 GB, free: 9.113 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001891/0.368, allocations: 58.03 kB / 0.6732 GB, free: 9.09 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:22:3-22:125:writable] Warning: Connector switchOffSignal3 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.001158/0.3692, allocations: 0.668 MB / 0.6739 GB, free: 8.578 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001639/0.3708, allocations: 0.9993 MB / 0.6749 GB, free: 7.77 MB / 0.4948 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.002585/0.3734, allocations: 2.081 MB / 0.6769 GB, free: 6.094 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002466/0.3759, allocations: 3.272 MB / 0.6801 GB, free: 3.996 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007928/0.3767, allocations: 0.7383 MB / 0.6808 GB, free: 3.422 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008758/0.3776, allocations: 1.23 MB / 0.682 GB, free: 2.574 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007808/0.3783, allocations: 1.344 MB / 0.6833 GB, free: 1.535 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.000332/0.3787, allocations: 338.5 kB / 0.6837 GB, free: 1.535 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008366/0.3795, allocations: 0.6082 MB / 0.6842 GB, free: 1.41 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.000355/0.3799, allocations: 0.7233 MB / 0.685 GB, free: 0.7969 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0007419/0.3806, allocations: 1.409 MB / 0.6863 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0037/0.3843, allocations: 4.305 MB / 0.6905 GB, free: 12.22 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3843, allocations: 0 / 0.6905 GB, free: 12.22 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.216e-06/0.3843, allocations: 1.25 kB / 0.6905 GB, free: 12.22 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.09e-05/0.3844, allocations: 0 / 0.6905 GB, free: 12.22 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.005474/0.3898, allocations: 3.655 MB / 0.6941 GB, free: 9.668 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.3899, allocations: 10.47 kB / 0.6941 GB, free: 9.668 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001761/0.3916, allocations: 0.6782 MB / 0.6948 GB, free: 9.352 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002103/0.3937, allocations: 1.702 MB / 0.6964 GB, free: 8.02 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00041/0.3942, allocations: 0.7569 MB / 0.6972 GB, free: 7.152 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001985/0.3943, allocations: 180 kB / 0.6973 GB, free: 6.977 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002909/0.3973, allocations: 2.212 MB / 0.6995 GB, free: 4.664 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/0.3973, allocations: 3.938 kB / 0.6995 GB, free: 4.66 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001179/0.3974, allocations: 79.98 kB / 0.6996 GB, free: 4.582 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.252e-05/0.3974, allocations: 40 kB / 0.6996 GB, free: 4.543 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002465/0.3999, allocations: 1.889 MB / 0.7015 GB, free: 2.648 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007546/0.4074, allocations: 8.88 MB / 0.7101 GB, free: 9.328 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002566/0.41, allocations: 1.776 MB / 0.7119 GB, free: 7.535 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001185/0.4112, allocations: 0.8041 MB / 0.7127 GB, free: 6.73 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001246/0.4113, allocations: 28.97 kB / 0.7127 GB, free: 6.703 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001394/0.4127, allocations: 1.131 MB / 0.7138 GB, free: 5.555 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=146): time 2.635e-06/0.4127, allocations: 0 / 0.7138 GB, free: 5.555 MB / 0.5261 GB Notification: Performance of matching and sorting (n=146): time 0.004667/0.4174, allocations: 2.997 MB / 0.7167 GB, free: 2.551 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/0.4175, allocations: 282.3 kB / 0.717 GB, free: 2.211 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002179/0.4197, allocations: 2.314 MB / 0.7192 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.292e-05/0.4198, allocations: 65.69 kB / 0.7193 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008345/0.4206, allocations: 1.045 MB / 0.7203 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003689/0.421, allocations: 0.5231 MB / 0.7208 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005072/0.4215, allocations: 472.8 kB / 0.7213 GB, free: 13.74 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.325e-05/0.4216, allocations: 301.1 kB / 0.7216 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001405/0.423, allocations: 1.03 MB / 0.7226 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001662/0.4246, allocations: 1.411 MB / 0.724 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009229/0.4339, allocations: 5.369 MB / 0.7292 GB, free: 5.32 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.536e-05/0.4339, allocations: 4 kB / 0.7292 GB, free: 5.316 MB / 0.5417 GB Notification: Performance of matching and sorting (n=321) (initialization): time 0.004787/0.4387, allocations: 3.135 MB / 0.7323 GB, free: 2.125 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.145e-05/0.4387, allocations: 57.67 kB / 0.7323 GB, free: 2.062 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/0.4388, allocations: 11.98 kB / 0.7323 GB, free: 2.051 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000408/0.4392, allocations: 273.2 kB / 0.7326 GB, free: 1.781 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/0.4405, allocations: 0.5343 MB / 0.7331 GB, free: 1.246 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002725/0.4432, allocations: 2.534 MB / 0.7356 GB, free: 14.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/0.4445, allocations: 302.3 kB / 0.7359 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/0.4447, allocations: 87.98 kB / 0.736 GB, free: 14.21 MB / 0.5573 GB Warning: Assuming fixed start value for the following 18 variables: BESS.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean BESS.reecC.firstOrder.y:VARIABLE(flow=false start = BESS.reecC.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.firstOrder1.y:VARIABLE(flow=false start = BESS.reecC.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.firstOrder.y:VARIABLE(flow=false start = BESS.regcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean BESS.regcA.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real BESS.injector.running.value:DISCRETE(flow=false start = BESS.injector.Running0 fixed = true ) type: Boolean BESS.LvTfo.running.value:DISCRETE(flow=false start = BESS.LvTfo.Running0 fixed = true ) type: Boolean BESS.regcA.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002382/0.4471, allocations: 1.509 MB / 0.7374 GB, free: 12.71 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001605/0.4487, allocations: 1.404 MB / 0.7388 GB, free: 11.18 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008825/0.4575, allocations: 5.338 MB / 0.744 GB, free: 5.656 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.65e-06/0.4575, allocations: 3.938 kB / 0.744 GB, free: 5.652 MB / 0.5573 GB Notification: Performance of matching and sorting (n=321) (initialization_lambda0): time 0.004555/0.462, allocations: 3.12 MB / 0.7471 GB, free: 2.477 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.669e-05/0.4621, allocations: 57.67 kB / 0.7471 GB, free: 2.414 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.4621, allocations: 8 kB / 0.7471 GB, free: 2.406 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003186/0.4624, allocations: 261.1 kB / 0.7474 GB, free: 2.148 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/0.4636, allocations: 0.5343 MB / 0.7479 GB, free: 1.613 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002254/0.4659, allocations: 2.538 MB / 0.7504 GB, free: 14.96 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/0.4671, allocations: 266.8 kB / 0.7506 GB, free: 14.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/0.4672, allocations: 83.98 kB / 0.7507 GB, free: 14.61 MB / 0.573 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.0005948/0.4678, allocations: 412 kB / 0.7511 GB, free: 14.21 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002504/0.468, allocations: 250.4 kB / 0.7514 GB, free: 13.97 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003347/0.4714, allocations: 2.295 MB / 0.7536 GB, free: 11.66 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.4714, allocations: 12 kB / 0.7536 GB, free: 11.65 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.4714, allocations: 4 kB / 0.7536 GB, free: 11.64 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.4714, allocations: 7.969 kB / 0.7536 GB, free: 11.64 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006317/0.4777, allocations: 5.07 MB / 0.7586 GB, free: 6.469 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.4777, allocations: 416 / 0.7586 GB, free: 6.469 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.4787, allocations: 351.5 kB / 0.7589 GB, free: 6.125 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003364/0.4791, allocations: 256.8 kB / 0.7592 GB, free: 5.871 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.89e-05/0.4792, allocations: 47.97 kB / 0.7592 GB, free: 5.824 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002541/0.4817, allocations: 2.507 MB / 0.7616 GB, free: 3.203 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.4817, allocations: 11.94 kB / 0.7617 GB, free: 3.191 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004457/0.4862, allocations: 3.61 MB / 0.7652 GB, free: 15.52 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007799/0.4869, allocations: 489.8 kB / 0.7656 GB, free: 15.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001644/0.4871, allocations: 43.98 kB / 0.7657 GB, free: 14.99 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006847/0.4878, allocations: 135.9 kB / 0.7658 GB, free: 14.86 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002353/0.488, allocations: 140.9 kB / 0.766 GB, free: 14.72 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.148e-05/0.4881, allocations: 51.98 kB / 0.766 GB, free: 14.67 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001589/0.4897, allocations: 1.526 MB / 0.7675 GB, free: 13.13 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8e-08/0.4897, allocations: 0 / 0.7675 GB, free: 13.13 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002624/0.4923, allocations: 1.022 MB / 0.7685 GB, free: 12.11 MB / 0.5886 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.000997/0.4933, allocations: 455.1 kB / 0.7689 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.005855/0.4992, allocations: 4.13 MB / 0.773 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.4992, allocations: 0 / 0.773 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001725/0.5009, allocations: 1.284 MB / 0.7742 GB, free: 6.312 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.5021, allocations: 356.1 kB / 0.7746 GB, free: 5.977 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00614/0.5082, allocations: 4.685 MB / 0.7791 GB, free: 1.207 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008294/0.5091, allocations: 1.549 MB / 0.7806 GB, free: 15.62 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004353/0.5095, allocations: 167.4 kB / 0.7808 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of SimCode: time 1.814e-06/0.5095, allocations: 0 / 0.7808 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of Templates: time 0.0375/0.547, allocations: 43 MB / 0.8228 GB, free: 4.496 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.pipe >> ../files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.sim & ./Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.pipe 2>&1) [Timeout 480] diffSimulationResults("Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.5572409639135]