Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.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.001378/0.001378, allocations: 78.66 kB / 21.46 MB, free: 3.043 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.002245/0.002245, allocations: 164 kB / 24.86 MB, free: 8.77 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.8697/0.8697, allocations: 158.6 MB / 186.8 MB, free: 2.762 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo): time 0.3858/0.3858, allocations: 76.93 MB / 316.1 MB, free: 10.57 MB / 298.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.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.BESScbCurrentSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource") translateModel(Dynawo.Examples.BESS.WECC.BESScbCurrentSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 416.7 MB, free: 7.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.075e-05/2.211e-05, allocations: 2.312 kB / 416.7 MB, free: 7.727 MB / 394.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESScbCurrentSource): time 0.0122/0.01222, allocations: 10.87 MB / 427.5 MB, free: 12.79 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.009919/0.02214, allocations: 6.097 MB / 433.6 MB, free: 6.68 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002119/0.02426, allocations: 87.38 kB / 433.7 MB, free: 6.594 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:22:3-22:125:writable] Warning: Connector switchOffSignal3 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.001631/0.02589, allocations: 0.7246 MB / 434.4 MB, free: 5.863 MB / 410.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.002438/0.02833, allocations: 0.9503 MB / 435.4 MB, free: 4.906 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004152/0.03248, allocations: 2.799 MB / 438.2 MB, free: 2.102 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004481/0.03696, allocations: 4.39 MB / 442.6 MB, free: 13.7 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001705/0.03866, allocations: 1.028 MB / 443.6 MB, free: 12.6 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002159/0.04082, allocations: 1.484 MB / 445.1 MB, free: 11.11 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001287/0.04211, allocations: 1.257 MB / 446.3 MB, free: 9.852 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005069/0.04262, allocations: 468 kB / 446.8 MB, free: 9.395 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008457/0.04346, allocations: 0.6676 MB / 447.5 MB, free: 8.727 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005698/0.04403, allocations: 0.9614 MB / 448.4 MB, free: 7.762 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009834/0.04502, allocations: 1.141 MB / 449.6 MB, free: 6.617 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003567/0.04858, allocations: 3.028 MB / 452.6 MB, free: 3.578 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.04859, allocations: 0 / 452.6 MB, free: 3.578 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.04859, allocations: 0 / 452.6 MB, free: 3.578 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.331e-05/0.04863, allocations: 0 / 452.6 MB, free: 3.578 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 548 * Number of variables: 548 Notification: Performance of Generate backend data structure: time 0.005406/0.05404, allocations: 4.405 MB / 457 MB, free: 15.1 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.05407, allocations: 8.031 kB / 457 MB, free: 15.09 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002466/0.05654, allocations: 1.15 MB / 458.2 MB, free: 13.94 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002475/0.05901, allocations: 2.305 MB / 460.5 MB, free: 11.57 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003411/0.05935, allocations: 0.789 MB / 461.3 MB, free: 10.64 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002474/0.0596, allocations: 236.3 kB / 461.5 MB, free: 10.41 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002412/0.06201, allocations: 2.496 MB / 464 MB, free: 7.531 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.181e-05/0.06205, allocations: 3.938 kB / 464 MB, free: 7.527 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000143/0.06219, allocations: 92 kB / 464.1 MB, free: 7.438 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.85e-05/0.06222, allocations: 56 kB / 464.1 MB, free: 7.383 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/0.0634, allocations: 0.7943 MB / 464.9 MB, free: 6.539 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1842/0.2476, allocations: 9.313 MB / 474.2 MB, free: 75.02 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00201/0.2496, allocations: 1.068 MB / 475.3 MB, free: 74.95 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005354/0.2502, allocations: 363.4 kB / 475.7 MB, free: 74.91 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.173e-05/0.2502, allocations: 35.94 kB / 475.7 MB, free: 74.91 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008482/0.2511, allocations: 0.8009 MB / 476.5 MB, free: 74.61 MB / 442.7 MB Notification: Performance of pre-optimization done (n=176): time 4.318e-06/0.2511, allocations: 4.094 kB / 476.5 MB, free: 74.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=176): time 0.003442/0.2545, allocations: 1.83 MB / 478.3 MB, free: 74.42 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.269e-05/0.2546, allocations: 0.5151 MB / 478.8 MB, free: 73.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001942/0.2566, allocations: 2.066 MB / 480.9 MB, free: 73.48 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001421/0.2567, allocations: 63.86 kB / 481 MB, free: 73.45 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008903/0.2576, allocations: 1.518 MB / 482.5 MB, free: 73.19 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003775/0.258, allocations: 0.6123 MB / 483.1 MB, free: 72.87 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004363/0.2584, allocations: 368.2 kB / 483.5 MB, free: 72.83 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.404e-05/0.2585, allocations: 484.7 kB / 483.9 MB, free: 72.36 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004445/0.2589, allocations: 291.4 kB / 484.2 MB, free: 72.31 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007007/0.2596, allocations: 1.323 MB / 485.5 MB, free: 71.06 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001579/0.2612, allocations: 1.543 MB / 487.1 MB, free: 70.38 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-05/0.2612, allocations: 2.875 kB / 487.1 MB, free: 70.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=243) (initialization): time 0.002618/0.2638, allocations: 1.699 MB / 488.8 MB, free: 70.05 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.162e-05/0.2639, allocations: 39.33 kB / 488.8 MB, free: 70.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/0.2639, allocations: 8.781 kB / 488.8 MB, free: 70.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002653/0.2641, allocations: 216.9 kB / 489 MB, free: 70.01 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.2653, allocations: 448.9 kB / 489.5 MB, free: 70.01 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.792e-05/0.2654, allocations: 27.17 kB / 489.5 MB, free: 70.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.2664, allocations: 239.7 kB / 489.7 MB, free: 69.94 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.2666, allocations: 61.75 kB / 489.8 MB, free: 69.94 MB / 442.7 MB Warning: Assuming fixed start value for the following 21 variables: 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) BESScb.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESScb.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESScb.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESScb.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESScb.reecC.firstOrder.y:VARIABLE(flow=false start = BESScb.reecC.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.firstOrder1.y:VARIABLE(flow=false start = BESScb.reecC.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.limPIDFreeze.I.y:VARIABLE(flow=false start = BESScb.reecC.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESScb.reecC.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESScb.reecC.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESScb.reecC.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.regcBCS.firstOrder.y:VARIABLE(flow=false start = BESScb.regcBCS.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESScb.regcBCS.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESScb.regcBCS.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.regcBCS.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESScb.regcBCS.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.injector.running.value:DISCRETE(flow=false start = BESScb.injector.Running0 fixed = true ) type: Boolean BESScb.line.running.value:DISCRETE(flow=false start = BESScb.line.Running0 fixed = true ) type: Boolean BESScb.repcA.firstOrder.y:VARIABLE(flow=false start = BESScb.repcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.firstOrder1.y:VARIABLE(flow=false start = BESScb.repcA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.firstOrder2.y:VARIABLE(flow=false start = BESScb.repcA.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.firstOrder3.y:VARIABLE(flow=false start = BESScb.repcA.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.limPIDFreeze.I.y:VARIABLE(flow=false start = BESScb.repcA.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.leadLag.x_scaled[1]:VARIABLE(start = BESScb.repcA.leadLag.a_end * BESScb.repcA.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001184/0.2677, allocations: 0.5427 MB / 490.4 MB, free: 69.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000685/0.2684, allocations: 1.311 MB / 491.7 MB, free: 68.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001539/0.27, allocations: 1.522 MB / 493.2 MB, free: 67.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.809e-06/0.27, allocations: 2.812 kB / 493.2 MB, free: 67.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=243) (initialization_lambda0): time 0.002568/0.2725, allocations: 1.689 MB / 494.9 MB, free: 67.47 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.007e-05/0.2726, allocations: 40.17 kB / 494.9 MB, free: 67.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.2726, allocations: 14.8 kB / 494.9 MB, free: 67.44 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002257/0.2728, allocations: 213.8 kB / 495.1 MB, free: 67.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/0.2739, allocations: 438.5 kB / 495.6 MB, free: 67.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.594e-05/0.274, allocations: 29.75 kB / 495.6 MB, free: 67.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.2751, allocations: 236.4 kB / 495.8 MB, free: 67.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-05/0.2752, allocations: 58.94 kB / 495.9 MB, free: 67.34 MB / 442.7 MB Warning: Assuming fixed start value for the following 21 variables: 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) BESScb.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESScb.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESScb.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESScb.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESScb.reecC.firstOrder.y:VARIABLE(flow=false start = BESScb.reecC.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.firstOrder1.y:VARIABLE(flow=false start = BESScb.reecC.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.limPIDFreeze.I.y:VARIABLE(flow=false start = BESScb.reecC.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESScb.reecC.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESScb.reecC.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESScb.reecC.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.regcBCS.firstOrder.y:VARIABLE(flow=false start = BESScb.regcBCS.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESScb.regcBCS.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESScb.regcBCS.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.regcBCS.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESScb.regcBCS.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.injector.running.value:DISCRETE(flow=false start = BESScb.injector.Running0 fixed = true ) type: Boolean BESScb.line.running.value:DISCRETE(flow=false start = BESScb.line.Running0 fixed = true ) type: Boolean BESScb.repcA.firstOrder.y:VARIABLE(flow=false start = BESScb.repcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.firstOrder1.y:VARIABLE(flow=false start = BESScb.repcA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.firstOrder2.y:VARIABLE(flow=false start = BESScb.repcA.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.firstOrder3.y:VARIABLE(flow=false start = BESScb.repcA.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.limPIDFreeze.I.y:VARIABLE(flow=false start = BESScb.repcA.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.leadLag.x_scaled[1]:VARIABLE(start = BESScb.repcA.leadLag.a_end * BESScb.repcA.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 42 ($PRE.line.state,line.state,$PRE.BESScb.line.state,BESScb.line.state,$PRE.BESScb.injector.state,BESScb.injector.state,BESScb.reecC.limPIDFreeze.I.resetLocal,BESScb.reecC.varLimPIDFreeze.I.resetLocal,BESScb.reecC.integrator.local_reset,BESScb.pll.integrator.local_reset,BESScb.pll.limIntegrator.local_reset,BESScb.repcA.limPID.I.local_reset,BESScb.repcA.limPIDFreeze.I.resetLocal,$PRE.BESScb.injector.running.value,$PRE.BESScb.line.running.value,$PRE.line.running.value,line.running.value,BESScb.repcA.freeze,BESScb.line.running.value,BESScb.injector.running.value,BESScb.regcBCS.offDelay.tNext,BESScb.regcBCS.offDelay.delaySignal,BESScb.regcBCS.offDelay.y,BESScb.reecC.frtOn,$whenCondition11,$whenCondition10,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition9,BESScb.regcBCS.rateLimFirstOrderFreeze.local_freeze,BESScb.regcBCS.rateLimFirstOrderFreeze1.local_freeze,line.switchOffSignal1.value,line.switchOffSignal2.value,BESScb.injector.switchOffSignal1.value,BESScb.injector.switchOffSignal2.value,BESScb.injector.switchOffSignal3.value) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (233): * Single equations (assignments): 231 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(8,56.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005861/0.2758, allocations: 0.5228 MB / 496.4 MB, free: 67.01 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004704/0.2762, allocations: 370.4 kB / 496.8 MB, free: 66.85 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002437/0.2787, allocations: 1.557 MB / 498.3 MB, free: 66.64 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/0.2787, allocations: 15.91 kB / 498.3 MB, free: 66.64 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.2787, allocations: 1.688 kB / 498.3 MB, free: 66.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.2787, allocations: 10.64 kB / 498.4 MB, free: 66.64 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005418/0.2841, allocations: 3.704 MB / 0.4903 GB, free: 66.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.2841, allocations: 4.453 kB / 0.4903 GB, free: 66.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/0.2854, allocations: 381.3 kB / 0.4907 GB, free: 66.15 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002394/0.2856, allocations: 194.2 kB / 0.4908 GB, free: 66.12 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001171/0.2857, allocations: 47.94 kB / 0.4909 GB, free: 66.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.226e-06/0.2857, allocations: 5.344 kB / 0.4909 GB, free: 66.12 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.2857, allocations: 5.656 kB / 0.4909 GB, free: 66.12 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003499/0.2892, allocations: 2.153 MB / 0.493 GB, free: 65.55 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009996/0.2902, allocations: 0.586 MB / 0.4936 GB, free: 65.37 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003196/0.2905, allocations: 53.08 kB / 0.4936 GB, free: 65.37 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007683/0.2913, allocations: 141.1 kB / 0.4938 GB, free: 65.37 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002522/0.2916, allocations: 143.1 kB / 0.4939 GB, free: 65.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.92e-05/0.2916, allocations: 47.47 kB / 0.4939 GB, free: 65.37 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001514/0.2932, allocations: 1.152 MB / 0.4951 GB, free: 65.18 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2932, allocations: 0 / 0.4951 GB, free: 65.18 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002325/0.2955, allocations: 1.057 MB / 0.4961 GB, free: 64.89 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (BESScb.reecC.firstOrder.y,BESScb.reecC.firstOrder1.y,BESScb.reecC.limPIDFreeze.I.y,BESScb.reecC.varLimPIDFreeze.I.y,BESScb.reecC.rateLimFirstOrderFreeze1.y,BESScb.reecC.slewRateLimiter.y,BESScb.reecC.rateLimFirstOrderFreeze.y,BESScb.reecC.integrator.y,BESScb.regcBCS.firstOrder.y,BESScb.regcBCS.rateLimFirstOrderFreeze.y,BESScb.regcBCS.rateLimFirstOrderFreeze1.y,BESScb.pll.integrator.y,BESScb.pll.limIntegrator.y,BESScb.repcA.firstOrder.y,BESScb.repcA.limPID.I.y,BESScb.repcA.firstOrder1.y,BESScb.repcA.firstOrder2.y,BESScb.repcA.firstOrder3.y,BESScb.repcA.limPIDFreeze.I.y,BESScb.repcA.leadLag.x_scaled[1]) * Number of discrete variables: 22 ($whenCondition9,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,$whenCondition10,$whenCondition11,BESScb.reecC.frtOn,BESScb.regcBCS.offDelay.y,BESScb.regcBCS.offDelay.delaySignal,BESScb.regcBCS.offDelay.tNext,BESScb.injector.running.value,BESScb.injector.state,BESScb.line.running.value,BESScb.line.state,BESScb.repcA.freeze,line.running.value,line.state) * Number of discrete states: 7 (line.running.value,BESScb.line.running.value,BESScb.injector.running.value,BESScb.regcBCS.offDelay.tNext,BESScb.regcBCS.offDelay.delaySignal,$whenCondition11,$whenCondition10) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(8,56.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009339/0.2964, allocations: 466.1 kB / 0.4965 GB, free: 64.71 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002985/0.2994, allocations: 1.919 MB / 0.4984 GB, free: 64.29 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.2994, allocations: 1.094 kB / 0.4984 GB, free: 64.29 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008847/0.3003, allocations: 0.6986 MB / 0.4991 GB, free: 64.12 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001557/0.3019, allocations: 0.5353 MB / 0.4996 GB, free: 63.93 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006167/0.308, allocations: 4.697 MB / 0.5042 GB, free: 61.51 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004186/0.3084, allocations: 468 kB / 0.5047 GB, free: 61.39 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001191/0.3096, allocations: 326.9 kB / 0.505 GB, free: 61.33 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001157/0.3108, allocations: 0.5838 MB / 0.5055 GB, free: 61.25 MB / 442.7 MB Notification: Performance of SimCode: time 1.373e-06/0.3108, allocations: 2.906 kB / 0.5055 GB, free: 61.25 MB / 442.7 MB Notification: Performance of Templates: time 0.04508/0.3559, allocations: 39.8 MB / 0.5444 GB, free: 30.14 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.makefile [Timeout 660] (rm -f Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.pipe ; mkfifo Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.pipe >> ../files/Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.sim & ./Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource -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.BESScbCurrentSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.206549488939345]