Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.IllustrativeExamples.DynaFlow.CoordinatedVControl.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.000378/0.000378, 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.0004983/0.0004983, 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.3586/0.3586, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.1889/0.1889, 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 master/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.IllustrativeExamples.DynaFlow.CoordinatedVControl,startTime=0,stopTime=3000,tolerance=1e-06,numberOfIntervals=300,outputFormat="mat",variableFilter="time|Generator1.PGenPu|Generator1.QGenPu|Generator1.UPu|Generator2.PGenPu|Generator2.QGenPu|Generator2.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.IllustrativeExamples.DynaFlow.CoordinatedVControl",simflags="-ls=klu -lv=LOG_STATS -nls=kinsol -s=euler -alarm=480 -emit_protected -lv LOG_STATS") simulate(Dynawo.Examples.IllustrativeExamples.DynaFlow.CoordinatedVControl,startTime=0,stopTime=3000,tolerance=1e-06,numberOfIntervals=300,outputFormat="mat",variableFilter="time|Generator1.PGenPu|Generator1.QGenPu|Generator1.UPu|Generator2.PGenPu|Generator2.QGenPu|Generator2.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.IllustrativeExamples.DynaFlow.CoordinatedVControl",simflags="-ls=klu -lv=LOG_STATS -nls=kinsol -s=euler -alarm=480 -emit_protected -lv LOG_STATS") [Timeout 1140] "Notification: Performance of FrontEnd - loaded program: time 6.31e-07/6.31e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.222e-05/1.285e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Dynawo.Examples.IllustrativeExamples.DynaFlow.CoordinatedVControl): time 0.01051/0.01052, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.01636/0.02688, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0008422/0.02772, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.001783/0.02951, 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.001915/0.03142, allocations: 0 / 0, free: 0 / 0 [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/BaseClasses/BaseGeneratorSimplified.mo:40:5-44:11:writable] Warning: In relation Generator1.terminal.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/BaseClasses/BaseGeneratorSimplified.mo:40:5-44:11:writable] Warning: In relation Generator1.terminal.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/BaseClasses/BaseGeneratorSimplified.mo:40:5-44:11:writable] Warning: In relation Generator2.terminal.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/BaseClasses/BaseGeneratorSimplified.mo:40:5-44:11:writable] Warning: In relation Generator2.terminal.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Buses/Bus.mo:29:3-33:9:writable] Warning: In relation Bus.terminal.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Buses/Bus.mo:29:3-33:9:writable] Warning: In relation Bus.terminal.V.im == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.005012/0.03643, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.002205/0.03864, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.000519/0.03916, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001438/0.0406, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.001292/0.04189, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0003136/0.0422, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.001839/0.04404, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0006217/0.04466, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.001089/0.04575, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.003986/0.04974, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0002601/0.05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.794e-06/0.05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.25e-05/0.05001, 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.01642/0.06643, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001154/0.06655, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01047/0.07702, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.003338/0.08036, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001264/0.08162, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005047/0.08213, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.006819/0.08895, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 4.359e-05/0.08899, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003834/0.08937, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.988e-05/0.08942, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005823/0.09525, allocations: 0 / 0, free: 0 / 0 Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01642/0.1117, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.005055/0.1167, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.002748/0.1195, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0001703/0.1196, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005134/0.1248, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=116): time 1.937e-05/0.1248, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=116): time 0.01801/0.1428, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.000255/0.1431, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003202/0.1463, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0006087/0.1469, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0006903/0.1476, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.000808/0.1484, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.001791/0.1502, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0004577/0.1506, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.003345/0.154, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.003704/0.1577, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.01491/0.1726, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.173e-05/0.1726, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=179) (initialization): time 0.01579/0.1884, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001308/0.1885, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.368e-05/0.1886, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.006133/0.1947, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.1959, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01225/0.2081, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/0.2099, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004545/0.2104, allocations: 0 / 0, free: 0 / 0 Warning: Assuming fixed start value for the following 19 variables: Line1bis.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Line1bis.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) 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) Generator1.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Generator1.State0 fixed = true ) \"Generator connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Generator2.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Generator2.State0 fixed = true ) \"Generator connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Generator1.running:DISCRETE(flow=false start = Generator1.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Generator1.limUQDown:DISCRETE(flow=false start = Generator1.limUQDown0 fixed = true ) \"Whether the minimum reactive power limits are reached or not (from generator voltage regulator)\" type: Boolean Generator1.limUQUp:DISCRETE(flow=false start = Generator1.limUQUp0 fixed = true ) \"Whether the maximum reactive power limits are reached or not (from generator voltage regulator)\" type: Boolean Generator2.running:DISCRETE(flow=false start = Generator2.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Generator2.limUQDown:DISCRETE(flow=false start = Generator2.limUQDown0 fixed = true ) \"Whether the minimum reactive power limits are reached or not (from generator voltage regulator)\" type: Boolean Generator2.limUQUp:DISCRETE(flow=false start = Generator2.limUQUp0 fixed = true ) \"Whether the maximum reactive power limits are reached or not (from generator voltage regulator)\" type: Boolean Line1.running:DISCRETE(flow=false start = Line1.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Line1bis.running:DISCRETE(flow=false start = Line1bis.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean SignalNQ.deltaUInt:VARIABLE(start = 0.0 unit = \"kV\" fixed = true protected = true ) \"State of the integrator in kV\" type: Real SignalNQ.frozen:DISCRETE(start = SignalNQ.Frozen0 fixed = true protected = true ) \"True if the integration is frozen\" type: Boolean DisconnectLine.state1:DISCRETE(flow=false fixed = true ) \"Current state\" type: Boolean Generator2.qStatus:DISCRETE(min = Generator2.QStatus.Standard max = Generator2.QStatus.GenerationMax start = Generator2.qStatus0 fixed = true protected = true ) \"Voltage regulation status: Standard, AbsorptionMax, GenerationMax\" type: enumeration(Standard, AbsorptionMax, GenerationMax) Generator2.pStatus:DISCRETE(min = Generator2.PStatus.Standard max = Generator2.PStatus.LimitPMax start = Generator2.PStatus.Standard fixed = true protected = true ) \"Active power / frequency regulation status: Standard, LimitPMin, LimitPMax\" type: enumeration(Standard, LimitPMin, LimitPMax) Generator1.qStatus:DISCRETE(min = Generator1.QStatus.Standard max = Generator1.QStatus.GenerationMax start = Generator1.qStatus0 fixed = true protected = true ) \"Voltage regulation status: Standard, AbsorptionMax, GenerationMax\" type: enumeration(Standard, AbsorptionMax, GenerationMax) Generator1.pStatus:DISCRETE(min = Generator1.PStatus.Standard max = Generator1.PStatus.LimitPMax start = Generator1.PStatus.Standard fixed = true protected = true ) \"Active power / frequency regulation status: Standard, LimitPMin, LimitPMax\" type: enumeration(Standard, LimitPMin, LimitPMax) Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 91 ($PRE.Line1bis.state,Line1bis.state,$PRE.Line1.state,Line1.state,$whenCondition28,$PRE.Generator1.state,Generator1.converter.u,Generator1.state,$PRE.Generator2.state,Generator2.converter.u,Generator2.state,Line1bis.switchOffSignal1,Line1.switchOffSignal2,Line1.switchOffSignal1,Generator2.switchOffSignal3,Generator2.switchOffSignal2,Generator2.switchOffSignal1,Generator1.switchOffSignal3,Generator1.switchOffSignal2,Generator1.switchOffSignal1,Generator2_INIT.qStatus0,Generator2_INIT.limUQUp0,Generator2_INIT.limUQDown0,Generator1_INIT.qStatus0,Generator1_INIT.limUQUp0,Generator1_INIT.limUQDown0,$PRE.Generator1.running,$PRE.Generator1.limUQDown,$PRE.Generator1.limUQUp,$PRE.Generator2.running,$PRE.Generator2.limUQDown,$PRE.Generator2.limUQUp,$PRE.Line1.running,$PRE.Line1bis.running,$PRE.SignalNQ.frozen,$PRE.DisconnectLine.state1,$PRE.Generator2.qStatus,$PRE.Generator2.pStatus,$PRE.Generator1.qStatus,$PRE.Generator1.pStatus,DisconnectLine.state1,SignalNQ.frozen,SignalNQ.blockedUp,SignalNQ.blockedDown,Line1bis.running,Line1.running,Generator2.qStatus,Generator2.pStatus,Generator2.limUQUp,Generator2.limUQDown,Generator2.running,Generator1.qStatus,Generator1.pStatus,Generator1.limUQUp,Generator1.limUQDown,Generator1.running,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition9,$whenCondition8,$whenCondition10,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition19,$whenCondition18,$whenCondition20,$whenCondition22,$whenCondition21,$whenCondition23,$whenCondition25,$whenCondition24,$whenCondition27,$whenCondition26,$whenCondition31,$whenCondition30,$whenCondition29,$whenCondition34,$whenCondition33,$whenCondition32,$whenCondition36,$whenCondition35) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(13,11)} Notification: Performance of prepare postOptimizeDAE: time 0.002261/0.2127, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001154/0.2138, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01015/0.224, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.18e-05/0.224, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-05/0.224, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.001063/0.2251, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006896/0.2258, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001385/0.2271, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00186/0.229, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01071/0.2397, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01238/0.2521, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00307/0.2552, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.002129/0.2573, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Backend: time 0.0002387/0.2575, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.01426/0.2718, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.009493/0.2813, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.003864/0.2851, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 1140] diffSimulationResults("Dynawo_dev_Dynawo.Examples.IllustrativeExamples.DynaFlow.CoordinatedVControl_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.IllustrativeExamples.DynaFlow.CoordinatedVControl_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.IllustrativeExamples.DynaFlow.CoordinatedVControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 1.9064760290002596]