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.00128/0.00128, allocations: 72.95 kB / 20.74 MB, free: 3.754 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 169 kB / 24.16 MB, free: 336 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8199/0.8199, allocations: 158.6 MB / 186 MB, free: 2.77 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.4687/0.4687, allocations: 90.88 MB / 329.2 MB, free: 14.25 MB / 314.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -noHomotopyOnFirstTry=() since 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.303e-06/1.303e-06, allocations: 0 / 385.7 MB, free: 6.207 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.218e-05/2.349e-05, allocations: 6.109 kB / 385.7 MB, free: 6.203 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS): time 0.0164/0.01642, allocations: 14.63 MB / 400.4 MB, free: 7.508 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01057/0.02699, allocations: 7.259 MB / 407.6 MB, free: 228 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002135/0.02912, allocations: 103.3 kB / 407.7 MB, free: 124 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001736/0.03086, allocations: 0.969 MB / 408.7 MB, free: 15.14 MB / 394.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.002915/0.03377, allocations: 1.479 MB / 410.2 MB, free: 13.66 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:113:3-113:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wTG4CurrentSource_INIT.s0Pu) == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.004289/0.03806, allocations: 3.388 MB / 413.6 MB, free: 10.26 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005216/0.04328, allocations: 5.589 MB / 419.1 MB, free: 4.66 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001778/0.04505, allocations: 1.28 MB / 420.4 MB, free: 3.289 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002398/0.04745, allocations: 1.905 MB / 422.3 MB, free: 1.379 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001733/0.04919, allocations: 1.705 MB / 424 MB, free: 15.67 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008394/0.05002, allocations: 0.5703 MB / 424.6 MB, free: 15.1 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001179/0.0512, allocations: 0.9057 MB / 425.5 MB, free: 14.19 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007775/0.05198, allocations: 1.234 MB / 426.7 MB, free: 12.95 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001393/0.05337, allocations: 1.488 MB / 428.2 MB, free: 11.46 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003829/0.0572, allocations: 3.939 MB / 432.2 MB, free: 7.508 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.05721, allocations: 4 kB / 432.2 MB, free: 7.504 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.05721, allocations: 0 / 432.2 MB, free: 7.504 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.087e-05/0.05725, allocations: 0 / 432.2 MB, free: 7.504 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: 753 * Number of variables: 753 Notification: Performance of Generate backend data structure: time 0.007812/0.06506, allocations: 5.967 MB / 438.1 MB, free: 1.457 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.06509, allocations: 12.03 kB / 438.2 MB, free: 1.445 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003641/0.06874, allocations: 1.628 MB / 439.8 MB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002358/0.07109, allocations: 1.748 MB / 441.5 MB, free: 14.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004679/0.07156, allocations: 1.094 MB / 442.6 MB, free: 12.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000304/0.07187, allocations: 323.9 kB / 442.9 MB, free: 12.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002808/0.07467, allocations: 2.878 MB / 445.8 MB, free: 9.262 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.11e-05/0.07471, allocations: 4 kB / 445.8 MB, free: 9.258 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001697/0.07488, allocations: 124 kB / 445.9 MB, free: 9.137 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.63e-05/0.07492, allocations: 72 kB / 446 MB, free: 9.066 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001425/0.07635, allocations: 0.9672 MB / 447 MB, free: 8.07 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.008449/0.08479, allocations: 7.73 MB / 454.7 MB, free: 176 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001879/0.08667, allocations: 1.406 MB / 456.1 MB, free: 14.75 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005399/0.08721, allocations: 436.4 kB / 456.5 MB, free: 14.32 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001947/0.08741, allocations: 61.97 kB / 456.6 MB, free: 14.26 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001147/0.08855, allocations: 1.03 MB / 457.6 MB, free: 13.18 MB / 442.7 MB Notification: Performance of pre-optimization done (n=266): time 4.048e-06/0.08856, allocations: 0 / 457.6 MB, free: 13.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=266): time 0.003454/0.09201, allocations: 1.958 MB / 459.6 MB, free: 11.21 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001413/0.09215, allocations: 0.4967 MB / 460.1 MB, free: 10.61 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001896/0.09405, allocations: 2.468 MB / 462.6 MB, free: 8.141 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001316/0.09418, allocations: 85.69 kB / 462.6 MB, free: 8.051 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006011/0.09478, allocations: 1.169 MB / 463.8 MB, free: 6.863 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006502/0.09543, allocations: 0.9452 MB / 464.8 MB, free: 5.906 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007198/0.09615, allocations: 0.7315 MB / 465.5 MB, free: 5.164 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.818e-05/0.09621, allocations: 301.1 kB / 465.8 MB, free: 4.867 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/0.0973, allocations: 0.7184 MB / 466.5 MB, free: 4.129 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001432/0.09873, allocations: 1.694 MB / 468.2 MB, free: 2.133 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1497/0.2484, allocations: 3.088 MB / 471.3 MB, free: 71.32 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-05/0.2485, allocations: 2.594 kB / 471.3 MB, free: 71.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=513) (initialization): time 0.004511/0.253, allocations: 2.732 MB / 474 MB, free: 71.14 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.766e-05/0.253, allocations: 69.45 kB / 474.1 MB, free: 71.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-05/0.253, allocations: 10.88 kB / 474.1 MB, free: 71.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008271/0.2539, allocations: 399.4 kB / 474.5 MB, free: 71.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001807/0.2557, allocations: 0.781 MB / 475.3 MB, free: 71.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002093/0.2578, allocations: 2.016 MB / 477.3 MB, free: 69.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.2592, allocations: 379.1 kB / 477.6 MB, free: 69.97 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/0.2594, allocations: 99.08 kB / 477.7 MB, free: 69.97 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.001791/0.2612, allocations: 0.9979 MB / 478.7 MB, free: 69.81 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001208/0.2624, allocations: 1.679 MB / 480.4 MB, free: 68.78 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00316/0.2655, allocations: 3.063 MB / 483.5 MB, free: 68.19 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.1e-05/0.2655, allocations: 2.688 kB / 483.5 MB, free: 68.19 MB / 442.7 MB Notification: Performance of matching and sorting (n=513) (initialization_lambda0): time 0.003507/0.269, allocations: 2.733 MB / 486.2 MB, free: 68.01 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.129e-05/0.2691, allocations: 68.61 kB / 486.3 MB, free: 67.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.2691, allocations: 9.562 kB / 486.3 MB, free: 67.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006593/0.2698, allocations: 402.5 kB / 486.7 MB, free: 67.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/0.2714, allocations: 0.7646 MB / 487.5 MB, free: 67.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001893/0.2733, allocations: 2.02 MB / 489.5 MB, free: 66.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/0.2745, allocations: 360 kB / 489.8 MB, free: 66.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/0.2746, allocations: 102.4 kB / 489.9 MB, free: 66.8 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.injector.switchOffSignal1,BESS.injector.switchOffSignal2,BESS.injector.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 (472): * Single equations (assignments): 470 * 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.0005644/0.2752, allocations: 0.5315 MB / 490.5 MB, free: 66.57 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003479/0.2755, allocations: 307 kB / 490.8 MB, free: 66.56 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002198/0.2777, allocations: 1.689 MB / 492.4 MB, free: 66.41 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.2777, allocations: 25.12 kB / 492.5 MB, free: 66.41 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2777, allocations: 3.938 kB / 492.5 MB, free: 66.41 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.54e-05/0.2778, allocations: 16.7 kB / 492.5 MB, free: 66.41 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004676/0.2824, allocations: 3.811 MB / 496.3 MB, free: 64.97 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.2824, allocations: 8 kB / 496.3 MB, free: 64.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001342/0.2838, allocations: 494.2 kB / 496.8 MB, free: 64.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006234/0.2844, allocations: 389.5 kB / 497.2 MB, free: 64.34 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/0.2845, allocations: 64.55 kB / 497.2 MB, free: 64.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001813/0.2863, allocations: 1.996 MB / 499.2 MB, free: 62.77 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.748e-06/0.2863, allocations: 12.52 kB / 499.2 MB, free: 62.76 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002724/0.2891, allocations: 2.48 MB / 0.49 GB, free: 60.32 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006935/0.2897, allocations: 407.2 kB / 0.4904 GB, free: 60.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00026/0.29, allocations: 65.42 kB / 0.4904 GB, free: 60.15 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008321/0.2908, allocations: 167.7 kB / 0.4906 GB, free: 60.02 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002504/0.2911, allocations: 219.4 kB / 0.4908 GB, free: 59.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.721e-05/0.2912, allocations: 68.77 kB / 0.4908 GB, free: 59.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008864/0.2921, allocations: 1.284 MB / 0.4921 GB, free: 58.74 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2921, allocations: 4 kB / 0.4921 GB, free: 58.74 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002187/0.2943, allocations: 1.733 MB / 0.4938 GB, free: 57.38 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 (259): * Single equations (assignments): 246 * 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.001093/0.2954, allocations: 0.5981 MB / 0.4944 GB, free: 57.11 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004399/0.2998, allocations: 4.09 MB / 0.4984 GB, free: 53.52 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.55e-05/0.2998, allocations: 32.5 kB / 0.4984 GB, free: 53.49 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.3008, allocations: 1.009 MB / 0.4994 GB, free: 52.61 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001422/0.3023, allocations: 0.6248 MB / 0.5 GB, free: 52.19 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006376/0.3086, allocations: 6.243 MB / 0.5061 GB, free: 46.22 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/0.309, allocations: 0.6124 MB / 0.5067 GB, free: 45.61 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001359/0.3104, allocations: 0.5176 MB / 0.5072 GB, free: 45.09 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001132/0.3115, allocations: 0.6089 MB / 0.5078 GB, free: 44.5 MB / 442.7 MB Notification: Performance of SimCode: time 9.61e-07/0.3115, allocations: 0 / 0.5078 GB, free: 44.5 MB / 442.7 MB Notification: Performance of Templates: time 0.0555/0.367, allocations: 55.37 MB / 0.5619 GB, free: 5.566 MB / 458.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 -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: 4.392933904193342]