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.001556/0.001556, allocations: 78.66 kB / 21.46 MB, free: 3.043 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.001434/0.001434, allocations: 164 kB / 24.85 MB, free: 8.902 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.9107/0.9107, allocations: 158.6 MB / 186.8 MB, free: 2.773 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.44/0.44, allocations: 90.57 MB / 329.7 MB, free: 14.6 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.393e-06/1.393e-06, allocations: 0 / 429.4 MB, free: 11.31 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.078e-05/2.217e-05, allocations: 2.312 kB / 429.4 MB, free: 11.3 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCLoadVarQ): time 0.0053/0.005322, allocations: 4.95 MB / 434.3 MB, free: 6.324 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004381/0.009703, allocations: 2.865 MB / 437.2 MB, free: 3.445 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006767/0.01038, allocations: 19.88 kB / 437.2 MB, free: 3.426 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005394/0.01092, allocations: 202.3 kB / 437.4 MB, free: 3.227 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007676/0.01169, allocations: 270 kB / 437.7 MB, free: 2.961 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.01331, allocations: 0.9465 MB / 438.6 MB, free: 2.012 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001403/0.01471, allocations: 1.232 MB / 439.9 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004679/0.01518, allocations: 275.2 kB / 440.1 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006668/0.01585, allocations: 446.7 kB / 440.6 MB, free: 56 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005289/0.01638, allocations: 382.7 kB / 440.9 MB, free: 15.68 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001689/0.01655, allocations: 120 kB / 441.1 MB, free: 15.56 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004441/0.01699, allocations: 251.8 kB / 441.3 MB, free: 15.32 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001671/0.01716, allocations: 251.1 kB / 441.6 MB, free: 15.07 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003001/0.01746, allocations: 346.9 kB / 441.9 MB, free: 14.73 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001157/0.01861, allocations: 0.9263 MB / 442.8 MB, free: 13.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.01862, allocations: 0 / 442.8 MB, free: 13.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.01862, allocations: 0 / 442.8 MB, free: 13.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.29e-05/0.01864, allocations: 4 kB / 442.8 MB, free: 13.8 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.002896/0.02154, allocations: 1.671 MB / 444.5 MB, free: 12.08 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.02158, allocations: 8.031 kB / 444.5 MB, free: 12.07 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.02261, allocations: 412 kB / 444.9 MB, free: 11.67 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007741/0.02339, allocations: 0.6137 MB / 445.5 MB, free: 11.03 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002932/0.02368, allocations: 0.5112 MB / 446 MB, free: 10.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.02378, allocations: 72.36 kB / 446.1 MB, free: 10.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008114/0.02459, allocations: 0.688 MB / 446.8 MB, free: 9.594 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.02461, allocations: 0 / 446.8 MB, free: 9.594 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.333e-05/0.02466, allocations: 32 kB / 446.8 MB, free: 9.562 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.02468, allocations: 16 kB / 446.8 MB, free: 9.547 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003606/0.02504, allocations: 272.8 kB / 447.1 MB, free: 9.281 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.002673/0.02771, allocations: 3.046 MB / 450.1 MB, free: 6.156 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005879/0.0283, allocations: 372.7 kB / 450.5 MB, free: 5.766 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001835/0.02848, allocations: 156.7 kB / 450.7 MB, free: 5.605 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.387e-05/0.02853, allocations: 20.44 kB / 450.7 MB, free: 5.586 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005177/0.02904, allocations: 0.4886 MB / 451.2 MB, free: 5.066 MB / 426.7 MB Notification: Performance of pre-optimization done (n=81): time 2.675e-06/0.02905, allocations: 3.938 kB / 451.2 MB, free: 5.062 MB / 426.7 MB Notification: Performance of matching and sorting (n=81): time 0.002245/0.03129, allocations: 1.107 MB / 452.3 MB, free: 3.941 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.03134, allocations: 119.4 kB / 452.4 MB, free: 3.801 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004373/0.03178, allocations: 0.6552 MB / 453.1 MB, free: 3.125 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.027e-05/0.03183, allocations: 49.7 kB / 453.1 MB, free: 3.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/0.03207, allocations: 479.4 kB / 453.6 MB, free: 2.594 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/0.03222, allocations: 254 kB / 453.8 MB, free: 2.344 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/0.03241, allocations: 192.1 kB / 454 MB, free: 2.145 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.0326, allocations: 0.5779 MB / 454.6 MB, free: 1.555 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002514/0.03285, allocations: 183.9 kB / 454.8 MB, free: 1.371 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003638/0.03321, allocations: 461.4 kB / 455.2 MB, free: 0.8164 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008001/0.03401, allocations: 0.7904 MB / 456 MB, free: 15.94 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.03402, allocations: 0 / 456 MB, free: 15.94 MB / 442.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001423/0.03544, allocations: 1.042 MB / 457 MB, free: 14.86 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.717e-05/0.03548, allocations: 37.69 kB / 457.1 MB, free: 14.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.03549, allocations: 8.281 kB / 457.1 MB, free: 14.81 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008324/0.03632, allocations: 410.9 kB / 457.5 MB, free: 14.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/0.03656, allocations: 115.8 kB / 457.6 MB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003459/0.04001, allocations: 4.562 MB / 462.2 MB, free: 9.504 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003933/0.04041, allocations: 95.53 kB / 462.3 MB, free: 9.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.251e-05/0.04045, allocations: 31.94 kB / 462.3 MB, free: 9.379 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.regulation.limitations.limIntegratorMax.local_reset,sVarCStandard.regulation.limitations.limIntegratorMin.local_reset,sVarCStandard.regulation.integrator.local_reset,$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,loadPQ.switchOffSignal1,loadPQ.switchOffSignal2,line.switchOffSignal1,line.switchOffSignal2,sVarCStandard.injector.switchOffSignal1,sVarCStandard.injector.switchOffSignal2,sVarCStandard.injector.switchOffSignal3) * 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.0003644/0.04081, allocations: 309.1 kB / 462.6 MB, free: 9.074 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/0.04095, allocations: 123.4 kB / 462.7 MB, free: 8.953 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.042, allocations: 0.7631 MB / 463.5 MB, free: 8.176 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.04201, allocations: 7.984 kB / 463.5 MB, free: 8.168 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.04201, allocations: 0 / 463.5 MB, free: 8.168 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.04212, allocations: 111.2 kB / 463.6 MB, free: 8.059 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.867e-05/0.04219, allocations: 16 kB / 463.6 MB, free: 8.043 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.04239, allocations: 43.95 kB / 463.7 MB, free: 8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.04254, allocations: 88.42 kB / 463.7 MB, free: 7.91 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001306/0.04384, allocations: 1.002 MB / 464.7 MB, free: 6.891 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001059/0.0449, allocations: 1.1 MB / 465.8 MB, free: 5.773 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002158/0.04512, allocations: 166.1 kB / 466 MB, free: 5.609 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002646/0.04538, allocations: 402.8 kB / 466.4 MB, free: 5.211 MB / 442.7 MB Notification: Performance of Backend: time 5.41e-07/0.04538, allocations: 0 / 466.4 MB, free: 5.211 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001695/0.04708, allocations: 1.146 MB / 467.5 MB, free: 3.996 MB / 442.7 MB Notification: Performance of SimCode: time 0.002194/0.04927, allocations: 2.397 MB / 469.9 MB, free: 1.543 MB / 442.7 MB Notification: Performance of Templates: time 0.1722/0.2215, allocations: 19.69 MB / 489.6 MB, free: 71.29 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.7032544668763876]