Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.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.001926/0.001926, allocations: 92.91 kB / 20.23 MB, free: 4.184 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.002059/0.002059, allocations: 165.3 kB / 23.55 MB, free: 0.8711 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.353/1.353, allocations: 158.6 MB / 185.4 MB, free: 2.469 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.7052/0.7052, allocations: 90.61 MB / 328.3 MB, free: 14.57 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.BESSCurrentSourceNoPPC,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.BESSCurrentSourceNoPPC") translateModel(Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC,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.BESSCurrentSourceNoPPC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 433 MB, free: 6.219 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.935e-05/3.113e-05, allocations: 10.25 kB / 433 MB, free: 6.207 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC): time 0.01529/0.01532, allocations: 9.955 MB / 443 MB, free: 12.2 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01058/0.0259, allocations: 5.105 MB / 448.1 MB, free: 7.082 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00166/0.02756, allocations: 55.62 kB / 448.1 MB, free: 7.027 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001495/0.02905, allocations: 0.6632 MB / 448.8 MB, free: 6.359 MB / 426.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.002889/0.03194, allocations: 0.9977 MB / 449.8 MB, free: 5.355 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/WECC/BaseClasses_INIT/WECCInverterCurrentSource_INIT.mo:94:3-94:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wt4CurrentSource_INIT.s0Pu) == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.004365/0.0363, allocations: 2.031 MB / 451.8 MB, free: 3.32 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00502/0.04132, allocations: 3.32 MB / 455.1 MB, free: 15.99 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001481/0.04281, allocations: 0.6997 MB / 455.8 MB, free: 15.24 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00184/0.04464, allocations: 1.141 MB / 457 MB, free: 14.09 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001506/0.04615, allocations: 1.02 MB / 458 MB, free: 13.07 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005513/0.0467, allocations: 336 kB / 458.3 MB, free: 12.74 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001151/0.04785, allocations: 0.605 MB / 458.9 MB, free: 12.14 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007863/0.04864, allocations: 0.7317 MB / 459.7 MB, free: 11.4 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001103/0.04974, allocations: 0.8918 MB / 460.6 MB, free: 10.51 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005729/0.05547, allocations: 4.408 MB / 465 MB, free: 6.082 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.05547, allocations: 0 / 465 MB, free: 6.082 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.05548, allocations: 0 / 465 MB, free: 6.082 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.754e-05/0.05553, allocations: 0 / 465 MB, free: 6.082 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: 436 * Number of variables: 436 Notification: Performance of Generate backend data structure: time 0.01013/0.06566, allocations: 4 MB / 469 MB, free: 2.012 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.0657, allocations: 12.03 kB / 469 MB, free: 2 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004006/0.06971, allocations: 0.9008 MB / 469.9 MB, free: 1.098 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1763/0.246, allocations: 1.753 MB / 471.6 MB, free: 80.89 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000408/0.2464, allocations: 0.7512 MB / 472.4 MB, free: 80.16 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002814/0.2467, allocations: 189.1 kB / 472.6 MB, free: 80.16 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003725/0.2504, allocations: 2.543 MB / 475.1 MB, free: 79.15 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.159e-05/0.2505, allocations: 5.25 kB / 475.1 MB, free: 79.14 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001565/0.2506, allocations: 76.69 kB / 475.2 MB, free: 79.09 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.54e-05/0.2507, allocations: 42.12 kB / 475.2 MB, free: 79.09 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003391/0.254, allocations: 1.72 MB / 477 MB, free: 78.53 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.01225/0.2663, allocations: 10.66 MB / 487.6 MB, free: 71.88 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003566/0.2699, allocations: 1.666 MB / 489.3 MB, free: 71.28 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00141/0.2713, allocations: 0.746 MB / 490 MB, free: 71.01 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000175/0.2714, allocations: 40.38 kB / 490.1 MB, free: 71.01 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001967/0.2734, allocations: 1.169 MB / 491.2 MB, free: 70.54 MB / 442.7 MB Notification: Performance of pre-optimization done (n=148): time 3.777e-06/0.2734, allocations: 0 / 491.2 MB, free: 70.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=148): time 0.007222/0.2806, allocations: 2.847 MB / 494.1 MB, free: 69.59 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.495e-05/0.2807, allocations: 291.8 kB / 494.4 MB, free: 69.26 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003324/0.2841, allocations: 2.617 MB / 497 MB, free: 68.12 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002063/0.2843, allocations: 61.33 kB / 497 MB, free: 68.07 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001043/0.2853, allocations: 1.281 MB / 498.3 MB, free: 67.19 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005946/0.2859, allocations: 0.5937 MB / 498.9 MB, free: 66.81 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009057/0.2868, allocations: 0.6134 MB / 499.5 MB, free: 66.52 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.149e-05/0.2869, allocations: 478.3 kB / 500 MB, free: 66.05 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002008/0.2889, allocations: 0.952 MB / 0.4892 GB, free: 65.72 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002521/0.2914, allocations: 1.725 MB / 0.4909 GB, free: 64.58 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005975/0.2974, allocations: 3.36 MB / 0.4942 GB, free: 63 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.314e-05/0.2974, allocations: 1.344 kB / 0.4942 GB, free: 63 MB / 442.7 MB Notification: Performance of matching and sorting (n=315) (initialization): time 0.006926/0.3043, allocations: 3.089 MB / 0.4972 GB, free: 61.82 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.414e-05/0.3044, allocations: 59.34 kB / 0.4972 GB, free: 61.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.025e-05/0.3044, allocations: 7.312 kB / 0.4973 GB, free: 61.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008547/0.3052, allocations: 304.9 kB / 0.4975 GB, free: 61.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002438/0.3077, allocations: 0.4966 MB / 0.498 GB, free: 61.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003354/0.311, allocations: 3.006 MB / 0.501 GB, free: 59.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002216/0.3133, allocations: 252.7 kB / 0.5012 GB, free: 59.08 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002161/0.3135, allocations: 83.91 kB / 0.5013 GB, free: 59.06 MB / 442.7 MB Warning: Assuming fixed start value for the following 18 variables: 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.regcA.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003233/0.3167, allocations: 1.419 MB / 0.5027 GB, free: 58.43 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002416/0.3191, allocations: 1.723 MB / 0.5044 GB, free: 57.29 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005591/0.3247, allocations: 3.322 MB / 0.5076 GB, free: 55.71 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.527e-05/0.3247, allocations: 2.156 kB / 0.5076 GB, free: 55.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=315) (initialization_lambda0): time 0.006147/0.3309, allocations: 3.081 MB / 0.5106 GB, free: 53.03 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.184e-05/0.3309, allocations: 56.45 kB / 0.5107 GB, free: 52.97 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.3309, allocations: 4 kB / 0.5107 GB, free: 52.97 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006677/0.3316, allocations: 306.2 kB / 0.511 GB, free: 52.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002316/0.3339, allocations: 0.4915 MB / 0.5114 GB, free: 52.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003056/0.337, allocations: 3.011 MB / 0.5144 GB, free: 49.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002564/0.3395, allocations: 229.2 kB / 0.5146 GB, free: 49.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002054/0.3398, allocations: 84.09 kB / 0.5147 GB, free: 48.98 MB / 442.7 MB Warning: Assuming fixed start value for the following 18 variables: 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.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: 33 * Number of states: 0 () * Number of discrete variables: 46 ($PRE.BESS.LvTfo.state,BESS.LvTfo.state,$PRE.BESS.injector.state,BESS.injector.state,$PRE.line.state,line.state,BESS.injector.switchOffSignal3,BESS.injector.switchOffSignal2,BESS.injector.switchOffSignal1,line.switchOffSignal2,line.switchOffSignal1,BESS.regcA.rateLimFirstOrderFreeze1.local_freeze,BESS.regcA.rateLimFirstOrderFreeze2.local_freeze,$PRE.line.running,$PRE.BESS.regcA.offDelay.delaySignal,$PRE.BESS.regcA.offDelay.tNext,$PRE.BESS.injector.running,$PRE.BESS.LvTfo.running,BESS.regcA.QConv0PuNeg.k,BESS.regcA.QConv0PuPos.k,$PRE.BESS.regcA.offDelay.u,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,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 (289): * Single equations (assignments): 287 * 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 {(8,2,50.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008019/0.3406, allocations: 492.7 kB / 0.5151 GB, free: 48.54 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006026/0.3412, allocations: 289.6 kB / 0.5154 GB, free: 48.25 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004737/0.3459, allocations: 2.144 MB / 0.5175 GB, free: 46.43 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.3459, allocations: 20 kB / 0.5175 GB, free: 46.41 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.3459, allocations: 7.938 kB / 0.5175 GB, free: 46.4 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.644e-05/0.3459, allocations: 10.69 kB / 0.5176 GB, free: 46.4 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008958/0.3549, allocations: 5.105 MB / 0.5225 GB, free: 41.85 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.3549, allocations: 4 kB / 0.5225 GB, free: 41.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001969/0.3569, allocations: 306.4 kB / 0.5228 GB, free: 41.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006926/0.3576, allocations: 304.6 kB / 0.5231 GB, free: 41.33 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001263/0.3577, allocations: 36.69 kB / 0.5232 GB, free: 41.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003069/0.3608, allocations: 3.001 MB / 0.5261 GB, free: 38.29 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.3608, allocations: 4.609 kB / 0.5261 GB, free: 38.29 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006728/0.3675, allocations: 3.569 MB / 0.5296 GB, free: 34.94 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001228/0.3687, allocations: 464.3 kB / 0.53 GB, free: 34.55 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003328/0.3691, allocations: 46.58 kB / 0.5301 GB, free: 34.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/0.3703, allocations: 104.3 kB / 0.5302 GB, free: 34.43 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004078/0.3707, allocations: 144.9 kB / 0.5303 GB, free: 34.35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/0.3708, allocations: 57.3 kB / 0.5304 GB, free: 34.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002046/0.3729, allocations: 1.477 MB / 0.5318 GB, free: 33 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3729, allocations: 4 kB / 0.5318 GB, free: 32.99 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002758/0.3756, allocations: 1.036 MB / 0.5328 GB, free: 31.96 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 13 (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) * Number of discrete variables: 23 ($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) * Number of discrete states: 4 (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 (147): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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 {(8,2,50.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002795/0.3784, allocations: 490.6 kB / 0.5333 GB, free: 31.68 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00851/0.3869, allocations: 4.585 MB / 0.5378 GB, free: 27.43 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-05/0.3869, allocations: 7.938 kB / 0.5378 GB, free: 27.43 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002344/0.3893, allocations: 1.209 MB / 0.539 GB, free: 26.31 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002528/0.3918, allocations: 384.8 kB / 0.5393 GB, free: 26.01 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007766/0.3996, allocations: 4.403 MB / 0.5436 GB, free: 21.74 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007835/0.4003, allocations: 0.978 MB / 0.5446 GB, free: 20.72 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001357/0.4017, allocations: 298.1 kB / 0.5449 GB, free: 20.43 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004878/0.4022, allocations: 148.5 kB / 0.545 GB, free: 20.29 MB / 442.7 MB Notification: Performance of SimCode: time 1.553e-06/0.4022, allocations: 0 / 0.545 GB, free: 20.29 MB / 442.7 MB Notification: Performance of Templates: time 0.05214/0.4543, allocations: 30.91 MB / 0.5752 GB, free: 5.559 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.pipe >> ../files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.sim & ./Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC -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.BESSCurrentSourceNoPPC.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.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: 6.819779077894054]