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.001018/0.001018, allocations: 80.94 kB / 20.74 MB, free: 3.742 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.0009802/0.0009802, allocations: 169 kB / 24.17 MB, free: 328 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.9056/0.9056, allocations: 158.6 MB / 186 MB, free: 2.773 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.4977/0.4977, allocations: 90.84 MB / 329.2 MB, free: 14.27 MB / 314.7 MB " [Timeout remaining time 179] Using package Dynawo with version 2.0.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.904e-06/1.904e-06, allocations: 0 / 385.7 MB, free: 6.172 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.717e-05/2.908e-05, allocations: 2.312 kB / 385.7 MB, free: 6.168 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS): time 0.01327/0.0133, allocations: 14.53 MB / 400.3 MB, free: 7.574 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01265/0.02595, allocations: 7.17 MB / 407.5 MB, free: 388 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003071/0.02902, allocations: 95.38 kB / 407.5 MB, free: 292 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001765/0.03079, allocations: 0.9301 MB / 408.5 MB, free: 15.35 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.003333/0.03412, allocations: 1.428 MB / 409.9 MB, free: 13.91 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:90:3-90: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.004727/0.03884, allocations: 3.302 MB / 413.2 MB, free: 10.6 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005597/0.04444, allocations: 5.5 MB / 418.7 MB, free: 5.09 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001677/0.04612, allocations: 1.28 MB / 420 MB, free: 3.719 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002189/0.04831, allocations: 1.881 MB / 421.9 MB, free: 1.832 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001542/0.04985, allocations: 1.674 MB / 423.5 MB, free: 156 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007441/0.05059, allocations: 0.5665 MB / 424.1 MB, free: 15.58 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.05172, allocations: 0.929 MB / 425 MB, free: 14.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000625/0.05235, allocations: 1.207 MB / 426.2 MB, free: 13.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001287/0.05364, allocations: 1.476 MB / 427.7 MB, free: 11.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004194/0.05783, allocations: 3.896 MB / 431.6 MB, free: 8.055 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.05783, allocations: 0 / 431.6 MB, free: 8.055 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.05784, allocations: 0 / 431.6 MB, free: 8.055 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.179e-05/0.05787, allocations: 0 / 431.6 MB, free: 8.055 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: 749 * Number of variables: 749 Notification: Performance of Generate backend data structure: time 0.007855/0.06572, allocations: 5.904 MB / 437.5 MB, free: 2.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.06577, allocations: 12.03 kB / 437.5 MB, free: 2.059 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004133/0.0699, allocations: 1.609 MB / 439.1 MB, free: 460 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002333/0.07224, allocations: 1.712 MB / 440.8 MB, free: 14.69 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004645/0.0727, allocations: 1.09 MB / 441.9 MB, free: 13.4 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002841/0.07299, allocations: 323.9 kB / 442.3 MB, free: 13.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002689/0.07567, allocations: 2.869 MB / 445.1 MB, free: 9.941 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.445e-05/0.07572, allocations: 11.92 kB / 445.1 MB, free: 9.93 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001723/0.07589, allocations: 128 kB / 445.3 MB, free: 9.805 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.183e-05/0.07593, allocations: 72 kB / 445.3 MB, free: 9.734 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001378/0.07731, allocations: 0.9537 MB / 446.3 MB, free: 8.75 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.008041/0.08535, allocations: 7.705 MB / 454 MB, free: 0.875 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001937/0.08729, allocations: 1.405 MB / 455.4 MB, free: 15.45 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005309/0.08782, allocations: 423.6 kB / 455.8 MB, free: 15.04 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00019/0.08801, allocations: 57.97 kB / 455.9 MB, free: 14.98 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001058/0.08907, allocations: 1.022 MB / 456.9 MB, free: 13.9 MB / 442.7 MB Notification: Performance of pre-optimization done (n=265): time 3.957e-06/0.08907, allocations: 4 kB / 456.9 MB, free: 13.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=265): time 0.003351/0.09242, allocations: 1.952 MB / 458.8 MB, free: 11.95 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001693/0.09259, allocations: 0.4966 MB / 459.3 MB, free: 11.34 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001872/0.09447, allocations: 2.396 MB / 461.7 MB, free: 8.938 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001252/0.09459, allocations: 85.69 kB / 461.8 MB, free: 8.848 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005953/0.09519, allocations: 1.157 MB / 463 MB, free: 7.676 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005133/0.0957, allocations: 0.9413 MB / 463.9 MB, free: 6.727 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007173/0.09642, allocations: 0.7314 MB / 464.7 MB, free: 5.98 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.957e-05/0.0965, allocations: 301.1 kB / 464.9 MB, free: 5.684 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/0.09757, allocations: 0.7183 MB / 465.7 MB, free: 4.945 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001515/0.09908, allocations: 1.686 MB / 467.3 MB, free: 2.957 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2052/0.3043, allocations: 3.091 MB / 470.4 MB, free: 71.82 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.559e-05/0.3043, allocations: 2.812 kB / 470.4 MB, free: 71.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.005741/0.3101, allocations: 2.729 MB / 473.2 MB, free: 71.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.471e-05/0.3101, allocations: 68.89 kB / 473.2 MB, free: 71.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.75e-05/0.3102, allocations: 12.16 kB / 473.3 MB, free: 71.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009094/0.3111, allocations: 396.4 kB / 473.6 MB, free: 71.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002136/0.3132, allocations: 0.8544 MB / 474.5 MB, free: 71.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002313/0.3155, allocations: 2.017 MB / 476.5 MB, free: 70.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001777/0.3173, allocations: 375.9 kB / 476.9 MB, free: 70.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000193/0.3175, allocations: 106.7 kB / 477 MB, free: 70.46 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.002079/0.3196, allocations: 1.001 MB / 478 MB, free: 70.3 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001407/0.321, allocations: 1.673 MB / 479.7 MB, free: 69.27 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003455/0.3244, allocations: 3.064 MB / 482.7 MB, free: 68.68 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.169e-05/0.3244, allocations: 3.641 kB / 482.7 MB, free: 68.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=512) (initialization_lambda0): time 0.003761/0.3282, allocations: 2.718 MB / 485.4 MB, free: 68.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.821e-05/0.3282, allocations: 67.48 kB / 485.5 MB, free: 68.47 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.3283, allocations: 11.5 kB / 485.5 MB, free: 68.47 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006718/0.3289, allocations: 397.8 kB / 485.9 MB, free: 68.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00183/0.3308, allocations: 0.8409 MB / 486.7 MB, free: 68.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00201/0.3328, allocations: 2.032 MB / 488.8 MB, free: 67.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/0.3341, allocations: 352.3 kB / 489.1 MB, free: 67.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/0.3342, allocations: 103.8 kB / 489.2 MB, free: 67.3 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 (471): * Single equations (assignments): 469 * 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.0007028/0.335, allocations: 0.5261 MB / 489.7 MB, free: 67.06 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003406/0.3353, allocations: 304.2 kB / 490 MB, free: 67.06 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002322/0.3376, allocations: 1.676 MB / 491.7 MB, free: 66.91 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/0.3376, allocations: 29.61 kB / 491.8 MB, free: 66.91 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.3376, allocations: 6.656 kB / 491.8 MB, free: 66.91 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.678e-05/0.3377, allocations: 12.33 kB / 491.8 MB, free: 66.91 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005/0.3427, allocations: 3.782 MB / 495.6 MB, free: 65.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.084e-06/0.3427, allocations: 4 kB / 495.6 MB, free: 65.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001422/0.3441, allocations: 0.5304 MB / 496.1 MB, free: 65.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000615/0.3447, allocations: 393.8 kB / 496.5 MB, free: 65.11 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001338/0.3448, allocations: 60.66 kB / 496.5 MB, free: 65.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001861/0.3467, allocations: 2.01 MB / 498.5 MB, free: 63.54 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3467, allocations: 8 kB / 498.5 MB, free: 63.53 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002767/0.3495, allocations: 2.482 MB / 0.4893 GB, free: 61.15 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006689/0.3501, allocations: 396 kB / 0.4897 GB, free: 61.01 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002479/0.3504, allocations: 64.48 kB / 0.4897 GB, free: 60.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008112/0.3512, allocations: 168.6 kB / 0.4899 GB, free: 60.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000299/0.3515, allocations: 228 kB / 0.4901 GB, free: 60.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/0.3516, allocations: 63.72 kB / 0.4902 GB, free: 60.64 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009404/0.3525, allocations: 1.237 MB / 0.4914 GB, free: 59.61 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3525, allocations: 8 kB / 0.4914 GB, free: 59.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002483/0.355, allocations: 1.715 MB / 0.4931 GB, free: 58.28 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 (258): * Single equations (assignments): 245 * 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.00119/0.3562, allocations: 0.5845 MB / 0.4936 GB, free: 58.03 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004768/0.361, allocations: 4.088 MB / 0.4976 GB, free: 54.45 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.769e-05/0.361, allocations: 32.5 kB / 0.4976 GB, free: 54.41 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001085/0.3621, allocations: 1.014 MB / 0.4986 GB, free: 53.52 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/0.3635, allocations: 0.6105 MB / 0.4992 GB, free: 53.12 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006732/0.3702, allocations: 6.142 MB / 0.5052 GB, free: 47.25 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004146/0.3706, allocations: 0.6018 MB / 0.5058 GB, free: 46.64 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001336/0.372, allocations: 0.5136 MB / 0.5063 GB, free: 46.12 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001141/0.3731, allocations: 0.6052 MB / 0.5069 GB, free: 45.54 MB / 442.7 MB Notification: Performance of SimCode: time 1.894e-06/0.3731, allocations: 0 / 0.5069 GB, free: 45.54 MB / 442.7 MB Notification: Performance of Templates: time 0.05649/0.4296, allocations: 54.79 MB / 0.5604 GB, free: 7.207 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 -s gbode -gbm=radauIIA3 -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.737439698074013]