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.001019/0.001019, allocations: 91.55 kB / 20.97 MB, free: 3.582 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.0009227/0.0009227, allocations: 177 kB / 24.27 MB, free: 280 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9216/0.9216, allocations: 158.6 MB / 186.1 MB, free: 2.922 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.4494/0.4494, allocations: 90.57 MB / 328.9 MB, free: 14.71 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.824e-06/1.824e-06, allocations: 0 / 433.7 MB, free: 6.352 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.729e-05/3.911e-05, allocations: 6.25 kB / 433.7 MB, free: 6.344 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS): time 0.01492/0.01496, allocations: 14.99 MB / 448.7 MB, free: 7.27 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01079/0.02575, allocations: 6.991 MB / 455.7 MB, free: 268 kB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003007/0.02876, allocations: 99.31 kB / 455.8 MB, free: 168 kB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002419/0.03117, allocations: 0.9418 MB / 456.7 MB, free: 15.21 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.004409/0.03558, allocations: 1.479 MB / 458.2 MB, free: 13.73 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:112:3-112:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wTG4CurrentSource_INIT.s0Pu) == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.005507/0.04109, allocations: 3.368 MB / 461.5 MB, free: 10.35 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.007109/0.0482, allocations: 5.566 MB / 467.1 MB, free: 4.773 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002491/0.05069, allocations: 1.226 MB / 468.3 MB, free: 3.473 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002572/0.05326, allocations: 1.904 MB / 470.2 MB, free: 1.562 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2022/0.2554, allocations: 1.683 MB / 471.9 MB, free: 57.81 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001585/0.257, allocations: 0.5648 MB / 472.5 MB, free: 57.81 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001536/0.2586, allocations: 0.9026 MB / 473.4 MB, free: 57.81 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007253/0.2593, allocations: 1.228 MB / 474.6 MB, free: 57.81 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001988/0.2613, allocations: 1.478 MB / 476.1 MB, free: 57.81 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005116/0.2664, allocations: 3.914 MB / 480 MB, free: 57.54 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.2664, allocations: 6.109 kB / 480 MB, free: 57.54 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2664, allocations: 0 / 480 MB, free: 57.54 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001561/0.2666, allocations: 0 / 480 MB, free: 57.54 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.01154/0.2781, allocations: 6.084 MB / 486.1 MB, free: 55.22 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.2781, allocations: 12.06 kB / 486.1 MB, free: 55.22 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005092/0.2832, allocations: 1.678 MB / 487.8 MB, free: 54.93 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004088/0.2873, allocations: 2.722 MB / 490.5 MB, free: 54.21 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004137/0.2877, allocations: 1.094 MB / 491.6 MB, free: 53.2 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004218/0.2882, allocations: 317.9 kB / 491.9 MB, free: 53.19 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003981/0.2921, allocations: 3.142 MB / 495.1 MB, free: 51.73 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.588e-05/0.2922, allocations: 6.188 kB / 495.1 MB, free: 51.73 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002094/0.2924, allocations: 124 kB / 495.2 MB, free: 51.64 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.474e-05/0.2924, allocations: 73.41 kB / 495.3 MB, free: 51.64 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002599/0.295, allocations: 1.35 MB / 496.6 MB, free: 51.43 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.01264/0.3077, allocations: 11.46 MB / 0.4962 GB, free: 43.93 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003038/0.3107, allocations: 1.611 MB / 0.4977 GB, free: 43.54 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001062/0.3118, allocations: 0.5863 MB / 0.4983 GB, free: 43.42 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002037/0.312, allocations: 59.06 kB / 0.4984 GB, free: 43.41 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001753/0.3137, allocations: 1.1 MB / 0.4994 GB, free: 43.05 MB / 442.7 MB Notification: Performance of pre-optimization done (n=264): time 8.526e-06/0.3137, allocations: 0 / 0.4994 GB, free: 43.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=264): time 0.006889/0.3206, allocations: 2.864 MB / 0.5022 GB, free: 42.35 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/0.3208, allocations: 0.4913 MB / 0.5027 GB, free: 41.78 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004467/0.3252, allocations: 2.716 MB / 0.5054 GB, free: 40.8 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004058/0.3256, allocations: 85.48 kB / 0.5054 GB, free: 40.73 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001254/0.3269, allocations: 1.746 MB / 0.5071 GB, free: 39.38 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009621/0.3279, allocations: 0.9388 MB / 0.5081 GB, free: 38.65 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001262/0.3291, allocations: 0.7437 MB / 0.5088 GB, free: 38.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.166e-05/0.3292, allocations: 478.8 kB / 0.5092 GB, free: 37.83 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001564/0.3307, allocations: 0.7966 MB / 0.51 GB, free: 37.67 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00192/0.3326, allocations: 1.942 MB / 0.5119 GB, free: 36.24 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005111/0.3377, allocations: 3.24 MB / 0.5151 GB, free: 34.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.098e-05/0.3378, allocations: 3.125 kB / 0.5151 GB, free: 34.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007802/0.3456, allocations: 3.435 MB / 0.5184 GB, free: 33.83 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.658e-05/0.3457, allocations: 70.22 kB / 0.5185 GB, free: 33.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-05/0.3457, allocations: 12.81 kB / 0.5185 GB, free: 33.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001261/0.3469, allocations: 419.2 kB / 0.5189 GB, free: 33.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003213/0.3502, allocations: 0.7767 MB / 0.5197 GB, free: 33.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003853/0.354, allocations: 2.753 MB / 0.5224 GB, free: 31.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00316/0.3572, allocations: 374.4 kB / 0.5227 GB, free: 31.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004359/0.3576, allocations: 140.3 kB / 0.5229 GB, free: 31.26 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.002945/0.3606, allocations: 1.095 MB / 0.5239 GB, free: 30.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001882/0.3624, allocations: 1.933 MB / 0.5258 GB, free: 29.34 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00379/0.3662, allocations: 3.222 MB / 0.529 GB, free: 26.14 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.609e-05/0.3662, allocations: 6.953 kB / 0.529 GB, free: 26.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=508) (initialization_lambda0): time 0.005276/0.3715, allocations: 3.415 MB / 0.5323 GB, free: 23.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.709e-05/0.3716, allocations: 64.58 kB / 0.5324 GB, free: 23.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.3716, allocations: 12 kB / 0.5324 GB, free: 23.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007796/0.3724, allocations: 431.1 kB / 0.5328 GB, free: 22.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00177/0.3741, allocations: 0.7683 MB / 0.5335 GB, free: 22.06 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002667/0.3768, allocations: 2.745 MB / 0.5362 GB, free: 19.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002243/0.3791, allocations: 361.3 kB / 0.5366 GB, free: 19.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001881/0.3792, allocations: 131.5 kB / 0.5367 GB, free: 18.95 MB / 442.7 MB Warning: Assuming fixed start value for the following 28 variables: Zcc.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Zcc.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) ZPcs.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = ZPcs.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.reecC.firstOrder.y:VARIABLE(flow=false start = BESS.reecC.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.firstOrder1.y:VARIABLE(flow=false start = BESS.reecC.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.firstOrder.y:VARIABLE(flow=false start = BESS.regcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean BESS.regcA.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real BESS.injector.running:DISCRETE(flow=false start = BESS.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.LvTfo.running:DISCRETE(flow=false start = BESS.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.HvTfo.running:DISCRETE(flow=false start = BESS.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.repcA.firstOrder.y:VARIABLE(flow=false start = BESS.repcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder1.y:VARIABLE(flow=false start = BESS.repcA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder2.y:VARIABLE(flow=false start = BESS.repcA.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder3.y:VARIABLE(flow=false start = BESS.repcA.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.repcA.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.leadLag.x_scaled[1]:VARIABLE(start = BESS.repcA.leadLag.X0[1] * BESS.repcA.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] ZPcs.running:DISCRETE(flow=false start = ZPcs.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Zcc.running:DISCRETE(flow=false start = Zcc.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.regcA.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.Zcc.state,Zcc.state,$PRE.ZPcs.state,ZPcs.state,$PRE.BESS.HvTfo.state,BESS.HvTfo.state,$PRE.BESS.LvTfo.state,BESS.LvTfo.state,$PRE.BESS.injector.state,BESS.injector.state,BESS.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.0008388/0.3801, allocations: 0.6187 MB / 0.5373 GB, free: 18.42 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007441/0.3808, allocations: 471.2 kB / 0.5377 GB, free: 17.96 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003447/0.3843, allocations: 2.266 MB / 0.54 GB, free: 15.87 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.3843, allocations: 28 kB / 0.54 GB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.3843, allocations: 4 kB / 0.54 GB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.659e-05/0.3843, allocations: 23.88 kB / 0.54 GB, free: 15.81 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007096/0.3914, allocations: 5.546 MB / 0.5454 GB, free: 10.26 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.749e-06/0.3914, allocations: 8 kB / 0.5454 GB, free: 10.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001489/0.3929, allocations: 0.492 MB / 0.5459 GB, free: 9.785 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007625/0.3937, allocations: 410.8 kB / 0.5463 GB, free: 9.383 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001602/0.3938, allocations: 67.97 kB / 0.5464 GB, free: 9.316 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002529/0.3964, allocations: 2.728 MB / 0.549 GB, free: 6.473 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.3964, allocations: 8 kB / 0.549 GB, free: 6.465 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004979/0.4013, allocations: 3.412 MB / 0.5524 GB, free: 2.871 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001396/0.4027, allocations: 0.7584 MB / 0.5531 GB, free: 2.109 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004073/0.4031, allocations: 67.98 kB / 0.5532 GB, free: 2.043 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.4042, allocations: 167.8 kB / 0.5533 GB, free: 1.879 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003723/0.4046, allocations: 224.9 kB / 0.5536 GB, free: 1.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/0.4047, allocations: 91.97 kB / 0.5536 GB, free: 1.57 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001839/0.4065, allocations: 1.567 MB / 0.5552 GB, free: 16 kB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4065, allocations: 0 / 0.5552 GB, free: 16 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.003969/0.4105, allocations: 1.715 MB / 0.5568 GB, free: 14.3 MB / 458.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.001219/0.4117, allocations: 0.4897 MB / 0.5573 GB, free: 14 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007641/0.4194, allocations: 4.543 MB / 0.5618 GB, free: 9.512 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/0.4194, allocations: 1.125 kB / 0.5618 GB, free: 9.512 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002036/0.4214, allocations: 1.241 MB / 0.563 GB, free: 8.301 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002618/0.424, allocations: 0.6411 MB / 0.5636 GB, free: 7.688 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/0.4355, allocations: 6.317 MB / 0.5698 GB, free: 1.246 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007731/0.4363, allocations: 0.6143 MB / 0.5704 GB, free: 0.6133 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002573/0.4388, allocations: 482.7 kB / 0.5708 GB, free: 140 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007527/0.4396, allocations: 228.4 kB / 0.5711 GB, free: 15.91 MB / 474.7 MB Notification: Performance of SimCode: time 4.117e-06/0.4396, allocations: 0 / 0.5711 GB, free: 15.91 MB / 474.7 MB Notification: Performance of Templates: time 0.07398/0.5136, allocations: 51.36 MB / 0.6212 GB, free: 12.96 MB / 0.5105 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.196896456880495]