Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001526/0.002614, 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.001122/0.001122, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001391/0.002514, 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.7629/0.7629, allocations: 158.6 MB / 171 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1177/0.8806, allocations: 49.5 MB / 220.5 MB, free: 1.449 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.4227/0.4227, allocations: 90.82 MB / 312.1 MB, free: 14.17 MB / 314.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04474/0.4675, allocations: 32.14 MB / 344.2 MB, free: 14.41 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.BESSCurrentSourceExternalPCS,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS") translateModel(Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 345.7 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.329e-05/2.53e-05, allocations: 2.312 kB / 345.7 MB, free: 12.91 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS): time 0.01872/0.01874, allocations: 14.64 MB / 360.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0164/0.03514, allocations: 7.224 MB / 367.6 MB, free: 6.961 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003958/0.0391, allocations: 99.38 kB / 367.7 MB, free: 6.863 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002994/0.0421, allocations: 0.934 MB / 368.6 MB, free: 5.922 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.006092/0.04819, allocations: 1.424 MB / 370.1 MB, free: 4.488 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.008318/0.05651, allocations: 3.294 MB / 373.4 MB, free: 1.188 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.008446/0.06495, allocations: 5.379 MB / 378.7 MB, free: 11.8 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003039/0.06799, allocations: 1.284 MB / 380 MB, free: 10.42 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006391/0.07438, allocations: 3.606 MB / 383.6 MB, free: 6.727 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003127/0.07751, allocations: 1.666 MB / 385.3 MB, free: 5.055 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001264/0.07877, allocations: 0.5664 MB / 385.9 MB, free: 4.488 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001797/0.08057, allocations: 0.9252 MB / 386.8 MB, free: 3.562 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009393/0.08151, allocations: 0.9268 MB / 387.7 MB, free: 2.633 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001557/0.08307, allocations: 1.157 MB / 388.9 MB, free: 1.473 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00543/0.0885, allocations: 3.58 MB / 392.4 MB, free: 13.88 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.087e-05/0.08852, allocations: 0 / 392.4 MB, free: 13.88 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.08852, allocations: 0 / 392.4 MB, free: 13.88 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.504e-05/0.08861, allocations: 0 / 392.4 MB, free: 13.88 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: 749 * Number of variables: 749 Notification: Performance of Generate backend data structure: time 0.01958/0.1082, allocations: 6.746 MB / 399.2 MB, free: 7.035 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.1082, allocations: 8.031 kB / 399.2 MB, free: 7.027 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01061/0.1188, allocations: 1.624 MB / 400.8 MB, free: 5.402 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009835/0.1287, allocations: 1.706 MB / 402.5 MB, free: 3.648 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006728/0.1293, allocations: 1.098 MB / 403.6 MB, free: 2.352 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000457/0.1298, allocations: 323.9 kB / 403.9 MB, free: 2.035 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007772/0.1376, allocations: 2.873 MB / 406.8 MB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.746e-05/0.1376, allocations: 3.938 kB / 406.8 MB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002234/0.1378, allocations: 128 kB / 406.9 MB, free: 14.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.837e-05/0.1379, allocations: 72 kB / 407 MB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008511/0.1464, allocations: 0.942 MB / 408 MB, free: 13.71 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.01845/0.1649, allocations: 7.744 MB / 415.7 MB, free: 5.797 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00323/0.1681, allocations: 1.41 MB / 417.1 MB, free: 4.375 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006763/0.1688, allocations: 423.6 kB / 417.5 MB, free: 3.961 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002138/0.169, allocations: 57.98 kB / 417.6 MB, free: 3.902 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001284/0.1703, allocations: 1.014 MB / 418.6 MB, free: 2.832 MB / 410.7 MB Notification: Performance of pre-optimization done (n=265): time 4.509e-06/0.1703, allocations: 8 kB / 418.6 MB, free: 2.824 MB / 410.7 MB Notification: Performance of matching and sorting (n=265): time 0.003539/0.1738, allocations: 1.941 MB / 420.5 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.429e-05/0.1739, allocations: 130.9 kB / 420.7 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002022/0.1759, allocations: 2.392 MB / 423.1 MB, free: 14.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001489/0.1761, allocations: 81.7 kB / 423.1 MB, free: 14.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006263/0.1767, allocations: 1.165 MB / 424.3 MB, free: 13.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005768/0.1773, allocations: 0.9375 MB / 425.2 MB, free: 12.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007717/0.178, allocations: 0.7236 MB / 426 MB, free: 11.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.752e-05/0.1781, allocations: 305.1 kB / 426.3 MB, free: 11.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/0.1792, allocations: 0.7339 MB / 427 MB, free: 10.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001411/0.1806, allocations: 1.709 MB / 428.7 MB, free: 8.324 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003343/0.1839, allocations: 3.126 MB / 431.8 MB, free: 5.012 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.201e-05/0.1839, allocations: 0 / 431.8 MB, free: 5.012 MB / 426.7 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.003681/0.1876, allocations: 2.762 MB / 434.6 MB, free: 2.223 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.424e-05/0.1877, allocations: 77.03 kB / 434.7 MB, free: 2.145 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.1877, allocations: 12 kB / 434.7 MB, free: 2.133 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007385/0.1884, allocations: 405.4 kB / 435.1 MB, free: 1.734 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001993/0.1904, allocations: 0.905 MB / 436 MB, free: 0.8281 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002139/0.1926, allocations: 2.03 MB / 438 MB, free: 14.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/0.1938, allocations: 366 kB / 438.4 MB, free: 14.35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001494/0.1939, allocations: 112 kB / 438.5 MB, free: 14.24 MB / 442.7 MB Warning: Assuming fixed start value for the following 28 variables: Zcc.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Zcc.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) ZPcs.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = ZPcs.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.reecC.firstOrder.y:VARIABLE(flow=false start = BESS.reecC.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.firstOrder1.y:VARIABLE(flow=false start = BESS.reecC.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.firstOrder.y:VARIABLE(flow=false start = BESS.regcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean BESS.regcA.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real BESS.injector.running:DISCRETE(flow=false start = BESS.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.LvTfo.running:DISCRETE(flow=false start = BESS.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.HvTfo.running:DISCRETE(flow=false start = BESS.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.repcA.firstOrder.y:VARIABLE(flow=false start = BESS.repcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder1.y:VARIABLE(flow=false start = BESS.repcA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder2.y:VARIABLE(flow=false start = BESS.repcA.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder3.y:VARIABLE(flow=false start = BESS.repcA.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.repcA.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.leadLag.x_scaled[1]:VARIABLE(start = BESS.repcA.leadLag.X0[1] * BESS.repcA.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] ZPcs.running:DISCRETE(flow=false start = ZPcs.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Zcc.running:DISCRETE(flow=false start = Zcc.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.regcA.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001679/0.1956, allocations: 1.011 MB / 439.5 MB, free: 13.22 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0015/0.1971, allocations: 1.694 MB / 441.2 MB, free: 11.23 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003333/0.2004, allocations: 3.1 MB / 444.3 MB, free: 7.945 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.271e-05/0.2004, allocations: 7.984 kB / 444.3 MB, free: 7.938 MB / 442.7 MB Notification: Performance of matching and sorting (n=512) (initialization_lambda0): time 0.003644/0.2041, allocations: 2.754 MB / 447 MB, free: 5.152 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.074e-05/0.2041, allocations: 69.66 kB / 447.1 MB, free: 5.078 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.2042, allocations: 8 kB / 447.1 MB, free: 5.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006722/0.2048, allocations: 404.3 kB / 447.5 MB, free: 4.672 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001928/0.2068, allocations: 0.9012 MB / 448.4 MB, free: 3.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002073/0.2088, allocations: 2.034 MB / 450.5 MB, free: 1.656 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/0.2101, allocations: 358.3 kB / 450.8 MB, free: 1.305 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001457/0.2102, allocations: 104 kB / 450.9 MB, free: 1.203 MB / 442.7 MB Warning: Assuming fixed start value for the following 28 variables: Zcc.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Zcc.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) ZPcs.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = ZPcs.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.reecC.firstOrder.y:VARIABLE(flow=false start = BESS.reecC.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.firstOrder1.y:VARIABLE(flow=false start = BESS.reecC.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.firstOrder.y:VARIABLE(flow=false start = BESS.regcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean BESS.regcA.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real BESS.injector.running:DISCRETE(flow=false start = BESS.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.LvTfo.running:DISCRETE(flow=false start = BESS.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.HvTfo.running:DISCRETE(flow=false start = BESS.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.repcA.firstOrder.y:VARIABLE(flow=false start = BESS.repcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder1.y:VARIABLE(flow=false start = BESS.repcA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder2.y:VARIABLE(flow=false start = BESS.repcA.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder3.y:VARIABLE(flow=false start = BESS.repcA.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.repcA.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.leadLag.x_scaled[1]:VARIABLE(start = BESS.repcA.leadLag.X0[1] * BESS.repcA.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] ZPcs.running:DISCRETE(flow=false start = ZPcs.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Zcc.running:DISCRETE(flow=false start = Zcc.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.regcA.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.Zcc.state,Zcc.state,$PRE.ZPcs.state,ZPcs.state,$PRE.BESS.HvTfo.state,BESS.HvTfo.state,$PRE.BESS.LvTfo.state,BESS.LvTfo.state,$PRE.BESS.injector.state,BESS.injector.state,BESS.reecC.limPIDFreeze.I.resetLocal,BESS.reecC.varLimPIDFreeze.I.resetLocal,BESS.reecC.integrator.local_reset,BESS.pll.integrator.local_reset,BESS.pll.limIntegrator.local_reset,BESS.repcA.limPID.I.local_reset,BESS.repcA.limPIDFreeze.I.resetLocal,BESS.regcA.rateLimFirstOrderFreeze2.local_freeze,BESS.regcA.rateLimFirstOrderFreeze1.local_freeze,ZPcs.switchOffSignal1,ZPcs.switchOffSignal2,Zcc.switchOffSignal1,Zcc.switchOffSignal2,BESS.injector.switchOffSignal1,BESS.injector.switchOffSignal2,BESS.injector.switchOffSignal3,$PRE.BESS.regcA.offDelay.delaySignal,$PRE.BESS.regcA.offDelay.tNext,$PRE.BESS.injector.running,$PRE.BESS.LvTfo.running,$PRE.BESS.HvTfo.running,$PRE.ZPcs.running,$PRE.Zcc.running,BESS.regcA.QConv0PuPos.k,BESS.regcA.QConv0PuNeg.k,$PRE.BESS.regcA.offDelay.u,Zcc.running,ZPcs.running,BESS.repcA.freeze,BESS.HvTfo.running,BESS.LvTfo.running,BESS.injector.running,BESS.regcA.and2.y,BESS.regcA.and1.y,BESS.regcA.and1.u[2],BESS.regcA.offDelay.tNext,BESS.regcA.offDelay.delaySignal,BESS.regcA.offDelay.u,$whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,$whenCondition5,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition14,$whenCondition16,$whenCondition15,$whenCondition17) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (471): * Single equations (assignments): 469 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,4,31.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006066/0.2108, allocations: 0.5248 MB / 451.4 MB, free: 0.6836 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003613/0.2112, allocations: 303.7 kB / 451.7 MB, free: 396 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1507/0.3619, allocations: 1.662 MB / 453.4 MB, free: 69.45 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-05/0.3619, allocations: 26.31 kB / 453.4 MB, free: 69.45 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.3619, allocations: 3.781 kB / 453.4 MB, free: 69.45 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-05/0.3619, allocations: 20.52 kB / 453.4 MB, free: 69.45 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005857/0.3678, allocations: 3.78 MB / 457.2 MB, free: 68.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/0.3678, allocations: 5.969 kB / 457.2 MB, free: 68.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001629/0.3694, allocations: 0.5708 MB / 457.8 MB, free: 68.91 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008684/0.3703, allocations: 398.9 kB / 458.2 MB, free: 68.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006898/0.371, allocations: 390.9 kB / 458.6 MB, free: 68.9 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/0.3711, allocations: 60.81 kB / 458.6 MB, free: 68.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001924/0.373, allocations: 2.009 MB / 460.6 MB, free: 67.78 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.373, allocations: 7.203 kB / 460.6 MB, free: 67.78 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00286/0.3759, allocations: 2.476 MB / 463.1 MB, free: 67.14 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002962/0.3762, allocations: 69.94 kB / 463.2 MB, free: 67.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008451/0.377, allocations: 165.1 kB / 463.3 MB, free: 67.14 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002777/0.3773, allocations: 222.9 kB / 463.6 MB, free: 67.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.976e-05/0.3774, allocations: 68.11 kB / 463.6 MB, free: 67.13 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001029/0.3784, allocations: 1.236 MB / 464.9 MB, free: 67.03 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3784, allocations: 2.312 kB / 464.9 MB, free: 67.03 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002321/0.3807, allocations: 1.716 MB / 466.6 MB, free: 67.03 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 20 (BESS.reecC.firstOrder.y,BESS.reecC.firstOrder1.y,BESS.reecC.limPIDFreeze.I.y,BESS.reecC.rateLimFirstOrderFreeze1.y,BESS.reecC.slewRateLimiter.y,BESS.reecC.rateLimFirstOrderFreeze.y,BESS.reecC.varLimPIDFreeze.I.y,BESS.reecC.integrator.y,BESS.regcA.rateLimFirstOrderFreeze2.y,BESS.regcA.rateLimFirstOrderFreeze1.y,BESS.regcA.firstOrder.y,BESS.pll.integrator.y,BESS.pll.limIntegrator.y,BESS.repcA.firstOrder.y,BESS.repcA.limPID.I.y,BESS.repcA.firstOrder1.y,BESS.repcA.firstOrder2.y,BESS.repcA.firstOrder3.y,BESS.repcA.limPIDFreeze.I.y,BESS.repcA.leadLag.x_scaled[1]) * Number of discrete variables: 34 ($whenCondition17,$whenCondition15,$whenCondition16,$whenCondition14,$whenCondition12,$whenCondition13,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,BESS.regcA.offDelay.u,BESS.regcA.offDelay.delaySignal,BESS.regcA.offDelay.tNext,BESS.regcA.and1.u[2],BESS.regcA.and1.y,BESS.regcA.and2.y,BESS.injector.running,BESS.injector.state,BESS.LvTfo.running,BESS.LvTfo.state,BESS.HvTfo.running,BESS.HvTfo.state,BESS.repcA.freeze,ZPcs.running,ZPcs.state,Zcc.running,Zcc.state) * Number of discrete states: 6 (Zcc.running,ZPcs.running,BESS.HvTfo.running,BESS.LvTfo.running,BESS.injector.running,BESS.regcA.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (258): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,4,31.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001213/0.3819, allocations: 0.6209 MB / 467.2 MB, free: 66.95 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004633/0.3866, allocations: 4.114 MB / 471.3 MB, free: 66.32 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.265e-05/0.3866, allocations: 55.06 kB / 471.4 MB, free: 66.31 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001132/0.3878, allocations: 1.006 MB / 472.4 MB, free: 66.12 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/0.3892, allocations: 0.8075 MB / 473.2 MB, free: 66.09 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007282/0.3965, allocations: 6.374 MB / 479.6 MB, free: 61.97 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004109/0.3969, allocations: 0.609 MB / 480.2 MB, free: 61.52 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001394/0.3983, allocations: 0.5067 MB / 480.7 MB, free: 61.18 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001073/0.3994, allocations: 0.6009 MB / 481.3 MB, free: 60.68 MB / 442.7 MB Notification: Performance of SimCode: time 1.132e-06/0.3994, allocations: 0 / 481.3 MB, free: 60.68 MB / 442.7 MB Notification: Performance of Templates: time 0.05161/0.451, allocations: 55.69 MB / 0.5244 GB, free: 8.039 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.makefile [Timeout 660] (rm -f Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.pipe ; mkfifo Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.pipe >> ../files/Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.sim & ./Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS -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.BESSCurrentSourceExternalPCS.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.481927985325456]