Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008643/0.0008643, allocations: 92.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.0009424/0.0009424, allocations: 223.8 kB / 23.02 MB, free: 2.969 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 1.143/1.143, 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.5565/0.5565, 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: "" <> buildModelFMU(Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS,fileNamePrefix="Dynawo_Dynawo_Examples_BESS_WECC_BESSCurrentSourceExternalPCS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS,fileNamePrefix="Dynawo_Dynawo_Examples_BESS_WECC_BESSCurrentSourceExternalPCS",fmuType="me",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.001599/0.001599, allocations: 74.55 kB / 0.5797 GB, free: 8.367 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.4197, allocations: 80.9 MB / 0.6587 GB, free: 20.22 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS): time 0.01251/0.4323, allocations: 14.02 MB / 0.6723 GB, free: 9.617 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01094/0.4432, allocations: 6.828 MB / 0.679 GB, free: 4.086 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002266/0.4455, allocations: 99.91 kB / 0.6791 GB, free: 4.043 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001557/0.447, allocations: 0.8942 MB / 0.68 GB, free: 3.316 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.002766/0.4498, allocations: 1.394 MB / 0.6813 GB, free: 2.168 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.004267/0.4541, allocations: 3.301 MB / 0.6846 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.005388/0.4594, allocations: 5.471 MB / 0.6899 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00166/0.4611, allocations: 1.222 MB / 0.6911 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002124/0.4632, allocations: 2.029 MB / 0.6931 GB, free: 9.695 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001731/0.465, allocations: 1.977 MB / 0.695 GB, free: 8.195 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0006715/0.4656, allocations: 0.5665 MB / 0.6956 GB, free: 7.926 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001192/0.4668, allocations: 0.9059 MB / 0.6965 GB, free: 7.02 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.000708/0.4675, allocations: 1.187 MB / 0.6976 GB, free: 5.828 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001276/0.4688, allocations: 1.799 MB / 0.6994 GB, free: 4.02 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.005739/0.4745, allocations: 7.076 MB / 0.7063 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.4746, allocations: 0 / 0.7063 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.996e-06/0.4746, allocations: 0 / 0.7063 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.616e-05/0.4746, allocations: 0 / 0.7063 GB, free: 12.92 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: 749 * Number of variables: 749 Notification: Performance of Generate backend data structure: time 0.01117/0.4858, allocations: 6.028 MB / 0.7122 GB, free: 6.801 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.217e-05/0.4859, allocations: 8.031 kB / 0.7122 GB, free: 6.793 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004189/0.4863, allocations: 417.3 kB / 0.7126 GB, free: 6.375 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004045/0.4903, allocations: 1.297 MB / 0.7138 GB, free: 5.074 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003222/0.4936, allocations: 2.716 MB / 0.7165 GB, free: 2.312 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005822/0.4941, allocations: 1.098 MB / 0.7176 GB, free: 1.016 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003175/0.4945, allocations: 300 kB / 0.7179 GB, free: 0.7227 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004746/0.4992, allocations: 4.159 MB / 0.7219 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.861e-05/0.4992, allocations: 3.938 kB / 0.7219 GB, free: 12.28 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002104/0.4994, allocations: 132 kB / 0.722 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-05/0.4995, allocations: 75.94 kB / 0.7221 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004406/0.5039, allocations: 3.273 MB / 0.7253 GB, free: 8.793 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.01199/0.5159, allocations: 11.2 MB / 0.7362 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004098/0.52, allocations: 2.935 MB / 0.7391 GB, free: 10.47 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001775/0.5218, allocations: 1.37 MB / 0.7404 GB, free: 9.098 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001742/0.5219, allocations: 37.98 kB / 0.7405 GB, free: 9.062 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0024/0.5243, allocations: 1.905 MB / 0.7423 GB, free: 7.105 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=265): time 4.037e-06/0.5243, allocations: 0 / 0.7423 GB, free: 7.105 MB / 0.5573 GB Notification: Performance of matching and sorting (n=265): time 0.007978/0.5323, allocations: 5.132 MB / 0.7474 GB, free: 1.965 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001853/0.5325, allocations: 0.4928 MB / 0.7478 GB, free: 1.359 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00354/0.536, allocations: 3.44 MB / 0.7512 GB, free: 13.93 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001561/0.5362, allocations: 85.7 kB / 0.7513 GB, free: 13.84 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001109/0.5373, allocations: 1.649 MB / 0.7529 GB, free: 12.18 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007037/0.538, allocations: 0.9376 MB / 0.7538 GB, free: 11.23 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009627/0.539, allocations: 0.7361 MB / 0.7545 GB, free: 10.49 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.789e-05/0.539, allocations: 305.1 kB / 0.7548 GB, free: 10.19 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002379/0.5414, allocations: 1.779 MB / 0.7566 GB, free: 8.391 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002794/0.5442, allocations: 2.784 MB / 0.7593 GB, free: 5.309 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01555/0.5598, allocations: 9.241 MB / 0.7683 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.317e-05/0.5598, allocations: 11.94 kB / 0.7683 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of matching and sorting (n=524) (initialization): time 0.007094/0.5669, allocations: 5.224 MB / 0.7734 GB, free: 6.605 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 6.273e-05/0.5669, allocations: 73.66 kB / 0.7735 GB, free: 6.527 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.567, allocations: 8 kB / 0.7735 GB, free: 6.52 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006398/0.5676, allocations: 479.9 kB / 0.7739 GB, free: 6.051 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00203/0.5696, allocations: 0.8425 MB / 0.7748 GB, free: 5.207 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003914/0.5735, allocations: 3.432 MB / 0.7781 GB, free: 1.664 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001784/0.5753, allocations: 473.5 kB / 0.7786 GB, free: 1.199 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002062/0.5755, allocations: 136 kB / 0.7787 GB, free: 1.066 MB / 0.5886 GB 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.003563/0.5791, allocations: 2.457 MB / 0.7811 GB, free: 14.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00277/0.5819, allocations: 2.73 MB / 0.7838 GB, free: 11.57 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01522/0.5971, allocations: 9.104 MB / 0.7927 GB, free: 2.277 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.051e-05/0.5971, allocations: 4 kB / 0.7927 GB, free: 2.273 MB / 0.6042 GB Notification: Performance of matching and sorting (n=524) (initialization_lambda0): time 0.006735/0.6038, allocations: 5.122 MB / 0.7977 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.136e-05/0.6039, allocations: 73.59 kB / 0.7977 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.6039, allocations: 12 kB / 0.7977 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005746/0.6045, allocations: 472.6 kB / 0.7982 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001948/0.6064, allocations: 0.823 MB / 0.799 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003674/0.6101, allocations: 3.428 MB / 0.8023 GB, free: 8.207 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/0.6119, allocations: 418.1 kB / 0.8027 GB, free: 7.797 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001961/0.6121, allocations: 140 kB / 0.8029 GB, free: 7.66 MB / 0.6198 GB 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: 69 ($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.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,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 (483): * Single equations (assignments): 481 * 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.0008238/0.6129, allocations: 0.5345 MB / 0.8034 GB, free: 7.125 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004764/0.6134, allocations: 397.5 kB / 0.8038 GB, free: 6.734 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00595/0.6193, allocations: 3.863 MB / 0.8076 GB, free: 2.848 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.557e-05/0.6193, allocations: 28 kB / 0.8076 GB, free: 2.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.6193, allocations: 8 kB / 0.8076 GB, free: 2.812 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-05/0.6194, allocations: 11.95 kB / 0.8076 GB, free: 2.801 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009855/0.6292, allocations: 7.811 MB / 0.8152 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/0.6292, allocations: 4 kB / 0.8152 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001661/0.6309, allocations: 0.5426 MB / 0.8158 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005788/0.6315, allocations: 452.6 kB / 0.8162 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001466/0.6316, allocations: 71.97 kB / 0.8163 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003605/0.6352, allocations: 3.412 MB / 0.8196 GB, free: 6.293 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.6352, allocations: 8 kB / 0.8196 GB, free: 6.285 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007731/0.6429, allocations: 6.075 MB / 0.8255 GB, free: 40 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001189/0.6441, allocations: 0.7897 MB / 0.8263 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002818/0.6444, allocations: 75.98 kB / 0.8264 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/0.6456, allocations: 227.7 kB / 0.8266 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003399/0.6459, allocations: 217.5 kB / 0.8268 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001369/0.646, allocations: 87.97 kB / 0.8269 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00243/0.6485, allocations: 2.252 MB / 0.8291 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8e-08/0.6485, allocations: 4 kB / 0.8291 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003159/0.6516, allocations: 1.669 MB / 0.8307 GB, free: 10.74 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 20 (BESS.reecC.firstOrder.y,BESS.reecC.firstOrder1.y,BESS.reecC.limPIDFreeze.I.y,BESS.reecC.rateLimFirstOrderFreeze1.y,BESS.reecC.slewRateLimiter.y,BESS.reecC.rateLimFirstOrderFreeze.y,BESS.reecC.varLimPIDFreeze.I.y,BESS.reecC.integrator.y,BESS.regcA.rateLimFirstOrderFreeze2.y,BESS.regcA.rateLimFirstOrderFreeze1.y,BESS.regcA.firstOrder.y,BESS.pll.integrator.y,BESS.pll.limIntegrator.y,BESS.repcA.firstOrder.y,BESS.repcA.limPID.I.y,BESS.repcA.firstOrder1.y,BESS.repcA.firstOrder2.y,BESS.repcA.firstOrder3.y,BESS.repcA.limPIDFreeze.I.y,BESS.repcA.leadLag.x_scaled[1]) * Number of discrete variables: 34 ($whenCondition17,$whenCondition15,$whenCondition16,$whenCondition14,$whenCondition12,$whenCondition13,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,BESS.regcA.offDelay.u,BESS.regcA.offDelay.delaySignal,BESS.regcA.offDelay.tNext,BESS.regcA.and1.u[2],BESS.regcA.and1.y,BESS.regcA.and2.y,BESS.injector.running,BESS.injector.state,BESS.LvTfo.running,BESS.LvTfo.state,BESS.HvTfo.running,BESS.HvTfo.state,BESS.repcA.freeze,ZPcs.running,ZPcs.state,Zcc.running,Zcc.state) * Number of discrete states: 6 (Zcc.running,ZPcs.running,BESS.HvTfo.running,BESS.LvTfo.running,BESS.injector.running,BESS.regcA.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (258): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,4,31.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008875/0.6605, allocations: 7.054 MB / 0.8376 GB, free: 3.664 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.009985/0.6705, allocations: 6.811 MB / 0.8443 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/0.6705, allocations: 7.938 kB / 0.8443 GB, free: 12.78 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002997/0.6735, allocations: 2.112 MB / 0.8463 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002078/0.6756, allocations: 0.5504 MB / 0.8469 GB, free: 10.12 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3673/1.043, allocations: 33.98 MB / 0.8801 GB, free: 166.5 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001398/1.044, allocations: 1.556 MB / 0.8816 GB, free: 166.2 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002377/1.047, allocations: 0.5695 MB / 0.8821 GB, free: 166.2 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00182/1.048, allocations: 1.63 MB / 0.8837 GB, free: 164.9 MB / 0.6667 GB Notification: Performance of SimCode: time 1.763e-06/1.048, allocations: 0 / 0.8837 GB, free: 164.9 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1709/1.219, allocations: 88.26 MB / 0.9699 GB, free: 83.3 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.584/10.8, allocations: 0 / 0.9699 GB, free: 83.3 MB / 0.6667 GB " [Timeout remaining time 649] (rm -f Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.pipe ; mkfifo Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.pipe >> ../files/Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Dynawo_Dynawo_Examples_BESS_WECC_BESSCurrentSourceExternalPCS_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ../Dynawo_Dynawo_Examples_BESS_WECC_BESSCurrentSourceExternalPCS.fmu) > Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.pipe 2>&1) [Timeout 52.5] (rm -f Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS_fmpy.pipe ; mkfifo Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS_fmpy.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS_fmpy_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 ../Dynawo_Dynawo_Examples_BESS_WECC_BESSCurrentSourceExternalPCS.fmu) > Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.383739355020225]