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.001128/0.001128, allocations: 78.66 kB / 21.46 MB, free: 3.043 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.00109/0.00109, allocations: 167.8 kB / 24.86 MB, free: 9.297 MB / 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.9327/0.9327, allocations: 158.6 MB / 186.8 MB, free: 2.801 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.4589/0.4589, allocations: 90.57 MB / 329.7 MB, free: 14.59 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.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.593e-06/1.593e-06, allocations: 0 / 435.1 MB, free: 5.535 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.992e-05/3.151e-05, allocations: 5.828 kB / 435.2 MB, free: 5.531 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSource): time 0.01188/0.01191, allocations: 14.08 MB / 449.2 MB, free: 7.375 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.008696/0.0206, allocations: 6.824 MB / 456.1 MB, free: 0.5352 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.02174, allocations: 99.31 kB / 456.2 MB, free: 448 kB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001222/0.02297, allocations: 0.9341 MB / 457.1 MB, free: 15.5 MB / 442.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.001912/0.02488, allocations: 1.428 MB / 458.5 MB, free: 14.06 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:112:3-112: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.003059/0.02794, allocations: 3.146 MB / 461.7 MB, free: 10.91 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.006532/0.03447, allocations: 5.39 MB / 467.1 MB, free: 5.504 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001821/0.03629, allocations: 1.205 MB / 468.3 MB, free: 4.23 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002145/0.03844, allocations: 1.838 MB / 470.1 MB, free: 2.387 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001493/0.03993, allocations: 1.643 MB / 471.7 MB, free: 0.7383 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008062/0.04073, allocations: 0.5547 MB / 472.3 MB, free: 188 kB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1884/0.2291, allocations: 0.8762 MB / 473.2 MB, free: 59.88 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00126/0.2304, allocations: 1.192 MB / 474.4 MB, free: 59.88 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001793/0.2322, allocations: 1.433 MB / 475.8 MB, free: 59.88 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004605/0.2368, allocations: 3.788 MB / 479.6 MB, free: 59.62 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2368, allocations: 0 / 479.6 MB, free: 59.62 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2368, allocations: 0 / 479.6 MB, free: 59.62 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001048/0.2369, allocations: 0 / 479.6 MB, free: 59.62 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 712 * Number of variables: 712 Notification: Performance of Generate backend data structure: time 0.01551/0.2524, allocations: 5.858 MB / 485.4 MB, free: 57.34 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.2524, allocations: 10.5 kB / 485.5 MB, free: 57.34 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01002/0.2624, allocations: 1.438 MB / 486.9 MB, free: 57.06 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008711/0.2712, allocations: 2.6 MB / 489.5 MB, free: 56.36 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003384/0.2715, allocations: 0.9744 MB / 490.5 MB, free: 55.48 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006358/0.2779, allocations: 304.2 kB / 490.8 MB, free: 55.47 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007352/0.2852, allocations: 2.811 MB / 493.6 MB, free: 54.28 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.488e-05/0.2853, allocations: 10.25 kB / 493.6 MB, free: 54.27 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002357/0.2855, allocations: 120 kB / 493.7 MB, free: 54.27 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.613e-05/0.2855, allocations: 70.31 kB / 493.8 MB, free: 54.27 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001853/0.2874, allocations: 0.9953 MB / 494.8 MB, free: 54.18 MB / 442.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.01212/0.2995, allocations: 10.67 MB / 0.4936 GB, free: 47.81 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002455/0.302, allocations: 1.314 MB / 0.4949 GB, free: 47.57 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007325/0.3027, allocations: 432.3 kB / 0.4953 GB, free: 47.51 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001546/0.3029, allocations: 56.41 kB / 0.4953 GB, free: 47.5 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001274/0.3041, allocations: 0.9114 MB / 0.4962 GB, free: 47.3 MB / 442.7 MB Notification: Performance of pre-optimization done (n=236): time 4.769e-06/0.3041, allocations: 0 / 0.4962 GB, free: 47.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=236): time 0.004843/0.309, allocations: 2.217 MB / 0.4984 GB, free: 46.8 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.77e-05/0.3091, allocations: 0.5004 MB / 0.4989 GB, free: 46.23 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004193/0.3133, allocations: 2.6 MB / 0.5014 GB, free: 45.71 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004602/0.3137, allocations: 76.73 kB / 0.5015 GB, free: 45.65 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001339/0.3151, allocations: 1.769 MB / 0.5032 GB, free: 44.41 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001077/0.3161, allocations: 0.8608 MB / 0.5041 GB, free: 43.79 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00148/0.3176, allocations: 0.7277 MB / 0.5048 GB, free: 43.54 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.393e-05/0.3177, allocations: 478.6 kB / 0.5052 GB, free: 43.07 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001686/0.3194, allocations: 0.6768 MB / 0.5059 GB, free: 42.92 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001989/0.3214, allocations: 1.794 MB / 0.5076 GB, free: 41.59 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004187/0.3256, allocations: 2.846 MB / 0.5104 GB, free: 40.32 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.763e-05/0.3256, allocations: 2.938 kB / 0.5104 GB, free: 40.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=479) (initialization): time 0.005663/0.3312, allocations: 3.034 MB / 0.5134 GB, free: 39.42 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.935e-05/0.3313, allocations: 65.92 kB / 0.5135 GB, free: 39.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.458e-05/0.3313, allocations: 13.81 kB / 0.5135 GB, free: 39.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008078/0.3322, allocations: 329.2 kB / 0.5138 GB, free: 39.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002048/0.3342, allocations: 0.7506 MB / 0.5145 GB, free: 39.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002266/0.3365, allocations: 2.474 MB / 0.5169 GB, free: 37.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002353/0.3388, allocations: 355 kB / 0.5173 GB, free: 37.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002375/0.3391, allocations: 105 kB / 0.5174 GB, free: 37.04 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.00219/0.3412, allocations: 0.9723 MB / 0.5183 GB, free: 36.7 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001414/0.3427, allocations: 1.789 MB / 0.5201 GB, free: 35.37 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003277/0.3459, allocations: 2.833 MB / 0.5228 GB, free: 34.09 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.182e-05/0.3459, allocations: 7.5 kB / 0.5228 GB, free: 34.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=479) (initialization_lambda0): time 0.004448/0.3504, allocations: 3.009 MB / 0.5258 GB, free: 32.87 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.462e-05/0.3505, allocations: 77.28 kB / 0.5258 GB, free: 32.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/0.3505, allocations: 15.94 kB / 0.5259 GB, free: 32.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006583/0.3511, allocations: 319.9 kB / 0.5262 GB, free: 32.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001788/0.3529, allocations: 0.7424 MB / 0.5269 GB, free: 31.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002068/0.355, allocations: 2.471 MB / 0.5293 GB, free: 29.56 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002161/0.3571, allocations: 349 kB / 0.5296 GB, free: 29.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002038/0.3574, allocations: 95.33 kB / 0.5297 GB, free: 29.16 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.injector.switchOffSignal1,BESS.injector.switchOffSignal2,BESS.injector.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 (443): * Single equations (assignments): 441 * 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.0008529/0.3582, allocations: 0.5857 MB / 0.5303 GB, free: 28.66 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008559/0.3591, allocations: 445.3 kB / 0.5307 GB, free: 28.22 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002872/0.3619, allocations: 1.815 MB / 0.5325 GB, free: 26.78 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.3619, allocations: 27.94 kB / 0.5325 GB, free: 26.75 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.362, allocations: 4 kB / 0.5325 GB, free: 26.75 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.715e-05/0.362, allocations: 19.3 kB / 0.5325 GB, free: 26.74 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007161/0.3691, allocations: 4.47 MB / 0.5369 GB, free: 23.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.3691, allocations: 4 kB / 0.5369 GB, free: 23.19 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001437/0.3706, allocations: 477.7 kB / 0.5374 GB, free: 22.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006657/0.3712, allocations: 318.4 kB / 0.5377 GB, free: 22.43 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001569/0.3714, allocations: 63.97 kB / 0.5377 GB, free: 22.37 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00203/0.3734, allocations: 2.447 MB / 0.5401 GB, free: 19.85 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.3734, allocations: 17.28 kB / 0.5401 GB, free: 19.84 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003907/0.3773, allocations: 2.793 MB / 0.5429 GB, free: 16.99 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001384/0.3787, allocations: 0.7318 MB / 0.5436 GB, free: 16.26 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004361/0.3792, allocations: 63.98 kB / 0.5436 GB, free: 16.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.3802, allocations: 155.9 kB / 0.5438 GB, free: 16.04 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000303/0.3805, allocations: 207.1 kB / 0.544 GB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.3806, allocations: 67.97 kB / 0.5441 GB, free: 15.78 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001424/0.382, allocations: 1.415 MB / 0.5454 GB, free: 14.52 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.382, allocations: 0 / 0.5454 GB, free: 14.52 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00313/0.3851, allocations: 1.633 MB / 0.547 GB, free: 12.88 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 (233): * Single equations (assignments): 222 * 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.001183/0.3863, allocations: 487 kB / 0.5475 GB, free: 12.58 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005527/0.3919, allocations: 3.979 MB / 0.5514 GB, free: 8.75 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/0.3919, allocations: 8.062 kB / 0.5514 GB, free: 8.742 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001404/0.3933, allocations: 1.001 MB / 0.5524 GB, free: 7.797 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002264/0.3955, allocations: 0.6044 MB / 0.553 GB, free: 7.219 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008796/0.4043, allocations: 6.043 MB / 0.5589 GB, free: 1.074 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004625/0.4048, allocations: 0.5874 MB / 0.5594 GB, free: 476 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001948/0.4067, allocations: 433.7 kB / 0.5599 GB, free: 36 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001443/0.4082, allocations: 0.6541 MB / 0.5605 GB, free: 15.38 MB / 458.7 MB Notification: Performance of SimCode: time 2.104e-06/0.4082, allocations: 0 / 0.5605 GB, free: 15.38 MB / 458.7 MB Notification: Performance of Templates: time 0.06533/0.4735, allocations: 52.85 MB / 0.6121 GB, free: 10.91 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe >> ../files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.sim & ./Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.137733019888401]