Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQ.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.0009714/0.0009714, allocations: 91.56 kB / 20.45 MB, free: 4.121 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.0009196/0.0009196, allocations: 169 kB / 23.82 MB, free: 0.75 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 0.8178/0.8178, allocations: 158.6 MB / 185.7 MB, free: 2.477 MB / 170.7 MB " [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.4945/0.4945, allocations: 90.56 MB / 328.6 MB, free: 14.66 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.SVarCLoadVarQ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|loadPQ.QPu|sVarCStandard.injector.QInjPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQ") translateModel(Dynawo.Examples.SVarC.SVarCLoadVarQ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|loadPQ.QPu|sVarCStandard.injector.QInjPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQ") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 428.1 MB, free: 11.53 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.069e-05/2.239e-05, allocations: 6.312 kB / 428.1 MB, free: 11.52 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCLoadVarQ): time 0.005193/0.005216, allocations: 5.044 MB / 433.2 MB, free: 6.445 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00396/0.009176, allocations: 2.915 MB / 436.1 MB, free: 3.516 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003254/0.009501, allocations: 19.88 kB / 436.1 MB, free: 3.496 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004242/0.009925, allocations: 190.3 kB / 436.3 MB, free: 3.309 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005088/0.01043, allocations: 278 kB / 436.6 MB, free: 3.035 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.01167, allocations: 0.9504 MB / 437.5 MB, free: 2.082 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001062/0.01273, allocations: 1.229 MB / 438.7 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003562/0.01309, allocations: 287.2 kB / 439 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000431/0.01352, allocations: 442.6 kB / 439.5 MB, free: 124 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003453/0.01386, allocations: 374.7 kB / 439.8 MB, free: 15.75 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.01398, allocations: 128 kB / 440 MB, free: 15.63 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002915/0.01427, allocations: 247.8 kB / 440.2 MB, free: 15.39 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001435/0.01441, allocations: 263 kB / 440.4 MB, free: 15.13 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000221/0.01463, allocations: 343 kB / 440.8 MB, free: 14.79 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008616/0.01549, allocations: 0.9263 MB / 441.7 MB, free: 13.86 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.0155, allocations: 0 / 441.7 MB, free: 13.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.0155, allocations: 0 / 441.7 MB, free: 13.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.01551, allocations: 0 / 441.7 MB, free: 13.86 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.002248/0.01776, allocations: 1.659 MB / 443.4 MB, free: 12.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.0178, allocations: 8.031 kB / 443.4 MB, free: 12.15 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009644/0.01876, allocations: 412 kB / 443.8 MB, free: 11.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006758/0.01944, allocations: 0.6178 MB / 444.4 MB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002603/0.0197, allocations: 0.5112 MB / 444.9 MB, free: 10.49 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.449e-05/0.01979, allocations: 80.36 kB / 445 MB, free: 10.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000925/0.02072, allocations: 0.735 MB / 445.7 MB, free: 9.613 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.02073, allocations: 0 / 445.7 MB, free: 9.613 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.62e-05/0.02079, allocations: 31.98 kB / 445.8 MB, free: 9.582 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.02081, allocations: 20 kB / 445.8 MB, free: 9.562 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005504/0.02136, allocations: 339.5 kB / 446.1 MB, free: 9.23 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.002702/0.02406, allocations: 3.159 MB / 449.3 MB, free: 5.984 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006862/0.02475, allocations: 424.7 kB / 449.7 MB, free: 5.543 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002459/0.02499, allocations: 180.7 kB / 449.9 MB, free: 5.359 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.18e-05/0.02503, allocations: 12.5 kB / 449.9 MB, free: 5.348 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005532/0.02559, allocations: 0.5129 MB / 450.4 MB, free: 4.801 MB / 426.7 MB Notification: Performance of pre-optimization done (n=81): time 2.003e-06/0.02559, allocations: 0 / 450.4 MB, free: 4.801 MB / 426.7 MB Notification: Performance of matching and sorting (n=81): time 0.002314/0.0279, allocations: 1.22 MB / 451.6 MB, free: 3.566 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.02796, allocations: 127.4 kB / 451.7 MB, free: 3.418 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005355/0.02849, allocations: 0.6673 MB / 452.4 MB, free: 2.73 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.283e-05/0.02854, allocations: 49.7 kB / 452.4 MB, free: 2.676 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002362/0.02878, allocations: 459.5 kB / 452.9 MB, free: 2.219 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/0.02893, allocations: 258 kB / 453.1 MB, free: 1.965 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001932/0.02913, allocations: 180.2 kB / 453.3 MB, free: 1.777 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.0293, allocations: 0.5742 MB / 453.9 MB, free: 1.191 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002921/0.02959, allocations: 203.9 kB / 454.1 MB, free: 0.9883 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003927/0.02999, allocations: 477.5 kB / 454.6 MB, free: 428 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009802/0.03097, allocations: 0.8372 MB / 455.4 MB, free: 15.49 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.03097, allocations: 0 / 455.4 MB, free: 15.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001525/0.0325, allocations: 1.092 MB / 456.5 MB, free: 14.37 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.117e-05/0.03255, allocations: 41.69 kB / 456.5 MB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.03256, allocations: 4 kB / 456.5 MB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009016/0.03346, allocations: 419.2 kB / 456.9 MB, free: 13.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/0.0337, allocations: 111.8 kB / 457 MB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003509/0.03721, allocations: 4.689 MB / 461.7 MB, free: 8.863 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/0.0375, allocations: 91.53 kB / 461.8 MB, free: 8.773 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-05/0.03756, allocations: 39.98 kB / 461.9 MB, free: 8.734 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.0003588/0.03792, allocations: 305 kB / 462.2 MB, free: 8.434 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.03803, allocations: 127.4 kB / 462.3 MB, free: 8.309 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001259/0.03929, allocations: 0.8256 MB / 463.1 MB, free: 7.469 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/0.0393, allocations: 7.984 kB / 463.1 MB, free: 7.461 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.0393, allocations: 0 / 463.1 MB, free: 7.461 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.773e-05/0.0394, allocations: 103.3 kB / 463.2 MB, free: 7.359 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.104e-05/0.03947, allocations: 23.92 kB / 463.2 MB, free: 7.336 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.03967, allocations: 55.95 kB / 463.3 MB, free: 7.281 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.03982, allocations: 88.42 kB / 463.4 MB, free: 7.191 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001432/0.04125, allocations: 1.049 MB / 464.4 MB, free: 6.121 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001095/0.04235, allocations: 1.15 MB / 465.6 MB, free: 4.953 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002725/0.04262, allocations: 194.1 kB / 465.8 MB, free: 4.762 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000309/0.04293, allocations: 423 kB / 466.2 MB, free: 4.344 MB / 442.7 MB Notification: Performance of Backend: time 2.1e-07/0.04293, allocations: 0 / 466.2 MB, free: 4.344 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0016/0.04453, allocations: 1.166 MB / 467.4 MB, free: 3.113 MB / 442.7 MB Notification: Performance of SimCode: time 0.001842/0.04637, allocations: 2.281 MB / 469.6 MB, free: 0.7734 MB / 442.7 MB Notification: Performance of Templates: time 0.1991/0.2455, allocations: 19.14 MB / 488.8 MB, free: 71.35 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQ.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQ.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQ.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQ.pipe >> ../files/Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQ.sim & ./Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQ -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQ.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.SVarC.SVarCLoadVarQ_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.SVarC.SVarCLoadVarQ_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7790098381228745]