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.00076/0.00076, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001069/0.001829, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0008726/0.0008726, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001086/0.001958, allocations: 475.6 kB / 11.8 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8458/0.8458, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1608/1.007, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.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.6395/0.6395, allocations: 90.85 MB / 312.3 MB, free: 14.07 MB / 314.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0587/0.6982, allocations: 32.14 MB / 344.4 MB, free: 14.32 MB / 346.7 MB " [Timeout remaining time 179] 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 3.768e-06/3.768e-06, allocations: 4 kB / 346 MB, free: 12.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.66e-05/3.037e-05, allocations: 2.312 kB / 346 MB, free: 12.74 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSource): time 0.01864/0.01867, allocations: 14.18 MB / 360.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01541/0.03407, allocations: 7.085 MB / 367.2 MB, free: 7.402 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002461/0.03654, allocations: 95.38 kB / 367.3 MB, free: 7.309 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001611/0.03815, allocations: 0.9145 MB / 368.2 MB, free: 6.387 MB / 362.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.002766/0.04091, allocations: 1.389 MB / 369.6 MB, free: 4.988 MB / 362.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 not allowed in non-function contexts. Use --allowNonStandardModelica=realEquality to ignore this error. [Non-standard Modelica: --allowNonStandardModelica=realEquality] Notification: Performance of NFTyping.typeClassSections: time 0.004194/0.04511, allocations: 3.087 MB / 372.7 MB, free: 1.895 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003842/0.04895, allocations: 5.215 MB / 377.9 MB, free: 12.66 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00129/0.05024, allocations: 1.251 MB / 379.2 MB, free: 11.32 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002813/0.05305, allocations: 3.508 MB / 382.7 MB, free: 7.727 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001203/0.05425, allocations: 1.624 MB / 384.3 MB, free: 6.098 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004473/0.0547, allocations: 0.5547 MB / 384.9 MB, free: 5.543 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00101/0.05571, allocations: 0.894 MB / 385.8 MB, free: 4.648 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005428/0.05625, allocations: 0.9074 MB / 386.7 MB, free: 3.738 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008191/0.05707, allocations: 1.126 MB / 387.8 MB, free: 2.609 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003049/0.06012, allocations: 3.452 MB / 391.3 MB, free: 15.14 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.481e-05/0.06014, allocations: 0 / 391.3 MB, free: 15.14 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.06014, allocations: 0 / 391.3 MB, free: 15.14 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.62e-05/0.06016, allocations: 0 / 391.3 MB, free: 15.14 MB / 394.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.007306/0.06747, allocations: 6.437 MB / 397.7 MB, free: 8.605 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.06751, allocations: 8.031 kB / 397.7 MB, free: 8.598 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003009/0.07052, allocations: 1.343 MB / 399 MB, free: 7.254 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002017/0.07253, allocations: 1.688 MB / 400.7 MB, free: 5.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004431/0.07298, allocations: 0.9816 MB / 401.7 MB, free: 4.363 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002697/0.07325, allocations: 292 kB / 402 MB, free: 4.078 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002501/0.07575, allocations: 2.766 MB / 404.8 MB, free: 1.035 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.552e-05/0.07578, allocations: 7.938 kB / 404.8 MB, free: 1.027 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001597/0.07594, allocations: 120 kB / 404.9 MB, free: 0.9102 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-05/0.07598, allocations: 72 kB / 405 MB, free: 0.8398 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/0.07725, allocations: 0.8841 MB / 405.8 MB, free: 15.92 MB / 410.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.007701/0.08495, allocations: 7.483 MB / 413.3 MB, free: 8.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001653/0.0866, allocations: 1.276 MB / 414.6 MB, free: 6.969 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004576/0.08706, allocations: 375.6 kB / 415 MB, free: 6.602 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001786/0.08724, allocations: 57.97 kB / 415 MB, free: 6.543 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009187/0.08815, allocations: 0.9108 MB / 415.9 MB, free: 5.609 MB / 410.7 MB Notification: Performance of pre-optimization done (n=237): time 3.346e-06/0.08816, allocations: 4 kB / 415.9 MB, free: 5.605 MB / 410.7 MB Notification: Performance of matching and sorting (n=237): time 0.002885/0.09104, allocations: 1.709 MB / 417.6 MB, free: 3.895 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.49e-05/0.09111, allocations: 115 kB / 417.8 MB, free: 3.762 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001771/0.09288, allocations: 2.386 MB / 420.1 MB, free: 1.367 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001206/0.093, allocations: 77.7 kB / 420.2 MB, free: 1.285 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007594/0.09376, allocations: 1.152 MB / 421.4 MB, free: 120 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005626/0.09432, allocations: 0.8489 MB / 422.2 MB, free: 15.26 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007081/0.09503, allocations: 0.6956 MB / 422.9 MB, free: 14.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.785e-05/0.0951, allocations: 308.9 kB / 423.2 MB, free: 14.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000985/0.09608, allocations: 0.6854 MB / 423.9 MB, free: 13.55 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001364/0.09745, allocations: 1.607 MB / 425.5 MB, free: 11.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003293/0.1007, allocations: 3.049 MB / 428.6 MB, free: 8.449 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.869e-06/0.1007, allocations: 4 kB / 428.6 MB, free: 8.445 MB / 426.7 MB Notification: Performance of matching and sorting (n=483) (initialization): time 0.003198/0.1039, allocations: 2.541 MB / 431.1 MB, free: 5.875 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.793e-05/0.104, allocations: 73.59 kB / 431.2 MB, free: 5.797 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.104, allocations: 11.94 kB / 431.2 MB, free: 5.785 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005944/0.1046, allocations: 320.5 kB / 431.5 MB, free: 5.469 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001875/0.1065, allocations: 0.8778 MB / 432.4 MB, free: 4.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001911/0.1084, allocations: 1.846 MB / 434.2 MB, free: 2.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.1095, allocations: 362 kB / 434.6 MB, free: 2.305 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/0.1097, allocations: 99.97 kB / 434.7 MB, free: 2.207 MB / 426.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.001546/0.1112, allocations: 0.9503 MB / 435.6 MB, free: 1.254 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001374/0.1126, allocations: 1.607 MB / 437.2 MB, free: 15.37 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003255/0.1158, allocations: 3.003 MB / 440.2 MB, free: 12.19 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.295e-06/0.1159, allocations: 4 kB / 440.2 MB, free: 12.19 MB / 442.7 MB Notification: Performance of matching and sorting (n=483) (initialization_lambda0): time 0.00325/0.1191, allocations: 2.544 MB / 442.8 MB, free: 9.613 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.343e-05/0.1192, allocations: 69.66 kB / 442.9 MB, free: 9.539 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.1192, allocations: 8 kB / 442.9 MB, free: 9.531 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005463/0.1197, allocations: 328.5 kB / 443.2 MB, free: 9.207 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001851/0.1216, allocations: 0.8621 MB / 444 MB, free: 8.344 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001916/0.1235, allocations: 1.848 MB / 445.9 MB, free: 6.406 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.1246, allocations: 346.3 kB / 446.2 MB, free: 6.066 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/0.1247, allocations: 95.98 kB / 446.3 MB, free: 5.973 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.0006359/0.1254, allocations: 0.5054 MB / 446.8 MB, free: 5.469 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003575/0.1257, allocations: 283.6 kB / 447.1 MB, free: 5.191 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002189/0.1279, allocations: 1.482 MB / 448.6 MB, free: 3.691 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/0.1279, allocations: 24 kB / 448.6 MB, free: 3.668 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1279, allocations: 4 kB / 448.6 MB, free: 3.664 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/0.128, allocations: 15.95 kB / 448.6 MB, free: 3.648 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00487/0.1328, allocations: 3.492 MB / 452.1 MB, free: 60 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.1328, allocations: 4 kB / 452.1 MB, free: 56 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1953/0.3281, allocations: 0.5256 MB / 452.7 MB, free: 69.57 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001398/0.3295, allocations: 377.1 kB / 453 MB, free: 69.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000704/0.3302, allocations: 309.2 kB / 453.3 MB, free: 69.56 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/0.3304, allocations: 58.67 kB / 453.4 MB, free: 69.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001855/0.3322, allocations: 1.823 MB / 455.2 MB, free: 68.45 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.3322, allocations: 9.969 kB / 455.2 MB, free: 68.45 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003188/0.3354, allocations: 2.253 MB / 457.5 MB, free: 67.92 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002829/0.3357, allocations: 65.95 kB / 457.5 MB, free: 67.92 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008537/0.3365, allocations: 157.3 kB / 457.7 MB, free: 67.92 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002819/0.3368, allocations: 205.8 kB / 457.9 MB, free: 67.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/0.3369, allocations: 58.81 kB / 457.9 MB, free: 67.91 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001247/0.3382, allocations: 1.246 MB / 459.2 MB, free: 67.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3382, allocations: 0 / 459.2 MB, free: 67.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002622/0.3408, allocations: 1.641 MB / 460.8 MB, free: 67.8 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.001342/0.3421, allocations: 0.6165 MB / 461.4 MB, free: 67.73 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004826/0.347, allocations: 3.858 MB / 465.3 MB, free: 67.16 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.621e-05/0.347, allocations: 56.95 kB / 465.4 MB, free: 67.16 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001319/0.3484, allocations: 1.026 MB / 466.4 MB, free: 66.99 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002119/0.3505, allocations: 2.556 MB / 468.9 MB, free: 65.18 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00722/0.3577, allocations: 6.14 MB / 475.1 MB, free: 62.46 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000418/0.3581, allocations: 0.5761 MB / 475.7 MB, free: 62.33 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00127/0.3594, allocations: 495.2 kB / 476.1 MB, free: 62.27 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001097/0.3605, allocations: 0.5922 MB / 476.7 MB, free: 62.21 MB / 442.7 MB Notification: Performance of SimCode: time 1.253e-06/0.3605, allocations: 4 kB / 476.7 MB, free: 62.21 MB / 442.7 MB Notification: Performance of Templates: time 0.05441/0.4149, allocations: 52.83 MB / 0.5172 GB, free: 14.35 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.52220822032541]