Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.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.0009237/0.0009237, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001222/0.002146, allocations: 435.8 kB / 10.33 MB, free: 368 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.0009115/0.0009115, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001139/0.002051, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9871/0.9871, allocations: 158.6 MB / 171 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1935/1.181, allocations: 49.49 MB / 220.5 MB, free: 1.453 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] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo): time 0.505/0.505, allocations: 100.5 MB / 321.8 MB, free: 4.719 MB / 314.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06975/0.5748, allocations: 35.69 MB / 357.5 MB, free: 1.324 MB / 346.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.BESSCurrentSourceExternalPCS,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.BESSCurrentSourceExternalPCS") translateModel(Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS,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.BESSCurrentSourceExternalPCS") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 359 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.225e-05, allocations: 2.312 kB / 359 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS): time 0.01373/0.01375, allocations: 14.8 MB / 373.8 MB, free: 0.9531 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01327/0.02702, allocations: 7.304 MB / 381.1 MB, free: 9.629 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002169/0.02919, allocations: 95.38 kB / 381.2 MB, free: 9.535 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001404/0.0306, allocations: 0.93 MB / 382.1 MB, free: 8.598 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.002842/0.03344, allocations: 1.607 MB / 383.7 MB, free: 6.98 MB / 378.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.004003/0.03744, allocations: 3.201 MB / 386.9 MB, free: 3.773 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004881/0.04232, allocations: 5.488 MB / 392.4 MB, free: 14.27 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001566/0.04389, allocations: 1.292 MB / 393.7 MB, free: 12.89 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003628/0.04752, allocations: 3.673 MB / 397.4 MB, free: 9.125 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00114/0.04866, allocations: 1.709 MB / 399.1 MB, free: 7.41 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004487/0.04911, allocations: 0.5781 MB / 399.7 MB, free: 6.832 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001046/0.05015, allocations: 0.9331 MB / 400.6 MB, free: 5.898 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000543/0.05069, allocations: 0.9347 MB / 401.6 MB, free: 4.961 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008674/0.05156, allocations: 1.185 MB / 402.7 MB, free: 3.773 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003295/0.05486, allocations: 3.643 MB / 406.4 MB, free: 120 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.156e-05/0.05487, allocations: 0 / 406.4 MB, free: 120 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.05487, allocations: 0 / 406.4 MB, free: 120 kB / 394.7 MB Notification: Performance of Transformations before backend: time 2.889e-05/0.0549, allocations: 0 / 406.4 MB, free: 120 kB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 765 * Number of variables: 765 Notification: Performance of Generate backend data structure: time 0.007431/0.06233, allocations: 6.813 MB / 413.2 MB, free: 9.203 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.778e-05/0.06236, allocations: 12.03 kB / 413.2 MB, free: 9.191 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004516/0.06687, allocations: 1.995 MB / 415.2 MB, free: 7.195 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002032/0.06891, allocations: 1.71 MB / 416.9 MB, free: 5.438 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007862/0.06969, allocations: 1.16 MB / 418.1 MB, free: 4.066 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002971/0.06999, allocations: 319.9 kB / 418.4 MB, free: 3.754 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002656/0.07265, allocations: 2.914 MB / 421.3 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.099e-05/0.07269, allocations: 3.938 kB / 421.3 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001805/0.07287, allocations: 136 kB / 421.4 MB, free: 440 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-05/0.07291, allocations: 76 kB / 421.5 MB, free: 364 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001418/0.07432, allocations: 0.9825 MB / 422.5 MB, free: 15.34 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.008117/0.08244, allocations: 7.866 MB / 430.4 MB, free: 7.309 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001991/0.08443, allocations: 1.436 MB / 431.8 MB, free: 5.855 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000549/0.08498, allocations: 447.6 kB / 432.2 MB, free: 5.414 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001968/0.08518, allocations: 65.97 kB / 432.3 MB, free: 5.348 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001043/0.08622, allocations: 1.055 MB / 433.4 MB, free: 4.234 MB / 426.7 MB Notification: Performance of pre-optimization done (n=278): time 3.456e-06/0.08622, allocations: 0 / 433.4 MB, free: 4.234 MB / 426.7 MB Notification: Performance of matching and sorting (n=278): time 0.003523/0.08975, allocations: 2.01 MB / 435.4 MB, free: 2.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/0.0898, allocations: 119.1 kB / 435.5 MB, free: 2.043 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001848/0.09165, allocations: 2.413 MB / 437.9 MB, free: 15.62 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001412/0.09179, allocations: 89.69 kB / 438 MB, free: 15.53 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008112/0.09261, allocations: 1.161 MB / 439.1 MB, free: 14.35 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005484/0.09315, allocations: 0.9916 MB / 440.1 MB, free: 13.35 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007205/0.09387, allocations: 0.7554 MB / 440.9 MB, free: 12.58 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.902e-05/0.09393, allocations: 309.1 kB / 441.2 MB, free: 12.28 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/0.09503, allocations: 0.7664 MB / 442 MB, free: 11.49 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001486/0.09651, allocations: 1.743 MB / 443.7 MB, free: 9.453 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003703/0.1002, allocations: 3.26 MB / 447 MB, free: 6.012 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.176e-05/0.1002, allocations: 4 kB / 447 MB, free: 6.008 MB / 442.7 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.004233/0.1045, allocations: 2.867 MB / 449.8 MB, free: 3.117 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.797e-05/0.1045, allocations: 65.67 kB / 449.9 MB, free: 3.047 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/0.1046, allocations: 12 kB / 449.9 MB, free: 3.035 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009029/0.1055, allocations: 396.5 kB / 450.3 MB, free: 2.645 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00285/0.1083, allocations: 0.944 MB / 451.2 MB, free: 1.699 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2316/0.3399, allocations: 2.026 MB / 453.3 MB, free: 54.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002516/0.3424, allocations: 386.8 kB / 453.6 MB, free: 54.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001979/0.3426, allocations: 106.1 kB / 453.7 MB, free: 54.93 MB / 442.7 MB Warning: Assuming fixed start value for the following 28 variables: Zcc.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Zcc.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) ZPcs.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = ZPcs.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) 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) 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] ZPcs.running:DISCRETE(flow=false start = ZPcs.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Zcc.running:DISCRETE(flow=false start = Zcc.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.002391/0.345, allocations: 1.045 MB / 454.8 MB, free: 54.78 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001687/0.3467, allocations: 1.741 MB / 456.5 MB, free: 53.74 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004381/0.351, allocations: 3.234 MB / 459.8 MB, free: 53.15 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.682e-05/0.3511, allocations: 4.438 kB / 459.8 MB, free: 53.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=531) (initialization_lambda0): time 0.00387/0.3549, allocations: 2.857 MB / 462.6 MB, free: 52.98 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.919e-05/0.355, allocations: 69.58 kB / 462.7 MB, free: 52.94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.355, allocations: 8.906 kB / 462.7 MB, free: 52.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006721/0.3557, allocations: 408.6 kB / 463.1 MB, free: 52.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001959/0.3576, allocations: 0.931 MB / 464 MB, free: 52.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001944/0.3596, allocations: 2.025 MB / 466.1 MB, free: 51.81 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.361, allocations: 371.4 kB / 466.4 MB, free: 51.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/0.3611, allocations: 107.7 kB / 466.5 MB, free: 51.81 MB / 442.7 MB Warning: Assuming fixed start value for the following 28 variables: Zcc.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Zcc.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) ZPcs.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = ZPcs.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) 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) 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] ZPcs.running:DISCRETE(flow=false start = ZPcs.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Zcc.running:DISCRETE(flow=false start = Zcc.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: 46 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.Zcc.state,Zcc.state,$PRE.ZPcs.state,ZPcs.state,$PRE.BESS.HvTfo.state,BESS.HvTfo.state,$PRE.BESS.LvTfo.state,BESS.LvTfo.state,$PRE.BESS.injector.state,BESS.injector.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,ZPcs.switchOffSignal1,ZPcs.switchOffSignal2,Zcc.switchOffSignal1,Zcc.switchOffSignal2,BESS.switchOffSignal1,BESS.switchOffSignal2,BESS.switchOffSignal3,$PRE.BESS.regcA.offDelay.delaySignal,$PRE.BESS.regcA.offDelay.tNext,$PRE.BESS.injector.running,$PRE.BESS.LvTfo.running,$PRE.BESS.HvTfo.running,$PRE.ZPcs.running,$PRE.Zcc.running,BESS.regcA.QConv0PuPos.k,BESS.regcA.QConv0PuNeg.k,$PRE.BESS.regcA.offDelay.u,Zcc.running,ZPcs.running,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,$whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,$whenCondition5,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition14,$whenCondition16,$whenCondition15,$whenCondition17) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (490): * Single equations (assignments): 488 * 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 {(14,4,31.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007137/0.3618, allocations: 0.5353 MB / 467.1 MB, free: 51.59 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003847/0.3622, allocations: 311.2 kB / 467.4 MB, free: 51.59 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002406/0.3646, allocations: 1.734 MB / 469.1 MB, free: 51.41 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.095e-05/0.3647, allocations: 31.56 kB / 469.1 MB, free: 51.41 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.3647, allocations: 2.688 kB / 469.1 MB, free: 51.41 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.915e-05/0.3647, allocations: 17.19 kB / 469.1 MB, free: 51.41 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005306/0.37, allocations: 3.937 MB / 473.1 MB, free: 50.83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.37, allocations: 7.969 kB / 473.1 MB, free: 50.83 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001566/0.3716, allocations: 0.5887 MB / 473.7 MB, free: 50.83 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007635/0.3723, allocations: 410.9 kB / 474.1 MB, free: 50.83 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006444/0.373, allocations: 385.8 kB / 474.5 MB, free: 50.82 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000112/0.3731, allocations: 67.02 kB / 474.5 MB, free: 50.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001828/0.3749, allocations: 2.009 MB / 476.5 MB, free: 49.68 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.3749, allocations: 14.47 kB / 476.5 MB, free: 49.67 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00297/0.3779, allocations: 2.546 MB / 479.1 MB, free: 49.02 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002643/0.3782, allocations: 70.55 kB / 479.2 MB, free: 49.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.3792, allocations: 170.4 kB / 479.3 MB, free: 49.01 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004071/0.3796, allocations: 228.8 kB / 479.6 MB, free: 49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001492/0.3798, allocations: 67.75 kB / 479.6 MB, free: 49 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001514/0.3813, allocations: 1.245 MB / 480.9 MB, free: 48.9 MB / 442.7 MB Notification: Performance of sort global known variables: time 3e-07/0.3813, allocations: 0 / 480.9 MB, free: 48.9 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002909/0.3842, allocations: 1.786 MB / 482.7 MB, free: 47.64 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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: 34 ($whenCondition17,$whenCondition15,$whenCondition16,$whenCondition14,$whenCondition12,$whenCondition13,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,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,ZPcs.running,ZPcs.state,Zcc.running,Zcc.state) * Number of discrete states: 6 (Zcc.running,ZPcs.running,BESS.HvTfo.running,BESS.LvTfo.running,BESS.injector.running,BESS.regcA.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (271): * Single equations (assignments): 258 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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 {(14,4,31.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001348/0.3855, allocations: 0.6358 MB / 483.3 MB, free: 47.38 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00564/0.3912, allocations: 4.266 MB / 487.6 MB, free: 44.01 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.578e-05/0.3912, allocations: 63.83 kB / 487.6 MB, free: 43.95 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001145/0.3924, allocations: 1.037 MB / 488.7 MB, free: 43.14 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/0.3939, allocations: 0.8163 MB / 489.5 MB, free: 42.64 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00745/0.4014, allocations: 6.456 MB / 495.9 MB, free: 36.58 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004087/0.4018, allocations: 0.6163 MB / 496.5 MB, free: 35.95 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001395/0.4032, allocations: 0.5183 MB / 497.1 MB, free: 35.43 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00112/0.4043, allocations: 0.6134 MB / 497.7 MB, free: 34.84 MB / 442.7 MB Notification: Performance of SimCode: time 1.512e-06/0.4043, allocations: 0 / 497.7 MB, free: 34.84 MB / 442.7 MB Notification: Performance of Templates: time 0.05992/0.4642, allocations: 55.63 MB / 0.5403 GB, free: 12.59 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.pipe >> ../files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.sim & ./Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS -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.BESSCurrentSourceExternalPCS.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.175860248506069]