Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 91.56 kB / 20.45 MB, free: 4.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 169 kB / 23.82 MB, free: 0.75 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8792/0.8792, allocations: 158.6 MB / 185.7 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.4151/0.4151, allocations: 90.56 MB / 328.6 MB, free: 14.71 MB / 314.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -noHomotopyOnFirstTry=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRestart=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRootFinding=() since the simulation runtime does not accept it Running command: translateModel(Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|BESS.injector.PInjPuSn|BESS.injector.QInjPuSn|BESS.injector.UPu|BESS.reecC.idCmdPu|BESS.reecC.iqCmdPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS") translateModel(Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|BESS.injector.PInjPuSn|BESS.injector.QInjPuSn|BESS.injector.UPu|BESS.reecC.idCmdPu|BESS.reecC.iqCmdPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 3.938 kB / 433.8 MB, free: 5.855 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.423e-05/2.607e-05, allocations: 2.312 kB / 433.8 MB, free: 5.852 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS): time 0.01444/0.01447, allocations: 15.06 MB / 448.9 MB, free: 6.707 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01313/0.0276, allocations: 7.003 MB / 455.9 MB, free: 15.69 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003503/0.0311, allocations: 99.38 kB / 456 MB, free: 15.59 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002447/0.03355, allocations: 0.9534 MB / 457 MB, free: 14.63 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.004821/0.03837, allocations: 1.471 MB / 458.4 MB, free: 13.15 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:112:3-112:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wTG4CurrentSource_INIT.s0Pu) == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.006331/0.0447, allocations: 3.36 MB / 461.8 MB, free: 9.781 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.007584/0.05228, allocations: 5.578 MB / 467.4 MB, free: 4.191 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003105/0.05539, allocations: 1.222 MB / 468.6 MB, free: 2.895 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003012/0.0584, allocations: 1.904 MB / 470.5 MB, free: 0.9844 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2169/0.2752, allocations: 1.69 MB / 472.2 MB, free: 58.24 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001603/0.2769, allocations: 0.5669 MB / 472.7 MB, free: 58.24 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001572/0.2784, allocations: 0.9008 MB / 473.6 MB, free: 58.24 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006613/0.2791, allocations: 1.22 MB / 474.9 MB, free: 58.24 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001638/0.2807, allocations: 1.483 MB / 476.4 MB, free: 58.24 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00485/0.2856, allocations: 3.916 MB / 480.3 MB, free: 57.97 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2856, allocations: 0.9688 kB / 480.3 MB, free: 57.97 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2856, allocations: 0 / 480.3 MB, free: 57.97 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001663/0.2857, allocations: 2.781 kB / 480.3 MB, free: 57.97 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 747 * Number of variables: 747 Notification: Performance of Generate backend data structure: time 0.01155/0.2973, allocations: 6.085 MB / 486.4 MB, free: 55.65 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.2973, allocations: 8.438 kB / 486.4 MB, free: 55.65 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003836/0.3012, allocations: 1.68 MB / 488 MB, free: 55.36 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003249/0.3044, allocations: 2.727 MB / 490.8 MB, free: 54.64 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003926/0.3048, allocations: 1.096 MB / 491.9 MB, free: 53.62 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003434/0.3052, allocations: 318.4 kB / 492.2 MB, free: 53.62 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003604/0.3088, allocations: 3.142 MB / 495.3 MB, free: 51.98 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.225e-05/0.3088, allocations: 5.781 kB / 495.3 MB, free: 51.98 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001882/0.309, allocations: 123.6 kB / 495.4 MB, free: 51.89 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-05/0.309, allocations: 73.84 kB / 495.5 MB, free: 51.89 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002261/0.3113, allocations: 1.349 MB / 496.9 MB, free: 51.68 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01066/0.322, allocations: 11.46 MB / 0.4964 GB, free: 44.18 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002581/0.3245, allocations: 1.614 MB / 0.498 GB, free: 43.79 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009204/0.3255, allocations: 0.5816 MB / 0.4986 GB, free: 43.67 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001638/0.3256, allocations: 55.59 kB / 0.4986 GB, free: 43.66 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001633/0.3273, allocations: 1.106 MB / 0.4997 GB, free: 43.3 MB / 442.7 MB Notification: Performance of pre-optimization done (n=264): time 6.042e-06/0.3273, allocations: 0 / 0.4997 GB, free: 43.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=264): time 0.006706/0.334, allocations: 2.859 MB / 0.5025 GB, free: 42.6 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001426/0.3341, allocations: 0.4961 MB / 0.503 GB, free: 42.03 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003953/0.3381, allocations: 2.711 MB / 0.5056 GB, free: 41.05 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002956/0.3384, allocations: 87.25 kB / 0.5057 GB, free: 40.98 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00113/0.3395, allocations: 1.748 MB / 0.5074 GB, free: 39.62 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007307/0.3402, allocations: 0.9314 MB / 0.5083 GB, free: 38.9 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009615/0.3412, allocations: 0.7446 MB / 0.509 GB, free: 38.55 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.652e-05/0.3412, allocations: 477.4 kB / 0.5095 GB, free: 38.08 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001396/0.3426, allocations: 0.8014 MB / 0.5103 GB, free: 37.92 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001708/0.3443, allocations: 1.943 MB / 0.5122 GB, free: 36.49 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003736/0.3481, allocations: 3.239 MB / 0.5153 GB, free: 35.04 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.388e-05/0.3481, allocations: 2.656 kB / 0.5153 GB, free: 35.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.005114/0.3532, allocations: 3.438 MB / 0.5187 GB, free: 34.08 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.38e-05/0.3533, allocations: 67.53 kB / 0.5188 GB, free: 34.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/0.3533, allocations: 10.78 kB / 0.5188 GB, free: 34.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008996/0.3542, allocations: 425.5 kB / 0.5192 GB, free: 33.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001917/0.3561, allocations: 0.7769 MB / 0.5199 GB, free: 33.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002784/0.3589, allocations: 2.76 MB / 0.5226 GB, free: 31.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002108/0.361, allocations: 368.1 kB / 0.523 GB, free: 31.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002106/0.3612, allocations: 138.9 kB / 0.5231 GB, free: 31.5 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.002217/0.3634, allocations: 1.091 MB / 0.5242 GB, free: 31.16 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001544/0.365, allocations: 1.937 MB / 0.5261 GB, free: 29.38 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003544/0.3685, allocations: 3.218 MB / 0.5292 GB, free: 26.2 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.339e-05/0.3685, allocations: 4 kB / 0.5292 GB, free: 26.19 MB / 442.7 MB Notification: Performance of matching and sorting (n=508) (initialization_lambda0): time 0.007373/0.3759, allocations: 3.421 MB / 0.5326 GB, free: 23.14 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.292e-05/0.376, allocations: 69.84 kB / 0.5326 GB, free: 23.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.367e-05/0.376, allocations: 8 kB / 0.5326 GB, free: 23.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001247/0.3772, allocations: 428 kB / 0.533 GB, free: 22.74 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003567/0.3808, allocations: 0.7705 MB / 0.5338 GB, free: 22.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004325/0.3851, allocations: 2.744 MB / 0.5365 GB, free: 19.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00278/0.3879, allocations: 357 kB / 0.5368 GB, free: 19.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002973/0.3882, allocations: 136 kB / 0.5369 GB, free: 18.98 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.injector.switchOffSignal3,BESS.injector.switchOffSignal2,BESS.injector.switchOffSignal1,Zcc.switchOffSignal2,Zcc.switchOffSignal1,ZPcs.switchOffSignal2,ZPcs.switchOffSignal1,BESS.regcA.rateLimFirstOrderFreeze1.local_freeze,BESS.regcA.rateLimFirstOrderFreeze2.local_freeze,$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.QConv0PuNeg.k,BESS.regcA.QConv0PuPos.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,BESS.repcA.limPIDFreeze.I.resetLocal,BESS.repcA.limPID.I.local_reset,BESS.pll.limIntegrator.local_reset,BESS.pll.integrator.local_reset,BESS.reecC.integrator.local_reset,BESS.reecC.varLimPIDFreeze.I.resetLocal,BESS.reecC.limPIDFreeze.I.resetLocal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (468): * Single equations (assignments): 466 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,4,31.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008981/0.3891, allocations: 0.6201 MB / 0.5376 GB, free: 18.42 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006627/0.3898, allocations: 465.5 kB / 0.538 GB, free: 17.96 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003466/0.3932, allocations: 2.268 MB / 0.5402 GB, free: 15.69 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.3933, allocations: 24 kB / 0.5402 GB, free: 15.67 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.3933, allocations: 4 kB / 0.5402 GB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.677e-05/0.3933, allocations: 27.88 kB / 0.5403 GB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007207/0.4005, allocations: 5.545 MB / 0.5457 GB, free: 10.08 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.4005, allocations: 4 kB / 0.5457 GB, free: 10.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001487/0.402, allocations: 0.5032 MB / 0.5462 GB, free: 9.602 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008305/0.4028, allocations: 403.3 kB / 0.5466 GB, free: 9.203 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002112/0.403, allocations: 71.97 kB / 0.5466 GB, free: 9.133 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002571/0.4056, allocations: 2.72 MB / 0.5493 GB, free: 6.297 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.4056, allocations: 7.375 kB / 0.5493 GB, free: 6.293 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005417/0.411, allocations: 3.413 MB / 0.5526 GB, free: 2.695 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001571/0.4126, allocations: 0.7584 MB / 0.5534 GB, free: 1.934 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004088/0.413, allocations: 67.98 kB / 0.5534 GB, free: 1.867 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/0.414, allocations: 167.2 kB / 0.5536 GB, free: 1.707 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00037/0.4144, allocations: 228.9 kB / 0.5538 GB, free: 1.484 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001209/0.4145, allocations: 87.97 kB / 0.5539 GB, free: 1.398 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001942/0.4165, allocations: 1.568 MB / 0.5554 GB, free: 15.85 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4165, allocations: 0 / 0.5554 GB, free: 15.85 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00363/0.4201, allocations: 1.715 MB / 0.5571 GB, free: 14.13 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 20 (BESS.reecC.firstOrder.y,BESS.reecC.firstOrder1.y,BESS.reecC.limPIDFreeze.I.y,BESS.reecC.rateLimFirstOrderFreeze1.y,BESS.reecC.slewRateLimiter.y,BESS.reecC.rateLimFirstOrderFreeze.y,BESS.reecC.varLimPIDFreeze.I.y,BESS.reecC.integrator.y,BESS.regcA.rateLimFirstOrderFreeze2.y,BESS.regcA.rateLimFirstOrderFreeze1.y,BESS.regcA.firstOrder.y,BESS.pll.integrator.y,BESS.pll.limIntegrator.y,BESS.repcA.firstOrder.y,BESS.repcA.limPID.I.y,BESS.repcA.firstOrder1.y,BESS.repcA.firstOrder2.y,BESS.repcA.firstOrder3.y,BESS.repcA.limPIDFreeze.I.y,BESS.repcA.leadLag.x_scaled[1]) * Number of discrete variables: 34 ($whenCondition17,$whenCondition15,$whenCondition16,$whenCondition14,$whenCondition12,$whenCondition13,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,BESS.regcA.offDelay.u,BESS.regcA.offDelay.delaySignal,BESS.regcA.offDelay.tNext,BESS.regcA.and1.u[2],BESS.regcA.and1.y,BESS.regcA.and2.y,BESS.injector.running,BESS.injector.state,BESS.LvTfo.running,BESS.LvTfo.state,BESS.HvTfo.running,BESS.HvTfo.state,BESS.repcA.freeze,ZPcs.running,ZPcs.state,Zcc.running,Zcc.state) * Number of discrete states: 6 (Zcc.running,ZPcs.running,BESS.HvTfo.running,BESS.LvTfo.running,BESS.injector.running,BESS.regcA.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (257): * Single equations (assignments): 244 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,4,31.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001094/0.4212, allocations: 497.6 kB / 0.5576 GB, free: 13.83 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007222/0.4284, allocations: 4.543 MB / 0.562 GB, free: 9.344 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/0.4284, allocations: 5.125 kB / 0.562 GB, free: 9.34 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001857/0.4303, allocations: 1.239 MB / 0.5632 GB, free: 8.129 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00224/0.4325, allocations: 0.638 MB / 0.5638 GB, free: 7.523 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009514/0.442, allocations: 6.322 MB / 0.57 GB, free: 1.078 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006152/0.4427, allocations: 0.6143 MB / 0.5706 GB, free: 456 kB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001806/0.4445, allocations: 486.1 kB / 0.5711 GB, free: 15.97 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006559/0.4451, allocations: 224.5 kB / 0.5713 GB, free: 15.75 MB / 474.7 MB Notification: Performance of SimCode: time 2.505e-06/0.4451, allocations: 0 / 0.5713 GB, free: 15.75 MB / 474.7 MB Notification: Performance of Templates: time 0.06739/0.5125, allocations: 53.64 MB / 0.6237 GB, free: 10.55 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.pipe >> ../files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.sim & ./Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.840073260013014]