Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource.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.0008911/0.0008911, allocations: 77.48 kB / 21.61 MB, free: 2.848 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.0009016/0.0009016, allocations: 173 kB / 25.04 MB, free: 8.652 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.8709/0.8709, allocations: 158.6 MB / 186.9 MB, free: 2.703 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/package.mo): time 0.4274/0.4274, allocations: 90.84 MB / 330.1 MB, free: 14.24 MB / 314.7 MB " [Timeout remaining time 180] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/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.BESSCurrentSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource") translateModel(Dynawo.Examples.BESS.WECC.BESSCurrentSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 386.7 MB, free: 6.082 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.197e-05/2.359e-05, allocations: 5.688 kB / 386.7 MB, free: 6.078 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSource): time 0.01235/0.01237, allocations: 14.07 MB / 400.8 MB, free: 7.949 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01204/0.02442, allocations: 7.03 MB / 407.8 MB, free: 0.8945 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002098/0.02652, allocations: 95.31 kB / 407.9 MB, free: 0.8008 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001483/0.028, allocations: 0.9068 MB / 408.8 MB, free: 15.89 MB / 394.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.00232/0.03032, allocations: 1.389 MB / 410.2 MB, free: 14.49 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:90:3-90: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.004133/0.03445, allocations: 3.08 MB / 413.3 MB, free: 11.4 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003939/0.03839, allocations: 5.343 MB / 418.6 MB, free: 6.047 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00145/0.03984, allocations: 1.251 MB / 419.9 MB, free: 4.707 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001622/0.04146, allocations: 1.823 MB / 421.7 MB, free: 2.879 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001202/0.04267, allocations: 1.627 MB / 423.3 MB, free: 1.246 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000469/0.04313, allocations: 0.5547 MB / 423.9 MB, free: 0.6914 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.04418, allocations: 0.8902 MB / 424.8 MB, free: 15.8 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006409/0.04482, allocations: 1.172 MB / 425.9 MB, free: 14.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001253/0.04607, allocations: 1.429 MB / 427.4 MB, free: 13.19 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003313/0.04939, allocations: 3.771 MB / 431.1 MB, free: 9.406 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.04939, allocations: 4 kB / 431.2 MB, free: 9.402 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.04939, allocations: 4 kB / 431.2 MB, free: 9.398 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.275e-05/0.04942, allocations: 0 / 431.2 MB, free: 9.398 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 714 * Number of variables: 714 Notification: Performance of Generate backend data structure: time 0.007002/0.05642, allocations: 5.612 MB / 436.8 MB, free: 3.703 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.05645, allocations: 8.031 kB / 436.8 MB, free: 3.695 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002972/0.05942, allocations: 1.351 MB / 438.1 MB, free: 2.344 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001999/0.06142, allocations: 1.688 MB / 439.8 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005879/0.06201, allocations: 0.9738 MB / 440.8 MB, free: 15.46 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002693/0.06228, allocations: 296 kB / 441.1 MB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002455/0.06474, allocations: 2.758 MB / 443.8 MB, free: 12.14 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.662e-05/0.06477, allocations: 7.938 kB / 443.8 MB, free: 12.13 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001528/0.06493, allocations: 120 kB / 444 MB, free: 12.01 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.405e-05/0.06496, allocations: 72 kB / 444 MB, free: 11.94 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.06622, allocations: 0.8958 MB / 444.9 MB, free: 11.01 MB / 426.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.007432/0.07365, allocations: 7.448 MB / 452.4 MB, free: 3.395 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.07532, allocations: 1.275 MB / 453.7 MB, free: 2.105 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004491/0.07577, allocations: 379.6 kB / 454 MB, free: 1.734 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001682/0.07594, allocations: 53.98 kB / 454.1 MB, free: 1.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009801/0.07692, allocations: 0.9108 MB / 455 MB, free: 0.7461 MB / 426.7 MB Notification: Performance of pre-optimization done (n=237): time 3.397e-06/0.07692, allocations: 0 / 455 MB, free: 0.7461 MB / 426.7 MB Notification: Performance of matching and sorting (n=237): time 0.002809/0.07973, allocations: 1.72 MB / 456.7 MB, free: 15.02 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001609/0.07989, allocations: 0.4967 MB / 457.2 MB, free: 14.41 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00168/0.08157, allocations: 2.375 MB / 459.6 MB, free: 12.03 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000113/0.08168, allocations: 85.69 kB / 459.7 MB, free: 11.94 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005622/0.08225, allocations: 1.14 MB / 460.8 MB, free: 10.79 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004383/0.08268, allocations: 0.8601 MB / 461.7 MB, free: 9.918 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001177/0.08386, allocations: 0.6956 MB / 462.4 MB, free: 9.215 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.777e-05/0.08393, allocations: 305.1 kB / 462.7 MB, free: 8.914 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009631/0.08489, allocations: 0.6855 MB / 463.3 MB, free: 8.215 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001325/0.08622, allocations: 1.61 MB / 464.9 MB, free: 6.32 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003043/0.08926, allocations: 2.883 MB / 467.8 MB, free: 3.262 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/0.08927, allocations: 8 kB / 467.8 MB, free: 3.254 MB / 442.7 MB Notification: Performance of matching and sorting (n=483) (initialization): time 0.003343/0.09261, allocations: 2.537 MB / 470.4 MB, free: 0.6875 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.261e-05/0.09267, allocations: 77.59 kB / 470.5 MB, free: 0.6055 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.09269, allocations: 15.94 kB / 470.5 MB, free: 0.5898 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005901/0.09328, allocations: 312.5 kB / 470.8 MB, free: 288 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2021/0.2953, allocations: 0.82 MB / 471.6 MB, free: 73.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001908/0.2973, allocations: 1.835 MB / 473.4 MB, free: 72.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/0.299, allocations: 364.2 kB / 473.8 MB, free: 72.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001492/0.2992, allocations: 98.28 kB / 473.9 MB, free: 72.71 MB / 442.7 MB Warning: Assuming fixed start value for the following 26 variables: 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) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.reecC.firstOrder.y:VARIABLE(flow=false start = BESS.reecC.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.firstOrder1.y:VARIABLE(flow=false start = BESS.reecC.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.firstOrder.y:VARIABLE(flow=false start = BESS.regcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean BESS.regcA.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real BESS.injector.running: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] BESS.regcA.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001771/0.3009, allocations: 0.941 MB / 474.8 MB, free: 72.56 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001341/0.3023, allocations: 1.605 MB / 476.4 MB, free: 71.57 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003233/0.3055, allocations: 2.856 MB / 479.3 MB, free: 71.02 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.758e-06/0.3055, allocations: 3.094 kB / 479.3 MB, free: 71.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=483) (initialization_lambda0): time 0.003093/0.3086, allocations: 2.539 MB / 481.8 MB, free: 70.84 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.088e-05/0.3087, allocations: 70.8 kB / 481.9 MB, free: 70.81 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.3087, allocations: 7.25 kB / 481.9 MB, free: 70.81 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005186/0.3092, allocations: 324.1 kB / 482.2 MB, free: 70.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001617/0.3108, allocations: 0.8114 MB / 483 MB, free: 70.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/0.3123, allocations: 1.837 MB / 484.9 MB, free: 69.67 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.3134, allocations: 343.9 kB / 485.2 MB, free: 69.67 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/0.3135, allocations: 103.2 kB / 485.3 MB, free: 69.67 MB / 442.7 MB Warning: Assuming fixed start value for the following 26 variables: 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) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.reecC.firstOrder.y:VARIABLE(flow=false start = BESS.reecC.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.firstOrder1.y:VARIABLE(flow=false start = BESS.reecC.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.firstOrder.y:VARIABLE(flow=false start = BESS.regcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean BESS.regcA.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real BESS.injector.running: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] 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: 43 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.BESS.HvTfo.state,BESS.HvTfo.state,$PRE.BESS.LvTfo.state,BESS.LvTfo.state,$PRE.BESS.injector.state,BESS.injector.state,$PRE.line.state,line.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,line.switchOffSignal1,line.switchOffSignal2,BESS.injector.switchOffSignal1,BESS.injector.switchOffSignal2,BESS.injector.switchOffSignal3,$PRE.line.running,$PRE.BESS.regcA.offDelay.delaySignal,$PRE.BESS.regcA.offDelay.tNext,$PRE.BESS.injector.running,$PRE.BESS.LvTfo.running,$PRE.BESS.HvTfo.running,BESS.regcA.QConv0PuPos.k,BESS.regcA.QConv0PuNeg.k,$PRE.BESS.regcA.offDelay.u,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,line.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition14) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (446): * Single equations (assignments): 444 * 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 {(10,4,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005354/0.3141, allocations: 0.5063 MB / 485.8 MB, free: 69.46 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002922/0.3144, allocations: 284.1 kB / 486.1 MB, free: 69.46 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001949/0.3163, allocations: 1.477 MB / 487.6 MB, free: 69.33 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.3163, allocations: 27.75 kB / 487.6 MB, free: 69.33 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3163, allocations: 8.906 kB / 487.6 MB, free: 69.33 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/0.3164, allocations: 14.72 kB / 487.6 MB, free: 69.32 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004256/0.3206, allocations: 3.488 MB / 491.1 MB, free: 68.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.3206, allocations: 3.75 kB / 491.1 MB, free: 68.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00129/0.3219, allocations: 0.4992 MB / 491.6 MB, free: 68.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000478/0.3224, allocations: 313.9 kB / 491.9 MB, free: 68.74 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/0.3225, allocations: 58.78 kB / 492 MB, free: 68.74 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001444/0.3239, allocations: 1.828 MB / 493.8 MB, free: 67.6 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.3239, allocations: 7.531 kB / 493.8 MB, free: 67.6 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002359/0.3263, allocations: 2.238 MB / 496 MB, free: 66.99 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006064/0.3269, allocations: 382.8 kB / 496.4 MB, free: 66.87 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002222/0.3271, allocations: 63.81 kB / 496.5 MB, free: 66.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007541/0.3279, allocations: 157 kB / 496.6 MB, free: 66.76 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002359/0.3281, allocations: 205.4 kB / 496.8 MB, free: 66.69 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.941e-05/0.3282, allocations: 59.69 kB / 496.9 MB, free: 66.66 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008741/0.3291, allocations: 1.243 MB / 498.1 MB, free: 65.84 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3291, allocations: 0 / 498.1 MB, free: 65.84 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002191/0.3313, allocations: 1.633 MB / 499.8 MB, free: 64.59 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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: 29 ($whenCondition14,$whenCondition12,$whenCondition13,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running,line.state,BESS.regcA.offDelay.u,BESS.regcA.offDelay.delaySignal,BESS.regcA.offDelay.tNext,BESS.regcA.and1.u[2],BESS.regcA.and1.y,BESS.regcA.and2.y,BESS.injector.running,BESS.injector.state,BESS.LvTfo.running,BESS.LvTfo.state,BESS.HvTfo.running,BESS.HvTfo.state,BESS.repcA.freeze) * Number of discrete states: 5 (BESS.HvTfo.running,BESS.LvTfo.running,BESS.injector.running,line.running,BESS.regcA.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (234): * Single equations (assignments): 223 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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 {(10,4,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001064/0.3323, allocations: 0.5836 MB / 0.4886 GB, free: 64.35 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004008/0.3363, allocations: 3.788 MB / 0.4923 GB, free: 61.32 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.523e-05/0.3364, allocations: 33.94 kB / 0.4924 GB, free: 61.29 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000887/0.3372, allocations: 0.8944 MB / 0.4932 GB, free: 60.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.3385, allocations: 0.5845 MB / 0.4938 GB, free: 60.11 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005842/0.3443, allocations: 5.927 MB / 0.4996 GB, free: 54.44 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.3447, allocations: 0.5753 MB / 0.5001 GB, free: 53.86 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001157/0.3459, allocations: 493.4 kB / 0.5006 GB, free: 53.37 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001038/0.3469, allocations: 0.5739 MB / 0.5012 GB, free: 52.81 MB / 442.7 MB Notification: Performance of SimCode: time 1.062e-06/0.3469, allocations: 0 / 0.5012 GB, free: 52.81 MB / 442.7 MB Notification: Performance of Templates: time 0.04904/0.396, allocations: 51.06 MB / 0.551 GB, free: 2.73 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource.makefile [Timeout 660] (rm -f Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe ; mkfifo Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe >> ../files/Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource.sim & ./Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.207827581092715]