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.0009935/0.0009935, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001309/0.002302, allocations: 435.8 kB / 10.33 MB, free: 368 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.00105/0.00105, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00132/0.002369, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.7702/0.7702, allocations: 158.6 MB / 171 MB, free: 2.586 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1145/0.8847, allocations: 49.49 MB / 220.5 MB, free: 1.441 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.4251/0.4251, allocations: 90.83 MB / 312.1 MB, free: 14.13 MB / 314.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04795/0.4731, allocations: 32.15 MB / 344.2 MB, free: 14.39 MB / 346.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 2.745e-06/2.745e-06, allocations: 4 kB / 345.8 MB, free: 12.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.827e-05/2.102e-05, allocations: 5.688 kB / 345.8 MB, free: 12.83 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSource): time 0.01173/0.01175, allocations: 14.17 MB / 360 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0101/0.02185, allocations: 7.092 MB / 367 MB, free: 7.496 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001948/0.02379, allocations: 91.38 kB / 367.1 MB, free: 7.406 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001581/0.02537, allocations: 0.9262 MB / 368.1 MB, free: 6.473 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.002616/0.02799, allocations: 1.382 MB / 369.4 MB, free: 5.082 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.003875/0.03187, allocations: 3.087 MB / 372.5 MB, free: 1.988 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004485/0.03635, allocations: 5.208 MB / 377.7 MB, free: 12.77 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00157/0.03792, allocations: 1.251 MB / 379 MB, free: 11.43 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003381/0.0413, allocations: 3.504 MB / 382.5 MB, free: 7.832 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001401/0.0427, allocations: 1.627 MB / 384.1 MB, free: 6.199 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006126/0.04332, allocations: 0.5586 MB / 384.7 MB, free: 5.641 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.04443, allocations: 0.8901 MB / 385.6 MB, free: 4.75 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005644/0.045, allocations: 0.9035 MB / 386.5 MB, free: 3.844 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001061/0.04606, allocations: 1.13 MB / 387.6 MB, free: 2.711 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00336/0.04942, allocations: 3.46 MB / 391.1 MB, free: 15.24 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.687e-05/0.04944, allocations: 0 / 391.1 MB, free: 15.24 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.04944, allocations: 0 / 391.1 MB, free: 15.24 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.195e-05/0.04951, allocations: 0 / 391.1 MB, free: 15.24 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.007495/0.057, allocations: 6.433 MB / 397.5 MB, free: 8.703 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.05704, allocations: 8.031 kB / 397.5 MB, free: 8.695 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002754/0.05979, allocations: 1.351 MB / 398.9 MB, free: 7.344 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002016/0.06181, allocations: 1.692 MB / 400.5 MB, free: 5.605 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004642/0.06227, allocations: 0.9777 MB / 401.5 MB, free: 4.453 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002555/0.06253, allocations: 296 kB / 401.8 MB, free: 4.164 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002454/0.06498, allocations: 2.762 MB / 404.6 MB, free: 1.125 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.731e-05/0.06502, allocations: 3.938 kB / 404.6 MB, free: 1.121 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00015/0.06517, allocations: 120 kB / 404.7 MB, free: 1.004 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.293e-05/0.0652, allocations: 72 kB / 404.8 MB, free: 0.9336 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/0.06647, allocations: 0.8919 MB / 405.7 MB, free: 8 kB / 394.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.007608/0.07407, allocations: 7.486 MB / 413.1 MB, free: 8.348 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001633/0.07571, allocations: 1.268 MB / 414.4 MB, free: 7.062 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004493/0.07616, allocations: 375.6 kB / 414.8 MB, free: 6.695 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001654/0.07632, allocations: 61.97 kB / 414.8 MB, free: 6.633 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009588/0.07728, allocations: 0.903 MB / 415.7 MB, free: 5.707 MB / 410.7 MB Notification: Performance of pre-optimization done (n=237): time 3.857e-06/0.07728, allocations: 3.938 kB / 415.7 MB, free: 5.703 MB / 410.7 MB Notification: Performance of matching and sorting (n=237): time 0.00278/0.08006, allocations: 1.705 MB / 417.4 MB, free: 3.996 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/0.08012, allocations: 111.1 kB / 417.6 MB, free: 3.867 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001703/0.08182, allocations: 2.386 MB / 419.9 MB, free: 1.473 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000113/0.08194, allocations: 81.7 kB / 420 MB, free: 1.387 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005563/0.08249, allocations: 1.152 MB / 421.2 MB, free: 224 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004525/0.08294, allocations: 0.8525 MB / 422 MB, free: 15.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007104/0.08365, allocations: 0.6956 MB / 422.7 MB, free: 14.65 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.876e-05/0.08371, allocations: 308.9 kB / 423 MB, free: 14.35 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009719/0.08469, allocations: 0.6854 MB / 423.7 MB, free: 13.65 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/0.08596, allocations: 1.607 MB / 425.3 MB, free: 11.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002988/0.08895, allocations: 2.891 MB / 428.2 MB, free: 8.695 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-05/0.08896, allocations: 7.938 kB / 428.2 MB, free: 8.688 MB / 426.7 MB Notification: Performance of matching and sorting (n=483) (initialization): time 0.003259/0.09222, allocations: 2.544 MB / 430.8 MB, free: 6.113 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.266e-05/0.09228, allocations: 69.59 kB / 430.8 MB, free: 6.039 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.09229, allocations: 12 kB / 430.8 MB, free: 6.027 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005935/0.09289, allocations: 320.3 kB / 431.2 MB, free: 5.715 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00185/0.09474, allocations: 0.8816 MB / 432 MB, free: 4.832 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001754/0.09649, allocations: 1.843 MB / 433.9 MB, free: 2.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/0.09765, allocations: 362 kB / 434.2 MB, free: 2.555 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/0.09778, allocations: 95.98 kB / 434.3 MB, free: 2.461 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.001605/0.09939, allocations: 0.9473 MB / 435.3 MB, free: 1.508 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001314/0.1007, allocations: 1.607 MB / 436.9 MB, free: 15.63 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002942/0.1036, allocations: 2.857 MB / 439.7 MB, free: 12.6 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.021e-05/0.1037, allocations: 7.984 kB / 439.7 MB, free: 12.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=483) (initialization_lambda0): time 0.003135/0.1068, allocations: 2.537 MB / 442.3 MB, free: 10.02 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.813e-05/0.1068, allocations: 65.66 kB / 442.3 MB, free: 9.953 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.1069, allocations: 12 kB / 442.4 MB, free: 9.941 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005349/0.1074, allocations: 316.5 kB / 442.7 MB, free: 9.629 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001865/0.1093, allocations: 0.8622 MB / 443.5 MB, free: 8.766 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001673/0.1109, allocations: 1.847 MB / 445.4 MB, free: 6.832 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.1121, allocations: 350.3 kB / 445.7 MB, free: 6.484 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/0.1122, allocations: 95.98 kB / 445.8 MB, free: 6.391 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.0005381/0.1128, allocations: 0.5082 MB / 446.3 MB, free: 5.887 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003116/0.1131, allocations: 287.6 kB / 446.6 MB, free: 5.605 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001993/0.1151, allocations: 1.478 MB / 448.1 MB, free: 4.105 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.1151, allocations: 27.94 kB / 448.1 MB, free: 4.078 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.1151, allocations: 4 kB / 448.1 MB, free: 4.074 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.489e-05/0.1151, allocations: 11.95 kB / 448.1 MB, free: 4.062 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004459/0.1196, allocations: 3.488 MB / 451.6 MB, free: 488 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.1196, allocations: 4.656 kB / 451.6 MB, free: 484 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1569/0.2765, allocations: 0.5306 MB / 452.1 MB, free: 69.07 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001351/0.2779, allocations: 378.5 kB / 452.5 MB, free: 69.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006457/0.2785, allocations: 304.7 kB / 452.8 MB, free: 69.06 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001272/0.2786, allocations: 59.25 kB / 452.9 MB, free: 69.06 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001712/0.2804, allocations: 1.828 MB / 454.7 MB, free: 67.95 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.2804, allocations: 6.312 kB / 454.7 MB, free: 67.95 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00295/0.2833, allocations: 2.242 MB / 456.9 MB, free: 67.41 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003316/0.2836, allocations: 63.48 kB / 457 MB, free: 67.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008279/0.2845, allocations: 160.6 kB / 457.2 MB, free: 67.41 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002537/0.2847, allocations: 210 kB / 457.4 MB, free: 67.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.273e-05/0.2848, allocations: 61.16 kB / 457.4 MB, free: 67.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00114/0.286, allocations: 1.239 MB / 458.7 MB, free: 67.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.286, allocations: 0 / 458.7 MB, free: 67.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002311/0.2883, allocations: 1.638 MB / 460.3 MB, free: 67.3 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.001176/0.2895, allocations: 0.6107 MB / 460.9 MB, free: 67.22 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004223/0.2937, allocations: 3.784 MB / 464.7 MB, free: 66.66 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.74e-05/0.2937, allocations: 56.02 kB / 464.8 MB, free: 66.65 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.2947, allocations: 0.891 MB / 465.6 MB, free: 66.49 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001454/0.2962, allocations: 0.774 MB / 466.4 MB, free: 66.46 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006609/0.3028, allocations: 6.139 MB / 472.6 MB, free: 63.73 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/0.3032, allocations: 0.5833 MB / 473.1 MB, free: 63.6 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001266/0.3045, allocations: 495.5 kB / 473.6 MB, free: 63.55 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001015/0.3055, allocations: 0.5712 MB / 474.2 MB, free: 63.5 MB / 442.7 MB Notification: Performance of SimCode: time 9.72e-07/0.3055, allocations: 0 / 474.2 MB, free: 63.5 MB / 442.7 MB Notification: Performance of Templates: time 0.04822/0.3537, allocations: 51.92 MB / 0.5138 GB, free: 17.6 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.129348158836365]