Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.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.0007399/0.0007399, allocations: 96.36 kB / 19.72 MB, free: 432 kB / 13.93 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.0007569/0.0007569, allocations: 212.8 kB / 23.02 MB, free: 2.965 MB / 13.93 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 0.9077/0.9077, allocations: 207.7 MB / 233.9 MB, free: 11.47 MB / 186.7 MB " [Timeout remaining time 179] 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.3979/0.3979, allocations: 121.3 MB / 407.4 MB, free: 0.6875 MB / 330.7 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.BESSCurrentSourceNoPPC,fileNamePrefix="Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSourceNoPPC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC,fileNamePrefix="Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSourceNoPPC",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.001263/0.001263, allocations: 79.89 kB / 0.5775 GB, free: 10.36 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2742, allocations: 80.46 MB / 0.6561 GB, free: 21.7 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC): time 0.007328/0.2816, allocations: 9.395 MB / 0.6653 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.005874/0.2874, allocations: 5.023 MB / 0.6702 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001632/0.2891, allocations: 56.59 kB / 0.6702 GB, free: 10.54 MB / 0.4948 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: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: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). Notification: Performance of NFTyping.typeComponents: time 0.001547/0.2906, allocations: 0.6705 MB / 0.6709 GB, free: 10.03 MB / 0.4948 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.001995/0.2926, allocations: 0.9845 MB / 0.6718 GB, free: 9.242 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/WECC/BaseClasses_INIT/WECCInverterCurrentSource_INIT.mo:94:3-94:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wt4CurrentSource_INIT.s0Pu) == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.002352/0.295, allocations: 2.024 MB / 0.6738 GB, free: 7.637 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002666/0.2976, allocations: 3.274 MB / 0.677 GB, free: 5.539 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008408/0.2985, allocations: 0.6916 MB / 0.6777 GB, free: 5.012 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001161/0.2996, allocations: 1.231 MB / 0.6789 GB, free: 4.164 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001006/0.3006, allocations: 1.203 MB / 0.6801 GB, free: 3.266 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0004459/0.3011, allocations: 341.8 kB / 0.6804 GB, free: 3.262 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008085/0.3019, allocations: 0.6007 MB / 0.681 GB, free: 3.145 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.000322/0.3022, allocations: 0.7236 MB / 0.6817 GB, free: 2.531 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0006367/0.3028, allocations: 1.085 MB / 0.6827 GB, free: 1.684 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.003016/0.3059, allocations: 4.329 MB / 0.687 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.3059, allocations: 0 / 0.687 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.963e-06/0.3059, allocations: 0 / 0.687 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000123/0.306, allocations: 1.406 kB / 0.687 GB, free: 14.29 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.006304/0.3123, allocations: 3.664 MB / 0.6905 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.3123, allocations: 13.72 kB / 0.6906 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002392/0.3126, allocations: 256.4 kB / 0.6908 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001997/0.3146, allocations: 0.6736 MB / 0.6915 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002146/0.3167, allocations: 1.704 MB / 0.6931 GB, free: 9.875 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003409/0.3171, allocations: 0.7573 MB / 0.6939 GB, free: 9.02 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001729/0.3172, allocations: 183.9 kB / 0.694 GB, free: 8.84 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002638/0.3199, allocations: 2.401 MB / 0.6964 GB, free: 6.289 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.3199, allocations: 11.92 kB / 0.6964 GB, free: 6.277 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/0.32, allocations: 75.98 kB / 0.6965 GB, free: 6.203 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.123e-05/0.32, allocations: 48 kB / 0.6965 GB, free: 6.156 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002575/0.3226, allocations: 1.874 MB / 0.6983 GB, free: 4.277 MB / 0.5105 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.007233/0.3298, allocations: 6.903 MB / 0.7051 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002623/0.3325, allocations: 1.765 MB / 0.7068 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.3335, allocations: 0.8011 MB / 0.7076 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001195/0.3336, allocations: 28.98 kB / 0.7076 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001374/0.335, allocations: 1.156 MB / 0.7087 GB, free: 9.426 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=146): time 2.915e-06/0.335, allocations: 0 / 0.7087 GB, free: 9.426 MB / 0.5261 GB Notification: Performance of matching and sorting (n=146): time 0.004673/0.3397, allocations: 3.001 MB / 0.7117 GB, free: 6.418 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001675/0.3398, allocations: 294.2 kB / 0.712 GB, free: 6.066 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002123/0.342, allocations: 2.314 MB / 0.7142 GB, free: 3.727 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000112/0.3421, allocations: 65.69 kB / 0.7143 GB, free: 3.656 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006049/0.3427, allocations: 1.041 MB / 0.7153 GB, free: 2.602 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003579/0.343, allocations: 0.5231 MB / 0.7158 GB, free: 2.074 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004692/0.3435, allocations: 476.7 kB / 0.7163 GB, free: 1.602 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.203e-05/0.3436, allocations: 305.1 kB / 0.7165 GB, free: 1.301 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/0.3449, allocations: 1.067 MB / 0.7176 GB, free: 220 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001621/0.3465, allocations: 1.636 MB / 0.7192 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008539/0.3551, allocations: 5.389 MB / 0.7244 GB, free: 8.836 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.288e-06/0.3551, allocations: 4 kB / 0.7245 GB, free: 8.832 MB / 0.5417 GB Notification: Performance of matching and sorting (n=321) (initialization): time 0.004312/0.3594, allocations: 3.199 MB / 0.7276 GB, free: 5.57 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.998e-05/0.3594, allocations: 60.89 kB / 0.7276 GB, free: 5.508 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.3595, allocations: 8 kB / 0.7276 GB, free: 5.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003685/0.3598, allocations: 272.8 kB / 0.7279 GB, free: 5.23 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/0.3611, allocations: 0.5343 MB / 0.7284 GB, free: 4.695 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002176/0.3632, allocations: 2.48 MB / 0.7308 GB, free: 2.098 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/0.3645, allocations: 298.4 kB / 0.7311 GB, free: 1.805 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.3646, allocations: 87.98 kB / 0.7312 GB, free: 1.719 MB / 0.5417 GB Warning: Assuming fixed start value for the following 18 variables: BESS.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.LvTfo.State0 fixed = true ) \"Transformer 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) 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) line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean BESS.reecC.firstOrder.y:VARIABLE(flow=false start = BESS.reecC.UConv0Pu 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.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.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.varLimPIDFreeze.I.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.LvTfo.running.value:DISCRETE(flow=false start = BESS.LvTfo.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.002174/0.3667, allocations: 1.564 MB / 0.7327 GB, free: 152 kB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001528/0.3683, allocations: 1.627 MB / 0.7343 GB, free: 14.34 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008597/0.3769, allocations: 5.342 MB / 0.7395 GB, free: 8.816 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.099e-05/0.3769, allocations: 4.234 kB / 0.7396 GB, free: 8.812 MB / 0.5573 GB Notification: Performance of matching and sorting (n=321) (initialization_lambda0): time 0.004347/0.3812, allocations: 3.176 MB / 0.7427 GB, free: 5.574 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.454e-05/0.3813, allocations: 57.67 kB / 0.7427 GB, free: 5.512 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.3813, allocations: 11.98 kB / 0.7427 GB, free: 5.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003293/0.3816, allocations: 273.2 kB / 0.743 GB, free: 5.23 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/0.3829, allocations: 0.5305 MB / 0.7435 GB, free: 4.699 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002121/0.385, allocations: 2.487 MB / 0.7459 GB, free: 2.105 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/0.3863, allocations: 258.9 kB / 0.7462 GB, free: 1.852 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.3864, allocations: 91.98 kB / 0.7463 GB, free: 1.762 MB / 0.5573 GB Warning: Assuming fixed start value for the following 18 variables: BESS.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.LvTfo.State0 fixed = true ) \"Transformer 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) 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) line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean BESS.reecC.firstOrder.y:VARIABLE(flow=false start = BESS.reecC.UConv0Pu 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.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.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.varLimPIDFreeze.I.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.LvTfo.running.value:DISCRETE(flow=false start = BESS.LvTfo.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: 33 * Number of states: 0 () * Number of discrete variables: 50 ($PRE.BESS.LvTfo.state,BESS.LvTfo.state,$PRE.BESS.injector.state,BESS.injector.state,$PRE.line.state,line.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.line.running.value,$PRE.BESS.regcA.offDelay.delaySignal,$PRE.BESS.regcA.offDelay.tNext,$PRE.BESS.injector.running.value,$PRE.BESS.LvTfo.running.value,BESS.regcA.QConv0PuPos.k,BESS.regcA.and1.u[1],BESS.regcA.QConv0PuPos.y,BESS.regcA.QConv0PuNeg.k,BESS.regcA.and2.u[2],BESS.regcA.QConv0PuNeg.y,$PRE.BESS.regcA.offDelay.u,BESS.LvTfo.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,line.running.value,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition10,$whenCondition9,$whenCondition11,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 (295): * Single equations (assignments): 293 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(8,2,50.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005708/0.387, allocations: 412.4 kB / 0.7467 GB, free: 1.359 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002854/0.3873, allocations: 250.4 kB / 0.7469 GB, free: 1.113 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003177/0.3904, allocations: 2.295 MB / 0.7491 GB, free: 14.8 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.3904, allocations: 16 kB / 0.7491 GB, free: 14.79 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3904, allocations: 0 / 0.7491 GB, free: 14.79 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.3905, allocations: 19.89 kB / 0.7492 GB, free: 14.77 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005461/0.3959, allocations: 4.587 MB / 0.7536 GB, free: 10.09 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.3959, allocations: 4 kB / 0.7537 GB, free: 10.09 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.3969, allocations: 343.9 kB / 0.754 GB, free: 9.75 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003154/0.3973, allocations: 260.7 kB / 0.7542 GB, free: 9.492 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.442e-05/0.3973, allocations: 43.97 kB / 0.7543 GB, free: 9.449 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002003/0.3993, allocations: 2.479 MB / 0.7567 GB, free: 6.855 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3993, allocations: 7.938 kB / 0.7567 GB, free: 6.848 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004463/0.4038, allocations: 3.617 MB / 0.7602 GB, free: 3.164 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008316/0.4046, allocations: 485.8 kB / 0.7607 GB, free: 2.688 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001754/0.4048, allocations: 43.98 kB / 0.7607 GB, free: 2.645 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006886/0.4055, allocations: 143.8 kB / 0.7609 GB, free: 2.504 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001959/0.4057, allocations: 133 kB / 0.761 GB, free: 2.371 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.027e-05/0.4058, allocations: 55.97 kB / 0.7611 GB, free: 2.316 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001479/0.4072, allocations: 1.522 MB / 0.7625 GB, free: 0.7812 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4072, allocations: 0 / 0.7625 GB, free: 0.7812 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001838/0.4091, allocations: 1.014 MB / 0.7635 GB, free: 15.76 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 13 (BESS.reecC.firstOrder.y,BESS.reecC.firstOrder1.y,BESS.reecC.limPIDFreeze.I.y,BESS.reecC.rateLimFirstOrderFreeze1.y,BESS.reecC.slewRateLimiter.y,BESS.reecC.rateLimFirstOrderFreeze.y,BESS.reecC.varLimPIDFreeze.I.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) * Number of discrete variables: 23 ($whenCondition11,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running.value,line.state,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.LvTfo.running.value,BESS.LvTfo.state) * Number of discrete states: 4 (BESS.LvTfo.running.value,BESS.injector.running.value,line.running.value,BESS.regcA.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(8,2,50.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005324/0.4144, allocations: 4.547 MB / 0.768 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.005619/0.42, allocations: 4.22 MB / 0.7721 GB, free: 7.016 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.42, allocations: 0.875 kB / 0.7721 GB, free: 7.016 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001704/0.4217, allocations: 1.287 MB / 0.7734 GB, free: 5.715 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/0.4231, allocations: 342.8 kB / 0.7737 GB, free: 5.387 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02583/0.449, allocations: 21.64 MB / 0.7948 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007678/0.4498, allocations: 0.9828 MB / 0.7958 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001048/0.4508, allocations: 319 kB / 0.7961 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000939/0.4517, allocations: 0.9718 MB / 0.797 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of SimCode: time 1.512e-06/0.4517, allocations: 4 kB / 0.797 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05791/0.5096, allocations: 56.17 MB / 0.8519 GB, free: 4.781 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.596/8.106, allocations: 15.03 kB / 0.8519 GB, free: 4.773 MB / 0.6667 GB " [Timeout remaining time 652] (rm -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.pipe >> ../files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.mat --tempDir=temp_Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSourceNoPPC_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --timeout=50 --tolerance=1e-05 Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSourceNoPPC.fmu > Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 11.98909375211224]