Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_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.001284/0.001284, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002173/0.003457, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.000992/0.000992, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001485/0.002477, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9462/0.9462, allocations: 158.6 MB / 171.2 MB, free: 2.516 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.158/1.104, allocations: 49.5 MB / 220.6 MB, free: 1.367 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/package.mo): time 0.4683/0.4683, allocations: 90.85 MB / 312.3 MB, free: 14.09 MB / 314.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06113/0.5294, allocations: 32.14 MB / 344.4 MB, free: 14.34 MB / 346.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/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="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC") translateModel(Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 346 MB, free: 12.79 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.314e-05, allocations: 2.312 kB / 346 MB, free: 12.79 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC): time 0.009076/0.009099, allocations: 9.697 MB / 355.7 MB, free: 3.047 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01004/0.01914, allocations: 5.224 MB / 360.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00273/0.02187, allocations: 55.62 kB / 360.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001891/0.02376, allocations: 0.6204 MB / 361.6 MB, free: 13.14 MB / 362.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.003494/0.02726, allocations: 0.9665 MB / 362.5 MB, free: 12.16 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/Electrical/Controls/WECC/BaseClasses_INIT/WECCInverterCurrentSource_INIT.mo:69:3-69:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wt4CurrentSource_INIT.s0Pu) == 0.0, == on Real operands is not allowed in non-function contexts. Use --allowNonStandardModelica=realEquality to ignore this error. [Non-standard Modelica: --allowNonStandardModelica=realEquality] Notification: Performance of NFTyping.typeClassSections: time 0.003936/0.03119, allocations: 1.949 MB / 364.5 MB, free: 10.21 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004589/0.03578, allocations: 3.181 MB / 367.6 MB, free: 7.02 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001387/0.03717, allocations: 0.722 MB / 368.4 MB, free: 6.234 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002958/0.04013, allocations: 2.11 MB / 370.5 MB, free: 4.07 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001529/0.04166, allocations: 0.9928 MB / 371.5 MB, free: 3.074 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00065/0.04231, allocations: 332 kB / 371.8 MB, free: 2.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001132/0.04344, allocations: 0.6051 MB / 372.4 MB, free: 2.145 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005276/0.04397, allocations: 0.5569 MB / 373 MB, free: 1.586 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008962/0.04486, allocations: 0.6975 MB / 373.7 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003401/0.04826, allocations: 2.183 MB / 375.8 MB, free: 14.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.551e-05/0.04828, allocations: 0 / 375.8 MB, free: 14.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.04828, allocations: 4 kB / 375.8 MB, free: 14.69 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.421e-05/0.04835, allocations: 0 / 375.8 MB, free: 14.69 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 433 * Number of variables: 433 Notification: Performance of Generate backend data structure: time 0.007663/0.05602, allocations: 4.028 MB / 379.9 MB, free: 10.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.05606, allocations: 12.03 kB / 379.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002913/0.05897, allocations: 0.8359 MB / 380.7 MB, free: 9.738 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002148/0.06112, allocations: 1.085 MB / 381.8 MB, free: 8.594 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004604/0.06158, allocations: 0.7486 MB / 382.6 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002681/0.06185, allocations: 184 kB / 382.7 MB, free: 7.523 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002553/0.0644, allocations: 1.675 MB / 384.4 MB, free: 5.695 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/0.06443, allocations: 0 / 384.4 MB, free: 5.695 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.06453, allocations: 79.98 kB / 384.5 MB, free: 5.617 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.387e-05/0.06455, allocations: 40 kB / 384.5 MB, free: 5.578 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008433/0.0654, allocations: 0.5363 MB / 385.1 MB, free: 5.031 MB / 378.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.005163/0.07056, allocations: 4.801 MB / 389.9 MB, free: 112 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/0.07167, allocations: 0.7856 MB / 390.6 MB, free: 15.31 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002851/0.07195, allocations: 244.6 kB / 390.9 MB, free: 15.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001287/0.07208, allocations: 40.98 kB / 390.9 MB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005891/0.07267, allocations: 0.6053 MB / 391.5 MB, free: 14.39 MB / 394.7 MB Notification: Performance of pre-optimization done (n=147): time 2.434e-06/0.07268, allocations: 0 / 391.5 MB, free: 14.39 MB / 394.7 MB Notification: Performance of matching and sorting (n=147): time 0.001809/0.07448, allocations: 1.128 MB / 392.7 MB, free: 13.26 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.07453, allocations: 106.3 kB / 392.8 MB, free: 13.14 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.07563, allocations: 1.545 MB / 394.3 MB, free: 11.55 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.77e-05/0.07571, allocations: 61.7 kB / 394.4 MB, free: 11.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003538/0.07606, allocations: 0.7423 MB / 395.1 MB, free: 10.73 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002871/0.07635, allocations: 0.5269 MB / 395.6 MB, free: 10.2 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004168/0.07677, allocations: 468.3 kB / 396.1 MB, free: 9.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.258e-05/0.07683, allocations: 309 kB / 396.4 MB, free: 9.426 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006291/0.07746, allocations: 452 kB / 396.8 MB, free: 8.969 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008303/0.07829, allocations: 0.9995 MB / 397.8 MB, free: 7.789 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00208/0.08037, allocations: 1.993 MB / 399.8 MB, free: 5.633 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/0.08038, allocations: 4 kB / 399.8 MB, free: 5.629 MB / 394.7 MB Notification: Performance of matching and sorting (n=314) (initialization): time 0.00273/0.08311, allocations: 1.691 MB / 401.5 MB, free: 3.887 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.674e-05/0.08318, allocations: 57.67 kB / 401.6 MB, free: 3.824 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.08319, allocations: 11.98 kB / 401.6 MB, free: 3.812 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005204/0.08371, allocations: 216.6 kB / 401.8 MB, free: 3.598 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001776/0.08549, allocations: 0.5813 MB / 402.4 MB, free: 3.016 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001597/0.08708, allocations: 1.617 MB / 404 MB, free: 1.312 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.08815, allocations: 238.7 kB / 404.2 MB, free: 1.078 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/0.08827, allocations: 63.98 kB / 404.3 MB, free: 1.016 MB / 394.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.001185/0.08945, allocations: 0.6617 MB / 405 MB, free: 360 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009025/0.09036, allocations: 0.9947 MB / 406 MB, free: 15.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002102/0.09246, allocations: 1.974 MB / 407.9 MB, free: 13.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.091e-05/0.09247, allocations: 7.938 kB / 407.9 MB, free: 13.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=314) (initialization_lambda0): time 0.002353/0.09482, allocations: 1.699 MB / 409.6 MB, free: 11.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.736e-05/0.09487, allocations: 61.61 kB / 409.7 MB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.09488, allocations: 8 kB / 409.7 MB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004063/0.09529, allocations: 212.7 kB / 409.9 MB, free: 11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001887/0.09717, allocations: 0.5812 MB / 410.5 MB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001434/0.09861, allocations: 1.617 MB / 412.1 MB, free: 8.719 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009401/0.09955, allocations: 226.9 kB / 412.3 MB, free: 8.496 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.623e-05/0.09963, allocations: 63.98 kB / 412.4 MB, free: 8.434 MB / 410.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 (288): * Single equations (assignments): 286 * 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.0004562/0.1001, allocations: 400.6 kB / 412.8 MB, free: 8.039 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002294/0.1003, allocations: 179.8 kB / 413 MB, free: 7.863 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/0.1017, allocations: 0.999 MB / 414 MB, free: 6.852 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.1017, allocations: 16 kB / 414 MB, free: 6.836 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1017, allocations: 4 kB / 414 MB, free: 6.832 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/0.1017, allocations: 7.969 kB / 414 MB, free: 6.824 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002865/0.1046, allocations: 2.26 MB / 416.2 MB, free: 4.492 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/0.1046, allocations: 4 kB / 416.3 MB, free: 4.488 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009695/0.1056, allocations: 355.9 kB / 416.6 MB, free: 4.141 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004621/0.106, allocations: 242.2 kB / 416.8 MB, free: 3.902 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003509/0.1064, allocations: 204.6 kB / 417 MB, free: 3.699 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.057e-05/0.1065, allocations: 35.98 kB / 417.1 MB, free: 3.664 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001311/0.1078, allocations: 1.61 MB / 418.7 MB, free: 1.961 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.1078, allocations: 7.938 kB / 418.7 MB, free: 1.953 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001776/0.1095, allocations: 1.472 MB / 420.2 MB, free: 428 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/0.1097, allocations: 47.98 kB / 420.2 MB, free: 380 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005233/0.1103, allocations: 99.91 kB / 420.3 MB, free: 280 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002007/0.1105, allocations: 140.9 kB / 420.4 MB, free: 140 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.038e-05/0.1105, allocations: 39.98 kB / 420.5 MB, free: 100 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007405/0.1113, allocations: 0.7858 MB / 421.3 MB, free: 15.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1113, allocations: 4 kB / 421.3 MB, free: 15.28 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001703/0.113, allocations: 1.025 MB / 422.3 MB, free: 14.25 MB / 426.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 (146): * Single equations (assignments): 137 * 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.001296/0.1143, allocations: 0.5692 MB / 422.9 MB, free: 13.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003315/0.1176, allocations: 2.644 MB / 425.5 MB, free: 11.19 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.289e-05/0.1176, allocations: 39.05 kB / 425.5 MB, free: 11.15 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008231/0.1184, allocations: 0.6897 MB / 426.2 MB, free: 10.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/0.12, allocations: 1.506 MB / 427.7 MB, free: 8.738 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005267/0.1252, allocations: 3.867 MB / 431.6 MB, free: 4.781 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.1255, allocations: 396.2 kB / 432 MB, free: 4.367 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008794/0.1264, allocations: 282 kB / 432.3 MB, free: 4.086 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006652/0.1271, allocations: 393.2 kB / 432.7 MB, free: 3.699 MB / 426.7 MB Notification: Performance of SimCode: time 1.643e-06/0.1271, allocations: 0 / 432.7 MB, free: 3.699 MB / 426.7 MB Notification: Performance of Templates: time 0.1827/0.3098, allocations: 33.4 MB / 466.1 MB, free: 74.38 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.makefile [Timeout 660] (rm -f Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.pipe ; mkfifo Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.pipe >> ../files/Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.sim & ./Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9906727839261293]