Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.Wind.IEC.Neplan.WT4BCurrentSource2020FOCB.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.0003066/0.0003066, 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.0003404/0.0003404, 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.22/0.22, 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.09963/0.09963, 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.Wind.IEC.Neplan.WT4BCurrentSource2020FOCB,startTime=0,stopTime=15,tolerance=1e-06,numberOfIntervals=15000,outputFormat="empty",variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.Wind.IEC.Neplan.WT4BCurrentSource2020FOCB",simflags="-initialStepSize=0.001 -lv=LOG_STATS -nls=kinsol -s=ida -nlsLS=klu -maxIntegrationOrder=2 -maxStepSize=10 -emit_protected=() -abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(Dynawo.Examples.Wind.IEC.Neplan.WT4BCurrentSource2020FOCB,startTime=0,stopTime=15,tolerance=1e-06,numberOfIntervals=15000,outputFormat="empty",variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.Wind.IEC.Neplan.WT4BCurrentSource2020FOCB",simflags="-initialStepSize=0.001 -lv=LOG_STATS -nls=kinsol -s=ida -nlsLS=klu -maxIntegrationOrder=2 -maxStepSize=10 -emit_protected=() -abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 4.81e-07/4.81e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.192e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.IEC.Neplan.WT4BCurrentSource2020FOCB): time 0.0697/0.06972, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.051/0.1207, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.00769/0.1284, 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/Events/NodeFault.mo:24:3-24:107:writable] Warning: Connector nodeFault 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). [/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). [/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). [/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/Events/NodeFault.mo:24:3-24:107:writable] Warning: Connector nodeFault 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.007397/0.1358, 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.014/0.1498, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.02106/0.1709, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.01984/0.1907, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.01057/0.2013, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.008647/0.2099, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.005236/0.2152, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.002453/0.2176, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.002926/0.2205, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.002708/0.2232, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.004396/0.2276, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.02276/0.2504, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0009751/0.2514, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.555e-06/0.2514, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 8.563e-05/0.2515, 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: 1169 * Number of variables: 1169 Notification: Performance of Generate backend data structure: time 0.04623/0.2977, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0005158/0.2982, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02132/0.3195, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.02551/0.3451, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001106/0.3462, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.002327/0.3485, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.02585/0.3743, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 0.0002936/0.3746, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001668/0.3763, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001536/0.3765, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01741/0.3939, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08511/0.479, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.01448/0.4935, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.007105/0.5006, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0004411/0.501, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01072/0.5117, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=448): time 7.203e-05/0.5118, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=448): time 0.06238/0.5742, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002993/0.5745, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02598/0.6005, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.001337/0.6018, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.008808/0.6106, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.002971/0.6136, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.00471/0.6183, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 9.46e-05/0.6184, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.006962/0.6253, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.008708/0.634, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.02177/0.6558, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.741e-05/0.6559, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=578) (initialization): time 0.033/0.6889, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 0.000141/0.6891, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.625e-05/0.6891, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.006618/0.6958, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005156/0.7009, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05441/0.7553, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007341/0.7627, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001152/0.7638, allocations: 0 / 0, free: 0 / 0 Warning: Assuming fixed start value for the following 34 variables: line1.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line1.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line3.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line3.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line2.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line2.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line4.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line4.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) transformer.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = transformer.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) transformer1.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = transformer1.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) wT4BCurrentSource.wT4Injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = wT4BCurrentSource.wT4Injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) wT4BCurrentSource.wT4Injector.running.value:DISCRETE(flow=false start = wT4BCurrentSource.wT4Injector.Running0 fixed = true ) type: Boolean wT4BCurrentSource.pll.fixedBooleanDelay1.y:DISCRETE(flow=false start = wT4BCurrentSource.pll.fixedBooleanDelay1.Y0 fixed = true ) \"Connector of Boolean output signal\" type: Boolean wT4BCurrentSource.pll.fixedBooleanDelay.y:DISCRETE(flow=false start = wT4BCurrentSource.pll.fixedBooleanDelay.Y0 fixed = true ) \"Connector of Boolean output signal\" type: Boolean wT4BCurrentSource.control4B.pControl4B.firstOrder.y:VARIABLE(flow=false start = -wT4BCurrentSource.mechanical.P0Pu * 100.0 / wT4BCurrentSource.mechanical.SNom fixed = true ) \"Connector of Real output signal\" type: Real wT4BCurrentSource.control4B.qControl.derivative.x:VARIABLE(start = wT4BCurrentSource.control4B.qControl.derivative.x_start fixed = true ) \"State of block\" type: Real wT4BCurrentSource.protectionMeasurements.firstOrder.y:VARIABLE(flow=false start = -wT4BCurrentSource.protectionMeasurements.P0Pu * 100.0 / wT4BCurrentSource.protectionMeasurements.SNom fixed = true ) \"Connector of Real output signal\" type: Real wT4BCurrentSource.protectionMeasurements.firstOrder1.y:VARIABLE(flow=false start = -wT4BCurrentSource.protectionMeasurements.Q0Pu * 100.0 / wT4BCurrentSource.protectionMeasurements.SNom fixed = true ) \"Connector of Real output signal\" type: Real wT4BCurrentSource.protectionMeasurements.firstOrder2.y:VARIABLE(flow=false start = 100.0 * (wT4BCurrentSource.protectionMeasurements.i0Pu.re ^ 2.0 + wT4BCurrentSource.protectionMeasurements.i0Pu.im ^ 2.0) ^ 0.5 / wT4BCurrentSource.protectionMeasurements.SNom fixed = true ) \"Connector of Real output signal\" type: Real wT4BCurrentSource.protectionMeasurements.firstOrder3.y:VARIABLE(flow=false start = wT4BCurrentSource.gridProtection.U0Pu fixed = true ) \"Connector of Real output signal\" type: Real wT4BCurrentSource.protectionMeasurements.firstOrder4.y:VARIABLE(flow=false start = wT4BCurrentSource.protectionMeasurements.firstOrder4.y_start fixed = true ) \"Connector of Real output signal\" type: Real wT4BCurrentSource.protectionMeasurements.derivative.x:VARIABLE(start = wT4BCurrentSource.protectionMeasurements.derivative.x_start fixed = true ) \"State of block\" type: Real wT4BCurrentSource.controlMeasurements.firstOrder.y:VARIABLE(flow=false start = -wT4BCurrentSource.control4B.P0Pu * 100.0 / wT4BCurrentSource.control4B.SNom fixed = true ) \"Connector of Real output signal\" type: Real wT4BCurrentSource.controlMeasurements.firstOrder1.y:VARIABLE(flow=false start = -wT4BCurrentSource.control4B.Q0Pu * 100.0 / wT4BCurrentSource.control4B.SNom fixed = true ) \"Connector of Real output signal\" type: Real wT4BCurrentSource.controlMeasurements.firstOrder2.y:VARIABLE(flow=false start = 100.0 * (wT4BCurrentSource.controlMeasurements.i0Pu.re ^ 2.0 + wT4BCurrentSource.controlMeasurements.i0Pu.im ^ 2.0) ^ 0.5 / wT4BCurrentSource.controlMeasurements.SNom fixed = true ) \"Connector of Real output signal\" type: Real wT4BCurrentSource.controlMeasurements.firstOrder3.y:VARIABLE(flow=false start = wT4BCurrentSource.control4B.U0Pu fixed = true ) \"Connector of Real output signal\" type: Real wT4BCurrentSource.controlMeasurements.firstOrder4.y:VARIABLE(flow=false start = wT4BCurrentSource.controlMeasurements.firstOrder4.y_start fixed = true ) \"Connector of Real output signal\" type: Real wT4BCurrentSource.controlMeasurements.derivative.x:VARIABLE(start = wT4BCurrentSource.controlMeasurements.derivative.x_start fixed = true ) \"State of block\" type: Real nodeFault1.nodeFault.value:DISCRETE(flow=false start = false fixed = true ) type: Boolean transformer1.running.value:DISCRETE(flow=false start = transformer1.Running0 fixed = true ) type: Boolean transformer.running.value:DISCRETE(flow=false start = transformer.Running0 fixed = true ) type: Boolean line4.running.value:DISCRETE(flow=false start = line4.Running0 fixed = true ) type: Boolean line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean line2.running.value:DISCRETE(flow=false start = line2.Running0 fixed = true ) type: Boolean line3.running.value:DISCRETE(flow=false start = line3.Running0 fixed = true ) type: Boolean line1.running.value:DISCRETE(flow=false start = line1.Running0 fixed = true ) type: Boolean nodeFault.nodeFault.value:DISCRETE(flow=false start = false fixed = true ) type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01261/0.7764, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009588/0.786, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02376/0.8098, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.738e-05/0.8099, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=578) (initialization_lambda0): time 0.03651/0.8464, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001448/0.8465, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.559e-05/0.8466, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.006695/0.8533, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005378/0.8587, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05514/0.9138, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007357/0.9212, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001065/0.9222, allocations: 0 / 0, free: 0 / 0 Warning: Assuming fixed start value for the following 34 variables: line1.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line1.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line3.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line3.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line2.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line2.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line4.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line4.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) transformer.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = transformer.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) transformer1.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = transformer1.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) wT4BCurrentSource.wT4Injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = wT4BCurrentSource.wT4Injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) wT4BCurrentSource.wT4Injector.running.value:DISCRETE(flow=false start = wT4BCurrentSource.wT4Injector.Running0 fixed = true ) type: Boolean wT4BCurrentSource.pll.fixedBooleanDelay1.y:DISCRETE(flow=false start = wT4BCurrentSource.pll.fixedBooleanDelay1.Y0 fixed = true ) \"Connector of Boolean output signal\" type: Boolean wT4BCurrentSource.pll.fixedBooleanDelay.y:DISCRETE(flow=false start = wT4BCurrentSource.pll.fixedBooleanDelay.Y0 fixed = true ) \"Connector of Boolean output signal\" type: Boolean wT4BCurrentSource.control4B.pControl4B.firstOrder.y:VARIABLE(flow=false start = -wT4BCurrentSource.mechanical.P0Pu * 100.0 / wT4BCurrentSource.mechanical.SNom fixed = true ) \"Connector of Real output signal\" type: Real wT4BCurrentSource.control4B.qControl.derivative.x:VARIABLE(start = wT4BCurrentSource.control4B.qControl.derivative.x_start fixed = true ) \"State of block\" type: Real wT4BCurrentSource.protectionMeasurements.firstOrder.y:VARIABLE(flow=false start = -wT4BCurrentSource.protectionMeasurements.P0Pu * 100.0 / wT4BCurrentSource.protectionMeasurements.SNom fixed = true ) \"Connector of Real output signal\" type: Real wT4BCurrentSource.protectionMeasurements.firstOrder1.y:VARIABLE(flow=false start = -wT4BCurrentSource.protectionMeasurements.Q0Pu * 100.0 / wT4BCurrentSource.protectionMeasurements.SNom fixed = true ) \"Connector of Real output signal\" type: Real wT4BCurrentSource.protectionMeasurements.firstOrder2.y:VARIABLE(flow=false start = 100.0 * (wT4BCurrentSource.protectionMeasurements.i0Pu.re ^ 2.0 + wT4BCurrentSource.protectionMeasurements.i0Pu.im ^ 2.0) ^ 0.5 / wT4BCurrentSource.protectionMeasurements.SNom fixed = true ) \"Connector of Real output signal\" type: Real wT4BCurrentSource.protectionMeasurements.firstOrder3.y:VARIABLE(flow=false start = wT4BCurrentSource.gridProtection.U0Pu fixed = true ) \"Connector of Real output signal\" type: Real wT4BCurrentSource.protectionMeasurements.firstOrder4.y:VARIABLE(flow=false start = wT4BCurrentSource.protectionMeasurements.firstOrder4.y_start fixed = true ) \"Connector of Real output signal\" type: Real wT4BCurrentSource.protectionMeasurements.derivative.x:VARIABLE(start = wT4BCurrentSource.protectionMeasurements.derivative.x_start fixed = true ) \"State of block\" type: Real wT4BCurrentSource.controlMeasurements.firstOrder.y:VARIABLE(flow=false start = -wT4BCurrentSource.control4B.P0Pu * 100.0 / wT4BCurrentSource.control4B.SNom fixed = true ) \"Connector of Real output signal\" type: Real wT4BCurrentSource.controlMeasurements.firstOrder1.y:VARIABLE(flow=false start = -wT4BCurrentSource.control4B.Q0Pu * 100.0 / wT4BCurrentSource.control4B.SNom fixed = true ) \"Connector of Real output signal\" type: Real wT4BCurrentSource.controlMeasurements.firstOrder2.y:VARIABLE(flow=false start = 100.0 * (wT4BCurrentSource.controlMeasurements.i0Pu.re ^ 2.0 + wT4BCurrentSource.controlMeasurements.i0Pu.im ^ 2.0) ^ 0.5 / wT4BCurrentSource.controlMeasurements.SNom fixed = true ) \"Connector of Real output signal\" type: Real wT4BCurrentSource.controlMeasurements.firstOrder3.y:VARIABLE(flow=false start = wT4BCurrentSource.control4B.U0Pu fixed = true ) \"Connector of Real output signal\" type: Real wT4BCurrentSource.controlMeasurements.firstOrder4.y:VARIABLE(flow=false start = wT4BCurrentSource.controlMeasurements.firstOrder4.y_start fixed = true ) \"Connector of Real output signal\" type: Real wT4BCurrentSource.controlMeasurements.derivative.x:VARIABLE(start = wT4BCurrentSource.controlMeasurements.derivative.x_start fixed = true ) \"State of block\" type: Real nodeFault1.nodeFault.value:DISCRETE(flow=false start = false fixed = true ) type: Boolean transformer1.running.value:DISCRETE(flow=false start = transformer1.Running0 fixed = true ) type: Boolean transformer.running.value:DISCRETE(flow=false start = transformer.Running0 fixed = true ) type: Boolean line4.running.value:DISCRETE(flow=false start = line4.Running0 fixed = true ) type: Boolean line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean line2.running.value:DISCRETE(flow=false start = line2.Running0 fixed = true ) type: Boolean line3.running.value:DISCRETE(flow=false start = line3.Running0 fixed = true ) type: Boolean line1.running.value:DISCRETE(flow=false start = line1.Running0 fixed = true ) type: Boolean nodeFault.nodeFault.value:DISCRETE(flow=false start = false fixed = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 157 ($PRE.line1.state,line1.state,$PRE.line3.state,line3.state,$PRE.line2.state,line2.state,$PRE.line.state,line.state,$PRE.line4.state,line4.state,$PRE.transformer.state,transformer.state,$PRE.transformer1.state,transformer1.state,$PRE.wT4BCurrentSource.wT4Injector.state,wT4BCurrentSource.wT4Injector.state,$whenCondition36,$whenCondition37,$whenCondition13,$whenCondition14,transformer1.switchOffSignal2.value,transformer1.switchOffSignal1.value,transformer.switchOffSignal2.value,transformer.switchOffSignal1.value,line4.switchOffSignal2.value,line4.switchOffSignal1.value,line3.switchOffSignal2.value,line3.switchOffSignal1.value,line2.switchOffSignal2.value,line2.switchOffSignal1.value,line1.switchOffSignal2.value,line1.switchOffSignal1.value,line.switchOffSignal2.value,line.switchOffSignal1.value,wT4BCurrentSource.wT4Injector.switchOffSignal3.value,wT4BCurrentSource.wT4Injector.switchOffSignal2.value,wT4BCurrentSource.wT4Injector.switchOffSignal1.value,$PRE.wT4BCurrentSource.wT4Injector.running.value,$PRE.wT4BCurrentSource.pll.fixedBooleanDelay1.y,$PRE.wT4BCurrentSource.pll.fixedBooleanDelay.y,$PRE.nodeFault1.nodeFault.value,$PRE.transformer1.running.value,$PRE.transformer.running.value,$PRE.line4.running.value,$PRE.line.running.value,$PRE.line2.running.value,$PRE.line3.running.value,$PRE.line1.running.value,$PRE.nodeFault.nodeFault.value,$PRE.omegaRefPu.count,$PRE.omegaRefPu.T_start,$PRE.wT4BCurrentSource.gridProtection.pre1.u,$PRE.wT4BCurrentSource.gridProtection.timer3.entryTime,$PRE.wT4BCurrentSource.gridProtection.timer2.entryTime,$PRE.wT4BCurrentSource.gridProtection.timer1.entryTime,$PRE.wT4BCurrentSource.gridProtection.timer.entryTime,$PRE.wT4BCurrentSource.control4B.qControl.delayFlag.timer.entryTime,wT4BCurrentSource.control4B.currentLimiter.product1.u[2],omegaRefPu.count,omegaRefPu.T_start,nodeFault.nodeFault.value,line1.running.value,line3.running.value,line2.running.value,line.running.value,line4.running.value,transformer.running.value,transformer1.running.value,nodeFault1.nodeFault.value,wT4BCurrentSource.gridProtection.pre1.u,wT4BCurrentSource.gridProtection.or1.u[5],wT4BCurrentSource.gridProtection.or1.u[4],wT4BCurrentSource.gridProtection.or1.u[3],wT4BCurrentSource.gridProtection.or1.u[2],wT4BCurrentSource.gridProtection.or1.u[1],wT4BCurrentSource.gridProtection.timer3.entryTime,wT4BCurrentSource.gridProtection.timer2.entryTime,wT4BCurrentSource.gridProtection.timer1.entryTime,wT4BCurrentSource.gridProtection.lessEqual3.y,wT4BCurrentSource.gridProtection.lessEqual2.y,wT4BCurrentSource.gridProtection.lessEqual1.y,wT4BCurrentSource.gridProtection.lessEqual.y,wT4BCurrentSource.gridProtection.timer.entryTime,wT4BCurrentSource.control4B.currentLimiter.greater.y,wT4BCurrentSource.control4B.currentLimiter.product1.y,wT4BCurrentSource.control4B.qControl.greaterThreshold.y,wT4BCurrentSource.control4B.qControl.booleanToInteger.y,wT4BCurrentSource.control4B.qControl.fFrt,wT4BCurrentSource.control4B.qControl.greaterEqualThreshold.y,wT4BCurrentSource.control4B.qControl.delayFlag.booleanToInteger.y,wT4BCurrentSource.control4B.qControl.delayFlag.switch1.y,wT4BCurrentSource.control4B.qControl.delayFlag.less1.y,wT4BCurrentSource.control4B.qControl.delayFlag.timer.entryTime,wT4BCurrentSource.control4B.qControl.delayFlag.fO,wT4BCurrentSource.control4B.qControl.delayFlag.fI,wT4BCurrentSource.control4B.pControl4B.less.y,wT4BCurrentSource.control4B.pControl4B.and1.y,wT4BCurrentSource.control4B.qLimiter.integerToBoolean.y,wT4BCurrentSource.pll.fixedBooleanDelay.y,wT4BCurrentSource.pll.fixedBooleanDelay1.y,wT4BCurrentSource.pll.lessThreshold1.y,wT4BCurrentSource.pll.lessThreshold.y,wT4BCurrentSource.wT4Injector.running.value,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition16,$whenCondition15,$whenCondition17,$whenCondition19,$whenCondition18,$whenCondition20,$whenCondition22,$whenCondition21,$whenCondition23,$whenCondition25,$whenCondition24,$whenCondition26,$whenCondition28,$whenCondition27,$whenCondition29,$whenCondition31,$whenCondition30,$whenCondition32,$whenCondition34,$whenCondition33,$whenCondition35,$whenCondition38,$whenCondition40,$whenCondition39,$whenCondition42,$whenCondition41,wT4BCurrentSource.controlMeasurements.rampLimiter.integrator.local_reset,wT4BCurrentSource.protectionMeasurements.rampLimiter.integrator.local_reset,wT4BCurrentSource.mechanical.pI.integrator.local_reset,wT4BCurrentSource.mechanical.integrator1.local_reset,wT4BCurrentSource.mechanical.integrator.local_reset,wT4BCurrentSource.control4B.qControl.absLimRateLimFeedthroughFreeze.rampLimiter.integrator.local_reset,wT4BCurrentSource.control4B.qControl.absLimRateLimFirstOrderFreeze.integrator.local_reset,wT4BCurrentSource.control4B.qControl.antiWindupIntegrator1.integrator.local_reset,wT4BCurrentSource.control4B.qControl.antiWindupIntegrator.integrator.local_reset,wT4BCurrentSource.control4B.pControl4B.rampLimiter.integrator.local_reset,wT4BCurrentSource.control4B.pControl4B.absLimRateLimFirstOrderAntiWindup.integrator.local_reset,wT4BCurrentSource.control4B.qLimiter.absLimRateLimFeedthroughFreeze1.rampLimiter.integrator.local_reset,wT4BCurrentSource.control4B.qLimiter.absLimRateLimFeedthroughFreeze.rampLimiter.integrator.local_reset,wT4BCurrentSource.pll.absLimRateLimFirstOrderFreeze.integrator.local_reset,wT4BCurrentSource.wT4Injector.genSystem.absLimRateLimFirstOrderAntiWindup1.integrator.local_reset,wT4BCurrentSource.wT4Injector.genSystem.absLimRateLimFirstOrderAntiWindup.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (501): * Single equations (assignments): 495 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(32,41)} Notification: Performance of prepare postOptimizeDAE: time 0.003906/0.9261, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004366/0.9305, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02587/0.9564, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.06e-05/0.9565, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.406e-05/0.9565, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.006523/0.963, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0038/0.9668, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005229/0.9721, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003063/0.9751, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02313/0.9982, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02815/1.026, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006689/1.033, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.01586/1.049, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Backend: time 0.001211/1.05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0397/1.09, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.05276/1.143, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.01806/1.161, 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`, `addLogEvent2`, and OMC_WASM_NATIVE_EXTERNALS=0 refuses the native ones " [Timeout remaining time 899] Failed to build model: Dynawo.Examples.Wind.IEC.Neplan.WT4BCurrentSource2020FOCB[Calling sys.exit(0), Time elapsed: 2.5895706904120743]