Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQLarge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002214/0.002214, allocations: 92.91 kB / 20.23 MB, free: 4.188 MB / 18.57 MB " [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.002029/0.002029, allocations: 161.3 kB / 23.55 MB, free: 0.875 MB / 18.57 MB " [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 1.448/1.448, allocations: 158.6 MB / 185.4 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 178] 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.7426/0.7426, allocations: 90.61 MB / 328.2 MB, free: 14.62 MB / 314.7 MB " [Timeout remaining time 179] 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: translateModel(Dynawo.Examples.SVarC.SVarCLoadVarQLarge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|loadPQ.QPu|sVarCStandard.injector.QInjPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQLarge") translateModel(Dynawo.Examples.SVarC.SVarCLoadVarQLarge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|loadPQ.QPu|sVarCStandard.injector.QInjPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQLarge") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.945e-06/2.945e-06, allocations: 3.938 kB / 427.4 MB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.977e-05/4.271e-05, allocations: 6.312 kB / 427.4 MB, free: 11.87 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCLoadVarQLarge): time 0.0106/0.01065, allocations: 4.99 MB / 432.4 MB, free: 6.848 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00749/0.01814, allocations: 2.904 MB / 435.3 MB, free: 3.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009314/0.01907, allocations: 15.94 kB / 435.3 MB, free: 3.914 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008022/0.01987, allocations: 194.2 kB / 435.5 MB, free: 3.723 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001083/0.02095, allocations: 266 kB / 435.8 MB, free: 3.461 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002909/0.02386, allocations: 0.9582 MB / 436.7 MB, free: 2.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00228/0.02614, allocations: 1.225 MB / 438 MB, free: 1.273 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007414/0.02688, allocations: 283.3 kB / 438.2 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008748/0.02776, allocations: 442.6 kB / 438.7 MB, free: 0.543 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007005/0.02846, allocations: 374.7 kB / 439 MB, free: 180 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002376/0.0287, allocations: 120 kB / 439.1 MB, free: 60 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007083/0.02941, allocations: 255.8 kB / 439.4 MB, free: 15.81 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003495/0.02976, allocations: 267 kB / 439.7 MB, free: 15.55 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005296/0.03028, allocations: 343 kB / 440 MB, free: 15.21 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002669/0.03295, allocations: 1.507 MB / 441.5 MB, free: 13.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.323e-05/0.03297, allocations: 8 kB / 441.5 MB, free: 13.69 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.03297, allocations: 0 / 441.5 MB, free: 13.69 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.65e-05/0.03299, allocations: 0 / 441.5 MB, free: 13.69 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.005706/0.03869, allocations: 1.749 MB / 443.3 MB, free: 11.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.309e-05/0.03875, allocations: 12.03 kB / 443.3 MB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002498/0.04125, allocations: 400 kB / 443.7 MB, free: 11.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001559/0.04281, allocations: 0.6529 MB / 444.3 MB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005599/0.04337, allocations: 0.5073 MB / 444.8 MB, free: 10.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001803/0.04355, allocations: 76.38 kB / 444.9 MB, free: 10.13 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002469/0.04602, allocations: 0.9921 MB / 445.9 MB, free: 9.078 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.016e-05/0.04605, allocations: 15.94 kB / 445.9 MB, free: 9.062 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/0.04616, allocations: 31.98 kB / 445.9 MB, free: 9.031 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.728e-05/0.04619, allocations: 16 kB / 445.9 MB, free: 9.016 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001941/0.04813, allocations: 0.6571 MB / 446.6 MB, free: 8.359 MB / 426.7 MB 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.007443/0.05558, allocations: 3.769 MB / 450.4 MB, free: 4.492 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002069/0.05764, allocations: 0.6959 MB / 451.1 MB, free: 3.77 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009835/0.05863, allocations: 356.8 kB / 451.4 MB, free: 3.414 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.994e-05/0.05873, allocations: 12.5 kB / 451.4 MB, free: 3.402 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001775/0.0605, allocations: 0.7081 MB / 452.1 MB, free: 2.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=81): time 3.567e-06/0.06051, allocations: 0 / 452.1 MB, free: 2.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=81): time 0.007346/0.06785, allocations: 1.79 MB / 453.9 MB, free: 0.8555 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.06797, allocations: 115.5 kB / 454 MB, free: 0.7188 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001937/0.06991, allocations: 0.9328 MB / 455 MB, free: 15.77 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000144/0.07005, allocations: 49.7 kB / 455 MB, free: 15.71 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006939/0.07075, allocations: 0.4956 MB / 455.5 MB, free: 15.21 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004585/0.07121, allocations: 281.9 kB / 455.8 MB, free: 14.93 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005231/0.07173, allocations: 228.2 kB / 456 MB, free: 14.7 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005699/0.0723, allocations: 0.6445 MB / 456.7 MB, free: 14.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00114/0.07344, allocations: 391.9 kB / 457 MB, free: 13.66 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001483/0.07492, allocations: 0.6695 MB / 457.7 MB, free: 12.88 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003404/0.07833, allocations: 1.353 MB / 459.1 MB, free: 11.43 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.335e-06/0.07833, allocations: 0 / 459.1 MB, free: 11.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005033/0.08337, allocations: 1.51 MB / 460.6 MB, free: 9.895 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.319e-05/0.08344, allocations: 45.69 kB / 460.6 MB, free: 9.844 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/0.08346, allocations: 4 kB / 460.6 MB, free: 9.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002388/0.08585, allocations: 0.5343 MB / 461.2 MB, free: 9.297 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006477/0.08649, allocations: 111.8 kB / 461.3 MB, free: 9.188 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009526/0.09602, allocations: 5.944 MB / 467.2 MB, free: 2.992 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009201/0.09694, allocations: 91.53 kB / 467.3 MB, free: 2.902 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.102e-05/0.09703, allocations: 39.98 kB / 467.3 MB, free: 2.863 MB / 442.7 MB Warning: Assuming fixed start value for the following 11 variables: loadPQ.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = loadPQ.State0 fixed = true ) \"Load connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) sVarCStandard.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = sVarCStandard.injector.State0 fixed = true ) \"Injector 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) line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean sVarCStandard.injector.running:DISCRETE(flow=false start = sVarCStandard.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean sVarCStandard.modeHandling.timerModeChangeUp:DISCRETE(start = 1e60 unit = \"s\" fixed = true ) \"Timer for the transition from standby to running mode for high voltage values\" type: Real sVarCStandard.modeHandling.timerModeChangeDown:DISCRETE(start = 1e60 unit = \"s\" fixed = true ) \"Timer for the transition from standby to running mode for low voltage values\" type: Real sVarCStandard.modeHandling.URefAuto:DISCRETE(start = sVarCStandard.modeHandling.URef0 unit = \"kV\" fixed = true ) \"Voltage reference for the regulation if the static var compensator switches from standy to running mode automatically in kV\" type: Real loadPQ.running:DISCRETE(flow=false start = loadPQ.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean sVarCStandard.blockingFunction.blocked:DISCRETE(flow=false fixed = true ) \"Whether the static var compensator is blocked due to very low voltages\" type: Boolean sVarCStandard.modeHandling.modeAuto:DISCRETE(flow=false min = Dynawo.Electrical.StaticVarCompensators.BaseControls.Mode.OFF max = Dynawo.Electrical.StaticVarCompensators.BaseControls.Mode.RUNNING_V start = sVarCStandard.modeHandling.Mode0 fixed = true ) \"Mode of the static var compensator when in automatic configuration\" type: enumeration(OFF, STANDBY, RUNNING_V) Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 52 ($PRE.loadPQ.state,loadPQ.state,$PRE.sVarCStandard.injector.state,sVarCStandard.injector.state,$PRE.line.state,line.state,sVarCStandard.injector.switchOffSignal3,sVarCStandard.injector.switchOffSignal2,sVarCStandard.injector.switchOffSignal1,line.switchOffSignal2,line.switchOffSignal1,loadPQ.switchOffSignal2,loadPQ.switchOffSignal1,$PRE.line.running,$PRE.sVarCStandard.injector.running,$PRE.sVarCStandard.modeHandling.timerModeChangeUp,$PRE.sVarCStandard.modeHandling.timerModeChangeDown,$PRE.sVarCStandard.modeHandling.URefAuto,$PRE.loadPQ.running,$PRE.sVarCStandard.blockingFunction.blocked,$PRE.sVarCStandard.modeHandling.modeAuto,sVarCStandard.modeHandling.modeManual,loadPQ.running,sVarCStandard.blockingFunction.blocked,sVarCStandard.modeHandling.URefAuto,sVarCStandard.modeHandling.timerModeChangeDown,sVarCStandard.modeHandling.timerModeChangeUp,sVarCStandard.modeHandling.modeAuto,sVarCStandard.modeHandling.mode,sVarCStandard.injector.running,line.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition15,$whenCondition14,$whenCondition17,$whenCondition16,$whenCondition18,sVarCStandard.regulation.integrator.local_reset,sVarCStandard.regulation.limitations.limIntegratorMin.local_reset,sVarCStandard.regulation.limitations.limIntegratorMax.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0007717/0.0978, allocations: 412 kB / 467.7 MB, free: 2.465 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002513/0.09805, allocations: 123.4 kB / 467.9 MB, free: 2.344 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003336/0.1014, allocations: 1.224 MB / 469.1 MB, free: 1.105 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.1014, allocations: 3.984 kB / 469.1 MB, free: 1.102 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1014, allocations: 0 / 469.1 MB, free: 1.102 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002244/0.1016, allocations: 107.3 kB / 469.2 MB, free: 0.9961 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.1018, allocations: 27.92 kB / 469.2 MB, free: 0.9688 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004411/0.1022, allocations: 39.97 kB / 469.3 MB, free: 0.9297 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002717/0.1025, allocations: 100.5 kB / 469.4 MB, free: 0.832 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.2253/0.3278, allocations: 1.534 MB / 470.9 MB, free: 81.56 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002522/0.3303, allocations: 1.73 MB / 472.6 MB, free: 81.12 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006391/0.3309, allocations: 412.2 kB / 473 MB, free: 81.11 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006411/0.3316, allocations: 0.5554 MB / 473.6 MB, free: 80.96 MB / 442.7 MB Notification: Performance of Backend: time 5.51e-07/0.3316, allocations: 2.625 kB / 473.6 MB, free: 80.96 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002806/0.3344, allocations: 1.408 MB / 475 MB, free: 80.4 MB / 442.7 MB Notification: Performance of SimCode: time 0.002448/0.3368, allocations: 2.34 MB / 477.3 MB, free: 78.82 MB / 442.7 MB Notification: Performance of Templates: time 0.03072/0.3675, allocations: 18.26 MB / 495.6 MB, free: 76.79 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQLarge.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQLarge.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQLarge.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQLarge.pipe >> ../files/Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQLarge.sim & ./Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQLarge -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQLarge.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQLarge_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.SVarC.SVarCLoadVarQLarge_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQLarge.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: 6.189486695104279]