Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.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.0008689/0.0008689, allocations: 76.52 kB / 19.95 MB, free: 4.613 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.0009391/0.0009391, allocations: 177.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.8423/0.8423, allocations: 158.6 MB / 185 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo): time 0.369/0.369, allocations: 76.92 MB / 314.2 MB, free: 10.74 MB / 298.7 MB " [Timeout remaining time 180] Using package Dynawo with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.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 it seems broken on HelloWorld Ignoring simflag -noemit -noRestart=() since it seems broken on HelloWorld Ignoring simflag -noemit -noRootFinding=() since it seems broken on HelloWorld Running command: "" <> buildModelFMU(Dynawo.Examples.BESS.WECC.BESScbCurrentSource,fileNamePrefix="Dynawo_Dynawo_Examples_BESS_WECC_BESScbCurrentSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.BESS.WECC.BESScbCurrentSource,fileNamePrefix="Dynawo_Dynawo_Examples_BESS_WECC_BESScbCurrentSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 489.2 MB, free: 28.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.271e-05/2.455e-05, allocations: 2.844 kB / 489.2 MB, free: 28.07 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESScbCurrentSource): time 0.01112/0.01114, allocations: 10.57 MB / 499.8 MB, free: 20.96 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.009876/0.02102, allocations: 6.039 MB / 0.494 GB, free: 16.6 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001788/0.0228, allocations: 87.97 kB / 0.4941 GB, free: 16.56 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:22:3-22:125:writable] Warning: Connector switchOffSignal3 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.001462/0.02427, allocations: 0.7329 MB / 0.4948 GB, free: 16.14 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.001929/0.0262, allocations: 0.9368 MB / 0.4957 GB, free: 15.48 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003291/0.02949, allocations: 2.822 MB / 0.4985 GB, free: 13.7 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.003375/0.03286, allocations: 4.378 MB / 0.5027 GB, free: 11.28 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001445/0.03431, allocations: 1.041 MB / 0.5037 GB, free: 10.59 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00154/0.03585, allocations: 1.476 MB / 0.5052 GB, free: 9.77 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001263/0.03711, allocations: 1.24 MB / 0.5064 GB, free: 9.199 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000819/0.03793, allocations: 469.3 kB / 0.5068 GB, free: 9.199 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009658/0.0389, allocations: 0.6662 MB / 0.5075 GB, free: 9.137 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004668/0.03936, allocations: 0.9619 MB / 0.5084 GB, free: 8.434 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009948/0.04036, allocations: 1.14 MB / 0.5096 GB, free: 7.707 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005955/0.04631, allocations: 5.831 MB / 0.5152 GB, free: 5.242 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.04632, allocations: 0 / 0.5152 GB, free: 5.242 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.04632, allocations: 1.375 kB / 0.5152 GB, free: 5.242 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000208/0.04653, allocations: 0 / 0.5152 GB, free: 5.242 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 548 * Number of variables: 548 Notification: Performance of Generate backend data structure: time 0.008793/0.05532, allocations: 4.352 MB / 0.5195 GB, free: 2.734 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.05536, allocations: 9.875 kB / 0.5195 GB, free: 2.734 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003771/0.05574, allocations: 313.6 kB / 0.5198 GB, free: 2.543 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002451/0.05819, allocations: 0.8875 MB / 0.5207 GB, free: 2.262 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002965/0.06116, allocations: 2.362 MB / 0.523 GB, free: 0.6172 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003247/0.06148, allocations: 0.79 MB / 0.5237 GB, free: 15.8 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00028/0.06176, allocations: 232.2 kB / 0.524 GB, free: 15.71 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004034/0.06579, allocations: 3.421 MB / 0.5273 GB, free: 13.15 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.523e-05/0.06583, allocations: 6.031 kB / 0.5273 GB, free: 13.14 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00018/0.06601, allocations: 103.9 kB / 0.5274 GB, free: 13.07 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.644e-05/0.06605, allocations: 53.47 kB / 0.5275 GB, free: 13.07 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003634/0.06968, allocations: 2.457 MB / 0.5299 GB, free: 11.8 MB / 458.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.01045/0.08013, allocations: 9.29 MB / 0.5389 GB, free: 4.52 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003598/0.08372, allocations: 2.299 MB / 0.5412 GB, free: 3.191 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001448/0.08517, allocations: 1.08 MB / 0.5422 GB, free: 2.105 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.976e-05/0.08526, allocations: 25.3 kB / 0.5423 GB, free: 2.082 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001848/0.08711, allocations: 1.517 MB / 0.5437 GB, free: 0.5078 MB / 458.7 MB Notification: Performance of pre-optimization done (n=176): time 3.306e-06/0.08711, allocations: 4 kB / 0.5437 GB, free: 0.5039 MB / 458.7 MB Notification: Performance of matching and sorting (n=176): time 0.006385/0.0935, allocations: 3.932 MB / 0.5476 GB, free: 12.55 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000176/0.09367, allocations: 0.51 MB / 0.5481 GB, free: 11.92 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003042/0.09672, allocations: 2.829 MB / 0.5508 GB, free: 9.082 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001345/0.09685, allocations: 65.7 kB / 0.5509 GB, free: 9.012 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009801/0.09783, allocations: 1.409 MB / 0.5523 GB, free: 7.59 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000463/0.09829, allocations: 0.6003 MB / 0.5529 GB, free: 6.984 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004383/0.09873, allocations: 343.5 kB / 0.5532 GB, free: 6.645 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.074e-05/0.0988, allocations: 313.1 kB / 0.5535 GB, free: 6.336 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001465/0.1003, allocations: 1.049 MB / 0.5545 GB, free: 5.277 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00213/0.1024, allocations: 1.965 MB / 0.5564 GB, free: 3.023 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009305/0.1117, allocations: 5.563 MB / 0.5619 GB, free: 13.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.1117, allocations: 0 / 0.5619 GB, free: 13.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=243) (initialization): time 0.005017/0.1167, allocations: 3.241 MB / 0.565 GB, free: 10.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.766e-05/0.1168, allocations: 37.7 kB / 0.5651 GB, free: 9.996 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.1168, allocations: 8 kB / 0.5651 GB, free: 9.988 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003288/0.1171, allocations: 320.8 kB / 0.5654 GB, free: 9.672 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/0.1184, allocations: 491.2 kB / 0.5659 GB, free: 9.191 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.767e-05/0.1184, allocations: 23.92 kB / 0.5659 GB, free: 9.168 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/0.1195, allocations: 334.3 kB / 0.5662 GB, free: 8.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.1196, allocations: 79.98 kB / 0.5663 GB, free: 8.762 MB / 490.7 MB Warning: Assuming fixed start value for the following 21 variables: 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) BESScb.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESScb.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESScb.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESScb.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESScb.reecC.firstOrder.y:VARIABLE(flow=false start = BESScb.reecC.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.firstOrder1.y:VARIABLE(flow=false start = BESScb.reecC.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.limPIDFreeze.I.y:VARIABLE(flow=false start = BESScb.reecC.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESScb.reecC.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESScb.reecC.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESScb.reecC.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.regcBCS.firstOrder.y:VARIABLE(flow=false start = BESScb.regcBCS.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESScb.regcBCS.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESScb.regcBCS.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.regcBCS.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESScb.regcBCS.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.injector.running.value:DISCRETE(flow=false start = BESScb.injector.Running0 fixed = true ) type: Boolean BESScb.line.running.value:DISCRETE(flow=false start = BESScb.line.Running0 fixed = true ) type: Boolean BESScb.repcA.firstOrder.y:VARIABLE(flow=false start = BESScb.repcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.firstOrder1.y:VARIABLE(flow=false start = BESScb.repcA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.firstOrder2.y:VARIABLE(flow=false start = BESScb.repcA.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.firstOrder3.y:VARIABLE(flow=false start = BESScb.repcA.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.limPIDFreeze.I.y:VARIABLE(flow=false start = BESScb.repcA.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.leadLag.x_scaled[1]:VARIABLE(start = BESScb.repcA.leadLag.a_end * BESScb.repcA.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002313/0.1219, allocations: 1.602 MB / 0.5678 GB, free: 7.164 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001971/0.1239, allocations: 1.902 MB / 0.5697 GB, free: 4.969 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008619/0.1325, allocations: 5.426 MB / 0.575 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.865e-06/0.1325, allocations: 3.938 kB / 0.575 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=243) (initialization_lambda0): time 0.004509/0.137, allocations: 3.127 MB / 0.5781 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.377e-05/0.1371, allocations: 45.62 kB / 0.5781 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.1371, allocations: 8 kB / 0.5781 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003124/0.1374, allocations: 325.3 kB / 0.5784 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/0.1386, allocations: 479.3 kB / 0.5789 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/0.1386, allocations: 27.92 kB / 0.5789 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/0.1397, allocations: 278.9 kB / 0.5792 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.1399, allocations: 71.98 kB / 0.5792 GB, free: 11.01 MB / 0.4948 GB Warning: Assuming fixed start value for the following 21 variables: 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) BESScb.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESScb.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESScb.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESScb.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESScb.reecC.firstOrder.y:VARIABLE(flow=false start = BESScb.reecC.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.firstOrder1.y:VARIABLE(flow=false start = BESScb.reecC.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.limPIDFreeze.I.y:VARIABLE(flow=false start = BESScb.reecC.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESScb.reecC.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESScb.reecC.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESScb.reecC.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.regcBCS.firstOrder.y:VARIABLE(flow=false start = BESScb.regcBCS.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESScb.regcBCS.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESScb.regcBCS.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.regcBCS.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESScb.regcBCS.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.injector.running.value:DISCRETE(flow=false start = BESScb.injector.Running0 fixed = true ) type: Boolean BESScb.line.running.value:DISCRETE(flow=false start = BESScb.line.Running0 fixed = true ) type: Boolean BESScb.repcA.firstOrder.y:VARIABLE(flow=false start = BESScb.repcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.firstOrder1.y:VARIABLE(flow=false start = BESScb.repcA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.firstOrder2.y:VARIABLE(flow=false start = BESScb.repcA.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.firstOrder3.y:VARIABLE(flow=false start = BESScb.repcA.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.limPIDFreeze.I.y:VARIABLE(flow=false start = BESScb.repcA.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.leadLag.x_scaled[1]:VARIABLE(start = BESScb.repcA.leadLag.a_end * BESScb.repcA.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 42 ($PRE.line.state,line.state,$PRE.BESScb.line.state,BESScb.line.state,$PRE.BESScb.injector.state,BESScb.injector.state,BESScb.injector.switchOffSignal3.value,BESScb.injector.switchOffSignal2.value,BESScb.injector.switchOffSignal1.value,line.switchOffSignal2.value,line.switchOffSignal1.value,BESScb.regcBCS.rateLimFirstOrderFreeze1.local_freeze,BESScb.regcBCS.rateLimFirstOrderFreeze.local_freeze,$PRE.BESScb.injector.running.value,$PRE.BESScb.line.running.value,$PRE.line.running.value,line.running.value,BESScb.repcA.freeze,BESScb.line.running.value,BESScb.injector.running.value,BESScb.regcBCS.offDelay.tNext,BESScb.regcBCS.offDelay.delaySignal,BESScb.regcBCS.offDelay.y,BESScb.reecC.frtOn,$whenCondition11,$whenCondition10,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition9,BESScb.repcA.limPIDFreeze.I.resetLocal,BESScb.repcA.limPID.I.local_reset,BESScb.pll.limIntegrator.local_reset,BESScb.pll.integrator.local_reset,BESScb.reecC.integrator.local_reset,BESScb.reecC.varLimPIDFreeze.I.resetLocal,BESScb.reecC.limPIDFreeze.I.resetLocal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (233): * Single equations (assignments): 231 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(8,56.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005935/0.1404, allocations: 440.4 kB / 0.5797 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003711/0.1408, allocations: 337.8 kB / 0.58 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004806/0.1456, allocations: 3.01 MB / 0.5829 GB, free: 7.207 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.1456, allocations: 20 kB / 0.5829 GB, free: 7.188 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.1456, allocations: 7.875 kB / 0.5829 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/0.1457, allocations: 7.969 kB / 0.583 GB, free: 7.172 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007542/0.1532, allocations: 5.936 MB / 0.5887 GB, free: 1.164 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.1532, allocations: 0 / 0.5887 GB, free: 1.164 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001328/0.1545, allocations: 423.5 kB / 0.5892 GB, free: 0.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002964/0.1548, allocations: 300.7 kB / 0.5894 GB, free: 464 kB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.891e-05/0.1549, allocations: 43.98 kB / 0.5895 GB, free: 420 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.1549, allocations: 7.938 kB / 0.5895 GB, free: 412 kB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.1549, allocations: 7.938 kB / 0.5895 GB, free: 404 kB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006167/0.1611, allocations: 4.571 MB / 0.594 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009903/0.1621, allocations: 0.6302 MB / 0.5946 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002475/0.1623, allocations: 44 kB / 0.5946 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008874/0.1632, allocations: 187.8 kB / 0.5948 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002421/0.1635, allocations: 145.7 kB / 0.5949 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.208e-05/0.1636, allocations: 63.92 kB / 0.595 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002335/0.1659, allocations: 1.904 MB / 0.5969 GB, free: 8.82 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.5e-07/0.1659, allocations: 0 / 0.5969 GB, free: 8.82 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002582/0.1685, allocations: 1.006 MB / 0.5978 GB, free: 7.812 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (BESScb.reecC.firstOrder.y,BESScb.reecC.firstOrder1.y,BESScb.reecC.limPIDFreeze.I.y,BESScb.reecC.varLimPIDFreeze.I.y,BESScb.reecC.rateLimFirstOrderFreeze1.y,BESScb.reecC.slewRateLimiter.y,BESScb.reecC.rateLimFirstOrderFreeze.y,BESScb.reecC.integrator.y,BESScb.regcBCS.firstOrder.y,BESScb.regcBCS.rateLimFirstOrderFreeze.y,BESScb.regcBCS.rateLimFirstOrderFreeze1.y,BESScb.pll.integrator.y,BESScb.pll.limIntegrator.y,BESScb.repcA.firstOrder.y,BESScb.repcA.limPID.I.y,BESScb.repcA.firstOrder1.y,BESScb.repcA.firstOrder2.y,BESScb.repcA.firstOrder3.y,BESScb.repcA.limPIDFreeze.I.y,BESScb.repcA.leadLag.x_scaled[1]) * Number of discrete variables: 22 ($whenCondition9,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,$whenCondition10,$whenCondition11,BESScb.reecC.frtOn,BESScb.regcBCS.offDelay.y,BESScb.regcBCS.offDelay.delaySignal,BESScb.regcBCS.offDelay.tNext,BESScb.injector.running.value,BESScb.injector.state,BESScb.line.running.value,BESScb.line.state,BESScb.repcA.freeze,line.running.value,line.state) * Number of discrete states: 7 (line.running.value,BESScb.line.running.value,BESScb.injector.running.value,BESScb.regcBCS.offDelay.tNext,BESScb.regcBCS.offDelay.delaySignal,$whenCondition11,$whenCondition10) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(8,56.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006975/0.1755, allocations: 5.521 MB / 0.6032 GB, free: 2.426 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006023/0.1815, allocations: 3.985 MB / 0.6071 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.1815, allocations: 4 kB / 0.6071 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001712/0.1832, allocations: 1.345 MB / 0.6084 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001684/0.1849, allocations: 0.5045 MB / 0.6089 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04477/0.2296, allocations: 25.92 MB / 0.6342 GB, free: 2.027 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009666/0.2306, allocations: 1.228 MB / 0.6354 GB, free: 0.7617 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001334/0.2319, allocations: 370.1 kB / 0.6358 GB, free: 408 kB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001332/0.2333, allocations: 1.274 MB / 0.637 GB, free: 15.12 MB / 0.5573 GB Notification: Performance of SimCode: time 1.884e-06/0.2333, allocations: 0 / 0.637 GB, free: 15.12 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2703/0.5036, allocations: 69.09 MB / 0.7045 GB, free: 170.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.292/9.796, allocations: 8.406 kB / 0.7045 GB, free: 170.8 MB / 0.5886 GB " [Timeout remaining time 650] (rm -f Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.pipe ; mkfifo Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.pipe >> ../files/Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.sim & python3 -m fmpy simulate --output-file Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 Dynawo_Dynawo_Examples_BESS_WECC_BESScbCurrentSource.fmu > Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.222567905671895] Failed to read output from testmodel.py, exit status != 0: 9.929542754776776 9.938910952 9.89060584 Calling exit ...