Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 96.38 kB / 19.72 MB, free: 432 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 221.9 kB / 23.02 MB, free: 2.961 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.9169/0.9169, allocations: 207.7 MB / 233.9 MB, free: 11.47 MB / 186.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.5938/0.5938, allocations: 122.7 MB / 408.8 MB, free: 15.37 MB / 346.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -noHomotopyOnFirstTry=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRestart=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRootFinding=() since the simulation runtime does not accept it Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Dynawo.Examples.BESS.WECC.BESSCurrentSource,fileNamePrefix="Dynawo_Dynawo_Examples_BESS_WECC_BESSCurrentSource",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.BESS.WECC.BESSCurrentSource,fileNamePrefix="Dynawo_Dynawo_Examples_BESS_WECC_BESSCurrentSource",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002446/0.002446, allocations: 79.88 kB / 0.5827 GB, free: 0.6055 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2848, allocations: 80.92 MB / 0.6618 GB, free: 10.78 MB / 490.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSource): time 0.01122/0.296, allocations: 13.56 MB / 0.675 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.008318/0.3043, allocations: 6.693 MB / 0.6815 GB, free: 6.457 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001483/0.3058, allocations: 95.38 kB / 0.6816 GB, free: 6.363 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001365/0.3072, allocations: 0.876 MB / 0.6825 GB, free: 5.48 MB / 0.4948 GB [/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.002019/0.3092, allocations: 1.374 MB / 0.6838 GB, free: 4.098 MB / 0.4948 GB [/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 numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.003455/0.3126, allocations: 3.079 MB / 0.6868 GB, free: 1.035 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.003631/0.3163, allocations: 5.305 MB / 0.692 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001269/0.3175, allocations: 1.198 MB / 0.6932 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001593/0.3191, allocations: 1.973 MB / 0.6951 GB, free: 8.473 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001255/0.3204, allocations: 1.92 MB / 0.697 GB, free: 6.543 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0004295/0.3208, allocations: 0.5547 MB / 0.6975 GB, free: 5.988 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008713/0.3217, allocations: 0.867 MB / 0.6984 GB, free: 5.121 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.000567/0.3223, allocations: 1.156 MB / 0.6995 GB, free: 3.961 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001114/0.3234, allocations: 1.741 MB / 0.7012 GB, free: 2.211 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.004625/0.328, allocations: 6.908 MB / 0.7079 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.328, allocations: 4 kB / 0.7079 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.836e-06/0.328, allocations: 0 / 0.7079 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.908e-05/0.3281, allocations: 0 / 0.7079 GB, free: 11.28 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 714 * Number of variables: 714 Notification: Performance of Generate backend data structure: time 0.007946/0.336, allocations: 5.765 MB / 0.7136 GB, free: 5.422 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.336, allocations: 12.03 kB / 0.7136 GB, free: 5.41 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003414/0.3364, allocations: 396.3 kB / 0.714 GB, free: 5.016 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003309/0.3397, allocations: 1.095 MB / 0.715 GB, free: 3.918 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002945/0.3426, allocations: 2.681 MB / 0.7177 GB, free: 1.191 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004191/0.3431, allocations: 0.9738 MB / 0.7186 GB, free: 40 kB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002906/0.3434, allocations: 292 kB / 0.7189 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004344/0.3477, allocations: 3.983 MB / 0.7228 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.535e-05/0.3477, allocations: 4 kB / 0.7228 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001862/0.3479, allocations: 124 kB / 0.7229 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.295e-05/0.348, allocations: 68 kB / 0.723 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004036/0.352, allocations: 3.108 MB / 0.726 GB, free: 8.176 MB / 0.5417 GB 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.01094/0.3629, allocations: 10.83 MB / 0.7366 GB, free: 13.15 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003747/0.3667, allocations: 2.759 MB / 0.7393 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001586/0.3683, allocations: 1.265 MB / 0.7405 GB, free: 9.117 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001466/0.3684, allocations: 37.98 kB / 0.7405 GB, free: 9.082 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00209/0.3705, allocations: 1.747 MB / 0.7422 GB, free: 7.309 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=237): time 3.657e-06/0.3705, allocations: 4 kB / 0.7422 GB, free: 7.305 MB / 0.5573 GB Notification: Performance of matching and sorting (n=237): time 0.007125/0.3776, allocations: 4.675 MB / 0.7468 GB, free: 2.625 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001657/0.3778, allocations: 0.4889 MB / 0.7473 GB, free: 2.027 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003561/0.3814, allocations: 3.499 MB / 0.7507 GB, free: 14.54 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001335/0.3815, allocations: 73.7 kB / 0.7508 GB, free: 14.46 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009164/0.3824, allocations: 1.625 MB / 0.7524 GB, free: 12.83 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005337/0.3829, allocations: 0.8601 MB / 0.7532 GB, free: 11.96 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007963/0.3837, allocations: 0.7042 MB / 0.7539 GB, free: 11.25 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.011e-05/0.3838, allocations: 309.1 kB / 0.7542 GB, free: 10.95 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002129/0.3859, allocations: 1.688 MB / 0.7558 GB, free: 9.246 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002817/0.3887, allocations: 2.658 MB / 0.7584 GB, free: 6.312 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01415/0.4029, allocations: 8.58 MB / 0.7668 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/0.4029, allocations: 0 / 0.7668 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of matching and sorting (n=495) (initialization): time 0.006455/0.4093, allocations: 4.91 MB / 0.7716 GB, free: 8.605 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.392e-05/0.4094, allocations: 69.66 kB / 0.7717 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.4094, allocations: 8.844 kB / 0.7717 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004802/0.4099, allocations: 376.6 kB / 0.772 GB, free: 8.152 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001899/0.4118, allocations: 0.8152 MB / 0.7728 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002942/0.4147, allocations: 3.002 MB / 0.7758 GB, free: 4.223 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001712/0.4164, allocations: 469.5 kB / 0.7762 GB, free: 3.762 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001974/0.4166, allocations: 128 kB / 0.7763 GB, free: 3.637 MB / 0.5886 GB Warning: Assuming fixed start value for the following 26 variables: BESS.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.reecC.firstOrder.y:VARIABLE(flow=false start = BESS.reecC.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.firstOrder1.y:VARIABLE(flow=false start = BESS.reecC.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.firstOrder.y:VARIABLE(flow=false start = BESS.regcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean BESS.regcA.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real BESS.injector.running:DISCRETE(flow=false start = BESS.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.LvTfo.running:DISCRETE(flow=false start = BESS.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.HvTfo.running:DISCRETE(flow=false start = BESS.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.repcA.firstOrder.y:VARIABLE(flow=false start = BESS.repcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder1.y:VARIABLE(flow=false start = BESS.repcA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder2.y:VARIABLE(flow=false start = BESS.repcA.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder3.y:VARIABLE(flow=false start = BESS.repcA.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.repcA.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.leadLag.x_scaled[1]:VARIABLE(start = BESS.repcA.leadLag.X0[1] * BESS.repcA.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] BESS.regcA.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003597/0.4202, allocations: 2.35 MB / 0.7786 GB, free: 1.277 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002469/0.4227, allocations: 2.608 MB / 0.7812 GB, free: 14.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01389/0.4366, allocations: 8.439 MB / 0.7894 GB, free: 5.781 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.447e-06/0.4366, allocations: 4 kB / 0.7894 GB, free: 5.777 MB / 0.6042 GB Notification: Performance of matching and sorting (n=495) (initialization_lambda0): time 0.006182/0.4428, allocations: 4.817 MB / 0.7941 GB, free: 0.9258 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.747e-05/0.4428, allocations: 65.66 kB / 0.7942 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.4429, allocations: 12 kB / 0.7942 GB, free: 0.8438 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000444/0.4433, allocations: 385.2 kB / 0.7946 GB, free: 480 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001832/0.4451, allocations: 0.7957 MB / 0.7953 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002832/0.448, allocations: 2.983 MB / 0.7983 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/0.4497, allocations: 410.1 kB / 0.7986 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001696/0.4498, allocations: 132 kB / 0.7988 GB, free: 12.04 MB / 0.6198 GB Warning: Assuming fixed start value for the following 26 variables: BESS.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.reecC.firstOrder.y:VARIABLE(flow=false start = BESS.reecC.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.firstOrder1.y:VARIABLE(flow=false start = BESS.reecC.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.firstOrder.y:VARIABLE(flow=false start = BESS.regcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean BESS.regcA.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real BESS.injector.running:DISCRETE(flow=false start = BESS.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.LvTfo.running:DISCRETE(flow=false start = BESS.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.HvTfo.running:DISCRETE(flow=false start = BESS.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.repcA.firstOrder.y:VARIABLE(flow=false start = BESS.repcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder1.y:VARIABLE(flow=false start = BESS.repcA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder2.y:VARIABLE(flow=false start = BESS.repcA.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder3.y:VARIABLE(flow=false start = BESS.repcA.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.repcA.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.leadLag.x_scaled[1]:VARIABLE(start = BESS.repcA.leadLag.X0[1] * BESS.repcA.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] BESS.regcA.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.BESS.HvTfo.state,BESS.HvTfo.state,$PRE.BESS.LvTfo.state,BESS.LvTfo.state,$PRE.BESS.injector.state,BESS.injector.state,$PRE.line.state,line.state,BESS.injector.switchOffSignal3,BESS.injector.switchOffSignal2,BESS.injector.switchOffSignal1,line.switchOffSignal2,line.switchOffSignal1,BESS.regcA.rateLimFirstOrderFreeze1.local_freeze,BESS.regcA.rateLimFirstOrderFreeze2.local_freeze,$PRE.line.running,$PRE.BESS.regcA.offDelay.delaySignal,$PRE.BESS.regcA.offDelay.tNext,$PRE.BESS.injector.running,$PRE.BESS.LvTfo.running,$PRE.BESS.HvTfo.running,BESS.regcA.QConv0PuPos.k,BESS.regcA.and1.u[1],BESS.regcA.QConv0PuPos.y,BESS.regcA.QConv0PuNeg.k,BESS.regcA.and2.u[2],BESS.regcA.QConv0PuNeg.y,$PRE.BESS.regcA.offDelay.u,BESS.repcA.freeze,BESS.HvTfo.running,BESS.LvTfo.running,BESS.injector.running,BESS.regcA.and2.y,BESS.regcA.and1.y,BESS.regcA.and1.u[2],BESS.regcA.offDelay.tNext,BESS.regcA.offDelay.delaySignal,BESS.regcA.offDelay.u,line.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition14,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 (458): * Single equations (assignments): 456 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,4,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006154/0.4504, allocations: 0.5159 MB / 0.7993 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003581/0.4508, allocations: 385.5 kB / 0.7996 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00477/0.4556, allocations: 3.527 MB / 0.8031 GB, free: 7.605 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.4556, allocations: 24 kB / 0.8031 GB, free: 7.582 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.4556, allocations: 4 kB / 0.8031 GB, free: 7.578 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/0.4556, allocations: 11.95 kB / 0.8031 GB, free: 7.566 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008479/0.4641, allocations: 7.167 MB / 0.8101 GB, free: 292 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.4641, allocations: 4 kB / 0.8101 GB, free: 288 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001526/0.4656, allocations: 0.5233 MB / 0.8106 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004494/0.4661, allocations: 360.6 kB / 0.811 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001287/0.4662, allocations: 71.84 kB / 0.8111 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003071/0.4693, allocations: 2.974 MB / 0.814 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.4693, allocations: 8.031 kB / 0.814 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006883/0.4761, allocations: 5.598 MB / 0.8194 GB, free: 6.543 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001294/0.4774, allocations: 0.7664 MB / 0.8202 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002767/0.4777, allocations: 67.98 kB / 0.8202 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/0.4788, allocations: 223.7 kB / 0.8205 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003082/0.4791, allocations: 201.5 kB / 0.8207 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/0.4792, allocations: 79.97 kB / 0.8207 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.00234/0.4816, allocations: 2.291 MB / 0.823 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4816, allocations: 0 / 0.823 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00247/0.484, allocations: 1.579 MB / 0.8245 GB, free: 1.355 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 20 (BESS.reecC.firstOrder.y,BESS.reecC.firstOrder1.y,BESS.reecC.limPIDFreeze.I.y,BESS.reecC.rateLimFirstOrderFreeze1.y,BESS.reecC.slewRateLimiter.y,BESS.reecC.rateLimFirstOrderFreeze.y,BESS.reecC.varLimPIDFreeze.I.y,BESS.reecC.integrator.y,BESS.regcA.rateLimFirstOrderFreeze2.y,BESS.regcA.rateLimFirstOrderFreeze1.y,BESS.regcA.firstOrder.y,BESS.pll.integrator.y,BESS.pll.limIntegrator.y,BESS.repcA.firstOrder.y,BESS.repcA.limPID.I.y,BESS.repcA.firstOrder1.y,BESS.repcA.firstOrder2.y,BESS.repcA.firstOrder3.y,BESS.repcA.limPIDFreeze.I.y,BESS.repcA.leadLag.x_scaled[1]) * Number of discrete variables: 29 ($whenCondition14,$whenCondition12,$whenCondition13,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running,line.state,BESS.regcA.offDelay.u,BESS.regcA.offDelay.delaySignal,BESS.regcA.offDelay.tNext,BESS.regcA.and1.u[2],BESS.regcA.and1.y,BESS.regcA.and2.y,BESS.injector.running,BESS.injector.state,BESS.LvTfo.running,BESS.LvTfo.state,BESS.HvTfo.running,BESS.HvTfo.state,BESS.repcA.freeze) * Number of discrete states: 5 (BESS.HvTfo.running,BESS.LvTfo.running,BESS.injector.running,line.running,BESS.regcA.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (234): * Single equations (assignments): 223 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,4,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.2516/0.7356, allocations: 6.563 MB / 0.8309 GB, free: 150.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.008223/0.7439, allocations: 6.369 MB / 0.8371 GB, free: 147.6 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/0.7439, allocations: 7.719 kB / 0.8371 GB, free: 147.6 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002327/0.7462, allocations: 1.971 MB / 0.8391 GB, free: 146.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/0.748, allocations: 0.5395 MB / 0.8396 GB, free: 146.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03278/0.7808, allocations: 32.9 MB / 0.8717 GB, free: 118.7 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008457/0.7816, allocations: 1.497 MB / 0.8732 GB, free: 117.2 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001381/0.783, allocations: 0.5538 MB / 0.8737 GB, free: 116.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001245/0.7842, allocations: 1.569 MB / 0.8753 GB, free: 115 MB / 0.6355 GB Notification: Performance of SimCode: time 1.032e-06/0.7842, allocations: 0 / 0.8753 GB, free: 115 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1593/0.9435, allocations: 84.07 MB / 0.9574 GB, free: 31.28 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.14/11.08, allocations: 8 kB / 0.9574 GB, free: 31.27 MB / 0.6355 GB " [Timeout remaining time 649] (rm -f Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe ; mkfifo Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe >> ../files/Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Dynawo_Dynawo_Examples_BESS_WECC_BESSCurrentSource_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --mode=me --timeout=240 --tolerance=1e-05 ../Dynawo_Dynawo_Examples_BESS_WECC_BESSCurrentSource.fmu) > Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe 2>&1) [Timeout 252.0] (rm -f Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-cvode.pipe ; mkfifo Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Dynawo_Dynawo_Examples_BESS_WECC_BESSCurrentSource_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-05 ../Dynawo_Dynawo_Examples_BESS_WECC_BESSCurrentSource_OMSimulator-cs-cvode.fmu) > Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] (rm -f Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-euler.pipe ; mkfifo Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-euler.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Dynawo_Dynawo_Examples_BESS_WECC_BESSCurrentSource_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-05 ../Dynawo_Dynawo_Examples_BESS_WECC_BESSCurrentSource_OMSimulator-cs-euler.fmu) > Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] (rm -f Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource_fmpy.pipe ; mkfifo Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource_fmpy.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource_fmpy_res.csv --start-time 0 --stop-time 20 --timeout 240 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 ../Dynawo_Dynawo_Examples_BESS_WECC_BESSCurrentSource.fmu) > Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource_fmpy.pipe 2>&1) [Timeout 252.0] [Calling sys.exit(0), Time elapsed: 17.01721266284585]