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.001062/0.001062, allocations: 87.56 kB / 20.45 MB, free: 4.129 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.001146/0.001146, allocations: 165 kB / 23.82 MB, free: 0.7578 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.8893/0.8893, allocations: 158.6 MB / 185.7 MB, free: 2.934 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.4082/0.4082, allocations: 76.91 MB / 315 MB, free: 10.73 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 2.384e-06/2.384e-06, allocations: 0 / 415.4 MB, free: 8.074 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.391e-05/3.63e-05, allocations: 2.312 kB / 415.4 MB, free: 8.07 MB / 394.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESScbCurrentSource): time 0.01107/0.0111, allocations: 11.28 MB / 426.6 MB, free: 12.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.009388/0.02049, allocations: 6.14 MB / 432.8 MB, free: 6.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002452/0.02294, allocations: 91.31 kB / 432.9 MB, free: 6.48 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.001747/0.02469, allocations: 0.7285 MB / 433.6 MB, free: 5.746 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.002948/0.02764, allocations: 0.9425 MB / 434.5 MB, free: 4.797 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004973/0.03261, allocations: 2.819 MB / 437.4 MB, free: 1.973 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005223/0.03783, allocations: 4.379 MB / 441.7 MB, free: 13.58 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002074/0.03991, allocations: 1.031 MB / 442.8 MB, free: 12.48 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002565/0.04247, allocations: 1.488 MB / 444.3 MB, free: 10.98 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001669/0.04414, allocations: 1.254 MB / 445.5 MB, free: 9.727 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007657/0.04491, allocations: 468 kB / 446 MB, free: 9.27 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008917/0.0458, allocations: 0.6637 MB / 446.6 MB, free: 8.605 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005245/0.04632, allocations: 0.9692 MB / 447.6 MB, free: 7.633 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009459/0.04727, allocations: 1.141 MB / 448.7 MB, free: 6.488 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004405/0.05167, allocations: 3.032 MB / 451.8 MB, free: 3.445 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.05168, allocations: 0 / 451.8 MB, free: 3.445 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.05168, allocations: 0 / 451.8 MB, free: 3.445 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.039e-05/0.05173, allocations: 0 / 451.8 MB, free: 3.445 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.005829/0.05756, allocations: 4.37 MB / 456.1 MB, free: 15 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.0576, allocations: 8.031 kB / 456.2 MB, free: 15 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002635/0.06023, allocations: 1.15 MB / 457.3 MB, free: 13.84 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003426/0.06366, allocations: 2.356 MB / 459.7 MB, free: 11.43 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004306/0.06409, allocations: 0.7929 MB / 460.5 MB, free: 10.49 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002791/0.06437, allocations: 232.3 kB / 460.7 MB, free: 10.27 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00317/0.06754, allocations: 2.641 MB / 463.3 MB, free: 7.242 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.827e-05/0.06757, allocations: 4 kB / 463.3 MB, free: 7.238 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001421/0.06771, allocations: 99.98 kB / 463.4 MB, free: 7.141 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.282e-05/0.06774, allocations: 56 kB / 463.5 MB, free: 7.086 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00178/0.06952, allocations: 0.9814 MB / 464.5 MB, free: 6.07 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.201/0.2705, allocations: 9.681 MB / 474.1 MB, free: 73.81 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00233/0.2728, allocations: 1.181 MB / 475.3 MB, free: 73.74 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006773/0.2735, allocations: 437.1 kB / 475.7 MB, free: 73.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/0.2736, allocations: 39.14 kB / 475.8 MB, free: 73.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001045/0.2746, allocations: 0.8656 MB / 476.7 MB, free: 73.4 MB / 442.7 MB Notification: Performance of pre-optimization done (n=176): time 4.068e-06/0.2747, allocations: 0.5312 kB / 476.7 MB, free: 73.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=176): time 0.004065/0.2787, allocations: 2.046 MB / 478.7 MB, free: 73.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.2788, allocations: 0.5094 MB / 479.2 MB, free: 72.61 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00237/0.2812, allocations: 2.155 MB / 481.4 MB, free: 72.27 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002302/0.2814, allocations: 62.23 kB / 481.4 MB, free: 72.24 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001054/0.2825, allocations: 1.483 MB / 482.9 MB, free: 71.98 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00049/0.283, allocations: 0.6061 MB / 483.5 MB, free: 71.65 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000441/0.2834, allocations: 361.4 kB / 483.9 MB, free: 71.62 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.381e-05/0.2835, allocations: 480.6 kB / 484.3 MB, free: 71.15 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007361/0.2842, allocations: 380.4 kB / 484.7 MB, free: 71.1 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009418/0.2851, allocations: 1.389 MB / 486.1 MB, free: 69.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002219/0.2874, allocations: 1.734 MB / 487.8 MB, free: 69.16 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/0.2874, allocations: 4.469 kB / 487.8 MB, free: 69.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=243) (initialization): time 0.003425/0.2908, allocations: 1.875 MB / 489.7 MB, free: 68.84 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.012e-05/0.2909, allocations: 37.45 kB / 489.7 MB, free: 68.81 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-05/0.2909, allocations: 11.53 kB / 489.8 MB, free: 68.81 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003709/0.2912, allocations: 221.8 kB / 490 MB, free: 68.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/0.2925, allocations: 454.3 kB / 490.4 MB, free: 68.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.658e-05/0.2926, allocations: 24.53 kB / 490.4 MB, free: 68.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/0.2941, allocations: 239.1 kB / 490.7 MB, free: 68.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/0.2942, allocations: 80.78 kB / 490.8 MB, free: 68.75 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.001513/0.2957, allocations: 0.6175 MB / 491.4 MB, free: 68.57 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001057/0.2968, allocations: 1.386 MB / 492.8 MB, free: 67.31 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002316/0.2991, allocations: 1.713 MB / 494.5 MB, free: 66.62 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.226e-05/0.2991, allocations: 3.344 kB / 494.5 MB, free: 66.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=243) (initialization_lambda0): time 0.00346/0.3026, allocations: 1.861 MB / 496.3 MB, free: 66.29 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.248e-05/0.3026, allocations: 39.53 kB / 496.4 MB, free: 66.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.3026, allocations: 10.84 kB / 496.4 MB, free: 66.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002727/0.3029, allocations: 218.3 kB / 496.6 MB, free: 66.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/0.304, allocations: 440.8 kB / 497 MB, free: 66.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.838e-05/0.3041, allocations: 27.56 kB / 497.1 MB, free: 66.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/0.3053, allocations: 235 kB / 497.3 MB, free: 66.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/0.3054, allocations: 73.69 kB / 497.4 MB, free: 66.18 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.injector.switchOffSignal3.value,BESScb.injector.switchOffSignal2.value,BESScb.injector.switchOffSignal1.value,line.switchOffSignal2.value,line.switchOffSignal1.value,BESScb.regcBCS.rateLimFirstOrderFreeze1.local_freeze,BESScb.regcBCS.rateLimFirstOrderFreeze.local_freeze,$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.repcA.limPIDFreeze.I.resetLocal,BESScb.repcA.limPID.I.local_reset,BESScb.pll.limIntegrator.local_reset,BESScb.pll.integrator.local_reset,BESScb.reecC.integrator.local_reset,BESScb.reecC.varLimPIDFreeze.I.resetLocal,BESScb.reecC.limPIDFreeze.I.resetLocal) * 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.0007208/0.3061, allocations: 0.5344 MB / 497.9 MB, free: 65.86 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006152/0.3068, allocations: 366 kB / 498.2 MB, free: 65.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003223/0.31, allocations: 1.702 MB / 499.9 MB, free: 65.49 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/0.31, allocations: 17.28 kB / 500 MB, free: 65.49 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/0.31, allocations: 6.406 kB / 500 MB, free: 65.49 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.31, allocations: 10.03 kB / 500 MB, free: 65.49 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007025/0.3171, allocations: 4.186 MB / 0.4923 GB, free: 63.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/0.3171, allocations: 5.125 kB / 0.4924 GB, free: 63.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00135/0.3184, allocations: 384.3 kB / 0.4927 GB, free: 63.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002919/0.3187, allocations: 202.9 kB / 0.4929 GB, free: 63.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001396/0.3188, allocations: 48.62 kB / 0.493 GB, free: 63.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.327e-06/0.3189, allocations: 6.719 kB / 0.493 GB, free: 63.55 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.3189, allocations: 0 / 0.493 GB, free: 63.55 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004315/0.3232, allocations: 2.379 MB / 0.4953 GB, free: 62.64 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001159/0.3243, allocations: 0.5999 MB / 0.4959 GB, free: 62.25 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003045/0.3246, allocations: 54.41 kB / 0.4959 GB, free: 62.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007663/0.3254, allocations: 139.2 kB / 0.4961 GB, free: 62.19 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002689/0.3257, allocations: 147.4 kB / 0.4962 GB, free: 62.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.3258, allocations: 55.69 kB / 0.4963 GB, free: 62.16 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001725/0.3275, allocations: 1.27 MB / 0.4975 GB, free: 61.75 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3275, allocations: 1 kB / 0.4975 GB, free: 61.75 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002528/0.33, allocations: 1.055 MB / 0.4985 GB, free: 61.55 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.001099/0.3311, allocations: 450.2 kB / 0.499 GB, free: 61.38 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003984/0.3351, allocations: 2.16 MB / 0.5011 GB, free: 60.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.842e-06/0.3351, allocations: 1.094 kB / 0.5011 GB, free: 60.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001214/0.3363, allocations: 0.7663 MB / 0.5018 GB, free: 60.59 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00187/0.3382, allocations: 0.5364 MB / 0.5023 GB, free: 60.39 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006992/0.3452, allocations: 4.737 MB / 0.507 GB, free: 57.94 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004653/0.3457, allocations: 471.6 kB / 0.5074 GB, free: 57.82 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001377/0.347, allocations: 341.7 kB / 0.5077 GB, free: 57.76 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005045/0.3475, allocations: 175 kB / 0.5079 GB, free: 57.74 MB / 442.7 MB Notification: Performance of SimCode: time 2.064e-06/0.3475, allocations: 4 kB / 0.5079 GB, free: 57.73 MB / 442.7 MB Notification: Performance of Templates: time 0.04486/0.3924, allocations: 35.96 MB / 0.543 GB, free: 29.23 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.377578129060566]