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] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0005489/0.0005489, allocations: 0 / 0, free: 0 / 0 " [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.0004704/0.0004704, allocations: 0 / 0, free: 0 / 0 " [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.2069/0.2069, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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.1538/0.1538, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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) Running command: simulate(Dynawo.Examples.BESS.WECC.BESScbCurrentSource,startTime=0,stopTime=3,tolerance=1e-05,numberOfIntervals=3000,outputFormat="empty",variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource",simflags="-lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -noHomotopyOnFirstTry=() -noRestart=() -noRootFinding=() -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(Dynawo.Examples.BESS.WECC.BESScbCurrentSource,startTime=0,stopTime=3,tolerance=1e-05,numberOfIntervals=3000,outputFormat="empty",variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource",simflags="-lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -noHomotopyOnFirstTry=() -noRestart=() -noRootFinding=() -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 7.51e-07/7.51e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.792e-05/2.867e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESScbCurrentSource): time 0.0354/0.03543, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.02707/0.0625, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.003206/0.0657, allocations: 0 / 0, free: 0 / 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: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.003113/0.06881, allocations: 0 / 0, free: 0 / 0 [/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.005754/0.07457, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.01097/0.08554, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.00738/0.09292, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.004057/0.09697, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.002817/0.09979, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.002264/0.1021, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.00114/0.1032, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.001743/0.1049, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.001067/0.106, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.001813/0.1078, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.009332/0.1172, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0003986/0.1175, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.635e-06/0.1176, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 3.811e-05/0.1176, allocations: 0 / 0, free: 0 / 0 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.01694/0.1345, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0002079/0.1347, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00974/0.1445, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.009384/0.1539, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005836/0.1544, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.000949/0.1554, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.01114/0.1665, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 0.0001416/0.1667, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007528/0.1674, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.217e-05/0.1675, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008051/0.1756, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03263/0.2082, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.006913/0.2151, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.002794/0.2179, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.000157/0.218, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004091/0.2221, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=176): time 2.411e-05/0.2222, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=176): time 0.01518/0.2373, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/0.2375, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009086/0.2466, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0005384/0.2471, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.003133/0.2502, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.001163/0.2514, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.002092/0.2535, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0001523/0.2536, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.003001/0.2566, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.00373/0.2604, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.009276/0.2696, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-05/0.2697, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=243) (initialization): time 0.01238/0.2821, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 8.224e-05/0.2821, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-05/0.2822, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.00093/0.2831, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00377/0.2869, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.097e-05/0.2869, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002621/0.2896, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004846/0.29, allocations: 0 / 0, free: 0 / 0 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.004842/0.2949, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003601/0.2985, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009089/0.3076, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.844e-05/0.3076, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=243) (initialization_lambda0): time 0.01219/0.3198, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 7.936e-05/0.3199, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-05/0.3199, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.0008959/0.3208, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003659/0.3245, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.076e-05/0.3245, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002727/0.3272, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004712/0.3277, allocations: 0 / 0, free: 0 / 0 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.001653/0.3294, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001768/0.3311, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01142/0.3426, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.46e-05/0.3426, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.959e-05/0.3426, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.937e-05/0.3426, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02486/0.3675, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.231e-05/0.3675, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003658/0.3712, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.0009319/0.3721, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005049/0.3726, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.207e-05/0.3726, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.84e-06/0.3726, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0149/0.3875, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.004323/0.3919, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001438/0.3933, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002414/0.3957, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001486/0.3972, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004611/0.3977, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.005259/0.4029, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 9.701e-05/0.403, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.007397/0.4104, allocations: 0 / 0, free: 0 / 0 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.00156/0.412, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0124/0.4244, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 7.574e-06/0.4244, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.004235/0.4286, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006533/0.4351, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02127/0.4564, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001764/0.4582, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.003908/0.4621, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002586/0.4647, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 7.203e-05/0.4647, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.006872/0.4716, allocations: 0 / 0, free: 0 / 0 [openmodelica_codegen_wasm_jit/src/CodegenWasmJit/entry.rs:183:9-183:9:writable] Error: Internal error CodegenWasmJit: no wasm library defines the model's `external \"C\"` function(s) `addLogEvent1`, and OMC_WASM_NATIVE_EXTERNALS=0 refuses the native ones " [Timeout remaining time 899] Failed to build model: Dynawo.Examples.BESS.WECC.BESScbCurrentSource[Calling sys.exit(0), Time elapsed: 1.840236893389374]