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.00084/0.00084, allocations: 80.45 kB / 20.71 MB, free: 3.859 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.0007724/0.0007724, allocations: 169.2 kB / 23.98 MB, free: 0.582 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.8585/0.8585, allocations: 158.6 MB / 185.8 MB, free: 3.027 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.4011/0.4011, allocations: 76.92 MB / 314.9 MB, free: 10.75 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 it seems broken on HelloWorld Ignoring simflag -noemit -noRestart=() since it seems broken on HelloWorld Ignoring simflag -noemit -noRootFinding=() since it seems broken on HelloWorld 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.593e-06/1.593e-06, allocations: 0 / 490.5 MB, free: 27.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.969e-05/3.128e-05, allocations: 3.406 kB / 490.5 MB, free: 27.85 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESScbCurrentSource): time 0.008181/0.008212, allocations: 10.56 MB / 0.4893 GB, free: 20.75 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.006992/0.0152, allocations: 6.038 MB / 0.4952 GB, free: 16.39 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0015/0.0167, allocations: 90.38 kB / 0.4953 GB, free: 16.35 MB / 442.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.001245/0.01795, allocations: 0.7208 MB / 0.496 GB, free: 15.94 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001548/0.0195, allocations: 0.9458 MB / 0.4969 GB, free: 15.27 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003496/0.02299, allocations: 2.824 MB / 0.4997 GB, free: 13.49 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.003457/0.02645, allocations: 4.383 MB / 0.504 GB, free: 11.07 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001258/0.02771, allocations: 1.035 MB / 0.505 GB, free: 10.38 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001505/0.02921, allocations: 1.476 MB / 0.5064 GB, free: 9.559 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001137/0.03035, allocations: 1.236 MB / 0.5076 GB, free: 8.992 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006425/0.03099, allocations: 468 kB / 0.5081 GB, free: 8.992 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000853/0.03185, allocations: 0.6682 MB / 0.5087 GB, free: 8.93 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000432/0.03228, allocations: 0.9644 MB / 0.5097 GB, free: 8.223 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007747/0.03305, allocations: 1.144 MB / 0.5108 GB, free: 7.492 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005443/0.0385, allocations: 5.827 MB / 0.5165 GB, free: 5.031 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.0385, allocations: 5.375 kB / 0.5165 GB, free: 5.027 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.0385, allocations: 0 / 0.5165 GB, free: 5.027 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.527e-05/0.0386, allocations: 0 / 0.5165 GB, free: 5.027 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 548 * Number of variables: 548 Notification: Performance of Generate backend data structure: time 0.006578/0.04518, allocations: 4.357 MB / 0.5207 GB, free: 2.516 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.04522, allocations: 8.625 kB / 0.5207 GB, free: 2.516 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002215/0.04743, allocations: 0.885 MB / 0.5216 GB, free: 2.238 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002511/0.04994, allocations: 2.355 MB / 0.5239 GB, free: 0.6094 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003312/0.05027, allocations: 0.7868 MB / 0.5247 GB, free: 15.79 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002659/0.05054, allocations: 220.5 kB / 0.5249 GB, free: 15.72 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003937/0.05448, allocations: 3.432 MB / 0.5282 GB, free: 13.14 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.431e-05/0.05451, allocations: 6.156 kB / 0.5282 GB, free: 13.14 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001725/0.05468, allocations: 92.91 kB / 0.5283 GB, free: 13.07 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.577e-05/0.05473, allocations: 53.75 kB / 0.5284 GB, free: 13.07 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003755/0.05848, allocations: 2.469 MB / 0.5308 GB, free: 11.8 MB / 458.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.00975/0.06823, allocations: 8.954 MB / 0.5395 GB, free: 4.75 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003412/0.07165, allocations: 2.3 MB / 0.5418 GB, free: 3.363 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/0.07298, allocations: 1.073 MB / 0.5428 GB, free: 2.285 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.455e-05/0.07308, allocations: 29.3 kB / 0.5429 GB, free: 2.258 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00172/0.0748, allocations: 1.525 MB / 0.5444 GB, free: 0.6758 MB / 458.7 MB Notification: Performance of pre-optimization done (n=176): time 3.657e-06/0.0748, allocations: 0 / 0.5444 GB, free: 0.6758 MB / 458.7 MB Notification: Performance of matching and sorting (n=176): time 0.005975/0.08078, allocations: 3.909 MB / 0.5482 GB, free: 12.74 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001702/0.08095, allocations: 0.5062 MB / 0.5487 GB, free: 12.12 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002444/0.08339, allocations: 2.553 MB / 0.5512 GB, free: 9.543 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000117/0.08351, allocations: 65.7 kB / 0.5512 GB, free: 9.473 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008772/0.08438, allocations: 1.423 MB / 0.5526 GB, free: 8.039 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006415/0.08503, allocations: 0.6003 MB / 0.5532 GB, free: 7.434 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004139/0.08544, allocations: 355.4 kB / 0.5535 GB, free: 7.082 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.195e-05/0.08551, allocations: 305.1 kB / 0.5538 GB, free: 6.781 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001372/0.08688, allocations: 1.053 MB / 0.5549 GB, free: 5.719 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00175/0.08863, allocations: 1.965 MB / 0.5568 GB, free: 3.465 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009023/0.09766, allocations: 5.559 MB / 0.5622 GB, free: 13.75 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/0.09767, allocations: 4 kB / 0.5622 GB, free: 13.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=243) (initialization): time 0.004507/0.1022, allocations: 3.205 MB / 0.5653 GB, free: 10.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.605e-05/0.1022, allocations: 38.61 kB / 0.5654 GB, free: 10.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.1022, allocations: 12 kB / 0.5654 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000346/0.1026, allocations: 320.7 kB / 0.5657 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/0.1038, allocations: 499.2 kB / 0.5662 GB, free: 9.656 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.877e-05/0.1038, allocations: 23.92 kB / 0.5662 GB, free: 9.633 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/0.105, allocations: 294.7 kB / 0.5665 GB, free: 9.344 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/0.1051, allocations: 79.92 kB / 0.5665 GB, free: 9.266 MB / 490.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.002446/0.1075, allocations: 1.61 MB / 0.5681 GB, free: 7.66 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001631/0.1092, allocations: 1.906 MB / 0.57 GB, free: 5.461 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008418/0.1176, allocations: 5.419 MB / 0.5753 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.985e-06/0.1176, allocations: 7.938 kB / 0.5753 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=243) (initialization_lambda0): time 0.004015/0.1216, allocations: 3.104 MB / 0.5783 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.089e-05/0.1216, allocations: 37.69 kB / 0.5783 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.567e-06/0.1216, allocations: 12 kB / 0.5784 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002906/0.1219, allocations: 320.9 kB / 0.5787 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.123, allocations: 479.3 kB / 0.5791 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/0.1231, allocations: 27.92 kB / 0.5791 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/0.1241, allocations: 282.9 kB / 0.5794 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.531e-05/0.1242, allocations: 75.98 kB / 0.5795 GB, free: 11.53 MB / 0.4948 GB 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.0005452/0.1247, allocations: 446.1 kB / 0.5799 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003037/0.125, allocations: 306.1 kB / 0.5802 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004288/0.1293, allocations: 2.996 MB / 0.5831 GB, free: 7.77 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.1293, allocations: 16 kB / 0.5831 GB, free: 7.754 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.1293, allocations: 4 kB / 0.5831 GB, free: 7.75 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/0.1293, allocations: 11.91 kB / 0.5832 GB, free: 7.738 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007061/0.1364, allocations: 5.7 MB / 0.5887 GB, free: 1.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.1364, allocations: 4 kB / 0.5887 GB, free: 1.977 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/0.1376, allocations: 423.4 kB / 0.5891 GB, free: 1.562 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002885/0.1379, allocations: 304.7 kB / 0.5894 GB, free: 1.262 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.505e-05/0.138, allocations: 47.98 kB / 0.5895 GB, free: 1.215 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.138, allocations: 4 kB / 0.5895 GB, free: 1.211 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.138, allocations: 0 / 0.5895 GB, free: 1.211 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005478/0.1435, allocations: 4.553 MB / 0.5939 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007821/0.1443, allocations: 0.5992 MB / 0.5945 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003581/0.1446, allocations: 44 kB / 0.5945 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007878/0.1454, allocations: 187.8 kB / 0.5947 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002203/0.1457, allocations: 141.7 kB / 0.5949 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.623e-05/0.1457, allocations: 63.97 kB / 0.5949 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001648/0.1474, allocations: 1.709 MB / 0.5966 GB, free: 9.879 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.81e-07/0.1474, allocations: 4 kB / 0.5966 GB, free: 9.875 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001717/0.1491, allocations: 1.06 MB / 0.5976 GB, free: 8.812 MB / 0.5105 GB 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.0009002/0.15, allocations: 482.2 kB / 0.5981 GB, free: 8.512 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005301/0.1553, allocations: 4.005 MB / 0.602 GB, free: 4.461 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.1553, allocations: 0.875 kB / 0.602 GB, free: 4.461 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001597/0.1569, allocations: 1.356 MB / 0.6033 GB, free: 3.09 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/0.1583, allocations: 0.5004 MB / 0.6038 GB, free: 2.613 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00648/0.1647, allocations: 5.638 MB / 0.6093 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000832/0.1656, allocations: 1.223 MB / 0.6105 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005109/0.1661, allocations: 192.5 kB / 0.6107 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of SimCode: time 1.183e-06/0.1661, allocations: 4 kB / 0.6107 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of Templates: time 0.04566/0.2117, allocations: 55.59 MB / 0.665 GB, free: 3.883 MB / 0.573 GB " [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=480 -lv LOG_STATS > Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.72357470728457] Failed to read output from testmodel.py, exit status != 0: 0.2183202998712659 0.22671813400000002 0.186405126 Calling exit ...