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.000816/0.000816, allocations: 76.52 kB / 19.95 MB, free: 4.609 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.0008102/0.0008102, allocations: 173.2 kB / 23.23 MB, free: 1.328 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.8816/0.8816, allocations: 158.6 MB / 185 MB, free: 3.027 MB / 170.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.5099/0.5099, allocations: 90.83 MB / 328.1 MB, free: 14.54 MB / 314.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: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.501 GB, free: 16.51 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.876e-05/2.027e-05, allocations: 2.281 kB / 0.501 GB, free: 16.51 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS): time 0.01358/0.0136, allocations: 14.01 MB / 0.5146 GB, free: 7.109 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01338/0.02698, allocations: 6.845 MB / 0.5213 GB, free: 2.172 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005334/0.03231, allocations: 95.56 kB / 0.5214 GB, free: 2.133 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003786/0.0361, allocations: 0.9068 MB / 0.5223 GB, free: 1.605 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.006538/0.04264, allocations: 1.429 MB / 0.5237 GB, free: 428 kB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:90:3-90:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wTG4CurrentSource_INIT.s0Pu) == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.008629/0.05126, allocations: 3.311 MB / 0.5269 GB, free: 13.79 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.009546/0.06081, allocations: 5.534 MB / 0.5323 GB, free: 10.19 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003494/0.0643, allocations: 1.221 MB / 0.5335 GB, free: 9.266 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003741/0.06805, allocations: 1.876 MB / 0.5354 GB, free: 8.016 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007277/0.07532, allocations: 1.66 MB / 0.537 GB, free: 6.836 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002091/0.07741, allocations: 0.5732 MB / 0.5375 GB, free: 6.461 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00295/0.08036, allocations: 0.9096 MB / 0.5384 GB, free: 5.551 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002059/0.08242, allocations: 1.203 MB / 0.5396 GB, free: 4.344 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00285/0.08527, allocations: 1.472 MB / 0.541 GB, free: 2.867 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00992/0.09519, allocations: 7.236 MB / 0.5481 GB, free: 11.61 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.0952, allocations: 0 / 0.5481 GB, free: 11.61 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.0952, allocations: 0 / 0.5481 GB, free: 11.61 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002161/0.09542, allocations: 0 / 0.5481 GB, free: 11.61 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 749 * Number of variables: 749 Notification: Performance of Generate backend data structure: time 0.01508/0.1105, allocations: 5.989 MB / 0.554 GB, free: 5.531 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.757e-05/0.1106, allocations: 8.031 kB / 0.554 GB, free: 5.523 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008998/0.1115, allocations: 417.3 kB / 0.5544 GB, free: 5.105 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005035/0.1165, allocations: 1.297 MB / 0.5556 GB, free: 3.805 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005498/0.122, allocations: 2.708 MB / 0.5583 GB, free: 1.051 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000755/0.1228, allocations: 1.094 MB / 0.5593 GB, free: 15.76 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009505/0.1237, allocations: 307.9 kB / 0.5596 GB, free: 15.46 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008193/0.1319, allocations: 4.159 MB / 0.5637 GB, free: 11.02 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.833e-05/0.132, allocations: 0 / 0.5637 GB, free: 11.02 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004324/0.1324, allocations: 128 kB / 0.5638 GB, free: 10.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.307e-05/0.1324, allocations: 75.94 kB / 0.5639 GB, free: 10.82 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006406/0.1388, allocations: 3.273 MB / 0.5671 GB, free: 7.539 MB / 490.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.02035/0.1592, allocations: 11.17 MB / 0.578 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005325/0.1645, allocations: 2.921 MB / 0.5808 GB, free: 9.25 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002473/0.167, allocations: 1.37 MB / 0.5822 GB, free: 7.879 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002464/0.1672, allocations: 41.98 kB / 0.5822 GB, free: 7.836 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002968/0.1702, allocations: 1.909 MB / 0.5841 GB, free: 5.875 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=265): time 4.689e-06/0.1702, allocations: 0 / 0.5841 GB, free: 5.875 MB / 0.4948 GB Notification: Performance of matching and sorting (n=265): time 0.009949/0.1802, allocations: 5.121 MB / 0.5891 GB, free: 0.7461 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00021/0.1804, allocations: 0.4967 MB / 0.5896 GB, free: 144 kB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005428/0.1858, allocations: 3.44 MB / 0.5929 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006925/0.1865, allocations: 89.62 kB / 0.593 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001365/0.1878, allocations: 1.638 MB / 0.5946 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001283/0.1891, allocations: 0.9376 MB / 0.5955 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001047/0.1902, allocations: 0.7361 MB / 0.5963 GB, free: 9.277 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.255e-05/0.1903, allocations: 305.1 kB / 0.5965 GB, free: 8.977 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003232/0.1935, allocations: 1.771 MB / 0.5983 GB, free: 7.188 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005312/0.1988, allocations: 2.789 MB / 0.601 GB, free: 4.102 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02896/0.2278, allocations: 9.241 MB / 0.61 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-05/0.2278, allocations: 8 kB / 0.61 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=524) (initialization): time 0.0151/0.2429, allocations: 5.235 MB / 0.6151 GB, free: 5.398 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001222/0.243, allocations: 70.5 kB / 0.6152 GB, free: 5.324 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.988e-05/0.2431, allocations: 12 kB / 0.6152 GB, free: 5.312 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001047/0.2441, allocations: 464.6 kB / 0.6157 GB, free: 4.855 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004174/0.2483, allocations: 0.8502 MB / 0.6165 GB, free: 4.004 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006269/0.2546, allocations: 3.429 MB / 0.6198 GB, free: 472 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004487/0.259, allocations: 477.4 kB / 0.6203 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009226/0.26, allocations: 143.9 kB / 0.6204 GB, free: 15.85 MB / 0.5417 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.004968/0.2649, allocations: 2.453 MB / 0.6228 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003351/0.2683, allocations: 2.734 MB / 0.6255 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02083/0.2891, allocations: 9.1 MB / 0.6344 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.291e-05/0.2891, allocations: 0 / 0.6344 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of matching and sorting (n=524) (initialization_lambda0): time 0.009175/0.2983, allocations: 5.13 MB / 0.6394 GB, free: 11.91 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 8.084e-05/0.2984, allocations: 73.59 kB / 0.6395 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.2984, allocations: 8 kB / 0.6395 GB, free: 11.83 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007874/0.2992, allocations: 476.6 kB / 0.6399 GB, free: 11.36 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002799/0.302, allocations: 0.8269 MB / 0.6407 GB, free: 10.53 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004857/0.3068, allocations: 3.423 MB / 0.6441 GB, free: 6.996 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002457/0.3093, allocations: 414.1 kB / 0.6445 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002416/0.3095, allocations: 140 kB / 0.6446 GB, free: 6.453 MB / 0.5573 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.0009622/0.3105, allocations: 0.5381 MB / 0.6451 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005279/0.311, allocations: 393.5 kB / 0.6455 GB, free: 5.535 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007343/0.3184, allocations: 3.864 MB / 0.6493 GB, free: 1.652 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-05/0.3184, allocations: 28 kB / 0.6493 GB, free: 1.625 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.3184, allocations: 4 kB / 0.6493 GB, free: 1.621 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.466e-05/0.3184, allocations: 19.88 kB / 0.6493 GB, free: 1.602 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01239/0.3308, allocations: 7.8 MB / 0.6569 GB, free: 9.695 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/0.3308, allocations: 8 kB / 0.657 GB, free: 9.688 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002078/0.3329, allocations: 0.5384 MB / 0.6575 GB, free: 9.148 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005906/0.3335, allocations: 460.4 kB / 0.6579 GB, free: 8.695 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001274/0.3336, allocations: 71.97 kB / 0.658 GB, free: 8.625 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003686/0.3373, allocations: 3.408 MB / 0.6613 GB, free: 5.105 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.3373, allocations: 7.938 kB / 0.6613 GB, free: 5.098 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007968/0.3453, allocations: 6.052 MB / 0.6672 GB, free: 14.87 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001257/0.3465, allocations: 0.7937 MB / 0.668 GB, free: 14.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003148/0.3469, allocations: 67.98 kB / 0.6681 GB, free: 14.01 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/0.3481, allocations: 235.6 kB / 0.6683 GB, free: 13.78 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000371/0.3484, allocations: 221.5 kB / 0.6685 GB, free: 13.56 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000137/0.3486, allocations: 87.97 kB / 0.6686 GB, free: 13.47 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002541/0.3511, allocations: 2.244 MB / 0.6708 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1e-07/0.3511, allocations: 0 / 0.6708 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003093/0.3542, allocations: 1.669 MB / 0.6724 GB, free: 9.574 MB / 0.5886 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.00906/0.3633, allocations: 7.043 MB / 0.6793 GB, free: 2.5 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.2511/0.6143, allocations: 6.802 MB / 0.6859 GB, free: 165.2 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.937e-05/0.6143, allocations: 2 kB / 0.6859 GB, free: 165.2 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.005263/0.6196, allocations: 2.11 MB / 0.688 GB, free: 164.6 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004248/0.6239, allocations: 0.5579 MB / 0.6885 GB, free: 164.4 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1016/0.7254, allocations: 33.97 MB / 0.7217 GB, free: 149.7 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0015/0.7269, allocations: 1.552 MB / 0.7232 GB, free: 149.5 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.00288/0.7298, allocations: 0.5717 MB / 0.7238 GB, free: 149.4 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001954/0.7317, allocations: 1.635 MB / 0.7254 GB, free: 148.1 MB / 0.5886 GB Notification: Performance of SimCode: time 1.342e-06/0.7317, allocations: 0 / 0.7254 GB, free: 148.1 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1943/0.926, allocations: 88.39 MB / 0.8117 GB, free: 61.79 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.17/11.1, allocations: 7.469 kB / 0.8117 GB, free: 61.78 MB / 0.5886 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.315106910653412]