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.00103/0.00103, allocations: 87.56 kB / 20.45 MB, free: 4.129 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.001107/0.001107, allocations: 165.3 kB / 23.81 MB, free: 0.7617 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.8668/0.8668, allocations: 158.6 MB / 185.7 MB, free: 2.477 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.4644/0.4644, 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.643e-06/1.643e-06, allocations: 0 / 433.8 MB, free: 5.863 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.577e-05/2.741e-05, allocations: 2.312 kB / 433.8 MB, free: 5.859 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS): time 0.01264/0.01267, allocations: 15.07 MB / 448.9 MB, free: 6.707 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00912/0.02179, allocations: 7.003 MB / 455.9 MB, free: 15.68 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00173/0.02352, allocations: 95.38 kB / 456 MB, free: 15.59 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00141/0.02493, allocations: 0.9533 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.00231/0.02724, allocations: 1.467 MB / 458.4 MB, free: 13.16 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.003782/0.03102, allocations: 3.372 MB / 461.8 MB, free: 9.777 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.004283/0.03531, allocations: 5.558 MB / 467.4 MB, free: 4.203 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001399/0.0367, allocations: 1.226 MB / 468.6 MB, free: 2.902 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001717/0.03842, allocations: 1.901 MB / 470.5 MB, free: 0.9961 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1763/0.2147, allocations: 1.697 MB / 472.2 MB, free: 58.18 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002149/0.2169, allocations: 0.5649 MB / 472.7 MB, free: 58.18 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002274/0.2192, allocations: 0.9054 MB / 473.6 MB, free: 58.18 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001013/0.2202, allocations: 1.227 MB / 474.9 MB, free: 58.18 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001481/0.2216, allocations: 1.474 MB / 476.3 MB, free: 58.18 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006059/0.2277, allocations: 3.922 MB / 480.3 MB, free: 57.9 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.2277, allocations: 0 / 480.3 MB, free: 57.9 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.2277, allocations: 0 / 480.3 MB, free: 57.9 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003568/0.2281, allocations: 0 / 480.3 MB, free: 57.9 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.01057/0.2386, allocations: 6.083 MB / 486.4 MB, free: 55.58 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.2387, allocations: 12.41 kB / 486.4 MB, free: 55.58 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00397/0.2427, allocations: 1.68 MB / 488 MB, free: 55.3 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003281/0.2459, allocations: 2.723 MB / 490.8 MB, free: 54.58 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003873/0.2463, allocations: 1.094 MB / 491.9 MB, free: 53.57 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003858/0.2467, allocations: 314.5 kB / 492.2 MB, free: 53.56 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003828/0.2505, allocations: 3.143 MB / 495.3 MB, free: 51.89 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.323e-05/0.2506, allocations: 6.156 kB / 495.3 MB, free: 51.89 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000239/0.2508, allocations: 128.2 kB / 495.4 MB, free: 51.79 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-05/0.2509, allocations: 71.16 kB / 495.5 MB, free: 51.79 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002851/0.2537, allocations: 1.346 MB / 496.9 MB, free: 51.58 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.0133/0.2671, allocations: 11.46 MB / 0.4964 GB, free: 44.09 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002951/0.27, allocations: 1.613 MB / 0.498 GB, free: 43.7 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/0.271, allocations: 0.5818 MB / 0.4985 GB, free: 43.57 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001967/0.2712, allocations: 60.67 kB / 0.4986 GB, free: 43.57 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00172/0.2729, allocations: 1.109 MB / 0.4997 GB, free: 43.2 MB / 442.7 MB Notification: Performance of pre-optimization done (n=264): time 7.484e-06/0.2729, allocations: 0 / 0.4997 GB, free: 43.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=264): time 0.006414/0.2794, allocations: 2.857 MB / 0.5025 GB, free: 42.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.2795, allocations: 0.4916 MB / 0.503 GB, free: 41.93 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004339/0.2838, allocations: 2.716 MB / 0.5056 GB, free: 40.95 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000383/0.2842, allocations: 85.44 kB / 0.5057 GB, free: 40.88 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001196/0.2854, allocations: 1.746 MB / 0.5074 GB, free: 39.53 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008472/0.2862, allocations: 0.9355 MB / 0.5083 GB, free: 38.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001064/0.2873, allocations: 0.7441 MB / 0.509 GB, free: 38.45 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.571e-05/0.2873, allocations: 479.2 kB / 0.5095 GB, free: 37.98 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001519/0.2888, allocations: 0.8005 MB / 0.5103 GB, free: 37.82 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001767/0.2906, allocations: 1.94 MB / 0.5122 GB, free: 36.39 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003935/0.2945, allocations: 3.236 MB / 0.5153 GB, free: 34.95 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.652e-05/0.2946, allocations: 2.938 kB / 0.5153 GB, free: 34.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.005555/0.3001, allocations: 3.441 MB / 0.5187 GB, free: 33.98 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.687e-05/0.3002, allocations: 68 kB / 0.5188 GB, free: 33.94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.048e-05/0.3002, allocations: 9.406 kB / 0.5188 GB, free: 33.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009975/0.3012, allocations: 423.6 kB / 0.5192 GB, free: 33.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002013/0.3032, allocations: 0.7806 MB / 0.5199 GB, free: 33.83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00285/0.3061, allocations: 2.758 MB / 0.5226 GB, free: 31.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002416/0.3085, allocations: 369.6 kB / 0.523 GB, free: 31.44 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002726/0.3088, allocations: 137.4 kB / 0.5231 GB, free: 31.41 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.00254/0.3113, allocations: 1.095 MB / 0.5242 GB, free: 31.06 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001691/0.313, allocations: 1.931 MB / 0.5261 GB, free: 29.34 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00364/0.3166, allocations: 3.223 MB / 0.5292 GB, free: 26.15 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.289e-05/0.3166, allocations: 0 / 0.5292 GB, free: 26.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=508) (initialization_lambda0): time 0.005239/0.3219, allocations: 3.419 MB / 0.5326 GB, free: 23.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.199e-05/0.3219, allocations: 69.84 kB / 0.5326 GB, free: 23.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.322, allocations: 8 kB / 0.5326 GB, free: 23.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008415/0.3228, allocations: 432 kB / 0.533 GB, free: 22.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001827/0.3246, allocations: 0.7724 MB / 0.5338 GB, free: 22.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002789/0.3274, allocations: 2.746 MB / 0.5365 GB, free: 19.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002179/0.3296, allocations: 355.9 kB / 0.5368 GB, free: 19.08 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002209/0.3298, allocations: 139.4 kB / 0.5369 GB, free: 18.95 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.001033/0.3308, allocations: 0.614 MB / 0.5375 GB, free: 18.41 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001031/0.3319, allocations: 465.5 kB / 0.538 GB, free: 17.95 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003904/0.3358, allocations: 2.27 MB / 0.5402 GB, free: 15.67 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.3358, allocations: 31.84 kB / 0.5402 GB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.3358, allocations: 4 kB / 0.5402 GB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/0.3358, allocations: 15.89 kB / 0.5403 GB, free: 15.62 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007637/0.3435, allocations: 5.549 MB / 0.5457 GB, free: 10.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.597e-06/0.3435, allocations: 4.625 kB / 0.5457 GB, free: 10.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001516/0.345, allocations: 0.4959 MB / 0.5462 GB, free: 9.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008235/0.3458, allocations: 401.5 kB / 0.5465 GB, free: 9.195 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001676/0.346, allocations: 71.97 kB / 0.5466 GB, free: 9.125 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002649/0.3486, allocations: 2.727 MB / 0.5493 GB, free: 6.281 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.994e-06/0.3486, allocations: 7.562 kB / 0.5493 GB, free: 6.277 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00502/0.3536, allocations: 3.413 MB / 0.5526 GB, free: 2.684 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001512/0.3552, allocations: 0.7662 MB / 0.5534 GB, free: 1.914 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003672/0.3555, allocations: 63.98 kB / 0.5534 GB, free: 1.852 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/0.3566, allocations: 170.6 kB / 0.5536 GB, free: 1.688 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003271/0.3569, allocations: 228 kB / 0.5538 GB, free: 1.469 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/0.357, allocations: 95.95 kB / 0.5539 GB, free: 1.375 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00193/0.359, allocations: 1.559 MB / 0.5554 GB, free: 15.83 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.359, allocations: 0 / 0.5554 GB, free: 15.83 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004135/0.3631, allocations: 1.715 MB / 0.5571 GB, free: 14.11 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.001208/0.3643, allocations: 492.3 kB / 0.5576 GB, free: 13.82 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007568/0.3719, allocations: 4.551 MB / 0.562 GB, free: 9.324 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/0.3719, allocations: 8.125 kB / 0.562 GB, free: 9.316 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001906/0.3738, allocations: 1.23 MB / 0.5632 GB, free: 8.117 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002404/0.3762, allocations: 0.6445 MB / 0.5638 GB, free: 7.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009895/0.3861, allocations: 6.316 MB / 0.57 GB, free: 1.059 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000683/0.3868, allocations: 0.6104 MB / 0.5706 GB, free: 440 kB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002095/0.3889, allocations: 482.7 kB / 0.5711 GB, free: 15.95 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006586/0.3895, allocations: 228.5 kB / 0.5713 GB, free: 15.73 MB / 474.7 MB Notification: Performance of SimCode: time 2.204e-06/0.3895, allocations: 4 kB / 0.5713 GB, free: 15.73 MB / 474.7 MB Notification: Performance of Templates: time 0.06537/0.4549, allocations: 51.36 MB / 0.6215 GB, free: 12.76 MB / 0.5105 GB " [Timeout remaining time 660] 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.835725951939821]