Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.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.001473/0.001473, allocations: 77.05 kB / 19.96 MB, free: 1.746 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.001622/0.001622, allocations: 174.5 kB / 23.24 MB, free: 4.855 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.461/1.461, allocations: 158.6 MB / 185 MB, free: 6.395 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.7511/0.7511, allocations: 90.25 MB / 327.5 MB, free: 52 kB / 302.1 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -noHomotopyOnFirstTry=() since it seems broken on HelloWorld Ignoring simflag -noemit -noRestart=() since it seems broken on HelloWorld Ignoring simflag -noemit -noRootFinding=() since it seems broken on HelloWorld Running command: translateModel(Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS,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.BESSCurrentSourceExternalPCS") translateModel(Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS,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.BESSCurrentSourceExternalPCS") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 0.5005 GB, free: 49.01 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.107e-05/3.339e-05, allocations: 2.281 kB / 0.5005 GB, free: 49 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS): time 0.01475/0.01479, allocations: 14.03 MB / 0.5142 GB, free: 39.62 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01763/0.03242, allocations: 6.878 MB / 0.521 GB, free: 34.68 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005837/0.03826, allocations: 100.3 kB / 0.5211 GB, free: 34.64 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004223/0.04248, allocations: 0.949 MB / 0.522 GB, free: 34.11 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.007957/0.05044, allocations: 1.478 MB / 0.5234 GB, free: 33.11 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:61:5-65:11:writable] Warning: In relation BESS.HvTfo.terminal1.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:61:5-65:11:writable] Warning: In relation BESS.HvTfo.terminal1.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation BESS.HvTfo.terminal2.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation BESS.HvTfo.terminal2.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:61:5-65:11:writable] Warning: In relation ZPcs.terminal1.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:61:5-65:11:writable] Warning: In relation ZPcs.terminal1.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation ZPcs.terminal2.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation ZPcs.terminal2.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:112:3-112:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wTG4CurrentSource_INIT.s0Pu) == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.009699/0.06013, allocations: 3.375 MB / 0.5267 GB, free: 31.03 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01201/0.07214, allocations: 5.572 MB / 0.5322 GB, free: 28.02 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00529/0.07743, allocations: 1.221 MB / 0.5334 GB, free: 27.23 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005073/0.0825, allocations: 1.906 MB / 0.5352 GB, free: 26.19 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004343/0.08684, allocations: 1.676 MB / 0.5369 GB, free: 25.44 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002302/0.08915, allocations: 0.567 MB / 0.5374 GB, free: 25.44 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003721/0.09287, allocations: 0.9011 MB / 0.5383 GB, free: 25.34 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001976/0.09484, allocations: 1.225 MB / 0.5395 GB, free: 24.46 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002783/0.09763, allocations: 1.474 MB / 0.5409 GB, free: 23.54 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0114/0.109, allocations: 7.274 MB / 0.548 GB, free: 18.53 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.109, allocations: 0 / 0.548 GB, free: 18.53 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.109, allocations: 1.156 kB / 0.548 GB, free: 18.53 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002649/0.1093, allocations: 4 kB / 0.548 GB, free: 18.52 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 741 * Number of variables: 741 Notification: Performance of Generate backend data structure: time 0.0216/0.1309, allocations: 6.032 MB / 0.5539 GB, free: 14.44 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/0.131, allocations: 9.125 kB / 0.5539 GB, free: 14.44 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007614/0.1386, allocations: 1.274 MB / 0.5552 GB, free: 13.86 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005889/0.1445, allocations: 2.744 MB / 0.5579 GB, free: 11.77 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000708/0.1452, allocations: 1.309 MB / 0.5591 GB, free: 10.38 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005357/0.1457, allocations: 303 kB / 0.5594 GB, free: 10.28 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007932/0.1536, allocations: 4.121 MB / 0.5634 GB, free: 7.414 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.33e-05/0.1537, allocations: 5.375 kB / 0.5635 GB, free: 7.41 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003077/0.154, allocations: 130.2 kB / 0.5636 GB, free: 7.312 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.821e-05/0.1541, allocations: 71.5 kB / 0.5636 GB, free: 7.312 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006494/0.1606, allocations: 3.206 MB / 0.5668 GB, free: 4.348 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02142/0.182, allocations: 10.78 MB / 0.5773 GB, free: 9.402 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007565/0.1896, allocations: 2.828 MB / 0.5801 GB, free: 6.555 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003262/0.1928, allocations: 1.351 MB / 0.5814 GB, free: 5.199 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002791/0.1931, allocations: 45.97 kB / 0.5814 GB, free: 5.152 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004174/0.1973, allocations: 1.877 MB / 0.5833 GB, free: 3.227 MB / 494.1 MB Notification: Performance of pre-optimization done (n=258): time 5.38e-06/0.1973, allocations: 0 / 0.5833 GB, free: 3.227 MB / 494.1 MB Notification: Performance of matching and sorting (n=258): time 0.01528/0.2126, allocations: 5.093 MB / 0.5882 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003447/0.2129, allocations: 0.4928 MB / 0.5887 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006389/0.2193, allocations: 3.227 MB / 0.5919 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006925/0.22, allocations: 89.69 kB / 0.592 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002144/0.2221, allocations: 1.679 MB / 0.5936 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001875/0.224, allocations: 0.9027 MB / 0.5945 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001567/0.2256, allocations: 0.7121 MB / 0.5952 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.2257, allocations: 301.1 kB / 0.5955 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004146/0.2299, allocations: 1.723 MB / 0.5971 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004903/0.2348, allocations: 2.717 MB / 0.5998 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03931/0.2741, allocations: 8.988 MB / 0.6086 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.493e-05/0.2741, allocations: 7.938 kB / 0.6086 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.02048/0.2946, allocations: 5.055 MB / 0.6135 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001418/0.2948, allocations: 65.67 kB / 0.6136 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.521e-05/0.2948, allocations: 12.84 kB / 0.6136 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/0.296, allocations: 468.5 kB / 0.614 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006648/0.3027, allocations: 0.8113 MB / 0.6148 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009588/0.3123, allocations: 3.396 MB / 0.6182 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006766/0.319, allocations: 429.9 kB / 0.6186 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001285/0.3203, allocations: 132 kB / 0.6187 GB, free: 14.17 MB / 0.5294 GB Warning: Assuming fixed start value for the following 28 variables: Zcc.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Zcc.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) ZPcs.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = ZPcs.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) 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) 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:DISCRETE(flow=false start = BESS.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.LvTfo.running:DISCRETE(flow=false start = BESS.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.HvTfo.running:DISCRETE(flow=false start = BESS.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.repcA.firstOrder.y:VARIABLE(flow=false start = BESS.repcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder1.y:VARIABLE(flow=false start = BESS.repcA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder2.y:VARIABLE(flow=false start = BESS.repcA.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder3.y:VARIABLE(flow=false start = BESS.repcA.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.repcA.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.leadLag.x_scaled[1]:VARIABLE(start = BESS.repcA.leadLag.X0[1] * BESS.repcA.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] ZPcs.running:DISCRETE(flow=false start = ZPcs.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Zcc.running:DISCRETE(flow=false start = Zcc.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.regcA.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01204/0.3324, allocations: 2.42 MB / 0.621 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007658/0.34, allocations: 2.661 MB / 0.6236 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03659/0.3766, allocations: 8.847 MB / 0.6323 GB, free: 15.77 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.857e-05/0.3766, allocations: 7.984 kB / 0.6323 GB, free: 15.76 MB / 0.545 GB Notification: Performance of matching and sorting (n=502) (initialization_lambda0): time 0.01339/0.39, allocations: 4.958 MB / 0.6371 GB, free: 10.77 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001114/0.3901, allocations: 65.66 kB / 0.6372 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.761e-05/0.3902, allocations: 12 kB / 0.6372 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001155/0.3913, allocations: 465 kB / 0.6377 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004026/0.3953, allocations: 0.7957 MB / 0.6384 GB, free: 9.434 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006587/0.4019, allocations: 3.385 MB / 0.6417 GB, free: 5.949 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005402/0.4073, allocations: 406.2 kB / 0.6421 GB, free: 5.551 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009835/0.4083, allocations: 128 kB / 0.6422 GB, free: 5.426 MB / 0.545 GB Warning: Assuming fixed start value for the following 28 variables: Zcc.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Zcc.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) ZPcs.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = ZPcs.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) 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) 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:DISCRETE(flow=false start = BESS.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.LvTfo.running:DISCRETE(flow=false start = BESS.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.HvTfo.running:DISCRETE(flow=false start = BESS.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.repcA.firstOrder.y:VARIABLE(flow=false start = BESS.repcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder1.y:VARIABLE(flow=false start = BESS.repcA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder2.y:VARIABLE(flow=false start = BESS.repcA.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder3.y:VARIABLE(flow=false start = BESS.repcA.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.repcA.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.leadLag.x_scaled[1]:VARIABLE(start = BESS.repcA.leadLag.X0[1] * BESS.repcA.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] ZPcs.running:DISCRETE(flow=false start = ZPcs.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Zcc.running:DISCRETE(flow=false start = Zcc.Running0 fixed = true ) \"Indicates if the component is running or not\" 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: 46 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.Zcc.state,Zcc.state,$PRE.ZPcs.state,ZPcs.state,$PRE.BESS.HvTfo.state,BESS.HvTfo.state,$PRE.BESS.LvTfo.state,BESS.LvTfo.state,$PRE.BESS.injector.state,BESS.injector.state,BESS.injector.switchOffSignal3,BESS.injector.switchOffSignal2,BESS.injector.switchOffSignal1,Zcc.switchOffSignal2,Zcc.switchOffSignal1,ZPcs.switchOffSignal2,ZPcs.switchOffSignal1,BESS.regcA.rateLimFirstOrderFreeze1.local_freeze,BESS.regcA.rateLimFirstOrderFreeze2.local_freeze,$PRE.BESS.regcA.offDelay.delaySignal,$PRE.BESS.regcA.offDelay.tNext,$PRE.BESS.injector.running,$PRE.BESS.LvTfo.running,$PRE.BESS.HvTfo.running,$PRE.ZPcs.running,$PRE.Zcc.running,BESS.regcA.QConv0PuNeg.k,BESS.regcA.QConv0PuPos.k,$PRE.BESS.regcA.offDelay.u,Zcc.running,ZPcs.running,BESS.repcA.freeze,BESS.HvTfo.running,BESS.LvTfo.running,BESS.injector.running,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,$whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,$whenCondition5,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition14,$whenCondition16,$whenCondition15,$whenCondition17,BESS.repcA.limPIDFreeze.I.resetLocal,BESS.repcA.limPID.I.local_reset,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 (462): * Single equations (assignments): 460 * 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 {(14,4,31.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002442/0.4108, allocations: 0.5348 MB / 0.6428 GB, free: 4.902 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001628/0.4124, allocations: 377.6 kB / 0.6431 GB, free: 4.531 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01059/0.423, allocations: 3.803 MB / 0.6468 GB, free: 0.707 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.726e-05/0.423, allocations: 31.94 kB / 0.6469 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.423, allocations: 4 kB / 0.6469 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.033e-05/0.4231, allocations: 15.95 kB / 0.6469 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01809/0.4412, allocations: 7.27 MB / 0.654 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-05/0.4412, allocations: 11.94 kB / 0.654 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003496/0.4447, allocations: 0.5344 MB / 0.6545 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001145/0.4458, allocations: 456.5 kB / 0.655 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002536/0.4461, allocations: 63.98 kB / 0.655 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006837/0.4529, allocations: 3.375 MB / 0.6583 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-05/0.4529, allocations: 15.92 kB / 0.6583 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01703/0.4699, allocations: 5.974 MB / 0.6642 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003761/0.4737, allocations: 0.7586 MB / 0.6649 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001651/0.4754, allocations: 67.98 kB / 0.665 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003725/0.4791, allocations: 231.7 kB / 0.6652 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007456/0.4798, allocations: 225.5 kB / 0.6654 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003317/0.4802, allocations: 87.97 kB / 0.6655 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.006358/0.4865, allocations: 2.09 MB / 0.6675 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4865, allocations: 3.938 kB / 0.6675 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.009137/0.4957, allocations: 1.711 MB / 0.6692 GB, free: 9.426 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 20 (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,BESS.repcA.firstOrder.y,BESS.repcA.limPID.I.y,BESS.repcA.firstOrder1.y,BESS.repcA.firstOrder2.y,BESS.repcA.firstOrder3.y,BESS.repcA.limPIDFreeze.I.y,BESS.repcA.leadLag.x_scaled[1]) * Number of discrete variables: 34 ($whenCondition17,$whenCondition15,$whenCondition16,$whenCondition14,$whenCondition12,$whenCondition13,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,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,BESS.injector.state,BESS.LvTfo.running,BESS.LvTfo.state,BESS.HvTfo.running,BESS.HvTfo.state,BESS.repcA.freeze,ZPcs.running,ZPcs.state,Zcc.running,Zcc.state) * Number of discrete states: 6 (Zcc.running,ZPcs.running,BESS.HvTfo.running,BESS.LvTfo.running,BESS.injector.running,BESS.regcA.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (251): * Single equations (assignments): 238 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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 {(14,4,31.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002374/0.498, allocations: 0.5248 MB / 0.6697 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.02034/0.5184, allocations: 6.628 MB / 0.6762 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-05/0.5184, allocations: 4 kB / 0.6762 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00697/0.5254, allocations: 2.146 MB / 0.6783 GB, free: 232 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006989/0.5323, allocations: 0.5596 MB / 0.6788 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02438/0.5567, allocations: 7.23 MB / 0.6859 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003621/0.5603, allocations: 1.578 MB / 0.6874 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004475/0.5648, allocations: 498.5 kB / 0.6879 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001508/0.5663, allocations: 224.5 kB / 0.6881 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of SimCode: time 2.094e-06/0.5663, allocations: 0 / 0.6881 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of Templates: time 0.1132/0.6795, allocations: 50.36 MB / 0.7373 GB, free: 3.891 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.pipe >> ../files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.sim & ./Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS -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.BESSCurrentSourceExternalPCS.pipe 2>&1) [Timeout 480] diffSimulationResults("Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.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: 9.069964844733477]