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.00101/0.00101, allocations: 78.66 kB / 21.46 MB, free: 3.039 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.001826/0.001826, allocations: 165.5 kB / 24.85 MB, free: 9.25 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.9089/0.9089, allocations: 158.6 MB / 186.8 MB, free: 2.785 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.4781/0.4781, allocations: 90.57 MB / 329.7 MB, free: 14.57 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 the simulation runtime does not accept it Ignoring simflag -noemit -noRestart=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRootFinding=() since the simulation runtime does not accept it 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.463e-06/1.463e-06, allocations: 0 / 435.2 MB, free: 5.527 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.267e-05/2.414e-05, allocations: 2.312 kB / 435.2 MB, free: 5.523 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS): time 0.01772/0.01774, allocations: 14.54 MB / 449.7 MB, free: 6.906 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0194/0.03714, allocations: 6.956 MB / 456.6 MB, free: 15.93 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009609/0.04675, allocations: 99.38 kB / 456.7 MB, free: 15.84 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002729/0.04948, allocations: 0.9457 MB / 457.7 MB, free: 14.88 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.0108/0.06027, allocations: 1.475 MB / 459.2 MB, free: 13.4 MB / 442.7 MB [/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.01244/0.07271, allocations: 3.341 MB / 462.5 MB, free: 10.05 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.01665/0.08936, allocations: 5.566 MB / 468.1 MB, free: 4.469 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003516/0.09288, allocations: 1.23 MB / 469.3 MB, free: 3.164 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004077/0.09695, allocations: 1.901 MB / 471.2 MB, free: 1.258 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1842/0.2812, allocations: 1.688 MB / 472.9 MB, free: 58.45 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001681/0.2829, allocations: 0.5672 MB / 473.5 MB, free: 58.45 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001805/0.2847, allocations: 0.903 MB / 474.4 MB, free: 58.45 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009235/0.2856, allocations: 1.22 MB / 475.6 MB, free: 58.45 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001826/0.2874, allocations: 1.484 MB / 477.1 MB, free: 58.45 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005132/0.2926, allocations: 3.911 MB / 481 MB, free: 58.18 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.2926, allocations: 2.844 kB / 481 MB, free: 58.18 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2926, allocations: 0 / 481 MB, free: 58.18 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001668/0.2927, allocations: 0 / 481 MB, free: 58.18 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 747 * Number of variables: 747 Notification: Performance of Generate backend data structure: time 0.01124/0.304, allocations: 6.127 MB / 487.1 MB, free: 55.85 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.304, allocations: 8.344 kB / 487.1 MB, free: 55.85 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004112/0.3081, allocations: 1.682 MB / 488.8 MB, free: 55.57 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003172/0.3113, allocations: 2.656 MB / 491.5 MB, free: 54.84 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003895/0.3117, allocations: 1.096 MB / 492.5 MB, free: 53.83 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000377/0.3121, allocations: 316.6 kB / 492.9 MB, free: 53.82 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003886/0.316, allocations: 2.925 MB / 495.8 MB, free: 52.63 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.614e-05/0.316, allocations: 6 kB / 495.8 MB, free: 52.63 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002453/0.3163, allocations: 128.2 kB / 495.9 MB, free: 52.62 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.075e-05/0.3163, allocations: 73.78 kB / 496 MB, free: 52.62 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002063/0.3184, allocations: 1.07 MB / 497.1 MB, free: 52.52 MB / 442.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.01292/0.3313, allocations: 10.99 MB / 0.4961 GB, free: 45.51 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002931/0.3342, allocations: 1.463 MB / 0.4976 GB, free: 45.24 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008592/0.3351, allocations: 491.5 kB / 0.498 GB, free: 45.17 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001981/0.3353, allocations: 55.53 kB / 0.4981 GB, free: 45.17 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001588/0.3369, allocations: 1.014 MB / 0.4991 GB, free: 44.93 MB / 442.7 MB Notification: Performance of pre-optimization done (n=264): time 7.724e-06/0.3369, allocations: 0 / 0.4991 GB, free: 44.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=264): time 0.006576/0.3435, allocations: 2.532 MB / 0.5016 GB, free: 44.39 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/0.3436, allocations: 0.4987 MB / 0.502 GB, free: 43.81 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004201/0.3478, allocations: 2.604 MB / 0.5046 GB, free: 43.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005332/0.3483, allocations: 86.44 kB / 0.5047 GB, free: 43.23 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001559/0.3499, allocations: 1.786 MB / 0.5064 GB, free: 41.98 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001013/0.3509, allocations: 0.9447 MB / 0.5073 GB, free: 41.3 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001254/0.3521, allocations: 0.7633 MB / 0.5081 GB, free: 41.04 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.254e-05/0.3522, allocations: 482.1 kB / 0.5085 GB, free: 40.57 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001646/0.3538, allocations: 0.7311 MB / 0.5093 GB, free: 40.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002181/0.356, allocations: 1.896 MB / 0.5111 GB, free: 39.04 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005046/0.3611, allocations: 3.1 MB / 0.5141 GB, free: 37.67 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.142e-05/0.3611, allocations: 1.969 kB / 0.5141 GB, free: 37.67 MB / 442.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.00609/0.3672, allocations: 3.289 MB / 0.5173 GB, free: 36.72 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.917e-05/0.3672, allocations: 71.75 kB / 0.5174 GB, free: 36.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.458e-05/0.3673, allocations: 13.5 kB / 0.5174 GB, free: 36.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009912/0.3683, allocations: 412.3 kB / 0.5178 GB, free: 36.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002472/0.3707, allocations: 0.7754 MB / 0.5186 GB, free: 36.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003023/0.3738, allocations: 2.687 MB / 0.5212 GB, free: 34.47 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002029/0.3758, allocations: 367.1 kB / 0.5216 GB, free: 34.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001702/0.376, allocations: 111.8 kB / 0.5217 GB, free: 34.24 MB / 442.7 MB 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.002189/0.3781, allocations: 1.047 MB / 0.5227 GB, free: 33.89 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001362/0.3795, allocations: 1.882 MB / 0.5245 GB, free: 32.52 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003089/0.3826, allocations: 3.087 MB / 0.5275 GB, free: 30.32 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.042e-05/0.3826, allocations: 7.094 kB / 0.5275 GB, free: 30.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=508) (initialization_lambda0): time 0.004544/0.3872, allocations: 3.266 MB / 0.5307 GB, free: 27.41 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.821e-05/0.3872, allocations: 69.28 kB / 0.5308 GB, free: 27.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.3872, allocations: 12 kB / 0.5308 GB, free: 27.33 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007423/0.388, allocations: 415.6 kB / 0.5312 GB, free: 27.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001829/0.3898, allocations: 0.7679 MB / 0.532 GB, free: 26.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002365/0.3922, allocations: 2.69 MB / 0.5346 GB, free: 23.83 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002459/0.3946, allocations: 344.4 kB / 0.5349 GB, free: 23.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000202/0.3948, allocations: 112.9 kB / 0.535 GB, free: 23.42 MB / 442.7 MB 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.reecC.limPIDFreeze.I.resetLocal,BESS.reecC.varLimPIDFreeze.I.resetLocal,BESS.reecC.integrator.local_reset,BESS.pll.integrator.local_reset,BESS.pll.limIntegrator.local_reset,BESS.repcA.limPID.I.local_reset,BESS.repcA.limPIDFreeze.I.resetLocal,BESS.regcA.rateLimFirstOrderFreeze2.local_freeze,BESS.regcA.rateLimFirstOrderFreeze1.local_freeze,ZPcs.switchOffSignal1,ZPcs.switchOffSignal2,Zcc.switchOffSignal1,Zcc.switchOffSignal2,BESS.injector.switchOffSignal1,BESS.injector.switchOffSignal2,BESS.injector.switchOffSignal3,$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.QConv0PuPos.k,BESS.regcA.QConv0PuNeg.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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (468): * Single equations (assignments): 466 * 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.000918/0.3957, allocations: 0.5998 MB / 0.5356 GB, free: 22.9 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008368/0.3966, allocations: 479.7 kB / 0.5361 GB, free: 22.44 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003314/0.3999, allocations: 2.044 MB / 0.5381 GB, free: 20.62 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/0.3999, allocations: 28 kB / 0.5381 GB, free: 20.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.3999, allocations: 4 kB / 0.5381 GB, free: 20.59 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.667e-05/0.3999, allocations: 15.94 kB / 0.5381 GB, free: 20.58 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006847/0.4068, allocations: 4.908 MB / 0.5429 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.4068, allocations: 4 kB / 0.5429 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001533/0.4083, allocations: 0.494 MB / 0.5434 GB, free: 15.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007328/0.409, allocations: 389.8 kB / 0.5438 GB, free: 15.08 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000144/0.4092, allocations: 67.97 kB / 0.5438 GB, free: 15.01 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002347/0.4115, allocations: 2.664 MB / 0.5464 GB, free: 12.29 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.4115, allocations: 7.75 kB / 0.5464 GB, free: 12.28 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0044/0.4159, allocations: 3.078 MB / 0.5494 GB, free: 9.07 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001499/0.4174, allocations: 0.7566 MB / 0.5502 GB, free: 8.312 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000366/0.4178, allocations: 67.98 kB / 0.5502 GB, free: 8.246 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.4188, allocations: 159.9 kB / 0.5504 GB, free: 8.09 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000308/0.4191, allocations: 225 kB / 0.5506 GB, free: 7.871 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/0.4192, allocations: 71.97 kB / 0.5507 GB, free: 7.801 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001124/0.4204, allocations: 1.405 MB / 0.552 GB, free: 6.547 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4204, allocations: 3.391 kB / 0.552 GB, free: 6.547 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002956/0.4233, allocations: 1.719 MB / 0.5537 GB, free: 4.824 MB / 442.7 MB 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 (257): * Single equations (assignments): 244 * 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.00103/0.4244, allocations: 494.6 kB / 0.5542 GB, free: 4.527 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005765/0.4301, allocations: 4.324 MB / 0.5584 GB, free: 360 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/0.4301, allocations: 4 kB / 0.5584 GB, free: 356 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001862/0.432, allocations: 1.14 MB / 0.5595 GB, free: 15.27 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002483/0.4345, allocations: 0.634 MB / 0.5602 GB, free: 14.67 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00995/0.4444, allocations: 6.278 MB / 0.5663 GB, free: 8.301 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006893/0.4451, allocations: 0.6104 MB / 0.5669 GB, free: 7.672 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002172/0.4473, allocations: 462.8 kB / 0.5673 GB, free: 7.215 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001497/0.4488, allocations: 0.6815 MB / 0.568 GB, free: 6.531 MB / 458.7 MB Notification: Performance of SimCode: time 2.134e-06/0.4488, allocations: 0 / 0.568 GB, free: 6.531 MB / 458.7 MB Notification: Performance of Templates: time 0.07816/0.5269, allocations: 56.73 MB / 0.6234 GB, free: 14.23 MB / 0.5105 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=240 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.352275615092367]