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.002229/0.002229, allocations: 96.41 kB / 20.5 MB, free: 1.375 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.00233/0.00233, allocations: 226.6 kB / 23.8 MB, free: 4.539 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.5/1.5, allocations: 207.7 MB / 234.6 MB, free: 9.805 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.9848/0.9848, allocations: 113.7 MB / 400.6 MB, free: 17.55 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.002145/0.002145, allocations: 70.67 kB / 0.567 GB, free: 43 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1501, allocations: 78.51 MB / 0.6437 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSource): time 0.01583/0.1659, allocations: 11.12 MB / 0.6545 GB, free: 3.637 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01383/0.1798, allocations: 6.099 MB / 0.6605 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00335/0.1831, allocations: 87.38 kB / 0.6605 GB, free: 13.43 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.002698/0.1858, allocations: 0.7514 MB / 0.6613 GB, free: 12.68 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.004221/0.19, allocations: 0.9466 MB / 0.6622 GB, free: 11.73 MB / 0.4981 GB [/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.007131/0.1972, allocations: 2.996 MB / 0.6651 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007342/0.2045, allocations: 4.489 MB / 0.6695 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003072/0.2076, allocations: 1.122 MB / 0.6706 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003234/0.2108, allocations: 1.669 MB / 0.6722 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002906/0.2137, allocations: 1.753 MB / 0.674 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001306/0.215, allocations: 488 kB / 0.6744 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001879/0.2169, allocations: 0.7771 MB / 0.6752 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001379/0.2183, allocations: 0.9811 MB / 0.6761 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002319/0.2206, allocations: 1.465 MB / 0.6776 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.009216/0.2298, allocations: 5.962 MB / 0.6834 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2298, allocations: 0 / 0.6834 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2298, allocations: 4 kB / 0.6834 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001694/0.23, allocations: 0 / 0.6834 GB, free: 5.918 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.01368/0.2437, allocations: 4.708 MB / 0.688 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.2437, allocations: 8.031 kB / 0.688 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.278e-05/0.2438, allocations: 60.66 kB / 0.6881 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004962/0.2443, allocations: 328.9 kB / 0.6884 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004817/0.2491, allocations: 0.9208 MB / 0.6893 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005269/0.2544, allocations: 2.359 MB / 0.6916 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008083/0.2552, allocations: 0.8796 MB / 0.6924 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006854/0.2559, allocations: 236 kB / 0.6927 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007495/0.2634, allocations: 3.484 MB / 0.6961 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.771e-05/0.2634, allocations: 3.938 kB / 0.6961 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002904/0.2637, allocations: 107.9 kB / 0.6962 GB, free: 8.238 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.89e-05/0.2638, allocations: 59.94 kB / 0.6962 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006641/0.2704, allocations: 2.664 MB / 0.6988 GB, free: 5.496 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.02057/0.291, allocations: 9.552 MB / 0.7082 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006714/0.2977, allocations: 2.472 MB / 0.7106 GB, free: 9.25 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002715/0.3004, allocations: 1.179 MB / 0.7117 GB, free: 8.062 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001964/0.3006, allocations: 41.23 kB / 0.7118 GB, free: 8.023 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003463/0.3041, allocations: 1.658 MB / 0.7134 GB, free: 6.312 MB / 0.545 GB Notification: Performance of pre-optimization done (n=193): time 4.569e-06/0.3041, allocations: 4 kB / 0.7134 GB, free: 6.309 MB / 0.545 GB Notification: Performance of matching and sorting (n=193): time 0.01139/0.3155, allocations: 4.225 MB / 0.7175 GB, free: 2.059 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003046/0.3158, allocations: 0.5101 MB / 0.718 GB, free: 1.43 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005155/0.3209, allocations: 2.969 MB / 0.7209 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006742/0.3216, allocations: 65.7 kB / 0.721 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001658/0.3232, allocations: 1.381 MB / 0.7223 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001307/0.3246, allocations: 0.6974 MB / 0.723 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001287/0.3258, allocations: 0.5647 MB / 0.7236 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.326, allocations: 305.1 kB / 0.7238 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003286/0.3292, allocations: 1.431 MB / 0.7252 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004148/0.3334, allocations: 2.359 MB / 0.7275 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02353/0.3569, allocations: 7.084 MB / 0.7345 GB, free: 12 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.566e-05/0.3569, allocations: 4 kB / 0.7345 GB, free: 8 kB / 0.5606 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.0111/0.368, allocations: 4.189 MB / 0.7386 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001096/0.3682, allocations: 83.38 kB / 0.7386 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.82e-05/0.3682, allocations: 8 kB / 0.7386 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005526/0.3687, allocations: 324.8 kB / 0.739 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003541/0.3723, allocations: 0.6709 MB / 0.7396 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.963e-05/0.3723, allocations: 31.86 kB / 0.7396 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003063/0.3754, allocations: 413.9 kB / 0.74 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003762/0.3758, allocations: 108 kB / 0.7401 GB, free: 10.11 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.004576/0.3803, allocations: 2.01 MB / 0.7421 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004105/0.3845, allocations: 2.293 MB / 0.7443 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02271/0.4072, allocations: 6.951 MB / 0.7511 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.272e-05/0.4072, allocations: 4 kB / 0.7511 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=386) (initialization_lambda0): time 0.01/0.4172, allocations: 4.079 MB / 0.7551 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.507e-05/0.4173, allocations: 86.81 kB / 0.7552 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.098e-05/0.4173, allocations: 12 kB / 0.7552 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004617/0.4178, allocations: 317.3 kB / 0.7555 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003219/0.421, allocations: 0.6592 MB / 0.7562 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-05/0.421, allocations: 31.94 kB / 0.7562 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003018/0.424, allocations: 350.5 kB / 0.7565 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003334/0.4244, allocations: 108 kB / 0.7566 GB, free: 8.633 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.001151/0.4255, allocations: 496.1 kB / 0.7571 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009691/0.4265, allocations: 333.8 kB / 0.7574 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008378/0.4349, allocations: 3.229 MB / 0.7606 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.631e-05/0.4349, allocations: 20 kB / 0.7606 GB, free: 4.543 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.561e-05/0.4349, allocations: 3.984 kB / 0.7606 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.411e-05/0.4349, allocations: 19.78 kB / 0.7606 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01425/0.4492, allocations: 6.417 MB / 0.7669 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/0.4492, allocations: 11.94 kB / 0.7669 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002751/0.4519, allocations: 459.9 kB / 0.7673 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000472/0.4524, allocations: 312.6 kB / 0.7676 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001845/0.4526, allocations: 55.98 kB / 0.7677 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-05/0.4526, allocations: 15.88 kB / 0.7677 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.4526, allocations: 4 kB / 0.7677 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01124/0.4639, allocations: 5.097 MB / 0.7727 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002186/0.466, allocations: 0.6653 MB / 0.7733 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000474/0.4665, allocations: 63.98 kB / 0.7734 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001887/0.4684, allocations: 203.8 kB / 0.7736 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004696/0.4689, allocations: 177.6 kB / 0.7737 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000178/0.469, allocations: 67.97 kB / 0.7738 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003734/0.4728, allocations: 1.96 MB / 0.7757 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4728, allocations: 0 / 0.7757 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003726/0.4765, allocations: 1.217 MB / 0.7769 GB, free: 3.617 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.3523/0.8289, allocations: 6.052 MB / 0.7828 GB, free: 130.8 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0117/0.8406, allocations: 5.263 MB / 0.788 GB, free: 129.4 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/0.8406, allocations: 0 / 0.788 GB, free: 129.4 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00352/0.8441, allocations: 1.644 MB / 0.7896 GB, free: 128.7 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00291/0.847, allocations: 488.8 kB / 0.79 GB, free: 128.5 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06146/0.9085, allocations: 28.43 MB / 0.8178 GB, free: 112.6 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/0.9095, allocations: 1.266 MB / 0.819 GB, free: 111.7 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00201/0.9115, allocations: 434.8 kB / 0.8195 GB, free: 111.4 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001632/0.9132, allocations: 1.331 MB / 0.8208 GB, free: 110 MB / 0.6075 GB Notification: Performance of SimCode: time 1.082e-06/0.9132, allocations: 4 kB / 0.8208 GB, free: 110 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1591/1.072, allocations: 72.27 MB / 0.8913 GB, free: 38.14 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.26/19.34, allocations: 15.38 kB / 0.8913 GB, free: 38.12 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.801342539023608]