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.0009622/0.0009622, allocations: 80.45 kB / 20.71 MB, free: 3.859 MB / 18.57 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.0008732/0.0008732, allocations: 169.2 kB / 23.98 MB, free: 0.5781 MB / 18.57 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.9324/0.9324, allocations: 158.6 MB / 185.8 MB, free: 3.031 MB / 170.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.4874/0.4874, allocations: 90.27 MB / 328.3 MB, free: 15.02 MB / 314.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.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 1.773e-06/1.773e-06, allocations: 0 / 0.5013 GB, free: 16.69 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.043e-05/3.22e-05, allocations: 2.281 kB / 0.5013 GB, free: 16.68 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS): time 0.01352/0.01355, allocations: 14.03 MB / 0.515 GB, free: 7.266 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01163/0.02518, allocations: 6.89 MB / 0.5217 GB, free: 2.305 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002635/0.02782, allocations: 95.47 kB / 0.5218 GB, free: 2.266 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001739/0.02956, allocations: 0.946 MB / 0.5227 GB, free: 1.746 MB / 442.7 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.002967/0.03252, allocations: 1.469 MB / 0.5241 GB, free: 0.625 MB / 442.7 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.00484/0.03736, allocations: 3.38 MB / 0.5274 GB, free: 13.95 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.005166/0.04253, allocations: 5.573 MB / 0.5329 GB, free: 10.33 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001581/0.04411, allocations: 1.222 MB / 0.5341 GB, free: 9.406 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002066/0.04618, allocations: 1.898 MB / 0.5359 GB, free: 8.145 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00154/0.04772, allocations: 1.686 MB / 0.5376 GB, free: 6.949 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005866/0.0483, allocations: 0.5689 MB / 0.5381 GB, free: 6.57 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001106/0.04941, allocations: 0.9018 MB / 0.539 GB, free: 5.668 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006419/0.05005, allocations: 1.222 MB / 0.5402 GB, free: 4.441 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008939/0.05094, allocations: 1.48 MB / 0.5417 GB, free: 2.957 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004908/0.05585, allocations: 7.263 MB / 0.5487 GB, free: 11.67 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.05586, allocations: 0 / 0.5487 GB, free: 11.67 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.05586, allocations: 0 / 0.5487 GB, free: 11.67 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.152e-05/0.05589, allocations: 0 / 0.5487 GB, free: 11.67 MB / 474.7 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.008251/0.06414, allocations: 6.039 MB / 0.5546 GB, free: 5.551 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.06419, allocations: 8.031 kB / 0.5547 GB, free: 5.543 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003118/0.0673, allocations: 1.274 MB / 0.5559 GB, free: 4.266 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002872/0.07017, allocations: 2.753 MB / 0.5586 GB, free: 1.469 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005912/0.07077, allocations: 1.303 MB / 0.5599 GB, free: 15.91 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000307/0.07107, allocations: 303.9 kB / 0.5601 GB, free: 15.62 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004326/0.0754, allocations: 4.118 MB / 0.5642 GB, free: 11.22 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.97e-05/0.07544, allocations: 3.938 kB / 0.5642 GB, free: 11.22 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002036/0.07564, allocations: 128 kB / 0.5643 GB, free: 11.09 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.51e-05/0.07568, allocations: 72 kB / 0.5644 GB, free: 11.02 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004081/0.07976, allocations: 3.21 MB / 0.5675 GB, free: 7.801 MB / 490.7 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.01064/0.0904, allocations: 10.79 MB / 0.578 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003779/0.09418, allocations: 2.826 MB / 0.5808 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001674/0.09585, allocations: 1.347 MB / 0.5821 GB, free: 8.656 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000176/0.09603, allocations: 41.98 kB / 0.5821 GB, free: 8.613 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002219/0.09825, allocations: 1.892 MB / 0.584 GB, free: 6.672 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=258): time 4.268e-06/0.09825, allocations: 0 / 0.584 GB, free: 6.672 MB / 0.4948 GB Notification: Performance of matching and sorting (n=258): time 0.007581/0.1058, allocations: 5.09 MB / 0.589 GB, free: 1.574 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001859/0.106, allocations: 0.4928 MB / 0.5894 GB, free: 0.9727 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002979/0.109, allocations: 3.223 MB / 0.5926 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001479/0.1091, allocations: 85.69 kB / 0.5927 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009736/0.1101, allocations: 1.675 MB / 0.5943 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000619/0.1107, allocations: 0.9143 MB / 0.5952 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007866/0.1115, allocations: 0.7082 MB / 0.5959 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.359e-05/0.1116, allocations: 301.1 kB / 0.5962 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002104/0.1137, allocations: 1.72 MB / 0.5979 GB, free: 8.305 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002564/0.1163, allocations: 2.72 MB / 0.6005 GB, free: 5.305 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01464/0.1309, allocations: 8.988 MB / 0.6093 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.429e-05/0.1309, allocations: 7.938 kB / 0.6093 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.006688/0.1376, allocations: 5.06 MB / 0.6142 GB, free: 7.02 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.27e-05/0.1377, allocations: 61.67 kB / 0.6143 GB, free: 6.953 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.1377, allocations: 15.94 kB / 0.6143 GB, free: 6.938 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006129/0.1383, allocations: 473.1 kB / 0.6148 GB, free: 6.473 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001886/0.1402, allocations: 0.8152 MB / 0.6156 GB, free: 5.656 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003607/0.1438, allocations: 3.39 MB / 0.6189 GB, free: 2.168 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/0.1455, allocations: 425.9 kB / 0.6193 GB, free: 1.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001771/0.1457, allocations: 140 kB / 0.6194 GB, free: 1.613 MB / 0.5261 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.003376/0.1491, allocations: 2.407 MB / 0.6218 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002453/0.1515, allocations: 2.665 MB / 0.6244 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01419/0.1657, allocations: 8.851 MB / 0.633 GB, free: 3.215 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.095e-05/0.1657, allocations: 4 kB / 0.633 GB, free: 3.211 MB / 0.5417 GB Notification: Performance of matching and sorting (n=502) (initialization_lambda0): time 0.006462/0.1722, allocations: 4.962 MB / 0.6379 GB, free: 14.21 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 5.308e-05/0.1722, allocations: 68.16 kB / 0.6379 GB, free: 14.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.1723, allocations: 12 kB / 0.6379 GB, free: 14.13 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005542/0.1728, allocations: 464.7 kB / 0.6384 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001787/0.1746, allocations: 0.7995 MB / 0.6392 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003431/0.178, allocations: 3.385 MB / 0.6425 GB, free: 9.391 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001694/0.1797, allocations: 402.2 kB / 0.6429 GB, free: 8.996 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001705/0.1799, allocations: 136 kB / 0.643 GB, free: 8.863 MB / 0.5573 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.0008193/0.1807, allocations: 0.5258 MB / 0.6435 GB, free: 8.344 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003688/0.1811, allocations: 381.6 kB / 0.6439 GB, free: 7.969 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005167/0.1862, allocations: 3.807 MB / 0.6476 GB, free: 4.141 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/0.1863, allocations: 27.94 kB / 0.6476 GB, free: 4.113 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.1863, allocations: 4 kB / 0.6476 GB, free: 4.109 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.641e-05/0.1863, allocations: 15.94 kB / 0.6476 GB, free: 4.094 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008644/0.1949, allocations: 7.261 MB / 0.6547 GB, free: 12.72 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.1949, allocations: 8.562 kB / 0.6547 GB, free: 12.71 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001522/0.1965, allocations: 0.5344 MB / 0.6552 GB, free: 12.18 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005616/0.197, allocations: 452.5 kB / 0.6557 GB, free: 11.73 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001207/0.1971, allocations: 67.97 kB / 0.6557 GB, free: 11.66 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003385/0.2005, allocations: 3.39 MB / 0.6591 GB, free: 8.172 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.2005, allocations: 7.938 kB / 0.6591 GB, free: 8.164 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00713/0.2077, allocations: 5.966 MB / 0.6649 GB, free: 2.035 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/0.2087, allocations: 0.7664 MB / 0.6656 GB, free: 1.266 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002513/0.2089, allocations: 63.98 kB / 0.6657 GB, free: 1.203 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/0.21, allocations: 227.6 kB / 0.6659 GB, free: 0.9805 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003287/0.2104, allocations: 241.4 kB / 0.6661 GB, free: 0.7461 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/0.2105, allocations: 87.97 kB / 0.6662 GB, free: 0.6602 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002071/0.2126, allocations: 2.094 MB / 0.6683 GB, free: 14.58 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.2126, allocations: 3.938 kB / 0.6683 GB, free: 14.57 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002829/0.2154, allocations: 1.695 MB / 0.6699 GB, free: 12.88 MB / 0.5886 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.0009601/0.2163, allocations: 0.5244 MB / 0.6704 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.008513/0.2249, allocations: 6.633 MB / 0.6769 GB, free: 5.809 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.2249, allocations: 0 / 0.6769 GB, free: 5.809 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002812/0.2277, allocations: 2.147 MB / 0.679 GB, free: 3.652 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/0.2293, allocations: 0.5493 MB / 0.6796 GB, free: 3.117 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2077/0.437, allocations: 7.321 MB / 0.6867 GB, free: 162.8 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00169/0.4387, allocations: 1.574 MB / 0.6882 GB, free: 162.6 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001307/0.44, allocations: 248.9 kB / 0.6885 GB, free: 162.5 MB / 0.5886 GB Notification: Performance of SimCode: time 1.563e-06/0.44, allocations: 0 / 0.6885 GB, free: 162.5 MB / 0.5886 GB Notification: Performance of Templates: time 0.06937/0.5094, allocations: 70.8 MB / 0.7576 GB, free: 117.7 MB / 0.5886 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: 8.677673690021038]