Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.Wind.IEC.Neplan.WT4BCurrentSource2020.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.0003165/0.0003165, 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.0003384/0.0003384, 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.2141/0.2141, 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.1152/0.1152, 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.WT4BCurrentSource2020,startTime=0,stopTime=25,tolerance=1e-06,numberOfIntervals=25000,outputFormat="empty",variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.Wind.IEC.Neplan.WT4BCurrentSource2020",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.WT4BCurrentSource2020,startTime=0,stopTime=25,tolerance=1e-06,numberOfIntervals=25000,outputFormat="empty",variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.Wind.IEC.Neplan.WT4BCurrentSource2020",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 8.41e-07/8.41e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.808e-05/1.892e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.IEC.Neplan.WT4BCurrentSource2020): time 0.1055/0.1055, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.05157/0.157, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.007559/0.1646, 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.008711/0.1733, 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.01625/0.1896, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.02462/0.2142, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.02207/0.2363, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.01092/0.2472, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.008241/0.2554, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.005668/0.2611, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.002807/0.2639, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.003125/0.267, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.00338/0.2704, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.00472/0.2751, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0264/0.3015, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.002043/0.3036, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 3.016e-06/0.3036, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 9.906e-05/0.3037, 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.04998/0.3537, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0005333/0.3542, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02098/0.3752, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.02479/0.4, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001118/0.4011, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.00259/0.4037, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.02855/0.4322, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 0.0003418/0.4326, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001882/0.4344, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001523/0.4346, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01787/0.4525, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08185/0.5343, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.01595/0.5503, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.007634/0.5579, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0004873/0.5584, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01162/0.57, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=448): time 8.096e-05/0.5701, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=448): time 0.06327/0.6333, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003083/0.6337, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02685/0.6605, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.001917/0.6624, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.00895/0.6714, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.003404/0.6748, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.004763/0.6795, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 9.998e-05/0.6796, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.006975/0.6866, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.008808/0.6954, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.02164/0.7171, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.815e-05/0.7171, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=578) (initialization): time 0.03328/0.7504, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001409/0.7506, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.568e-05/0.7506, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.006694/0.7573, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005395/0.7627, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05463/0.8174, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007222/0.8246, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001201/0.8258, 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.01244/0.8382, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008903/0.8471, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02166/0.8688, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.061e-05/0.8689, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=578) (initialization_lambda0): time 0.03397/0.9029, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001586/0.903, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.626e-05/0.9031, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.007209/0.9103, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005571/0.9159, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05747/0.9734, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007872/0.9812, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001335/0.9826, 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.004382/0.987, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004612/0.9916, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02783/1.019, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.362e-05/1.019, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.482e-05/1.02, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.006437/1.026, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003625/1.03, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00515/1.035, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002983/1.038, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02271/1.06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0273/1.088, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006603/1.094, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.01546/1.11, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Backend: time 0.001248/1.111, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.04377/1.155, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0544/1.209, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.01912/1.228, 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.WT4BCurrentSource2020[Calling sys.exit(0), Time elapsed: 2.670524077024311]