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.0008118/0.0008118, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001691/0.002503, allocations: 455.9 kB / 10.43 MB, free: 260 kB / 10.45 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.00109/0.00109, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004872/0.005962, allocations: 475.6 kB / 11.8 MB, free: 2.363 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 1.059/1.059, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1975/1.257, allocations: 49.51 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/Examples/GridFollowing/FourVSC/FourVSCDynamicLinesPlant.mo:214:26-227:16:writable] Warning: Lexer treating \\ as \\\\, since \\ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/Examples/GridFollowing/FourVSC/FourVSCDynamicLinesPlant.mo:214:26-229:28:writable] Warning: Lexer treating \\ as \\\\, since \\ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo): time 0.5137/0.5137, allocations: 106.6 MB / 328 MB, free: 14.6 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06597/0.5797, allocations: 37.9 MB / 365.9 MB, free: 8.953 MB / 362.7 MB " [Timeout remaining time 179] Using package Dynawo with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-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: translateModel(Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|BESS.injector.PInjPuSn|BESS.injector.QInjPuSn|BESS.injector.UPu|BESS.reecC.idCmdPu|BESS.reecC.iqCmdPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC") translateModel(Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|BESS.injector.PInjPuSn|BESS.injector.QInjPuSn|BESS.injector.UPu|BESS.reecC.idCmdPu|BESS.reecC.iqCmdPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 367.5 MB, free: 7.398 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.219e-05/2.391e-05, allocations: 2.312 kB / 367.5 MB, free: 7.395 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC): time 0.00971/0.009734, allocations: 9.888 MB / 377.4 MB, free: 13.46 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008172/0.01791, allocations: 5.304 MB / 382.7 MB, free: 8.152 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001262/0.01917, allocations: 55.62 kB / 382.7 MB, free: 8.098 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.0203, allocations: 0.6358 MB / 383.4 MB, free: 7.457 MB / 378.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.001925/0.02223, allocations: 1.126 MB / 384.5 MB, free: 6.324 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/Electrical/Controls/WECC/BaseClasses_INIT/WECCInverterCurrentSource_INIT.mo:69:3-69:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wt4CurrentSource_INIT.s0Pu) == 0.0, == on Real operands is not allowed in non-function contexts. Use --allowNonStandardModelica=realEquality to ignore this error. [Non-standard Modelica: --allowNonStandardModelica=realEquality] Notification: Performance of NFTyping.typeClassSections: time 0.002497/0.02473, allocations: 1.852 MB / 386.4 MB, free: 4.469 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002684/0.02741, allocations: 3.281 MB / 389.6 MB, free: 1.184 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000943/0.02835, allocations: 0.7233 MB / 390.4 MB, free: 404 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002086/0.03044, allocations: 2.177 MB / 392.5 MB, free: 14.16 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008738/0.03131, allocations: 1.04 MB / 393.6 MB, free: 13.12 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003002/0.03161, allocations: 340 kB / 393.9 MB, free: 12.79 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007726/0.03239, allocations: 0.6246 MB / 394.5 MB, free: 12.16 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000405/0.03279, allocations: 0.5685 MB / 395.1 MB, free: 11.59 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00056/0.03335, allocations: 0.7093 MB / 395.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00208/0.03543, allocations: 2.234 MB / 398 MB, free: 8.641 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.65e-05/0.03545, allocations: 0 / 398 MB, free: 8.641 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.03545, allocations: 0 / 398 MB, free: 8.641 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.916e-05/0.03548, allocations: 0 / 398 MB, free: 8.641 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 443 * Number of variables: 443 Notification: Performance of Generate backend data structure: time 0.004622/0.0401, allocations: 4.102 MB / 402.1 MB, free: 4.457 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.04014, allocations: 12.02 kB / 402.2 MB, free: 4.445 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002911/0.04305, allocations: 1.198 MB / 403.4 MB, free: 3.246 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/0.04431, allocations: 1.084 MB / 404.4 MB, free: 2.102 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003821/0.04469, allocations: 0.8145 MB / 405.3 MB, free: 1.133 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001809/0.04487, allocations: 188 kB / 405.4 MB, free: 0.9492 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/0.04653, allocations: 1.7 MB / 407.1 MB, free: 15.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.696e-05/0.04655, allocations: 3.984 kB / 407.1 MB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.04666, allocations: 76 kB / 407.2 MB, free: 15.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.688e-05/0.04668, allocations: 44 kB / 407.3 MB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008448/0.04753, allocations: 0.564 MB / 407.8 MB, free: 14.4 MB / 410.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.005264/0.05279, allocations: 4.89 MB / 412.7 MB, free: 9.391 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/0.05402, allocations: 0.8261 MB / 413.5 MB, free: 8.551 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003304/0.05435, allocations: 277.5 kB / 413.8 MB, free: 8.273 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000148/0.0545, allocations: 41.3 kB / 413.8 MB, free: 8.234 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006533/0.05515, allocations: 0.6488 MB / 414.5 MB, free: 7.559 MB / 410.7 MB Notification: Performance of pre-optimization done (n=159): time 3.086e-06/0.05516, allocations: 0 / 414.5 MB, free: 7.559 MB / 410.7 MB Notification: Performance of matching and sorting (n=159): time 0.002004/0.05716, allocations: 1.178 MB / 415.7 MB, free: 6.375 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.872e-05/0.05722, allocations: 102.4 kB / 415.8 MB, free: 6.254 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.05838, allocations: 1.557 MB / 417.3 MB, free: 4.652 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.785e-05/0.05847, allocations: 65.69 kB / 417.4 MB, free: 4.582 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003993/0.05887, allocations: 0.7347 MB / 418.1 MB, free: 3.836 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000338/0.05921, allocations: 0.5734 MB / 418.7 MB, free: 3.258 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004626/0.05967, allocations: 496.9 kB / 419.2 MB, free: 2.766 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.051e-05/0.05974, allocations: 309 kB / 419.5 MB, free: 2.461 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000707/0.06045, allocations: 0.4936 MB / 420 MB, free: 1.953 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000945/0.06139, allocations: 1.056 MB / 421 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002344/0.06374, allocations: 2.177 MB / 423.2 MB, free: 14.37 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.797e-06/0.06375, allocations: 4 kB / 423.2 MB, free: 14.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=339) (initialization): time 0.002587/0.06633, allocations: 1.843 MB / 425.1 MB, free: 12.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.054e-05/0.06641, allocations: 65.66 kB / 425.1 MB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.06642, allocations: 8 kB / 425.1 MB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004208/0.06684, allocations: 224.6 kB / 425.4 MB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/0.06819, allocations: 0.6163 MB / 426 MB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001456/0.06965, allocations: 1.612 MB / 427.6 MB, free: 9.867 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007538/0.0704, allocations: 246.6 kB / 427.8 MB, free: 9.625 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.07052, allocations: 71.98 kB / 427.9 MB, free: 9.555 MB / 426.7 MB 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.001087/0.07161, allocations: 0.7169 MB / 428.6 MB, free: 8.832 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009464/0.07255, allocations: 1.051 MB / 429.7 MB, free: 7.602 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002293/0.07485, allocations: 2.171 MB / 431.8 MB, free: 5.262 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.991e-06/0.07485, allocations: 0 / 431.8 MB, free: 5.262 MB / 426.7 MB Notification: Performance of matching and sorting (n=339) (initialization_lambda0): time 0.002291/0.07714, allocations: 1.839 MB / 433.7 MB, free: 3.375 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.7e-05/0.07719, allocations: 64.33 kB / 433.7 MB, free: 3.309 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.0772, allocations: 8 kB / 433.7 MB, free: 3.301 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003487/0.07755, allocations: 220.7 kB / 434 MB, free: 3.082 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/0.07886, allocations: 0.6203 MB / 434.6 MB, free: 2.461 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/0.08023, allocations: 1.609 MB / 436.2 MB, free: 0.7695 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000738/0.08096, allocations: 234.8 kB / 436.4 MB, free: 0.5391 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.08107, allocations: 75.92 kB / 436.5 MB, free: 476 kB / 426.7 MB 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: 46 ($PRE.BESS.LvTfo.state,BESS.LvTfo.state,$PRE.BESS.injector.state,BESS.injector.state,$PRE.line.state,line.state,BESS.reecC.limPIDFreeze.I.resetLocal,BESS.reecC.varLimPIDFreeze.I.resetLocal,BESS.reecC.integrator.local_reset,BESS.pll.integrator.local_reset,BESS.pll.limIntegrator.local_reset,BESS.regcA.rateLimFirstOrderFreeze2.local_freeze,BESS.regcA.rateLimFirstOrderFreeze1.local_freeze,line.switchOffSignal1,line.switchOffSignal2,BESS.switchOffSignal1,BESS.switchOffSignal2,BESS.switchOffSignal3,$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.QConv0PuNeg.k,$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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (309): * Single equations (assignments): 307 * 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.0004366/0.0815, allocations: 414.2 kB / 436.9 MB, free: 56 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002216/0.08173, allocations: 187.8 kB / 437.1 MB, free: 15.87 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/0.08325, allocations: 1.063 MB / 438.1 MB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.08326, allocations: 20 kB / 438.2 MB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.08326, allocations: 4 kB / 438.2 MB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/0.08328, allocations: 7.969 kB / 438.2 MB, free: 14.76 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003264/0.08654, allocations: 2.498 MB / 440.7 MB, free: 12.17 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.08655, allocations: 8 kB / 440.7 MB, free: 12.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.08758, allocations: 380.1 kB / 441.1 MB, free: 11.79 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000423/0.08801, allocations: 242.2 kB / 441.3 MB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003591/0.08837, allocations: 212.6 kB / 441.5 MB, free: 11.34 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-05/0.08844, allocations: 43.98 kB / 441.5 MB, free: 11.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001333/0.08977, allocations: 1.609 MB / 443.2 MB, free: 9.609 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.08978, allocations: 7.984 kB / 443.2 MB, free: 9.602 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001818/0.09159, allocations: 1.593 MB / 444.8 MB, free: 7.926 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/0.09175, allocations: 51.92 kB / 444.8 MB, free: 7.875 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005309/0.09228, allocations: 111.8 kB / 444.9 MB, free: 7.766 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001979/0.09247, allocations: 152.9 kB / 445.1 MB, free: 7.617 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.47e-05/0.09254, allocations: 43.98 kB / 445.1 MB, free: 7.574 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006455/0.09319, allocations: 0.7785 MB / 445.9 MB, free: 6.766 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.09319, allocations: 0 / 445.9 MB, free: 6.766 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001748/0.09493, allocations: 1.095 MB / 447 MB, free: 5.668 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (158): * Single equations (assignments): 149 * 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.001225/0.09616, allocations: 0.5841 MB / 447.6 MB, free: 5.227 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00358/0.09974, allocations: 2.869 MB / 450.4 MB, free: 2.301 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.862e-05/0.09978, allocations: 31.12 kB / 450.5 MB, free: 2.27 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.1008, allocations: 0.8106 MB / 451.3 MB, free: 1.441 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1625/0.2633, allocations: 1.513 MB / 452.8 MB, free: 59.12 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005717/0.2691, allocations: 3.988 MB / 456.8 MB, free: 57.37 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.2694, allocations: 403.8 kB / 457.2 MB, free: 57.26 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0009653/0.2704, allocations: 290.9 kB / 457.5 MB, free: 57.24 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007707/0.2712, allocations: 399.4 kB / 457.8 MB, free: 57.2 MB / 442.7 MB Notification: Performance of SimCode: time 1.282e-06/0.2712, allocations: 0 / 457.8 MB, free: 57.2 MB / 442.7 MB Notification: Performance of Templates: time 0.03365/0.3048, allocations: 35 MB / 492.8 MB, free: 35.45 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.makefile [Timeout 660] (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 & (cd run_cvode && ../Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.mat -s cvode) > Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_dassl.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_dassl.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_dassl.sim & (cd run_dassl && ../Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_dassl_res.mat -s dassl) > Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_dassl.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_dassl_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_gbode.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_gbode.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_gbode.sim & (cd run_gbode && ../Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_gbode_res.mat -s gbode -gbm=radauIIA3) > Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_gbode.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_gbode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_ida.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_ida.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_ida.sim & (cd run_ida && ../Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -inputPath=.. -r=../Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_ida_res.mat -s ida) > Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_ida.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_ida_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.8784632701426744]