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.0009277/0.0009277, allocations: 91.55 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.0009772/0.0009772, allocations: 165.3 kB / 23.82 MB, free: 0.7539 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.8012/0.8012, allocations: 158.6 MB / 185.7 MB, free: 2.469 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.4262/0.4262, 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.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 1.974e-06/1.974e-06, allocations: 0 / 428.1 MB, free: 11.53 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.596e-05, allocations: 2.312 kB / 428.1 MB, free: 11.53 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCLoadVarQLarge): time 0.00715/0.007176, allocations: 5.056 MB / 433.2 MB, free: 6.441 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004869/0.01204, allocations: 2.908 MB / 436.1 MB, free: 3.52 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003646/0.01241, allocations: 19.88 kB / 436.1 MB, free: 3.5 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008103/0.01322, allocations: 190.3 kB / 436.3 MB, free: 3.312 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008773/0.0141, allocations: 270 kB / 436.6 MB, free: 3.047 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001768/0.01587, allocations: 0.9543 MB / 437.5 MB, free: 2.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001283/0.01715, allocations: 1.233 MB / 438.7 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004308/0.01758, allocations: 283.2 kB / 439 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004295/0.01801, allocations: 450.6 kB / 439.5 MB, free: 120 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003706/0.01838, allocations: 370.8 kB / 439.8 MB, free: 15.75 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.01849, allocations: 120 kB / 439.9 MB, free: 15.63 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003959/0.01889, allocations: 255.8 kB / 440.2 MB, free: 15.38 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001442/0.01903, allocations: 263 kB / 440.5 MB, free: 15.12 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002284/0.01926, allocations: 343 kB / 440.8 MB, free: 14.79 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009482/0.02021, allocations: 0.9185 MB / 441.7 MB, free: 13.87 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.02021, allocations: 0 / 441.7 MB, free: 13.87 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.02022, allocations: 4 kB / 441.7 MB, free: 13.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.02023, 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.002431/0.02266, allocations: 1.659 MB / 443.4 MB, free: 12.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.0227, allocations: 12.03 kB / 443.4 MB, free: 12.15 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009941/0.02369, allocations: 412 kB / 443.8 MB, free: 11.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007172/0.02441, allocations: 0.6216 MB / 444.4 MB, free: 11.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002445/0.02466, allocations: 0.519 MB / 444.9 MB, free: 10.47 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.02476, allocations: 72.38 kB / 445 MB, free: 10.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009416/0.0257, allocations: 0.7349 MB / 445.7 MB, free: 9.605 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.02571, allocations: 0 / 445.7 MB, free: 9.605 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.584e-05/0.02577, allocations: 35.98 kB / 445.8 MB, free: 9.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.02579, allocations: 16 kB / 445.8 MB, free: 9.555 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005692/0.02635, allocations: 343.5 kB / 446.1 MB, free: 9.219 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.002758/0.02911, allocations: 3.151 MB / 449.3 MB, free: 5.984 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007819/0.02989, allocations: 420.7 kB / 449.7 MB, free: 5.547 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002619/0.03016, allocations: 184.7 kB / 449.9 MB, free: 5.359 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.251e-05/0.03021, allocations: 12.5 kB / 449.9 MB, free: 5.348 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005995/0.03081, allocations: 0.5128 MB / 450.4 MB, free: 4.801 MB / 426.7 MB Notification: Performance of pre-optimization done (n=81): time 2.525e-06/0.03081, allocations: 0 / 450.4 MB, free: 4.801 MB / 426.7 MB Notification: Performance of matching and sorting (n=81): time 0.002426/0.03324, allocations: 1.216 MB / 451.6 MB, free: 3.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/0.0333, allocations: 123.5 kB / 451.7 MB, free: 3.426 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005727/0.03387, allocations: 0.6712 MB / 452.4 MB, free: 2.734 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.191e-05/0.03392, allocations: 45.7 kB / 452.4 MB, free: 2.684 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002456/0.03417, allocations: 463.5 kB / 452.9 MB, free: 2.223 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.03433, allocations: 254 kB / 453.1 MB, free: 1.973 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001981/0.03452, allocations: 188.2 kB / 453.3 MB, free: 1.777 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.0347, allocations: 0.5703 MB / 453.9 MB, free: 1.195 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003105/0.03501, allocations: 207.9 kB / 454.1 MB, free: 0.9883 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004172/0.03543, allocations: 473.6 kB / 454.6 MB, free: 432 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009468/0.03638, allocations: 0.8334 MB / 455.4 MB, free: 15.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.03639, allocations: 4 kB / 455.4 MB, free: 15.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001604/0.03799, allocations: 1.093 MB / 456.5 MB, free: 14.37 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.941e-05/0.03803, allocations: 41.69 kB / 456.5 MB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.03804, allocations: 8 kB / 456.5 MB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009326/0.03897, allocations: 418.8 kB / 456.9 MB, free: 13.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002498/0.03922, allocations: 107.8 kB / 457 MB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003866/0.04309, allocations: 4.692 MB / 461.7 MB, free: 8.867 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004294/0.04352, allocations: 91.53 kB / 461.8 MB, free: 8.777 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-05/0.04356, allocations: 40 kB / 461.9 MB, free: 8.738 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.0003558/0.04392, allocations: 313 kB / 462.2 MB, free: 8.43 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.04405, allocations: 119.4 kB / 462.3 MB, free: 8.312 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001404/0.04545, allocations: 0.8412 MB / 463.1 MB, free: 7.457 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.468e-05/0.04547, allocations: 7.984 kB / 463.1 MB, free: 7.449 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.04547, allocations: 0 / 463.1 MB, free: 7.449 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/0.04564, allocations: 103.3 kB / 463.2 MB, free: 7.348 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.04575, allocations: 23.94 kB / 463.3 MB, free: 7.324 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003303/0.04608, allocations: 39.95 kB / 463.3 MB, free: 7.285 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002169/0.0463, allocations: 88.48 kB / 463.4 MB, free: 7.195 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002258/0.04856, allocations: 1.042 MB / 464.4 MB, free: 6.133 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001621/0.05018, allocations: 1.166 MB / 465.6 MB, free: 4.949 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000392/0.05057, allocations: 182 kB / 465.8 MB, free: 4.77 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000502/0.05107, allocations: 434.9 kB / 466.2 MB, free: 4.34 MB / 442.7 MB Notification: Performance of Backend: time 6.91e-07/0.05107, allocations: 0 / 466.2 MB, free: 4.34 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002392/0.05346, allocations: 1.162 MB / 467.4 MB, free: 3.113 MB / 442.7 MB Notification: Performance of SimCode: time 0.002709/0.05617, allocations: 2.277 MB / 469.6 MB, free: 0.7773 MB / 442.7 MB Notification: Performance of Templates: time 0.173/0.2292, allocations: 18.24 MB / 487.9 MB, free: 71.43 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","",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.7629065620712936]