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.001123/0.001123, allocations: 72.52 kB / 19.95 MB, free: 4.613 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.001145/0.001145, allocations: 173.2 kB / 23.23 MB, free: 1.328 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.8925/0.8925, allocations: 158.6 MB / 185 MB, free: 3.039 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.4382/0.4382, allocations: 90.27 MB / 327.5 MB, free: 14.99 MB / 314.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: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.5 GB, free: 16.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.119e-05/2.287e-05, allocations: 5.891 kB / 0.5 GB, free: 16.97 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC): time 0.009288/0.009311, allocations: 9.375 MB / 0.5092 GB, free: 10.68 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.006776/0.01609, allocations: 5.018 MB / 0.5141 GB, free: 7.121 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009294/0.01702, allocations: 55.28 kB / 0.5141 GB, free: 7.098 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.01802, allocations: 0.665 MB / 0.5148 GB, free: 6.762 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.00154/0.01956, allocations: 0.9914 MB / 0.5158 GB, free: 6.113 MB / 442.7 MB [/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 operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.00247/0.02203, allocations: 2.022 MB / 0.5177 GB, free: 4.863 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002649/0.02468, allocations: 3.331 MB / 0.521 GB, free: 2.938 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007533/0.02543, allocations: 0.6946 MB / 0.5217 GB, free: 2.414 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009231/0.02636, allocations: 1.142 MB / 0.5228 GB, free: 1.656 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008629/0.02722, allocations: 1.019 MB / 0.5238 GB, free: 0.9453 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004104/0.02763, allocations: 334 kB / 0.5241 GB, free: 0.9453 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008235/0.02845, allocations: 0.5938 MB / 0.5247 GB, free: 0.832 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003562/0.02881, allocations: 0.7313 MB / 0.5254 GB, free: 216 kB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007283/0.02954, allocations: 0.886 MB / 0.5262 GB, free: 15.57 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003432/0.03297, allocations: 4.39 MB / 0.5305 GB, free: 12.13 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.03298, allocations: 5.406 kB / 0.5305 GB, free: 12.12 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.03298, allocations: 0 / 0.5305 GB, free: 12.12 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.676e-05/0.03306, allocations: 0 / 0.5305 GB, free: 12.12 MB / 458.7 MB 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.005842/0.0389, allocations: 3.633 MB / 0.5341 GB, free: 9.562 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.03894, allocations: 10.38 kB / 0.5341 GB, free: 9.562 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002413/0.03918, allocations: 255.5 kB / 0.5343 GB, free: 9.359 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001767/0.04095, allocations: 0.6814 MB / 0.535 GB, free: 8.969 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00182/0.04277, allocations: 1.697 MB / 0.5367 GB, free: 7.215 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003544/0.04312, allocations: 0.7563 MB / 0.5374 GB, free: 6.316 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001847/0.04331, allocations: 183.9 kB / 0.5376 GB, free: 6.137 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002916/0.04622, allocations: 2.401 MB / 0.5399 GB, free: 3.586 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/0.04625, allocations: 0 / 0.5399 GB, free: 3.586 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/0.04637, allocations: 79.98 kB / 0.54 GB, free: 3.508 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.25e-05/0.04639, allocations: 40 kB / 0.54 GB, free: 3.469 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002456/0.04885, allocations: 1.874 MB / 0.5419 GB, free: 1.59 MB / 458.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.006994/0.05584, allocations: 6.876 MB / 0.5486 GB, free: 10.56 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002598/0.05844, allocations: 1.768 MB / 0.5503 GB, free: 8.773 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/0.05946, allocations: 0.8011 MB / 0.5511 GB, free: 7.969 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/0.05957, allocations: 29.2 kB / 0.5511 GB, free: 7.938 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001332/0.0609, allocations: 1.152 MB / 0.5522 GB, free: 6.762 MB / 474.7 MB Notification: Performance of pre-optimization done (n=146): time 2.906e-06/0.06091, allocations: 0 / 0.5522 GB, free: 6.762 MB / 474.7 MB Notification: Performance of matching and sorting (n=146): time 0.004515/0.06542, allocations: 2.991 MB / 0.5552 GB, free: 3.766 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.06552, allocations: 286.3 kB / 0.5554 GB, free: 3.422 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001976/0.0675, allocations: 2.314 MB / 0.5577 GB, free: 1.082 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.772e-05/0.06759, allocations: 57.7 kB / 0.5577 GB, free: 1.02 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006092/0.0682, allocations: 1.049 MB / 0.5588 GB, free: 15.95 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003418/0.06854, allocations: 0.5153 MB / 0.5593 GB, free: 15.43 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004806/0.06902, allocations: 468.8 kB / 0.5597 GB, free: 14.97 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.614e-05/0.06909, allocations: 308.9 kB / 0.56 GB, free: 14.67 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001507/0.0706, allocations: 1.067 MB / 0.5611 GB, free: 13.59 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001669/0.07227, allocations: 1.636 MB / 0.5627 GB, free: 11.77 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008816/0.08109, allocations: 5.391 MB / 0.5679 GB, free: 6.207 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.248e-06/0.0811, allocations: 4 kB / 0.5679 GB, free: 6.203 MB / 490.7 MB Notification: Performance of matching and sorting (n=321) (initialization): time 0.004043/0.08514, allocations: 3.18 MB / 0.571 GB, free: 2.961 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.047e-05/0.08519, allocations: 57.67 kB / 0.5711 GB, free: 2.898 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.0852, allocations: 8 kB / 0.5711 GB, free: 2.891 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003559/0.08556, allocations: 261 kB / 0.5713 GB, free: 2.633 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/0.08678, allocations: 0.5343 MB / 0.5719 GB, free: 2.098 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002397/0.08918, allocations: 2.475 MB / 0.5743 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.0902, allocations: 298.4 kB / 0.5746 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.09031, allocations: 91.98 kB / 0.5747 GB, free: 15.13 MB / 0.4948 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: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.regcA.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002024/0.09234, allocations: 1.547 MB / 0.5762 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001555/0.09389, allocations: 1.624 MB / 0.5778 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008389/0.1023, allocations: 5.34 MB / 0.583 GB, free: 6.254 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.113e-06/0.1023, allocations: 4 kB / 0.583 GB, free: 6.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=321) (initialization_lambda0): time 0.004007/0.1063, allocations: 3.156 MB / 0.5861 GB, free: 3.031 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.227e-05/0.1063, allocations: 61.61 kB / 0.5861 GB, free: 2.965 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.1063, allocations: 8 kB / 0.5861 GB, free: 2.957 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003025/0.1066, allocations: 265.3 kB / 0.5864 GB, free: 2.695 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/0.1078, allocations: 0.5266 MB / 0.5869 GB, free: 2.168 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002453/0.1103, allocations: 2.481 MB / 0.5893 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/0.1113, allocations: 262.8 kB / 0.5896 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.1114, allocations: 91.98 kB / 0.5896 GB, free: 15.23 MB / 0.5105 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: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.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,BESS.injector.switchOffSignal2,BESS.injector.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,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,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,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.0005192/0.112, allocations: 400.2 kB / 0.59 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002633/0.1122, allocations: 258.3 kB / 0.5903 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003236/0.1155, allocations: 2.283 MB / 0.5925 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.1155, allocations: 19.94 kB / 0.5925 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1155, allocations: 0 / 0.5925 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.1155, allocations: 15.97 kB / 0.5925 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005415/0.1209, allocations: 4.579 MB / 0.597 GB, free: 7.582 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.1209, allocations: 8 kB / 0.597 GB, free: 7.574 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009946/0.1219, allocations: 336 kB / 0.5973 GB, free: 7.246 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003049/0.1222, allocations: 256.7 kB / 0.5976 GB, free: 6.992 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.479e-05/0.1223, allocations: 43.98 kB / 0.5976 GB, free: 6.949 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002134/0.1244, allocations: 2.456 MB / 0.6 GB, free: 4.379 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.1244, allocations: 8 kB / 0.6 GB, free: 4.371 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004638/0.1291, allocations: 3.59 MB / 0.6035 GB, free: 0.7148 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005955/0.1297, allocations: 481.8 kB / 0.604 GB, free: 248 kB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/0.1298, allocations: 36 kB / 0.604 GB, free: 212 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006559/0.1305, allocations: 143.8 kB / 0.6042 GB, free: 68 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002026/0.1307, allocations: 145.1 kB / 0.6043 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.847e-05/0.1307, allocations: 51.98 kB / 0.6044 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001457/0.1322, allocations: 1.522 MB / 0.6058 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.1322, allocations: 0 / 0.6058 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001781/0.134, allocations: 1.01 MB / 0.6068 GB, free: 13.32 MB / 0.5261 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,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) * Number of discrete states: 4 (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 (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.005411/0.1394, allocations: 4.536 MB / 0.6113 GB, free: 8.883 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005354/0.1447, allocations: 4.208 MB / 0.6154 GB, free: 4.605 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.1447, allocations: 4.812 kB / 0.6154 GB, free: 4.602 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001787/0.1465, allocations: 1.279 MB / 0.6166 GB, free: 3.309 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.1476, allocations: 342.7 kB / 0.6169 GB, free: 2.98 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03301/0.1806, allocations: 21.59 MB / 0.638 GB, free: 12.75 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007627/0.1814, allocations: 0.9867 MB / 0.639 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009709/0.1823, allocations: 323 kB / 0.6393 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009592/0.1833, allocations: 0.9806 MB / 0.6403 GB, free: 10.43 MB / 0.5573 GB Notification: Performance of SimCode: time 1.833e-06/0.1833, allocations: 4 kB / 0.6403 GB, free: 10.42 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3169/0.5002, allocations: 56.2 MB / 0.6951 GB, free: 166 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.966/10.47, allocations: 4.906 kB / 0.6952 GB, free: 166 MB / 0.5886 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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] "Error: Could not read variable BESS.injector.PInjPuSn in file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.csv. Warning: Get data of variable BESS.injector.PInjPuSn from file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.csv failed! Error: Could not read variable BESS.injector.QInjPuSn in file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.csv. Warning: Get data of variable BESS.injector.QInjPuSn from file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.csv failed! Error: Could not read variable BESS.injector.UPu in file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.csv. Warning: Get data of variable BESS.injector.UPu from file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.csv failed! Error: Could not read variable BESS.reecC.idCmdPu in file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.csv. Warning: Get data of variable BESS.reecC.idCmdPu from file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.csv failed! Error: Could not read variable BESS.reecC.iqCmdPu in file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.csv. Warning: Get data of variable BESS.reecC.iqCmdPu from file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.559061135165393]