Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.GridForming.EpriSmib.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 Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0002111/0.0002111, 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.0001809/0.0001809, 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.05081/0.05081, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/package.mo): time 0.06996/0.06996, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.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.GridForming.EpriSmib,startTime=0,stopTime=10,tolerance=1e-06,numberOfIntervals=500,outputFormat="empty",variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.GridForming.EpriSmib",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(Dynawo.Examples.GridForming.EpriSmib,startTime=0,stopTime=10,tolerance=1e-06,numberOfIntervals=500,outputFormat="empty",variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.GridForming.EpriSmib",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 3.298e-05/3.423e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridForming.EpriSmib): time 0.01236/0.01239, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.009506/0.0219, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.001262/0.02316, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.001359/0.02452, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.002208/0.02672, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.002943/0.02967, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.002527/0.03219, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.002922/0.03512, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001531/0.03665, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0009956/0.03764, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0003205/0.03796, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0007305/0.03869, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0006598/0.03935, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0008523/0.04021, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.002864/0.04307, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0002801/0.04335, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.623e-06/0.04335, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.634e-05/0.04337, 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: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.005164/0.04853, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001445/0.04868, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002347/0.05102, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.001493/0.05252, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002724/0.05279, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002604/0.05305, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.002207/0.05526, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 5.117e-05/0.05531, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001743/0.05548, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.928e-05/0.05553, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.05666, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006807/0.06346, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.001444/0.06491, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0004639/0.06537, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 5.475e-05/0.06543, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001035/0.06646, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=205): time 2.073e-05/0.06648, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=205): time 0.004145/0.07063, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 7.535e-05/0.0707, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008377/0.07154, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0001964/0.07174, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0004345/0.07217, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0004693/0.07264, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005484/0.07319, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.251e-05/0.0732, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008025/0.074, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009316/0.07493, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.002725/0.07766, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.022e-05/0.07768, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=343) (initialization): time 0.00355/0.08123, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 5.132e-05/0.08128, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/0.0813, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.0008161/0.08212, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/0.08353, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002299/0.08583, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007718/0.0866, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/0.08674, allocations: 0 / 0, free: 0 / 0 Warning: Assuming fixed start value for the following 19 variables: epriGfm.injectorURI.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = epriGfm.injectorURI.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) epriGfm.injectorURI.running:DISCRETE(flow=false start = epriGfm.injectorURI.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean line1.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Dynawo.Electrical.Constants.state.Closed 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 = Dynawo.Electrical.Constants.state.Closed fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) epriGfm.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = epriGfm.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) epriGfm.epriCurrentControl.firstOrder.y:VARIABLE(flow=false start = epriGfm.dQTrafo.UdConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real epriGfm.epriCurrentControl.firstOrder1.y:VARIABLE(flow=false start = epriGfm.dQTrafo.UqConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real epriGfm.epriVoltageControl.integratorSetFreezePiP.y:VARIABLE(flow=false start = epriGfm.epriVoltageControl.integratorSetFreezePiP.Y0 fixed = true ) \"Connector of Real output signal\" type: Real epriGfm.epriVoltageControl.integratorSetFreezePiQ.y:VARIABLE(flow=false start = epriGfm.epriVoltageControl.integratorSetFreezePiQ.Y0 fixed = true ) \"Connector of Real output signal\" type: Real epriGfm.epriVoltageControl.integratorSetFreezePiV.y:VARIABLE(flow=false start = epriGfm.epriVoltageControl.integratorSetFreezePiV.Y0 fixed = true ) \"Connector of Real output signal\" type: Real epriGfm.epriVoltageControl.integratorSetFreezePiVq.y:VARIABLE(flow=false start = epriGfm.epriVoltageControl.integratorSetFreezePiVq.Y0 fixed = true ) \"Connector of Real output signal\" type: Real epriGfm.gfm.lagOmega.y:VARIABLE(flow=false start = epriGfm.gfm.lagOmega.y_start fixed = true ) \"Connector of Real output signal\" type: Real epriGfm.gfm.lagP.y:VARIABLE(flow=false start = epriGfm.gfm.lagP.y_start fixed = true ) \"Connector of Real output signal\" type: Real epriGfm.gfm.lagQ.y:VARIABLE(flow=false start = epriGfm.gfm.lagQ.y_start fixed = true ) \"Connector of Real output signal\" type: Real epriGfm.line.running:DISCRETE(flow=false start = epriGfm.line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean line1.running:DISCRETE(flow=false start = line1.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean nodeFault.nodeFault:DISCRETE(flow=false start = false fixed = true ) \"True when the fault is ongoing, false otherwise\" type: Boolean epriGfm.UqFilter0Pu:VARIABLE(unit = \"1\" fixed = true ) \"Start value of q-axis voltage at the converter's terminal in pu (base UNom)\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 50 ($PRE.epriGfm.injectorURI.state,epriGfm.injectorURI.state,$PRE.epriGfm.injectorURI.running,epriGfm.injectorURI.running,$whenCondition2,$whenCondition1,$whenCondition3,$PRE.line1.state,line1.state,$PRE.line.state,line.state,$PRE.epriGfm.line.state,epriGfm.line.state,$whenCondition13,$whenCondition14,epriGfm.epriCurrentControl.integratord.local_reset,epriGfm.epriCurrentControl.integratorq.local_reset,epriGfm.epriVoltageControl.integratorSetFreezePiP.resetLocal,epriGfm.epriVoltageControl.integratorSetFreezePiQ.resetLocal,epriGfm.epriVoltageControl.integratorSetFreezePiV.resetLocal,epriGfm.epriVoltageControl.integratorSetFreezePiVq.resetLocal,epriGfm.gfm.integrator1.local_reset,epriGfm.gfm.integrator2.local_reset,epriGfm.pll.integrator.local_reset,epriGfm.pll.limIntegrator.local_reset,line.switchOffSignal1,line.switchOffSignal2,line1.switchOffSignal1,line1.switchOffSignal2,epriGfm.injectorURI.switchOffSignal1,epriGfm.injectorURI.switchOffSignal2,epriGfm.injectorURI.switchOffSignal3,$PRE.epriGfm.line.running,$PRE.line.running,$PRE.line1.running,$PRE.nodeFault.nodeFault,nodeFault.nodeFault,line1.running,line.running,epriGfm.line.running,epriGfm.epriVoltageControl.Frz,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition11,$whenCondition10,$whenCondition12) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (320): * Single equations (assignments): 318 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,2,35.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006693/0.08741, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002364/0.08764, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002788/0.09043, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.178e-05/0.09045, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/0.09046, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.674e-05/0.09048, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004576/0.09506, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/0.09507, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/0.09618, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.0007364/0.09691, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001083/0.09702, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002211/0.09923, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.09923, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003186/0.1024, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.000271/0.1027, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004718/0.1032, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006602/0.1038, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004188/0.1042, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/0.1043, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0004539/0.1048, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 4.216e-05/0.1048, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001541/0.1064, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 15 (epriGfm.epriCurrentControl.firstOrder.y,epriGfm.epriCurrentControl.firstOrder1.y,epriGfm.epriCurrentControl.integratord.y,epriGfm.epriCurrentControl.integratorq.y,epriGfm.epriVoltageControl.integratorSetFreezePiP.y,epriGfm.epriVoltageControl.integratorSetFreezePiQ.y,epriGfm.epriVoltageControl.integratorSetFreezePiV.y,epriGfm.epriVoltageControl.integratorSetFreezePiVq.y,epriGfm.gfm.integrator1.y,epriGfm.gfm.integrator2.y,epriGfm.gfm.lagOmega.y,epriGfm.gfm.lagP.y,epriGfm.gfm.lagQ.y,epriGfm.pll.integrator.y,epriGfm.pll.limIntegrator.y) * Number of discrete variables: 24 ($whenCondition13,$whenCondition14,$whenCondition12,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,epriGfm.epriVoltageControl.Frz,epriGfm.line.running,epriGfm.line.state,line.running,line.state,line1.running,line1.state,nodeFault.nodeFault,$whenCondition3,$whenCondition1,$whenCondition2,epriGfm.injectorURI.running,epriGfm.injectorURI.state) * Number of discrete states: 4 (epriGfm.injectorURI.running,line1.running,line.running,epriGfm.line.running) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (198): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,2,35.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006868/0.1071, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.002324/0.1094, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 3.194e-05/0.1094, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.001154/0.1106, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/0.1121, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004474/0.1166, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004813/0.1171, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0006595/0.1177, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009001/0.1186, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 5.326e-05/0.1187, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.005464/0.1241, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] [Calling sys.exit(0), Time elapsed: 0.9130972418934107]