Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.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.001771/0.001771, allocations: 114.4 kB / 19.71 MB, free: 2.18 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.002228/0.002228, allocations: 214.5 kB / 23.02 MB, free: 5.027 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.352/1.352, allocations: 207.6 MB / 233.8 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.7974/0.7974, allocations: 114.3 MB / 400.4 MB, free: 16.39 MB / 318.1 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/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.BESSCurrentSource,fileNamePrefix="Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.BESS.WECC.BESSCurrentSource,fileNamePrefix="Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSource",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.002137/0.002137, allocations: 72.06 kB / 0.5671 GB, free: 42.7 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.139, allocations: 78.63 MB / 0.6439 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSource): time 0.0156/0.1546, allocations: 12.96 MB / 0.6566 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01204/0.1667, allocations: 6.379 MB / 0.6628 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003278/0.1699, allocations: 87.38 kB / 0.6629 GB, free: 10.57 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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.002366/0.1723, allocations: 0.7557 MB / 0.6636 GB, free: 9.809 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.003854/0.1762, allocations: 0.9546 MB / 0.6646 GB, free: 8.848 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Examples/BESS/WECC/BESSCurrentSource.mo:178:3-178:38:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Examples/BESS/WECC/BESSCurrentSource.mo:180:3-180:47:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Examples/BESS/WECC/BESSCurrentSource.mo:181:3-181:47:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/BESS/WECC/BaseClasses/BaseBESSCurrentSource.mo:66:3-66:64:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/Electrical/BESS/WECC/BESS_INIT.mo:54:3-54:99:writable] Warning: In relation Modelica.ComplexMath.'abs'(bess_INIT.sInj0Pu) == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.006499/0.1827, allocations: 3.066 MB / 0.6676 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00729/0.1899, allocations: 4.536 MB / 0.672 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002473/0.1924, allocations: 1.118 MB / 0.6731 GB, free: 64 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002771/0.1952, allocations: 1.669 MB / 0.6747 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002732/0.1979, allocations: 1.773 MB / 0.6765 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0008161/0.1987, allocations: 492 kB / 0.6769 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/0.2001, allocations: 0.7849 MB / 0.6777 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008514/0.201, allocations: 0.9928 MB / 0.6787 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001935/0.2029, allocations: 1.908 MB / 0.6805 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00732/0.2102, allocations: 5.935 MB / 0.6863 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.826e-06/0.2102, allocations: 8 kB / 0.6863 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.737e-06/0.2102, allocations: 7.922 kB / 0.6863 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001349/0.2104, allocations: 0 / 0.6863 GB, free: 2.453 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.01197/0.2224, allocations: 4.687 MB / 0.6909 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.2224, allocations: 12.03 kB / 0.6909 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004247/0.2228, allocations: 324.9 kB / 0.6912 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004335/0.2272, allocations: 0.9157 MB / 0.6921 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004433/0.2316, allocations: 2.38 MB / 0.6944 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006857/0.2323, allocations: 0.8796 MB / 0.6953 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000397/0.2327, allocations: 236 kB / 0.6955 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005854/0.2385, allocations: 3.052 MB / 0.6985 GB, free: 5.484 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.983e-05/0.2386, allocations: 11.88 kB / 0.6985 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002249/0.2388, allocations: 104 kB / 0.6986 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.234e-05/0.2389, allocations: 56 kB / 0.6987 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005722/0.2446, allocations: 2.628 MB / 0.7012 GB, free: 2.672 MB / 0.5294 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.01764/0.2622, allocations: 11.52 MB / 0.7125 GB, free: 6.746 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00605/0.2683, allocations: 2.459 MB / 0.7149 GB, free: 4.273 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002556/0.2708, allocations: 1.147 MB / 0.716 GB, free: 3.129 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002077/0.271, allocations: 33.97 kB / 0.716 GB, free: 3.094 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003127/0.2742, allocations: 1.529 MB / 0.7175 GB, free: 1.547 MB / 0.545 GB Notification: Performance of pre-optimization done (n=193): time 3.467e-06/0.2742, allocations: 4 kB / 0.7175 GB, free: 1.543 MB / 0.545 GB Notification: Performance of matching and sorting (n=193): time 0.01091/0.2851, allocations: 4.107 MB / 0.7215 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002883/0.2854, allocations: 0.4888 MB / 0.722 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004706/0.2901, allocations: 3.009 MB / 0.725 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004399/0.2905, allocations: 65.7 kB / 0.725 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001401/0.2919, allocations: 1.382 MB / 0.7264 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009149/0.2928, allocations: 0.6935 MB / 0.7271 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009455/0.2938, allocations: 0.5688 MB / 0.7276 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.2939, allocations: 301.1 kB / 0.7279 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002999/0.2969, allocations: 1.369 MB / 0.7292 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003461/0.3004, allocations: 1.914 MB / 0.7311 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02198/0.3223, allocations: 7.008 MB / 0.7379 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.395e-05/0.3223, allocations: 4 kB / 0.738 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=391) (initialization): time 0.009762/0.3321, allocations: 4.106 MB / 0.742 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.226e-05/0.3322, allocations: 55.03 kB / 0.742 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.377e-05/0.3322, allocations: 11.98 kB / 0.742 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005286/0.3327, allocations: 321.4 kB / 0.7423 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003178/0.3359, allocations: 0.6943 MB / 0.743 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.624e-05/0.336, allocations: 23.94 kB / 0.743 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002637/0.3386, allocations: 409.9 kB / 0.7434 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002431/0.3388, allocations: 108 kB / 0.7435 GB, free: 6.328 MB / 0.5762 GB Warning: Assuming fixed start value for the following 24 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) BESS.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.reecC.firstOrder.y:VARIABLE(flow=false start = BESS.reecC.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.firstOrder1.y:VARIABLE(flow=false start = BESS.reecC.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.firstOrder.y:VARIABLE(flow=false start = BESS.regcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean BESS.regcA.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real BESS.injector.running.value:DISCRETE(flow=false start = BESS.injector.Running0 fixed = true ) type: Boolean BESS.line.running.value:DISCRETE(flow=false start = BESS.line.Running0 fixed = true ) type: Boolean BESS.repcA.firstOrder.y:VARIABLE(flow=false start = BESS.repcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder1.y:VARIABLE(flow=false start = BESS.repcA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder2.y:VARIABLE(flow=false start = BESS.repcA.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder3.y:VARIABLE(flow=false start = BESS.repcA.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.repcA.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.leadLag.x_scaled[1]:VARIABLE(start = BESS.repcA.leadLag.X0[1] * BESS.repcA.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean BESS.regcA.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004255/0.3431, allocations: 1.959 MB / 0.7454 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003274/0.3464, allocations: 1.855 MB / 0.7473 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02156/0.3679, allocations: 6.86 MB / 0.7539 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.683e-05/0.368, allocations: 7.938 kB / 0.754 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of matching and sorting (n=391) (initialization_lambda0): time 0.0102/0.3782, allocations: 4.001 MB / 0.7579 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.599e-05/0.3782, allocations: 57.06 kB / 0.7579 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.082e-05/0.3782, allocations: 11.98 kB / 0.7579 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004965/0.3787, allocations: 320.9 kB / 0.7582 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003006/0.3818, allocations: 0.667 MB / 0.7589 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.119e-05/0.3818, allocations: 23.94 kB / 0.7589 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002716/0.3845, allocations: 358.5 kB / 0.7593 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002183/0.3847, allocations: 108 kB / 0.7594 GB, free: 5.699 MB / 0.5919 GB Warning: Assuming fixed start value for the following 24 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) BESS.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.reecC.firstOrder.y:VARIABLE(flow=false start = BESS.reecC.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.firstOrder1.y:VARIABLE(flow=false start = BESS.reecC.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.firstOrder.y:VARIABLE(flow=false start = BESS.regcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean BESS.regcA.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real BESS.injector.running.value:DISCRETE(flow=false start = BESS.injector.Running0 fixed = true ) type: Boolean BESS.line.running.value:DISCRETE(flow=false start = BESS.line.Running0 fixed = true ) type: Boolean BESS.repcA.firstOrder.y:VARIABLE(flow=false start = BESS.repcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder1.y:VARIABLE(flow=false start = BESS.repcA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder2.y:VARIABLE(flow=false start = BESS.repcA.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder3.y:VARIABLE(flow=false start = BESS.repcA.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.repcA.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.leadLag.x_scaled[1]:VARIABLE(start = BESS.repcA.leadLag.X0[1] * BESS.repcA.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean BESS.regcA.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 53 ($PRE.line.state,line.state,$PRE.BESS.line.state,BESS.line.state,$PRE.BESS.injector.state,BESS.injector.state,BESS.injector.switchOffSignal3.value,BESS.injector.switchOffSignal2.value,BESS.injector.switchOffSignal1.value,line.switchOffSignal2.value,line.switchOffSignal1.value,BESS.regcA.rateLimFirstOrderFreeze1.local_freeze,BESS.regcA.rateLimFirstOrderFreeze2.local_freeze,$PRE.BESS.regcA.offDelay.delaySignal,$PRE.BESS.regcA.offDelay.tNext,$PRE.BESS.injector.running.value,$PRE.BESS.line.running.value,$PRE.line.running.value,BESS.regcA.QInj0PuPos.k,BESS.regcA.and1.u[1],BESS.regcA.QInj0PuPos.y,BESS.regcA.Qinj0PuNeg.k,BESS.regcA.and2.u[2],BESS.regcA.Qinj0PuNeg.y,$PRE.BESS.regcA.offDelay.u,line.running.value,BESS.repcA.freeze,BESS.line.running.value,BESS.injector.running.value,BESS.regcA.and2.y,BESS.regcA.and1.y,BESS.regcA.and1.u[2],BESS.regcA.offDelay.tNext,BESS.regcA.offDelay.delaySignal,BESS.regcA.offDelay.u,$whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,$whenCondition5,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition10,$whenCondition9,$whenCondition11,BESS.repcA.limPIDFreeze.I.resetLocal,BESS.repcA.limPID.I.local_reset,BESS.pll.limIntegrator.local_reset,BESS.pll.integrator.local_reset,BESS.reecC.integrator.local_reset,BESS.reecC.varLimPIDFreeze.I.resetLocal,BESS.reecC.limPIDFreeze.I.resetLocal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (369): * Single equations (assignments): 367 * 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.0009673/0.3857, allocations: 473.9 kB / 0.7598 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007291/0.3864, allocations: 341.7 kB / 0.7601 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007675/0.3941, allocations: 3.128 MB / 0.7632 GB, free: 1.754 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.45e-05/0.3941, allocations: 23.94 kB / 0.7632 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/0.3941, allocations: 8 kB / 0.7632 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.17e-05/0.3942, allocations: 7.969 kB / 0.7632 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01395/0.4081, allocations: 7.073 MB / 0.7701 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.435e-05/0.4081, allocations: 8.453 kB / 0.7701 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002643/0.4108, allocations: 463.4 kB / 0.7706 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004612/0.4112, allocations: 304.7 kB / 0.7709 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001889/0.4114, allocations: 55.97 kB / 0.7709 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.407e-05/0.4114, allocations: 12 kB / 0.7709 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.4114, allocations: 7.938 kB / 0.7709 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01088/0.4223, allocations: 4.986 MB / 0.7758 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00183/0.4241, allocations: 0.6614 MB / 0.7765 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004719/0.4246, allocations: 59.98 kB / 0.7765 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001844/0.4265, allocations: 207.7 kB / 0.7767 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003975/0.4269, allocations: 177.5 kB / 0.7769 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001492/0.427, allocations: 67.98 kB / 0.777 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003276/0.4303, allocations: 1.98 MB / 0.7789 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4303, allocations: 0 / 0.7789 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003207/0.4335, allocations: 1.228 MB / 0.7801 GB, free: 284 kB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 20 (BESS.reecC.firstOrder.y,BESS.reecC.firstOrder1.y,BESS.reecC.limPIDFreeze.I.y,BESS.reecC.varLimPIDFreeze.I.y,BESS.reecC.rateLimFirstOrderFreeze1.y,BESS.reecC.slewRateLimiter.y,BESS.reecC.rateLimFirstOrderFreeze.y,BESS.reecC.integrator.y,BESS.regcA.rateLimFirstOrderFreeze2.y,BESS.regcA.rateLimFirstOrderFreeze1.y,BESS.regcA.firstOrder.y,BESS.pll.integrator.y,BESS.pll.limIntegrator.y,BESS.repcA.firstOrder.y,BESS.repcA.limPID.I.y,BESS.repcA.firstOrder1.y,BESS.repcA.firstOrder2.y,BESS.repcA.firstOrder3.y,BESS.repcA.limPIDFreeze.I.y,BESS.repcA.leadLag.x_scaled[1]) * Number of discrete variables: 24 ($whenCondition11,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,BESS.regcA.offDelay.u,BESS.regcA.offDelay.delaySignal,BESS.regcA.offDelay.tNext,BESS.regcA.and1.u[2],BESS.regcA.and1.y,BESS.regcA.and2.y,BESS.injector.running.value,BESS.injector.state,BESS.line.running.value,BESS.line.state,BESS.repcA.freeze,line.running.value,line.state) * Number of discrete states: 4 (line.running.value,BESS.line.running.value,BESS.injector.running.value,BESS.regcA.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (196): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.3384/0.7719, allocations: 5.907 MB / 0.7859 GB, free: 128.6 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0101/0.782, allocations: 4.974 MB / 0.7907 GB, free: 126.8 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-05/0.782, allocations: 5.531 kB / 0.7907 GB, free: 126.8 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003527/0.7855, allocations: 1.544 MB / 0.7922 GB, free: 126.2 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002855/0.7884, allocations: 0.4928 MB / 0.7927 GB, free: 126 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05233/0.8407, allocations: 28.12 MB / 0.8202 GB, free: 110.2 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001064/0.8418, allocations: 1.822 MB / 0.8219 GB, free: 108.6 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001923/0.8437, allocations: 432 kB / 0.8224 GB, free: 108.2 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001505/0.8452, allocations: 1.335 MB / 0.8237 GB, free: 106.8 MB / 0.6075 GB Notification: Performance of SimCode: time 9.21e-07/0.8452, allocations: 0 / 0.8237 GB, free: 106.8 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1103/0.9555, allocations: 71.19 MB / 0.8932 GB, free: 35.88 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.3/18.25, allocations: 7.641 kB / 0.8932 GB, free: 35.88 MB / 0.6075 GB " [Timeout remaining time 642] (rm -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe >> ../files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.sim & python3 -m fmpy simulate --output-file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSource.fmu > Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable BESS.injector.PInjPuSn in file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.csv. Warning: Get data of variable BESS.injector.PInjPuSn from file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.csv failed! Error: Could not read variable BESS.injector.QInjPuSn in file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.csv. Warning: Get data of variable BESS.injector.QInjPuSn from file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.csv failed! Error: Could not read variable BESS.reecC.idCmdPu in file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.csv. Warning: Get data of variable BESS.reecC.idCmdPu from file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.csv failed! Error: Could not read variable BESS.reecC.iqCmdPu in file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.csv. Warning: Get data of variable BESS.reecC.iqCmdPu from file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.csv failed! Error: Could not read variable BESS.regcBCS.UPu in file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.csv. Warning: Get data of variable BESS.regcBCS.UPu from file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.csv failed! Error: Could not read variable BESS.injector.UPu in file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.csv. Warning: Get data of variable BESS.injector.UPu from file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 22.082801977998315]