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.0009356/0.0009356, allocations: 80.55 kB / 19.95 MB, free: 4.598 MB / 18.57 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.0009767/0.0009767, allocations: 177.2 kB / 23.24 MB, free: 1.316 MB / 18.57 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.7848/0.7848, allocations: 158.6 MB / 185 MB, free: 3.059 MB / 170.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.5541/0.5541, allocations: 91.16 MB / 328.4 MB, free: 14.21 MB / 314.7 MB " [Timeout remaining time 179] Using package Dynawo with version 2.0.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 the simulation runtime does not accept it Ignoring simflag -noemit -noRestart=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRootFinding=() since the simulation runtime does not accept it Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Dynawo.Examples.BESS.WECC.BESSCurrentSource,fileNamePrefix="Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSource",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.BESS.WECC.BESSCurrentSource,fileNamePrefix="Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSource",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.5023 GB, free: 15.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.964e-05/2.093e-05, allocations: 3.5 kB / 0.5023 GB, free: 15.86 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSource): time 0.01209/0.01211, allocations: 13.66 MB / 0.5156 GB, free: 6.703 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01178/0.0239, allocations: 6.78 MB / 0.5222 GB, free: 1.816 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003936/0.02783, allocations: 93.78 kB / 0.5223 GB, free: 1.777 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002797/0.03063, allocations: 0.8905 MB / 0.5232 GB, free: 1.094 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.004672/0.0353, allocations: 1.549 MB / 0.5247 GB, free: 15.82 MB / 458.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:87:3-87:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wTG4CurrentSource_INIT.s0Pu) == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.005647/0.04095, allocations: 3.009 MB / 0.5276 GB, free: 13.4 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.007727/0.04867, allocations: 5.433 MB / 0.5329 GB, free: 9.855 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003024/0.0517, allocations: 1.204 MB / 0.5341 GB, free: 8.945 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003104/0.0548, allocations: 1.86 MB / 0.5359 GB, free: 7.699 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002714/0.05752, allocations: 1.646 MB / 0.5375 GB, free: 6.43 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001245/0.05876, allocations: 0.5625 MB / 0.5381 GB, free: 5.867 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001895/0.06066, allocations: 0.8863 MB / 0.539 GB, free: 4.98 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001117/0.06177, allocations: 1.187 MB / 0.5401 GB, free: 3.789 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00216/0.06393, allocations: 1.449 MB / 0.5415 GB, free: 2.336 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008313/0.07225, allocations: 7.127 MB / 0.5485 GB, free: 11.19 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.07225, allocations: 0 / 0.5485 GB, free: 11.19 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.07225, allocations: 3.938 kB / 0.5485 GB, free: 11.18 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000179/0.07243, allocations: 0 / 0.5485 GB, free: 11.18 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 723 * Number of variables: 723 Notification: Performance of Generate backend data structure: time 0.0145/0.08693, allocations: 5.739 MB / 0.5541 GB, free: 5.355 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.08698, allocations: 12.03 kB / 0.5541 GB, free: 5.344 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005958/0.08757, allocations: 404.5 kB / 0.5545 GB, free: 4.941 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006166/0.09374, allocations: 1.391 MB / 0.5559 GB, free: 3.547 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005156/0.09889, allocations: 2.696 MB / 0.5585 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006601/0.09955, allocations: 0.9894 MB / 0.5595 GB, free: 15.64 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008372/0.1004, allocations: 291.9 kB / 0.5597 GB, free: 15.36 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006729/0.1071, allocations: 4.023 MB / 0.5637 GB, free: 11.05 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.149e-05/0.1072, allocations: 7.938 kB / 0.5637 GB, free: 11.05 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002949/0.1075, allocations: 120 kB / 0.5638 GB, free: 10.93 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-05/0.1075, allocations: 72 kB / 0.5639 GB, free: 10.86 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005225/0.1127, allocations: 3.167 MB / 0.5669 GB, free: 7.68 MB / 490.7 MB 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.01511/0.1279, allocations: 10.93 MB / 0.5776 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00445/0.1323, allocations: 2.803 MB / 0.5804 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00219/0.1345, allocations: 1.302 MB / 0.5816 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002028/0.1347, allocations: 37.98 kB / 0.5817 GB, free: 8.406 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002591/0.1373, allocations: 1.778 MB / 0.5834 GB, free: 6.605 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=243): time 5.05e-06/0.1373, allocations: 0 / 0.5834 GB, free: 6.605 MB / 0.4948 GB Notification: Performance of matching and sorting (n=243): time 0.008686/0.146, allocations: 4.766 MB / 0.5881 GB, free: 1.832 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001672/0.1461, allocations: 0.4889 MB / 0.5885 GB, free: 1.23 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004935/0.1511, allocations: 3.495 MB / 0.592 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004292/0.1515, allocations: 85.69 kB / 0.592 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001211/0.1527, allocations: 1.618 MB / 0.5936 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00102/0.1537, allocations: 0.8756 MB / 0.5945 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001258/0.155, allocations: 0.7123 MB / 0.5952 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.908e-05/0.1551, allocations: 301.1 kB / 0.5955 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002547/0.1576, allocations: 1.736 MB / 0.5971 GB, free: 8.387 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002927/0.1605, allocations: 2.722 MB / 0.5998 GB, free: 5.395 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01726/0.1778, allocations: 8.903 MB / 0.6085 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.792e-05/0.1778, allocations: 4 kB / 0.6085 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of matching and sorting (n=507) (initialization): time 0.008051/0.1859, allocations: 5.03 MB / 0.6134 GB, free: 7.25 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.621e-05/0.1859, allocations: 73.78 kB / 0.6135 GB, free: 7.172 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/0.186, allocations: 8 kB / 0.6135 GB, free: 7.164 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005725/0.1865, allocations: 380 kB / 0.6139 GB, free: 6.793 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002331/0.1889, allocations: 0.8386 MB / 0.6147 GB, free: 5.953 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00331/0.1922, allocations: 2.987 MB / 0.6176 GB, free: 2.855 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00273/0.1949, allocations: 489.3 kB / 0.6181 GB, free: 2.375 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004903/0.1954, allocations: 128 kB / 0.6182 GB, free: 2.25 MB / 0.5261 GB Warning: Assuming fixed start value for the following 26 variables: BESS.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) 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:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" 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:DISCRETE(flow=false start = BESS.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.LvTfo.running:DISCRETE(flow=false start = BESS.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.HvTfo.running:DISCRETE(flow=false start = BESS.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.repcA.firstOrder.y:VARIABLE(flow=false start = BESS.repcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder1.y:VARIABLE(flow=false start = BESS.repcA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder2.y:VARIABLE(flow=false start = BESS.repcA.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder3.y:VARIABLE(flow=false start = BESS.repcA.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.repcA.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.leadLag.x_scaled[1]:VARIABLE(start = BESS.repcA.leadLag.X0[1] * BESS.repcA.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] BESS.regcA.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004311/0.1997, allocations: 2.407 MB / 0.6205 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003013/0.2027, allocations: 2.663 MB / 0.6231 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01748/0.2202, allocations: 8.759 MB / 0.6317 GB, free: 3.965 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.318e-05/0.2202, allocations: 192 / 0.6317 GB, free: 3.965 MB / 0.5417 GB Notification: Performance of matching and sorting (n=507) (initialization_lambda0): time 0.008293/0.2285, allocations: 4.936 MB / 0.6365 GB, free: 15 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 6.586e-05/0.2286, allocations: 69.59 kB / 0.6366 GB, free: 14.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.2286, allocations: 12 kB / 0.6366 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005324/0.2291, allocations: 376.9 kB / 0.6369 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002188/0.2313, allocations: 0.8113 MB / 0.6377 GB, free: 13.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003131/0.2344, allocations: 3.01 MB / 0.6407 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002311/0.2367, allocations: 410.1 kB / 0.6411 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002578/0.237, allocations: 132 kB / 0.6412 GB, free: 10.07 MB / 0.5573 GB Warning: Assuming fixed start value for the following 26 variables: BESS.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) 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:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" 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:DISCRETE(flow=false start = BESS.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.LvTfo.running:DISCRETE(flow=false start = BESS.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.HvTfo.running:DISCRETE(flow=false start = BESS.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.repcA.firstOrder.y:VARIABLE(flow=false start = BESS.repcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder1.y:VARIABLE(flow=false start = BESS.repcA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder2.y:VARIABLE(flow=false start = BESS.repcA.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder3.y:VARIABLE(flow=false start = BESS.repcA.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.repcA.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.leadLag.x_scaled[1]:VARIABLE(start = BESS.repcA.leadLag.X0[1] * BESS.repcA.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] 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: 43 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.BESS.HvTfo.state,BESS.HvTfo.state,$PRE.BESS.LvTfo.state,BESS.LvTfo.state,$PRE.BESS.injector.state,BESS.injector.state,$PRE.line.state,line.state,BESS.switchOffSignal3,BESS.switchOffSignal2,BESS.switchOffSignal1,line.switchOffSignal2,line.switchOffSignal1,BESS.regcA.rateLimFirstOrderFreeze1.local_freeze,BESS.regcA.rateLimFirstOrderFreeze2.local_freeze,$PRE.line.running,$PRE.BESS.regcA.offDelay.delaySignal,$PRE.BESS.regcA.offDelay.tNext,$PRE.BESS.injector.running,$PRE.BESS.LvTfo.running,$PRE.BESS.HvTfo.running,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.repcA.freeze,BESS.HvTfo.running,BESS.LvTfo.running,BESS.injector.running,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,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition14,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 (470): * Single equations (assignments): 468 * 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 {(10,4,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008355/0.2378, allocations: 0.5115 MB / 0.6417 GB, free: 9.566 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006979/0.2385, allocations: 401.5 kB / 0.6421 GB, free: 9.172 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00552/0.2441, allocations: 3.57 MB / 0.6456 GB, free: 5.586 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/0.2441, allocations: 28 kB / 0.6456 GB, free: 5.559 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.2441, allocations: 4 kB / 0.6456 GB, free: 5.555 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.76e-05/0.2441, allocations: 11.95 kB / 0.6456 GB, free: 5.543 MB / 0.5573 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 postOpt removeSimpleEquations (simulation): time 0.01144/0.2555, allocations: 7.446 MB / 0.6529 GB, free: 13.98 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.2556, allocations: 8 kB / 0.6529 GB, free: 13.97 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001713/0.2573, allocations: 0.5231 MB / 0.6534 GB, free: 13.45 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005365/0.2578, allocations: 368.6 kB / 0.6537 GB, free: 13.09 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001819/0.258, allocations: 63.97 kB / 0.6538 GB, free: 13.02 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003156/0.2611, allocations: 2.977 MB / 0.6567 GB, free: 9.93 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.2611, allocations: 12.03 kB / 0.6567 GB, free: 9.918 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00825/0.2694, allocations: 5.665 MB / 0.6623 GB, free: 4.16 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001683/0.2711, allocations: 0.7936 MB / 0.663 GB, free: 3.363 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003962/0.2715, allocations: 59.98 kB / 0.6631 GB, free: 3.305 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/0.2729, allocations: 219.8 kB / 0.6633 GB, free: 3.09 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003312/0.2732, allocations: 213.5 kB / 0.6635 GB, free: 2.879 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001274/0.2733, allocations: 79.97 kB / 0.6636 GB, free: 2.801 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003086/0.2764, allocations: 2.291 MB / 0.6658 GB, free: 0.5273 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.41e-07/0.2764, allocations: 0 / 0.6658 GB, free: 0.5273 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003951/0.2804, allocations: 1.638 MB / 0.6674 GB, free: 14.89 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 20 (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,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: 29 ($whenCondition14,$whenCondition12,$whenCondition13,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running,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,BESS.injector.state,BESS.LvTfo.running,BESS.LvTfo.state,BESS.HvTfo.running,BESS.HvTfo.state,BESS.repcA.freeze) * Number of discrete states: 5 (BESS.HvTfo.running,BESS.LvTfo.running,BESS.injector.running,line.running,BESS.regcA.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (240): * Single equations (assignments): 229 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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 {(10,4,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009439/0.2898, allocations: 6.626 MB / 0.6739 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01082/0.3006, allocations: 6.514 MB / 0.6802 GB, free: 1.75 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.335e-05/0.3006, allocations: 7.938 kB / 0.6803 GB, free: 1.742 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.185/0.4856, allocations: 1.992 MB / 0.6822 GB, free: 165.2 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002907/0.4885, allocations: 0.5278 MB / 0.6827 GB, free: 165.2 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0734/0.5619, allocations: 33.24 MB / 0.7152 GB, free: 152.3 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001523/0.5634, allocations: 1.509 MB / 0.7166 GB, free: 152.1 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002258/0.5657, allocations: 0.558 MB / 0.7172 GB, free: 152 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001652/0.5673, allocations: 1.584 MB / 0.7187 GB, free: 150.7 MB / 0.5886 GB Notification: Performance of SimCode: time 1.413e-06/0.5673, allocations: 4 kB / 0.7187 GB, free: 150.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1424/0.7097, allocations: 85.36 MB / 0.8021 GB, free: 71.32 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.39, allocations: 8.047 kB / 0.8021 GB, free: 71.31 MB / 0.5886 GB " [Timeout remaining time 648] (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 & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.mat --stripRoot --tempDir=temp_Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSource_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --mode=me --timeout=240 --tolerance=1e-05 ../Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSource.fmu) > Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches (rm -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-cvode.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSource_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-05 ../Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSource_OMSimulator-cs-cvode.fmu) > Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches (rm -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-euler.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-euler.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSource_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-05 ../Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSource_OMSimulator-cs-euler.fmu) > Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches (rm -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_fmpy.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_fmpy.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_fmpy_res.csv --output-variables BESS.injector.PInjPuSn BESS.injector.QInjPuSn BESS.reecC.idCmdPu BESS.reecC.iqCmdPu BESS.injector.UPu --start-time 0 --stop-time 20 --timeout 240 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 ../Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSource.fmu) > Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 22.6169658806175]