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.001547/0.001547, allocations: 109 kB / 20.5 MB, free: 1.457 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.001801/0.001801, allocations: 213.9 kB / 23.81 MB, free: 4.672 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.421/1.421, allocations: 207.6 MB / 234.6 MB, free: 9.984 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.9068/0.9068, allocations: 113.8 MB / 400.7 MB, free: 16.59 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.BESS.WECC.BESSCurrentSource,fileNamePrefix="Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSource",fmuType="cs",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.003653/0.003653, allocations: 71.47 kB / 0.5671 GB, free: 43.12 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1767, allocations: 78.52 MB / 0.6438 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSource): time 0.01701/0.1937, allocations: 12.94 MB / 0.6565 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0137/0.2074, allocations: 6.371 MB / 0.6627 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003758/0.2112, allocations: 83.38 kB / 0.6628 GB, free: 11.41 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.002758/0.2139, allocations: 0.7475 MB / 0.6635 GB, free: 10.66 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.004736/0.2187, allocations: 0.9429 MB / 0.6644 GB, free: 9.715 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.006726/0.2254, allocations: 3.071 MB / 0.6674 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007123/0.2325, allocations: 4.497 MB / 0.6718 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00268/0.2352, allocations: 1.114 MB / 0.6729 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002698/0.2379, allocations: 1.669 MB / 0.6745 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002664/0.2406, allocations: 1.753 MB / 0.6762 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0009135/0.2415, allocations: 488 kB / 0.6767 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001468/0.243, allocations: 0.7771 MB / 0.6775 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0009452/0.2439, allocations: 0.9889 MB / 0.6784 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002101/0.246, allocations: 1.9 MB / 0.6803 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.007552/0.2536, allocations: 5.923 MB / 0.6861 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.2536, allocations: 4 kB / 0.6861 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2536, allocations: 0 / 0.6861 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001453/0.2537, allocations: 0 / 0.6861 GB, free: 3.426 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.01331/0.267, allocations: 4.708 MB / 0.6907 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.2671, allocations: 8.031 kB / 0.6907 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.459e-05/0.2672, allocations: 60.66 kB / 0.6907 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004691/0.2676, allocations: 328.9 kB / 0.691 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004722/0.2723, allocations: 0.9235 MB / 0.6919 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005251/0.2776, allocations: 2.353 MB / 0.6942 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008249/0.2784, allocations: 0.8757 MB / 0.6951 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005235/0.2789, allocations: 236 kB / 0.6953 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006556/0.2855, allocations: 3.053 MB / 0.6983 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.219e-05/0.2856, allocations: 11.88 kB / 0.6983 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002648/0.2858, allocations: 100 kB / 0.6984 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.02e-05/0.2859, allocations: 60 kB / 0.6985 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006595/0.2925, allocations: 2.632 MB / 0.701 GB, free: 3.582 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.01997/0.3125, allocations: 11.51 MB / 0.7123 GB, free: 7.664 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0072/0.3197, allocations: 2.447 MB / 0.7147 GB, free: 5.199 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002944/0.3226, allocations: 1.147 MB / 0.7158 GB, free: 4.047 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002382/0.3228, allocations: 37.28 kB / 0.7158 GB, free: 4.012 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00373/0.3266, allocations: 1.612 MB / 0.7174 GB, free: 2.359 MB / 0.545 GB Notification: Performance of pre-optimization done (n=193): time 9.508e-06/0.3266, allocations: 3.984 kB / 0.7174 GB, free: 2.355 MB / 0.545 GB Notification: Performance of matching and sorting (n=193): time 0.01305/0.3396, allocations: 4.151 MB / 0.7215 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000359/0.34, allocations: 0.5101 MB / 0.722 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00682/0.3468, allocations: 2.973 MB / 0.7249 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005195/0.3473, allocations: 73.64 kB / 0.7249 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00178/0.3491, allocations: 1.374 MB / 0.7263 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0013/0.3504, allocations: 0.6935 MB / 0.7269 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001947/0.3523, allocations: 0.5724 MB / 0.7275 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.3525, allocations: 305.1 kB / 0.7278 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003593/0.3561, allocations: 1.353 MB / 0.7291 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004442/0.3605, allocations: 1.901 MB / 0.731 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02496/0.3855, allocations: 7.053 MB / 0.7379 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-05/0.3855, allocations: 4 kB / 0.7379 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.01334/0.3988, allocations: 4.095 MB / 0.7419 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001485/0.399, allocations: 83.38 kB / 0.7419 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.826e-05/0.399, allocations: 8 kB / 0.742 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005866/0.3996, allocations: 321.2 kB / 0.7423 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003862/0.4035, allocations: 0.6865 MB / 0.7429 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.371e-05/0.4035, allocations: 23.94 kB / 0.743 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003459/0.407, allocations: 409.9 kB / 0.7433 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006225/0.4076, allocations: 99.98 kB / 0.7434 GB, free: 7.043 MB / 0.5762 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) 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.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.a_end * BESS.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.005509/0.4131, allocations: 1.943 MB / 0.7453 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004151/0.4173, allocations: 1.843 MB / 0.7471 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02433/0.4416, allocations: 6.916 MB / 0.7539 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.972e-05/0.4416, allocations: 4 kB / 0.7539 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=386) (initialization_lambda0): time 0.01291/0.4545, allocations: 3.989 MB / 0.7578 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001304/0.4546, allocations: 91.31 kB / 0.7579 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.684e-05/0.4547, allocations: 8 kB / 0.7579 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005455/0.4552, allocations: 325.5 kB / 0.7582 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003449/0.4587, allocations: 0.6631 MB / 0.7588 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.936e-05/0.4587, allocations: 27.92 kB / 0.7589 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003158/0.4619, allocations: 342.6 kB / 0.7592 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000449/0.4623, allocations: 108 kB / 0.7593 GB, free: 6.344 MB / 0.5919 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) 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.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.a_end * BESS.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: 42 * Number of states: 0 () * Number of discrete variables: 50 ($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.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,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.reecC.frtOn,$whenCondition11,$whenCondition10,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition9,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 (361): * Single equations (assignments): 358 * Array equations: 0 * Algorithm blocks: 2 * 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.001361/0.4637, allocations: 484.4 kB / 0.7598 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001071/0.4648, allocations: 337.8 kB / 0.7601 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009107/0.4739, allocations: 3.196 MB / 0.7632 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.44e-05/0.4739, allocations: 27.88 kB / 0.7632 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-05/0.4739, allocations: 0 / 0.7632 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.867e-05/0.4739, allocations: 15.95 kB / 0.7632 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01747/0.4914, allocations: 7.071 MB / 0.7701 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.835e-05/0.4914, allocations: 4 kB / 0.7702 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002949/0.4944, allocations: 463.5 kB / 0.7706 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005292/0.4949, allocations: 312.6 kB / 0.7709 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002692/0.4952, allocations: 51.98 kB / 0.7709 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.382e-05/0.4952, allocations: 12 kB / 0.771 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.4952, allocations: 4 kB / 0.771 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01268/0.5079, allocations: 5.039 MB / 0.7759 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002197/0.5101, allocations: 0.6653 MB / 0.7765 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008257/0.5109, allocations: 52 kB / 0.7766 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002378/0.5133, allocations: 211.8 kB / 0.7768 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004348/0.5137, allocations: 173.6 kB / 0.7769 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002026/0.5139, allocations: 63.97 kB / 0.777 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00437/0.5183, allocations: 1.968 MB / 0.7789 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.5183, allocations: 0 / 0.7789 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.005126/0.5234, allocations: 1.224 MB / 0.7801 GB, free: 0.7891 MB / 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 ($whenCondition9,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,$whenCondition10,$whenCondition11,BESS.reecC.frtOn,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: 7 (line.running.value,BESS.line.running.value,BESS.injector.running.value,BESS.regcA.offDelay.tNext,BESS.regcA.offDelay.delaySignal,$whenCondition11,$whenCondition10) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (193): * Single equations (assignments): 185 * 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.3246/0.848, allocations: 5.968 MB / 0.786 GB, free: 129.7 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01063/0.8587, allocations: 5.052 MB / 0.7909 GB, free: 127.9 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/0.8587, allocations: 4.281 kB / 0.7909 GB, free: 127.9 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003686/0.8624, allocations: 1.607 MB / 0.7925 GB, free: 127.2 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002934/0.8653, allocations: 497.1 kB / 0.7929 GB, free: 127.1 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05847/0.9238, allocations: 28.08 MB / 0.8204 GB, free: 111.3 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001104/0.9249, allocations: 1.819 MB / 0.8221 GB, free: 109.7 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00189/0.9268, allocations: 432.4 kB / 0.8225 GB, free: 109.2 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001565/0.9283, allocations: 1.331 MB / 0.8238 GB, free: 107.9 MB / 0.6075 GB Notification: Performance of SimCode: time 1.342e-06/0.9283, allocations: 0 / 0.8238 GB, free: 107.9 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1059/1.034, allocations: 70.99 MB / 0.8932 GB, free: 37.16 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.29/19.32, allocations: 7.656 kB / 0.8932 GB, free: 37.15 MB / 0.6075 GB " [Timeout remaining time 640] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.mat --tempDir=temp_Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSource_fmu --startTime=0 --stopTime=3 --stepSize=0.001 --timeout=50 --tolerance=1e-05 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.mat","/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.regcBCS.UPu in file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.mat. Warning: Get data of variable BESS.regcBCS.UPu from file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.mat failed! " [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 24.452334634959698]