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.001755/0.001755, allocations: 109.1 kB / 17.14 MB, free: 5.93 MB / 14.72 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.002229/0.002229, allocations: 204 kB / 20.11 MB, free: 2.977 MB / 14.72 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.427/1.427, allocations: 207.6 MB / 230.5 MB, free: 4.039 MB / 174.1 MB " [Timeout remaining time 178] 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.8835/0.8835, allocations: 104 MB / 386.4 MB, free: 13.91 MB / 318.1 MB " [Timeout remaining time 179] 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: 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.0025/0.0025, allocations: 71.89 kB / 0.5459 GB, free: 10.8 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1518, allocations: 75.96 MB / 0.6201 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESScbCurrentSource): time 0.01523/0.1671, allocations: 12.26 MB / 0.632 GB, free: 2.418 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.295/0.4621, allocations: 6.236 MB / 0.6381 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003075/0.4651, allocations: 90.25 kB / 0.6382 GB, free: 13.42 MB / 494.1 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.002199/0.4673, allocations: 0.7254 MB / 0.6389 GB, free: 13.4 MB / 494.1 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.003429/0.4708, allocations: 0.9163 MB / 0.6398 GB, free: 13.21 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Examples/BESS/WECC/BESScbCurrentSource.mo:39:3-39:38:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Examples/BESS/WECC/BESScbCurrentSource.mo:41:3-41:49:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Examples/BESS/WECC/BESScbCurrentSource.mo:42:3-42:49:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/BESS/WECC/BaseClasses/BaseBESScbCurrentSource.mo:108:3-108:64:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:40:5-44:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:40:5-44:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:40:5-44:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.005494/0.4763, allocations: 2.816 MB / 0.6426 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006438/0.4827, allocations: 4.352 MB / 0.6468 GB, free: 11.49 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002108/0.4848, allocations: 1.093 MB / 0.6479 GB, free: 10.77 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002461/0.4873, allocations: 1.6 MB / 0.6495 GB, free: 9.855 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002123/0.4894, allocations: 1.67 MB / 0.6511 GB, free: 8.898 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007186/0.4901, allocations: 469.5 kB / 0.6515 GB, free: 8.898 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001324/0.4914, allocations: 0.6729 MB / 0.6522 GB, free: 8.836 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006959/0.4921, allocations: 0.9451 MB / 0.6531 GB, free: 8.176 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001499/0.4936, allocations: 1.836 MB / 0.6549 GB, free: 6.773 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006714/0.5003, allocations: 5.681 MB / 0.6604 GB, free: 3.984 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.014e-06/0.5003, allocations: 0.5312 kB / 0.6604 GB, free: 3.984 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.5003, allocations: 0 / 0.6604 GB, free: 3.984 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001561/0.5005, allocations: 0.5312 kB / 0.6605 GB, free: 3.984 MB / 494.1 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.01182/0.5123, allocations: 4.466 MB / 0.6648 GB, free: 0.832 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.5124, allocations: 10.53 kB / 0.6648 GB, free: 0.832 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003769/0.5127, allocations: 311.9 kB / 0.6651 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004408/0.5171, allocations: 0.8972 MB / 0.666 GB, free: 192 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004616/0.5218, allocations: 2.431 MB / 0.6684 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000499/0.5223, allocations: 0.5588 MB / 0.6689 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004191/0.5227, allocations: 221 kB / 0.6691 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005865/0.5285, allocations: 2.924 MB / 0.672 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.852e-05/0.5286, allocations: 6.125 kB / 0.672 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002423/0.5288, allocations: 92.81 kB / 0.6721 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-05/0.5289, allocations: 53.09 kB / 0.6721 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005812/0.5347, allocations: 2.449 MB / 0.6745 GB, free: 10.46 MB / 0.4981 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.01823/0.5529, allocations: 11.26 MB / 0.6855 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005795/0.5587, allocations: 2.34 MB / 0.6878 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002429/0.5611, allocations: 1.047 MB / 0.6888 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001341/0.5613, allocations: 32.69 kB / 0.6889 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002901/0.5642, allocations: 1.419 MB / 0.6902 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=176): time 3.457e-06/0.5642, allocations: 4 kB / 0.6902 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=176): time 0.01053/0.5747, allocations: 3.934 MB / 0.6941 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002817/0.575, allocations: 0.5167 MB / 0.6946 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004893/0.5799, allocations: 2.826 MB / 0.6973 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.00039/0.5803, allocations: 69.69 kB / 0.6974 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001413/0.5817, allocations: 1.396 MB / 0.6988 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007738/0.5825, allocations: 0.6065 MB / 0.6994 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000665/0.5831, allocations: 351.4 kB / 0.6997 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.5833, allocations: 313.1 kB / 0.7 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002391/0.5856, allocations: 1.016 MB / 0.701 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002863/0.5885, allocations: 1.531 MB / 0.7025 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01737/0.6059, allocations: 5.552 MB / 0.7079 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/0.6059, allocations: 4 kB / 0.7079 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.00824/0.6141, allocations: 3.208 MB / 0.7111 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.598e-05/0.6142, allocations: 45.62 kB / 0.7111 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.6142, allocations: 8 kB / 0.7111 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005036/0.6147, allocations: 324.4 kB / 0.7114 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002426/0.6171, allocations: 495.3 kB / 0.7119 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.612e-05/0.6172, allocations: 19.94 kB / 0.7119 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002476/0.6196, allocations: 334.4 kB / 0.7122 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001621/0.6198, allocations: 71.98 kB / 0.7123 GB, free: 9.031 MB / 0.5294 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003635/0.6234, allocations: 1.588 MB / 0.7138 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002684/0.6261, allocations: 1.46 MB / 0.7153 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01683/0.643, allocations: 5.415 MB / 0.7206 GB, free: 240 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.778e-06/0.643, allocations: 4 kB / 0.7206 GB, free: 236 kB / 0.5294 GB Notification: Performance of matching and sorting (n=243) (initialization_lambda0): time 0.008531/0.6515, allocations: 3.102 MB / 0.7236 GB, free: 13.11 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.78e-05/0.6515, allocations: 38.59 kB / 0.7236 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.6516, allocations: 12 kB / 0.7236 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004715/0.652, allocations: 319.4 kB / 0.7239 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002365/0.6544, allocations: 475.3 kB / 0.7244 GB, free: 12.28 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.816e-05/0.6544, allocations: 27.92 kB / 0.7244 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002701/0.6571, allocations: 282.9 kB / 0.7247 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001765/0.6573, allocations: 71.98 kB / 0.7248 GB, free: 11.9 MB / 0.545 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.0008486/0.6581, allocations: 456.4 kB / 0.7252 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009136/0.6591, allocations: 333.8 kB / 0.7255 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007751/0.6668, allocations: 2.988 MB / 0.7284 GB, free: 8.109 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.891e-05/0.6668, allocations: 16 kB / 0.7284 GB, free: 8.094 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.6668, allocations: 4 kB / 0.7284 GB, free: 8.09 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-05/0.6669, allocations: 7.969 kB / 0.7285 GB, free: 8.082 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01326/0.6801, allocations: 6.596 MB / 0.7349 GB, free: 1.461 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.6801, allocations: 4 kB / 0.7349 GB, free: 1.457 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002574/0.6827, allocations: 423.5 kB / 0.7353 GB, free: 1.043 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004673/0.6832, allocations: 303.5 kB / 0.7356 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001651/0.6833, allocations: 55.91 kB / 0.7356 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.278e-05/0.6833, allocations: 8 kB / 0.7357 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.6833, allocations: 0 / 0.7357 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01059/0.6939, allocations: 4.508 MB / 0.7401 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001782/0.6957, allocations: 0.7017 MB / 0.7407 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000423/0.6961, allocations: 48 kB / 0.7408 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001761/0.6979, allocations: 183.8 kB / 0.741 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003714/0.6983, allocations: 145.7 kB / 0.7411 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000147/0.6984, allocations: 63.97 kB / 0.7412 GB, free: 11 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003204/0.7016, allocations: 1.908 MB / 0.743 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.7016, allocations: 0 / 0.743 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002788/0.7044, allocations: 1.013 MB / 0.744 GB, free: 8.078 MB / 0.5606 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.01198/0.7164, allocations: 5.412 MB / 0.7493 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009827/0.7262, allocations: 4.042 MB / 0.7533 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/0.7262, allocations: 192 / 0.7533 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00317/0.7294, allocations: 1.386 MB / 0.7546 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003049/0.7324, allocations: 0.5142 MB / 0.7551 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05641/0.7889, allocations: 25.61 MB / 0.7801 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001585/0.7904, allocations: 1.77 MB / 0.7818 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001744/0.7922, allocations: 378.1 kB / 0.7822 GB, free: 420 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001921/0.7941, allocations: 1.269 MB / 0.7834 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of SimCode: time 6.51e-07/0.7941, allocations: 0 / 0.7834 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1244/0.9185, allocations: 63.92 MB / 0.8459 GB, free: 15.44 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.51/16.43, allocations: 11.98 kB / 0.8459 GB, free: 15.43 MB / 0.67 GB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Dynawo_Dynawo_Examples_BESS_WECC_BESScbCurrentSource_fmu --startTime=0 --stopTime=3 --stepSize=0.001 --timeout=50 --tolerance=1e-05 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: 20.398216038942337] Failed to read output from testmodel.py, exit status != 0: 16.605018322821707 16.623658507000002 16.119618879 Calling exit ...