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.001495/0.001495, allocations: 78.66 kB / 21.46 MB, free: 3.047 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.001257/0.001257, allocations: 165.6 kB / 24.86 MB, free: 8.754 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9607/0.9607, allocations: 158.6 MB / 186.8 MB, free: 2.781 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.4804/0.4804, allocations: 90.58 MB / 329.7 MB, free: 14.59 MB / 314.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -noHomotopyOnFirstTry=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRestart=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRootFinding=() since the simulation runtime does not accept it Running command: translateModel(Dynawo.Examples.BESS.WECC.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.703e-06/1.703e-06, allocations: 0 / 435.1 MB, free: 5.562 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.51e-05, allocations: 6.25 kB / 435.1 MB, free: 5.555 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC): time 0.008451/0.008477, allocations: 9.705 MB / 444.9 MB, free: 11.8 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.007155/0.01563, allocations: 5.081 MB / 449.9 MB, free: 6.699 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001235/0.01687, allocations: 55.62 kB / 450 MB, free: 6.645 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.01795, allocations: 0.6593 MB / 450.6 MB, free: 5.98 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.001772/0.01972, allocations: 1.002 MB / 451.6 MB, free: 4.973 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.002815/0.02254, allocations: 2.023 MB / 453.7 MB, free: 2.945 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003146/0.02568, allocations: 3.324 MB / 457 MB, free: 15.61 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/0.027, allocations: 0.6959 MB / 457.7 MB, free: 14.86 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002444/0.02945, allocations: 1.141 MB / 458.8 MB, free: 13.72 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001291/0.03074, allocations: 1.032 MB / 459.9 MB, free: 12.68 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003926/0.03113, allocations: 336 kB / 460.2 MB, free: 12.36 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008864/0.03202, allocations: 0.5895 MB / 460.8 MB, free: 11.77 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006636/0.03268, allocations: 0.7395 MB / 461.5 MB, free: 11.02 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008337/0.03352, allocations: 0.884 MB / 462.4 MB, free: 10.14 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003281/0.0368, allocations: 2.417 MB / 464.8 MB, free: 7.711 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.789e-06/0.03681, allocations: 0 / 464.8 MB, free: 7.711 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.43e-06/0.03681, allocations: 3.984 kB / 464.8 MB, free: 7.707 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.666e-05/0.03686, allocations: 0 / 464.8 MB, free: 7.707 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.006411/0.04327, allocations: 3.734 MB / 468.6 MB, free: 3.898 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.04332, allocations: 8.031 kB / 468.6 MB, free: 3.891 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002104/0.04542, allocations: 0.893 MB / 469.5 MB, free: 2.996 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001857/0.04728, allocations: 1.653 MB / 471.1 MB, free: 1.277 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000386/0.04766, allocations: 0.7563 MB / 471.9 MB, free: 388 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001989/0.04786, allocations: 188 kB / 472.1 MB, free: 200 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2072/0.255, allocations: 1.701 MB / 473.8 MB, free: 66.8 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.584e-05/0.2551, allocations: 6.625 kB / 473.8 MB, free: 66.8 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001578/0.2552, allocations: 76.11 kB / 473.8 MB, free: 66.8 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.908e-05/0.2553, allocations: 42.81 kB / 473.9 MB, free: 66.8 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.2563, allocations: 0.6036 MB / 474.5 MB, free: 66.78 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.007238/0.2636, allocations: 6.832 MB / 481.3 MB, free: 63.96 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/0.2651, allocations: 0.8648 MB / 482.2 MB, free: 63.88 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003504/0.2654, allocations: 283 kB / 482.5 MB, free: 63.86 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001215/0.2656, allocations: 37.11 kB / 482.5 MB, free: 63.86 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007237/0.2663, allocations: 0.6179 MB / 483.1 MB, free: 63.72 MB / 442.7 MB Notification: Performance of pre-optimization done (n=148): time 3.085e-06/0.2663, allocations: 2.625 kB / 483.1 MB, free: 63.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=148): time 0.002836/0.2691, allocations: 1.474 MB / 484.6 MB, free: 63.51 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.021e-05/0.2692, allocations: 282.5 kB / 484.9 MB, free: 63.2 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001745/0.271, allocations: 1.743 MB / 486.6 MB, free: 62.86 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001215/0.2711, allocations: 62.44 kB / 486.7 MB, free: 62.83 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006861/0.2718, allocations: 1.147 MB / 487.8 MB, free: 62.48 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004256/0.2722, allocations: 0.5337 MB / 488.3 MB, free: 62.17 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000526/0.2727, allocations: 498.7 kB / 488.8 MB, free: 62.12 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.842e-05/0.2728, allocations: 480.4 kB / 489.3 MB, free: 61.66 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007059/0.2735, allocations: 463.3 kB / 489.8 MB, free: 61.6 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000907/0.2744, allocations: 1.123 MB / 490.9 MB, free: 60.85 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002127/0.2765, allocations: 1.925 MB / 492.8 MB, free: 60.27 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.325e-05/0.2765, allocations: 4.031 kB / 492.8 MB, free: 60.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=315) (initialization): time 0.002807/0.2793, allocations: 2.042 MB / 494.8 MB, free: 59.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.114e-05/0.2794, allocations: 59.47 kB / 494.9 MB, free: 59.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/0.2794, allocations: 5.25 kB / 494.9 MB, free: 59.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004779/0.2799, allocations: 230.4 kB / 495.1 MB, free: 59.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/0.2811, allocations: 0.4952 MB / 495.6 MB, free: 59.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/0.2828, allocations: 2.217 MB / 497.8 MB, free: 57.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.2841, allocations: 242.2 kB / 498.1 MB, free: 57.74 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/0.2843, allocations: 65.55 kB / 498.2 MB, free: 57.72 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.001336/0.2856, allocations: 0.7015 MB / 498.9 MB, free: 57.45 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008378/0.2864, allocations: 1.127 MB / 500 MB, free: 56.62 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002239/0.2887, allocations: 1.922 MB / 0.4901 GB, free: 55.69 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.013e-05/0.2887, allocations: 6.531 kB / 0.4901 GB, free: 55.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=315) (initialization_lambda0): time 0.003223/0.2919, allocations: 2.042 MB / 0.4921 GB, free: 55.02 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.474e-05/0.2919, allocations: 58.27 kB / 0.4922 GB, free: 54.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.292, allocations: 7.312 kB / 0.4922 GB, free: 54.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004669/0.2924, allocations: 232.6 kB / 0.4924 GB, free: 54.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/0.2938, allocations: 0.4951 MB / 0.4929 GB, free: 54.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001663/0.2954, allocations: 2.207 MB / 0.4951 GB, free: 53 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.2968, allocations: 218.5 kB / 0.4953 GB, free: 52.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001431/0.2969, allocations: 72.73 kB / 0.4953 GB, free: 52.87 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.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.regcA.rateLimFirstOrderFreeze2.local_freeze,BESS.regcA.rateLimFirstOrderFreeze1.local_freeze,line.switchOffSignal1,line.switchOffSignal2,BESS.injector.switchOffSignal1,BESS.injector.switchOffSignal2,BESS.injector.switchOffSignal3,$PRE.line.running,$PRE.BESS.regcA.offDelay.delaySignal,$PRE.BESS.regcA.offDelay.tNext,$PRE.BESS.injector.running,$PRE.BESS.LvTfo.running,BESS.regcA.QConv0PuPos.k,BESS.regcA.QConv0PuNeg.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) * 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.0006116/0.2975, allocations: 487.3 kB / 0.4958 GB, free: 52.53 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004393/0.298, allocations: 287 kB / 0.4961 GB, free: 52.38 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002105/0.3001, allocations: 1.22 MB / 0.4973 GB, free: 52.03 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/0.3001, allocations: 16.7 kB / 0.4973 GB, free: 52.03 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.3001, allocations: 2.312 kB / 0.4973 GB, free: 52.03 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.3001, allocations: 7.75 kB / 0.4973 GB, free: 52.03 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004464/0.3046, allocations: 2.986 MB / 0.5002 GB, free: 50.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.3046, allocations: 4.156 kB / 0.5002 GB, free: 50.74 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/0.3057, allocations: 320.1 kB / 0.5005 GB, free: 50.72 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005148/0.3062, allocations: 213.7 kB / 0.5007 GB, free: 50.68 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001215/0.3063, allocations: 41.17 kB / 0.5008 GB, free: 50.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00157/0.3079, allocations: 2.21 MB / 0.5029 GB, free: 48.73 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.3079, allocations: 3.656 kB / 0.5029 GB, free: 48.73 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00301/0.3109, allocations: 1.913 MB / 0.5048 GB, free: 47.88 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008304/0.3117, allocations: 456.3 kB / 0.5052 GB, free: 47.57 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002785/0.312, allocations: 45.39 kB / 0.5053 GB, free: 47.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007428/0.3127, allocations: 110.1 kB / 0.5054 GB, free: 47.52 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003094/0.313, allocations: 139 kB / 0.5055 GB, free: 47.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.81e-05/0.3131, allocations: 39.19 kB / 0.5055 GB, free: 47.48 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001294/0.3144, allocations: 0.9541 MB / 0.5065 GB, free: 47.24 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3144, allocations: 2.625 kB / 0.5065 GB, free: 47.24 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002976/0.3174, allocations: 1.034 MB / 0.5075 GB, free: 46.98 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.001114/0.3185, allocations: 446.5 kB / 0.5079 GB, free: 46.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005126/0.3236, allocations: 2.794 MB / 0.5106 GB, free: 45.89 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-05/0.3236, allocations: 0 / 0.5106 GB, free: 45.89 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001559/0.3252, allocations: 0.7113 MB / 0.5113 GB, free: 45.64 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00254/0.3277, allocations: 385.9 kB / 0.5117 GB, free: 45.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006795/0.3345, allocations: 3.857 MB / 0.5155 GB, free: 43.44 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004982/0.335, allocations: 404.7 kB / 0.5159 GB, free: 43.32 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001208/0.3362, allocations: 286.9 kB / 0.5161 GB, free: 43.26 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008509/0.3371, allocations: 447.7 kB / 0.5166 GB, free: 43.17 MB / 442.7 MB Notification: Performance of SimCode: time 2.765e-06/0.3371, allocations: 0 / 0.5166 GB, free: 43.17 MB / 442.7 MB Notification: Performance of Templates: time 0.04808/0.3852, allocations: 34.22 MB / 0.55 GB, free: 12.25 MB / 442.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","",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.691421184223145]