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.001236/0.001236, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00176/0.002996, allocations: 440 kB / 10.41 MB, free: 284 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.001016/0.001016, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001388/0.002403, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8455/0.8455, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1531/0.9985, allocations: 49.5 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.7129/0.7129, allocations: 106.6 MB / 328 MB, free: 14.64 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09367/0.8066, allocations: 37.89 MB / 365.9 MB, free: 8.992 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.BESSCurrentSource,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|BESS.injector.PInjPuSn|BESS.injector.QInjPuSn|BESS.reecC.idCmdPu|BESS.reecC.iqCmdPu|BESS.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource") translateModel(Dynawo.Examples.BESS.WECC.BESSCurrentSource,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|BESS.injector.PInjPuSn|BESS.injector.QInjPuSn|BESS.reecC.idCmdPu|BESS.reecC.iqCmdPu|BESS.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 367.5 MB, free: 7.406 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.259e-05/3.45e-05, allocations: 2.312 kB / 367.5 MB, free: 7.402 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSource): time 0.01781/0.01784, allocations: 14.31 MB / 381.8 MB, free: 9.039 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01513/0.03297, allocations: 7.151 MB / 389 MB, free: 1.875 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003403/0.03637, allocations: 95.38 kB / 389 MB, free: 1.781 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00207/0.03844, allocations: 0.9223 MB / 390 MB, free: 0.8516 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.004329/0.04277, allocations: 1.564 MB / 391.5 MB, free: 15.28 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-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 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.004844/0.04762, allocations: 2.975 MB / 394.5 MB, free: 12.3 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.006361/0.05398, allocations: 5.308 MB / 399.8 MB, free: 6.973 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002122/0.0561, allocations: 1.253 MB / 401.1 MB, free: 5.629 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006493/0.06259, allocations: 3.567 MB / 404.6 MB, free: 1.973 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002809/0.0654, allocations: 1.659 MB / 406.3 MB, free: 316 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001161/0.06656, allocations: 0.5625 MB / 406.9 MB, free: 15.74 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001642/0.0682, allocations: 0.9018 MB / 407.8 MB, free: 14.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006875/0.06889, allocations: 0.9074 MB / 408.7 MB, free: 13.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001135/0.07003, allocations: 1.142 MB / 409.8 MB, free: 12.79 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004263/0.07429, allocations: 3.506 MB / 413.3 MB, free: 9.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.777e-05/0.07431, allocations: 0 / 413.3 MB, free: 9.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.07431, allocations: 0 / 413.3 MB, free: 9.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001231/0.07443, allocations: 4 kB / 413.3 MB, free: 9.266 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 724 * Number of variables: 724 Notification: Performance of Generate backend data structure: time 0.009293/0.08373, allocations: 6.479 MB / 419.8 MB, free: 2.684 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/0.08378, allocations: 8.031 kB / 419.8 MB, free: 2.676 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004115/0.0879, allocations: 1.709 MB / 421.5 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002409/0.09031, allocations: 1.694 MB / 423.2 MB, free: 15.22 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000524/0.09083, allocations: 1.024 MB / 424.2 MB, free: 14.01 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00032/0.09115, allocations: 307.9 kB / 424.5 MB, free: 13.71 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002974/0.09412, allocations: 2.783 MB / 427.3 MB, free: 10.65 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.13e-05/0.09417, allocations: 7.938 kB / 427.3 MB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001759/0.09434, allocations: 124 kB / 427.4 MB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-05/0.09439, allocations: 72 kB / 427.5 MB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001502/0.09589, allocations: 0.9201 MB / 428.4 MB, free: 9.5 MB / 426.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.008502/0.1044, allocations: 7.575 MB / 436 MB, free: 1.754 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001894/0.1063, allocations: 1.307 MB / 437.3 MB, free: 440 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004891/0.1068, allocations: 387.9 kB / 437.7 MB, free: 52 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002048/0.107, allocations: 58.03 kB / 437.8 MB, free: 15.99 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009874/0.108, allocations: 0.9418 MB / 438.7 MB, free: 15.03 MB / 442.7 MB Notification: Performance of pre-optimization done (n=244): time 3.537e-06/0.108, allocations: 0 / 438.7 MB, free: 15.03 MB / 442.7 MB Notification: Performance of matching and sorting (n=244): time 0.003046/0.111, allocations: 1.733 MB / 440.4 MB, free: 13.29 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.975e-05/0.1111, allocations: 123 kB / 440.5 MB, free: 13.15 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00216/0.1133, allocations: 2.399 MB / 442.9 MB, free: 10.74 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001254/0.1134, allocations: 77.7 kB / 443 MB, free: 10.66 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006654/0.114, allocations: 1.152 MB / 444.2 MB, free: 9.492 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005983/0.1146, allocations: 0.8871 MB / 445.1 MB, free: 8.598 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007531/0.1154, allocations: 0.7076 MB / 445.8 MB, free: 7.883 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.716e-05/0.1155, allocations: 305.1 kB / 446.1 MB, free: 7.582 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/0.1166, allocations: 0.7096 MB / 446.8 MB, free: 6.859 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001485/0.1181, allocations: 1.643 MB / 448.4 MB, free: 4.938 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003605/0.1217, allocations: 3.146 MB / 451.6 MB, free: 1.613 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-05/0.1217, allocations: 8 kB / 451.6 MB, free: 1.605 MB / 442.7 MB Notification: Performance of matching and sorting (n=496) (initialization): time 0.237/0.3587, allocations: 2.619 MB / 454.2 MB, free: 49.69 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.3588, allocations: 68.7 kB / 454.3 MB, free: 49.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.3e-05/0.3588, allocations: 9.125 kB / 454.3 MB, free: 49.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008131/0.3596, allocations: 320.1 kB / 454.6 MB, free: 49.65 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002358/0.362, allocations: 0.9022 MB / 455.5 MB, free: 49.65 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001962/0.3639, allocations: 1.847 MB / 457.3 MB, free: 48.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001768/0.3657, allocations: 371.3 kB / 457.7 MB, free: 48.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001795/0.3659, allocations: 99.56 kB / 457.8 MB, free: 48.52 MB / 442.7 MB 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.002028/0.3679, allocations: 0.9658 MB / 458.8 MB, free: 48.37 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001424/0.3693, allocations: 1.645 MB / 460.4 MB, free: 47.38 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003513/0.3729, allocations: 3.114 MB / 463.5 MB, free: 46.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.092e-05/0.3729, allocations: 2.438 kB / 463.5 MB, free: 46.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=496) (initialization_lambda0): time 0.003506/0.3764, allocations: 2.622 MB / 466.1 MB, free: 46.61 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.358e-05/0.3764, allocations: 66.81 kB / 466.2 MB, free: 46.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.3764, allocations: 9.656 kB / 466.2 MB, free: 46.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005469/0.377, allocations: 317.1 kB / 466.5 MB, free: 46.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001799/0.3788, allocations: 0.8935 MB / 467.4 MB, free: 46.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001657/0.3804, allocations: 1.84 MB / 469.3 MB, free: 45.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.3817, allocations: 356 kB / 469.6 MB, free: 45.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/0.3819, allocations: 95.45 kB / 469.7 MB, free: 45.45 MB / 442.7 MB 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: 56 ($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.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.repcA.limPID.I.local_reset,BESS.repcA.limPIDFreeze.I.resetLocal,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,$PRE.BESS.HvTfo.running,BESS.regcA.QConv0PuPos.k,BESS.regcA.QConv0PuNeg.k,$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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (459): * Single equations (assignments): 457 * 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.000648/0.3825, allocations: 0.5072 MB / 470.2 MB, free: 45.23 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003448/0.3829, allocations: 290 kB / 470.5 MB, free: 45.23 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002029/0.3849, allocations: 1.519 MB / 472 MB, free: 45.11 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.3849, allocations: 25.94 kB / 472 MB, free: 45.11 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3849, allocations: 3.688 kB / 472 MB, free: 45.11 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.6e-05/0.3849, allocations: 12.56 kB / 472 MB, free: 45.11 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004603/0.3895, allocations: 3.646 MB / 475.7 MB, free: 44.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.3895, allocations: 7.594 kB / 475.7 MB, free: 44.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001382/0.3909, allocations: 0.5399 MB / 476.2 MB, free: 44.56 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006325/0.3916, allocations: 386.5 kB / 476.6 MB, free: 44.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000504/0.3921, allocations: 313 kB / 476.9 MB, free: 44.53 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.643e-05/0.3922, allocations: 57.56 kB / 477 MB, free: 44.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/0.3938, allocations: 1.828 MB / 478.8 MB, free: 43.4 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3938, allocations: 7.109 kB / 478.8 MB, free: 43.4 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002438/0.3962, allocations: 2.291 MB / 481.1 MB, free: 42.77 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002248/0.3964, allocations: 66.5 kB / 481.2 MB, free: 42.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007857/0.3972, allocations: 160.2 kB / 481.3 MB, free: 42.66 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000256/0.3975, allocations: 207.9 kB / 481.5 MB, free: 42.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.79e-05/0.3976, allocations: 65.14 kB / 481.6 MB, free: 42.55 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009305/0.3985, allocations: 1.253 MB / 482.8 MB, free: 41.73 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3985, allocations: 0 / 482.8 MB, free: 41.73 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002386/0.4009, allocations: 1.693 MB / 484.5 MB, free: 40.46 MB / 442.7 MB 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 (241): * Single equations (assignments): 230 * 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.001242/0.4021, allocations: 0.613 MB / 485.2 MB, free: 40.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004537/0.4067, allocations: 3.978 MB / 489.1 MB, free: 36.87 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.32e-05/0.4067, allocations: 56.38 kB / 489.2 MB, free: 36.81 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001159/0.4079, allocations: 1.05 MB / 490.2 MB, free: 35.91 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001869/0.4098, allocations: 2.573 MB / 492.8 MB, free: 33.28 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007205/0.417, allocations: 6.188 MB / 499 MB, free: 27.39 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.4174, allocations: 0.5882 MB / 499.6 MB, free: 26.79 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001301/0.4187, allocations: 0.4904 MB / 0.4884 GB, free: 26.29 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001117/0.4198, allocations: 0.6079 MB / 0.4889 GB, free: 25.7 MB / 442.7 MB Notification: Performance of SimCode: time 1.022e-06/0.4198, allocations: 0 / 0.4889 GB, free: 25.7 MB / 442.7 MB Notification: Performance of Templates: time 0.06319/0.483, allocations: 54.06 MB / 0.5417 GB, free: 4.703 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.makefile [Timeout 660] (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 & ./Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe 2>&1) [Timeout 240] 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.210256648249924]