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.001636/0.001636, allocations: 114.3 kB / 19.72 MB, free: 2.168 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.002128/0.002128, allocations: 220.8 kB / 23.03 MB, free: 4.969 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.442/1.442, allocations: 207.6 MB / 233.8 MB, free: 9.984 MB / 190.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.9758/0.9758, allocations: 103.9 MB / 390 MB, free: 20.36 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.002239/0.002239, allocations: 70.55 kB / 0.5518 GB, free: 58.33 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1352, allocations: 76 MB / 0.626 GB, free: 9.465 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESScbCurrentSource): time 0.01261/0.1479, allocations: 12.28 MB / 0.638 GB, free: 13.11 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01236/0.1602, allocations: 6.273 MB / 0.6441 GB, free: 6.816 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003321/0.1635, allocations: 91.31 kB / 0.6442 GB, free: 6.727 MB / 478.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.002814/0.1664, allocations: 0.7248 MB / 0.6449 GB, free: 5.996 MB / 478.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.003825/0.1702, allocations: 0.9235 MB / 0.6458 GB, free: 5.066 MB / 478.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.00751/0.1777, allocations: 2.85 MB / 0.6486 GB, free: 2.234 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01053/0.1882, allocations: 4.376 MB / 0.6529 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004427/0.1926, allocations: 1.097 MB / 0.654 GB, free: 12.69 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00355/0.1962, allocations: 1.611 MB / 0.6555 GB, free: 11.07 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002709/0.1989, allocations: 1.671 MB / 0.6572 GB, free: 9.391 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001487/0.2004, allocations: 468 kB / 0.6576 GB, free: 8.934 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002002/0.2024, allocations: 0.6718 MB / 0.6583 GB, free: 8.262 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001638/0.204, allocations: 0.9461 MB / 0.6592 GB, free: 7.312 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002893/0.2069, allocations: 1.838 MB / 0.661 GB, free: 5.465 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007333/0.2143, allocations: 5.68 MB / 0.6665 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.2143, allocations: 0 / 0.6665 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2143, allocations: 0 / 0.6665 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001219/0.2144, allocations: 0 / 0.6665 GB, free: 15.76 MB / 0.4981 GB 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.01162/0.226, allocations: 4.395 MB / 0.6708 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.2261, allocations: 12.03 kB / 0.6708 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004487/0.2265, allocations: 312.1 kB / 0.6711 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004346/0.2309, allocations: 0.8963 MB / 0.672 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005161/0.236, allocations: 2.349 MB / 0.6743 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007621/0.2368, allocations: 0.7923 MB / 0.6751 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006904/0.2375, allocations: 220 kB / 0.6753 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006841/0.2443, allocations: 2.919 MB / 0.6781 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.947e-05/0.2444, allocations: 7.938 kB / 0.6782 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002764/0.2447, allocations: 96 kB / 0.6782 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.034e-05/0.2447, allocations: 55.98 kB / 0.6783 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006088/0.2508, allocations: 2.444 MB / 0.6807 GB, free: 0.7812 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.01944/0.2702, allocations: 11.16 MB / 0.6916 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005882/0.2761, allocations: 2.267 MB / 0.6938 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002517/0.2786, allocations: 1.043 MB / 0.6948 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001536/0.2788, allocations: 33.28 kB / 0.6948 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003091/0.2819, allocations: 1.413 MB / 0.6962 GB, free: 440 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=176): time 4.137e-06/0.2819, allocations: 4 kB / 0.6962 GB, free: 436 kB / 0.5137 GB Notification: Performance of matching and sorting (n=176): time 0.01106/0.2929, allocations: 3.866 MB / 0.7 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003175/0.2933, allocations: 0.514 MB / 0.7005 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004907/0.2982, allocations: 2.826 MB / 0.7033 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000467/0.2986, allocations: 61.7 kB / 0.7033 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001476/0.3001, allocations: 1.402 MB / 0.7047 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008923/0.301, allocations: 0.6081 MB / 0.7053 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006572/0.3017, allocations: 351.4 kB / 0.7056 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.3018, allocations: 305.1 kB / 0.7059 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00247/0.3043, allocations: 1.02 MB / 0.7069 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002933/0.3072, allocations: 1.53 MB / 0.7084 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01811/0.3253, allocations: 5.555 MB / 0.7138 GB, free: 13.89 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.225e-05/0.3253, allocations: 4 kB / 0.7138 GB, free: 13.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.008333/0.3336, allocations: 3.208 MB / 0.717 GB, free: 10.66 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.678e-05/0.3337, allocations: 41.64 kB / 0.717 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-05/0.3337, allocations: 12 kB / 0.717 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005335/0.3343, allocations: 321 kB / 0.7173 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002558/0.3368, allocations: 491.2 kB / 0.7178 GB, free: 9.801 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-05/0.3369, allocations: 23.92 kB / 0.7178 GB, free: 9.777 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002318/0.3392, allocations: 330.4 kB / 0.7181 GB, free: 9.453 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002203/0.3394, allocations: 79.92 kB / 0.7182 GB, free: 9.375 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003827/0.3432, allocations: 1.582 MB / 0.7197 GB, free: 7.797 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002839/0.3461, allocations: 1.471 MB / 0.7212 GB, free: 6.145 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01748/0.3635, allocations: 5.407 MB / 0.7265 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.234e-05/0.3636, allocations: 4 kB / 0.7265 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of matching and sorting (n=243) (initialization_lambda0): time 0.008936/0.3725, allocations: 3.102 MB / 0.7295 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.716e-05/0.3725, allocations: 42.34 kB / 0.7295 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.3726, allocations: 12 kB / 0.7296 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004826/0.373, allocations: 316.7 kB / 0.7299 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002531/0.3756, allocations: 483.3 kB / 0.7303 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.326e-05/0.3756, allocations: 23.94 kB / 0.7303 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002478/0.3781, allocations: 290.9 kB / 0.7306 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002676/0.3784, allocations: 75.98 kB / 0.7307 GB, free: 12.22 MB / 0.5606 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.001004/0.3794, allocations: 445.6 kB / 0.7311 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009542/0.3803, allocations: 333.9 kB / 0.7314 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008198/0.3885, allocations: 2.981 MB / 0.7343 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.133e-05/0.3885, allocations: 16 kB / 0.7344 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-05/0.3886, allocations: 4 kB / 0.7344 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.401e-05/0.3886, allocations: 7.969 kB / 0.7344 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01606/0.4046, allocations: 6.565 MB / 0.7408 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.4047, allocations: 4 kB / 0.7408 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002621/0.4073, allocations: 423.4 kB / 0.7412 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005546/0.4078, allocations: 308.7 kB / 0.7415 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000309/0.4081, allocations: 43.97 kB / 0.7415 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.347e-05/0.4082, allocations: 8 kB / 0.7415 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.4082, allocations: 0 / 0.7415 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01155/0.4197, allocations: 4.505 MB / 0.7459 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001879/0.4216, allocations: 0.6303 MB / 0.7465 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007442/0.4223, allocations: 48 kB / 0.7466 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00214/0.4245, allocations: 187.8 kB / 0.7468 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004007/0.4249, allocations: 149.6 kB / 0.7469 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001923/0.4251, allocations: 55.98 kB / 0.747 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004394/0.4295, allocations: 1.912 MB / 0.7488 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4295, allocations: 4 kB / 0.7488 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004083/0.4336, allocations: 1.002 MB / 0.7498 GB, free: 8.508 MB / 0.5762 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.01383/0.4474, allocations: 5.436 MB / 0.7551 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01018/0.4576, allocations: 3.883 MB / 0.7589 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.4576, allocations: 256 / 0.7589 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003384/0.461, allocations: 1.308 MB / 0.7602 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003637/0.4646, allocations: 0.5086 MB / 0.7607 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06411/0.5287, allocations: 25.61 MB / 0.7857 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002275/0.531, allocations: 1.774 MB / 0.7874 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002488/0.5335, allocations: 378.1 kB / 0.7878 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.282/0.8155, allocations: 1.268 MB / 0.789 GB, free: 148.3 MB / 0.6075 GB Notification: Performance of SimCode: time 1.052e-06/0.8155, allocations: 0 / 0.789 GB, free: 148.3 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1105/0.9259, allocations: 65.42 MB / 0.8529 GB, free: 96.99 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.04/18.96, allocations: 12.03 kB / 0.8529 GB, free: 96.98 MB / 0.6075 GB " [Timeout remaining time 641] (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: 23.12090734099911] Failed to read output from testmodel.py, exit status != 0: 19.3920880149999 19.186147595 18.967857509 Calling exit ...