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.0009823/0.0009823, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00156/0.002542, 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.0009999/0.0009999, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002215/0.003214, 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.025/1.025, allocations: 158.6 MB / 171.2 MB, free: 2.492 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1877/1.213, allocations: 49.5 MB / 220.7 MB, free: 1.355 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.5602/0.5602, allocations: 106.6 MB / 328 MB, free: 14.6 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06488/0.6251, allocations: 37.91 MB / 365.9 MB, free: 8.957 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.693e-06/1.693e-06, allocations: 0 / 367.5 MB, free: 7.363 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.752e-05/2.922e-05, allocations: 2.312 kB / 367.5 MB, free: 7.359 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSource): time 0.01848/0.0185, allocations: 14.31 MB / 381.8 MB, free: 9.004 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01848/0.03698, allocations: 7.152 MB / 389 MB, free: 1.836 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005416/0.0424, allocations: 95.38 kB / 389.1 MB, free: 1.742 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004157/0.04655, allocations: 0.9184 MB / 390 MB, free: 0.8164 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.007981/0.05453, allocations: 1.572 MB / 391.6 MB, free: 15.23 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.006379/0.06091, allocations: 2.979 MB / 394.5 MB, free: 12.25 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.006348/0.06726, allocations: 5.32 MB / 399.9 MB, free: 6.914 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001949/0.06921, allocations: 1.26 MB / 401.1 MB, free: 5.562 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004082/0.07329, allocations: 3.563 MB / 404.7 MB, free: 1.91 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00174/0.07503, allocations: 1.666 MB / 406.3 MB, free: 244 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007329/0.07577, allocations: 0.5625 MB / 406.9 MB, free: 15.67 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001158/0.07692, allocations: 0.9134 MB / 407.8 MB, free: 14.76 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005669/0.07749, allocations: 0.9074 MB / 408.7 MB, free: 13.85 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009518/0.07844, allocations: 1.146 MB / 409.9 MB, free: 12.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003428/0.08187, allocations: 3.503 MB / 413.4 MB, free: 9.188 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.565e-05/0.08189, allocations: 0 / 413.4 MB, free: 9.188 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.08189, allocations: 0 / 413.4 MB, free: 9.188 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.717e-05/0.08191, allocations: 0 / 413.4 MB, free: 9.188 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.008235/0.09015, allocations: 6.483 MB / 419.9 MB, free: 2.605 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.09019, allocations: 8.031 kB / 419.9 MB, free: 2.598 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004177/0.09436, allocations: 1.713 MB / 421.6 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002289/0.09665, allocations: 1.687 MB / 423.3 MB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004422/0.09709, allocations: 1.032 MB / 424.3 MB, free: 13.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002719/0.09736, allocations: 307.9 kB / 424.6 MB, free: 13.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0027/0.1001, allocations: 2.787 MB / 427.4 MB, free: 10.56 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.742e-05/0.1001, allocations: 4 kB / 427.4 MB, free: 10.56 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001575/0.1003, allocations: 120 kB / 427.5 MB, free: 10.44 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.746e-05/0.1003, allocations: 72 kB / 427.6 MB, free: 10.37 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001354/0.1017, allocations: 0.9238 MB / 428.5 MB, free: 9.418 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.008107/0.1098, allocations: 7.583 MB / 436.1 MB, free: 1.664 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001745/0.1115, allocations: 1.277 MB / 437.4 MB, free: 376 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005075/0.112, allocations: 399.3 kB / 437.7 MB, free: 15.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001929/0.1122, allocations: 62.27 kB / 437.8 MB, free: 15.92 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009975/0.1132, allocations: 0.9341 MB / 438.7 MB, free: 14.96 MB / 442.7 MB Notification: Performance of pre-optimization done (n=244): time 3.687e-06/0.1132, allocations: 0 / 438.7 MB, free: 14.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=244): time 0.003155/0.1164, allocations: 1.737 MB / 440.5 MB, free: 13.22 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.532e-05/0.1164, allocations: 115.1 kB / 440.6 MB, free: 13.09 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001919/0.1183, allocations: 2.403 MB / 443 MB, free: 10.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001265/0.1185, allocations: 81.7 kB / 443.1 MB, free: 10.59 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007697/0.1192, allocations: 1.148 MB / 444.2 MB, free: 9.426 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005184/0.1198, allocations: 0.8833 MB / 445.1 MB, free: 8.535 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007267/0.1205, allocations: 0.7155 MB / 445.8 MB, free: 7.812 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.954e-05/0.1206, allocations: 301.1 kB / 446.1 MB, free: 7.516 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/0.1216, allocations: 0.7135 MB / 446.8 MB, free: 6.789 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001389/0.123, allocations: 1.639 MB / 448.5 MB, free: 4.867 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004765/0.1277, allocations: 3.146 MB / 451.6 MB, free: 1.543 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.881e-05/0.1278, allocations: 4 kB / 451.6 MB, free: 1.539 MB / 442.7 MB Notification: Performance of matching and sorting (n=496) (initialization): time 0.213/0.3407, allocations: 2.616 MB / 454.2 MB, free: 49.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.646e-05/0.3408, allocations: 69.97 kB / 454.3 MB, free: 49.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.226e-05/0.3408, allocations: 10.69 kB / 454.3 MB, free: 49.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007442/0.3416, allocations: 321.3 kB / 454.6 MB, free: 49.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002713/0.3443, allocations: 0.8988 MB / 455.5 MB, free: 49.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002261/0.3466, allocations: 1.847 MB / 457.4 MB, free: 48.47 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002036/0.3486, allocations: 374.4 kB / 457.7 MB, free: 48.47 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001843/0.3488, allocations: 98.06 kB / 457.8 MB, free: 48.47 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.002032/0.3508, allocations: 0.9781 MB / 458.8 MB, free: 48.32 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00147/0.3523, allocations: 1.638 MB / 460.5 MB, free: 47.33 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003506/0.3558, allocations: 3.112 MB / 463.6 MB, free: 46.75 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.565e-05/0.3558, allocations: 3.5 kB / 463.6 MB, free: 46.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=496) (initialization_lambda0): time 0.00363/0.3594, allocations: 2.62 MB / 466.2 MB, free: 46.57 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.662e-05/0.3595, allocations: 70.98 kB / 466.3 MB, free: 46.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.3595, allocations: 9.312 kB / 466.3 MB, free: 46.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005632/0.3601, allocations: 322.8 kB / 466.6 MB, free: 46.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001878/0.3619, allocations: 0.8861 MB / 467.5 MB, free: 46.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00203/0.364, allocations: 1.845 MB / 469.3 MB, free: 45.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002222/0.3662, allocations: 352.3 kB / 469.7 MB, free: 45.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001698/0.3664, allocations: 105.9 kB / 469.8 MB, free: 45.4 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.001033/0.3674, allocations: 0.5023 MB / 470.3 MB, free: 45.19 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005086/0.3679, allocations: 288.8 kB / 470.5 MB, free: 45.18 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002278/0.3702, allocations: 1.564 MB / 472.1 MB, free: 45.06 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.3702, allocations: 24.64 kB / 472.1 MB, free: 45.06 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.3702, allocations: 3.969 kB / 472.1 MB, free: 45.06 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/0.3702, allocations: 12.14 kB / 472.1 MB, free: 45.06 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004947/0.3752, allocations: 3.639 MB / 475.8 MB, free: 44.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.3752, allocations: 7.688 kB / 475.8 MB, free: 44.51 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001419/0.3766, allocations: 0.5459 MB / 476.3 MB, free: 44.51 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007049/0.3773, allocations: 387.4 kB / 476.7 MB, free: 44.51 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005141/0.3778, allocations: 299.2 kB / 477 MB, free: 44.48 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.519e-05/0.3779, allocations: 63.75 kB / 477.1 MB, free: 44.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001632/0.3795, allocations: 1.83 MB / 478.9 MB, free: 43.35 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/0.3795, allocations: 9.531 kB / 478.9 MB, free: 43.35 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0025/0.382, allocations: 2.297 MB / 481.2 MB, free: 42.73 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002497/0.3823, allocations: 67.17 kB / 481.3 MB, free: 42.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007995/0.3831, allocations: 159.4 kB / 481.4 MB, free: 42.61 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002484/0.3833, allocations: 217.8 kB / 481.6 MB, free: 42.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.183e-05/0.3834, allocations: 62.23 kB / 481.7 MB, free: 42.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00105/0.3845, allocations: 1.245 MB / 482.9 MB, free: 41.68 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3845, allocations: 0.9844 kB / 482.9 MB, free: 41.68 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002492/0.387, allocations: 1.693 MB / 484.6 MB, free: 40.42 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.001256/0.3882, allocations: 0.6162 MB / 485.3 MB, free: 40.16 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005234/0.3935, allocations: 4.018 MB / 489.3 MB, free: 36.82 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.118e-05/0.3935, allocations: 61.28 kB / 489.3 MB, free: 36.76 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001728/0.3953, allocations: 1.174 MB / 490.5 MB, free: 35.77 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002049/0.3973, allocations: 2.576 MB / 493.1 MB, free: 33.13 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00809/0.4054, allocations: 6.192 MB / 499.3 MB, free: 27.23 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004229/0.4058, allocations: 0.5893 MB / 499.9 MB, free: 26.62 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001634/0.4075, allocations: 0.4922 MB / 0.4886 GB, free: 26.13 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001195/0.4086, allocations: 0.612 MB / 0.4892 GB, free: 25.55 MB / 442.7 MB Notification: Performance of SimCode: time 1.894e-06/0.4086, allocations: 4 kB / 0.4892 GB, free: 25.54 MB / 442.7 MB Notification: Performance of Templates: time 0.06364/0.4723, allocations: 54.04 MB / 0.542 GB, free: 4.348 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 & (cd run_cvode && ../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 -inputPath=.. -r=../Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.mat -s cvode) > 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 (rm -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_dassl.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_dassl.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_dassl.sim & (cd run_dassl && ../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 -inputPath=.. -r=../Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_dassl_res.mat -s dassl) > Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_dassl.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_dassl_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 (rm -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_gbode.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_gbode.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_gbode.sim & (cd run_gbode && ../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 -inputPath=.. -r=../Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_gbode_res.mat -s gbode -gbm=radauIIA3) > Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_gbode.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_gbode_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 (rm -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_ida.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_ida.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_ida.sim & (cd run_ida && ../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 -inputPath=.. -r=../Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_ida_res.mat -s ida) > Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_ida.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_ida_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.568770755082369]