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.00258/0.00258, allocations: 92.91 kB / 20.23 MB, free: 4.188 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.003279/0.003279, allocations: 165.3 kB / 23.54 MB, free: 0.8789 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 1.46/1.46, allocations: 158.6 MB / 185.4 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] 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.8377/0.8377, allocations: 90.61 MB / 328.2 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.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.814e-06/1.814e-06, allocations: 0 / 433 MB, free: 6.254 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.608e-05/4.789e-05, allocations: 6.25 kB / 433 MB, free: 6.246 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS): time 0.02758/0.02762, allocations: 14.96 MB / 448 MB, free: 7.211 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01658/0.0442, allocations: 6.991 MB / 455 MB, free: 208 kB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003911/0.04811, allocations: 99.38 kB / 455.1 MB, free: 108 kB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003422/0.05154, allocations: 0.9496 MB / 456 MB, free: 15.15 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.007036/0.05857, allocations: 1.467 MB / 457.5 MB, free: 13.67 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation BESS.HvTfo.terminal1.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation BESS.HvTfo.terminal1.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:71:5-75:11:writable] Warning: In relation BESS.HvTfo.terminal2.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:71:5-75:11:writable] Warning: In relation BESS.HvTfo.terminal2.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation ZPcs.terminal1.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation ZPcs.terminal1.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:71:5-75:11:writable] Warning: In relation ZPcs.terminal2.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:71:5-75:11:writable] Warning: In relation ZPcs.terminal2.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/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.00964/0.06821, allocations: 3.384 MB / 460.9 MB, free: 10.28 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.01024/0.07845, allocations: 5.582 MB / 466.4 MB, free: 4.688 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00359/0.08204, allocations: 1.226 MB / 467.7 MB, free: 3.387 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003872/0.08591, allocations: 1.905 MB / 469.6 MB, free: 1.477 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2105/0.2964, allocations: 1.689 MB / 471.3 MB, free: 57.85 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001818/0.2983, allocations: 0.5715 MB / 471.8 MB, free: 57.85 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001749/0.3, allocations: 0.9052 MB / 472.7 MB, free: 57.85 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008759/0.3009, allocations: 1.23 MB / 474 MB, free: 57.85 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001484/0.3024, allocations: 1.487 MB / 475.5 MB, free: 57.85 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006878/0.3092, allocations: 7.303 MB / 482.8 MB, free: 57.58 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3092, allocations: 3.5 kB / 482.8 MB, free: 57.58 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3092, allocations: 0 / 482.8 MB, free: 57.58 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001578/0.3094, allocations: 3.391 kB / 482.8 MB, free: 57.58 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: 747 * Number of variables: 747 Notification: Performance of Generate backend data structure: time 0.01764/0.327, allocations: 6.582 MB / 489.4 MB, free: 55.25 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.3271, allocations: 10.84 kB / 489.4 MB, free: 55.25 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007028/0.3341, allocations: 1.684 MB / 491 MB, free: 54.96 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004997/0.3391, allocations: 2.846 MB / 493.9 MB, free: 53.64 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006335/0.3397, allocations: 1.315 MB / 495.2 MB, free: 52.27 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008231/0.3406, allocations: 314.5 kB / 495.5 MB, free: 52.17 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006568/0.3471, allocations: 4.369 MB / 499.9 MB, free: 49.75 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.384e-05/0.3472, allocations: 10.42 kB / 499.9 MB, free: 49.75 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002937/0.3475, allocations: 122.8 kB / 0.4883 GB, free: 49.66 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.073e-05/0.3475, allocations: 71.94 kB / 0.4884 GB, free: 49.66 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006536/0.3541, allocations: 2.989 MB / 0.4913 GB, free: 48.66 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.02607/0.3801, allocations: 19.03 MB / 0.5099 GB, free: 37.05 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005784/0.3859, allocations: 2.779 MB / 0.5126 GB, free: 36.03 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002428/0.3884, allocations: 1.278 MB / 0.5138 GB, free: 35.57 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002736/0.3886, allocations: 57.89 kB / 0.5139 GB, free: 35.56 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003147/0.3918, allocations: 1.946 MB / 0.5158 GB, free: 34.79 MB / 442.7 MB Notification: Performance of pre-optimization done (n=264): time 5.41e-06/0.3918, allocations: 0 / 0.5158 GB, free: 34.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=264): time 0.01181/0.4036, allocations: 4.885 MB / 0.5206 GB, free: 33.12 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/0.4037, allocations: 0.4885 MB / 0.521 GB, free: 32.56 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005124/0.4088, allocations: 4.032 MB / 0.525 GB, free: 30.24 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006359/0.4095, allocations: 88.8 kB / 0.5251 GB, free: 30.15 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001481/0.411, allocations: 2.01 MB / 0.527 GB, free: 28.3 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00111/0.4121, allocations: 1.042 MB / 0.528 GB, free: 27.35 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001369/0.4134, allocations: 0.9878 MB / 0.529 GB, free: 26.44 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.252e-05/0.4135, allocations: 476.8 kB / 0.5295 GB, free: 25.97 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002788/0.4163, allocations: 1.555 MB / 0.531 GB, free: 24.57 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003385/0.4197, allocations: 2.902 MB / 0.5338 GB, free: 21.44 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0087/0.4284, allocations: 5.525 MB / 0.5392 GB, free: 15.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.636e-05/0.4284, allocations: 0 / 0.5392 GB, free: 15.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.009578/0.438, allocations: 5.008 MB / 0.5441 GB, free: 10.76 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.523e-05/0.438, allocations: 70.5 kB / 0.5442 GB, free: 10.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/0.438, allocations: 11.39 kB / 0.5442 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001425/0.4395, allocations: 0.5335 MB / 0.5447 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003869/0.4433, allocations: 0.7759 MB / 0.5455 GB, free: 9.426 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005272/0.4486, allocations: 4.015 MB / 0.5494 GB, free: 5.312 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003543/0.4521, allocations: 381.9 kB / 0.5497 GB, free: 4.938 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000356/0.4525, allocations: 132 kB / 0.5499 GB, free: 4.809 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.004234/0.4567, allocations: 2.242 MB / 0.5521 GB, free: 2.578 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003624/0.4604, allocations: 2.856 MB / 0.5548 GB, free: 15.38 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01144/0.4718, allocations: 5.419 MB / 0.5601 GB, free: 9.762 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.763e-05/0.4718, allocations: 4 kB / 0.5601 GB, free: 9.758 MB / 458.7 MB Notification: Performance of matching and sorting (n=508) (initialization_lambda0): time 0.01234/0.4842, allocations: 4.918 MB / 0.5649 GB, free: 4.883 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.912e-05/0.4843, allocations: 65.67 kB / 0.565 GB, free: 4.812 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.359e-05/0.4843, allocations: 16.95 kB / 0.565 GB, free: 4.797 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001618/0.4859, allocations: 0.5451 MB / 0.5655 GB, free: 4.258 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004229/0.4901, allocations: 0.7749 MB / 0.5663 GB, free: 3.531 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007321/0.4974, allocations: 4.002 MB / 0.5702 GB, free: 15.43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0038/0.5012, allocations: 354.2 kB / 0.5706 GB, free: 15.08 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004706/0.5017, allocations: 136 kB / 0.5707 GB, free: 14.95 MB / 474.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.injector.switchOffSignal3,BESS.injector.switchOffSignal2,BESS.injector.switchOffSignal1,Zcc.switchOffSignal2,Zcc.switchOffSignal1,ZPcs.switchOffSignal2,ZPcs.switchOffSignal1,BESS.regcA.rateLimFirstOrderFreeze1.local_freeze,BESS.regcA.rateLimFirstOrderFreeze2.local_freeze,$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.QConv0PuNeg.k,BESS.regcA.QConv0PuPos.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,BESS.repcA.limPIDFreeze.I.resetLocal,BESS.repcA.limPID.I.local_reset,BESS.pll.limIntegrator.local_reset,BESS.pll.integrator.local_reset,BESS.reecC.integrator.local_reset,BESS.reecC.varLimPIDFreeze.I.resetLocal,BESS.reecC.limPIDFreeze.I.resetLocal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (468): * Single equations (assignments): 466 * 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.001224/0.5029, allocations: 0.6298 MB / 0.5713 GB, free: 14.38 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001267/0.5042, allocations: 461.6 kB / 0.5717 GB, free: 13.93 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009982/0.5142, allocations: 3.62 MB / 0.5753 GB, free: 10.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-05/0.5142, allocations: 32 kB / 0.5753 GB, free: 10.27 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/0.5142, allocations: 7.984 kB / 0.5753 GB, free: 10.27 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.9e-05/0.5143, allocations: 15.89 kB / 0.5753 GB, free: 10.25 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02019/0.5345, allocations: 8.429 MB / 0.5836 GB, free: 1.805 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.559e-05/0.5345, allocations: 4 kB / 0.5836 GB, free: 1.801 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003418/0.5379, allocations: 0.4978 MB / 0.584 GB, free: 1.328 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001751/0.5396, allocations: 0.5228 MB / 0.5846 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003696/0.54, allocations: 67.97 kB / 0.5846 GB, free: 0.7344 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007487/0.5475, allocations: 3.989 MB / 0.5885 GB, free: 12.64 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.718e-06/0.5475, allocations: 11.56 kB / 0.5885 GB, free: 12.64 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01534/0.5629, allocations: 5.948 MB / 0.5943 GB, free: 6.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002453/0.5653, allocations: 0.7701 MB / 0.5951 GB, free: 5.727 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006932/0.566, allocations: 67.98 kB / 0.5952 GB, free: 5.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002143/0.5681, allocations: 163.9 kB / 0.5953 GB, free: 5.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006021/0.5687, allocations: 256.5 kB / 0.5956 GB, free: 5.258 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002503/0.569, allocations: 87.97 kB / 0.5956 GB, free: 5.172 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004091/0.5731, allocations: 2.266 MB / 0.5979 GB, free: 2.918 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5731, allocations: 7.172 kB / 0.5979 GB, free: 2.914 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005122/0.5782, allocations: 1.711 MB / 0.5995 GB, free: 1.199 MB / 490.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 (257): * Single equations (assignments): 244 * 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.003219/0.5814, allocations: 0.5155 MB / 0.6 GB, free: 0.8945 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01851/0.5999, allocations: 7.269 MB / 0.6071 GB, free: 9.68 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/0.5999, allocations: 5.125 kB / 0.6071 GB, free: 9.676 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00541/0.6054, allocations: 2.002 MB / 0.6091 GB, free: 7.707 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004495/0.6098, allocations: 0.6536 MB / 0.6097 GB, free: 7.082 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01803/0.6279, allocations: 7.189 MB / 0.6168 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002407/0.6303, allocations: 1.571 MB / 0.6183 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002821/0.6331, allocations: 490.7 kB / 0.6188 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009862/0.6341, allocations: 228.5 kB / 0.619 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of SimCode: time 1.122e-06/0.6341, allocations: 3.375 kB / 0.619 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of Templates: time 0.2867/0.9208, allocations: 51.58 MB / 0.6693 GB, free: 177.4 MB / 0.5417 GB " [Timeout remaining time 659] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.311600459041074]