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.0009919/0.0009919, allocations: 77.88 kB / 21.46 MB, free: 3.039 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.001045/0.001045, allocations: 166.4 kB / 24.85 MB, free: 8.84 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.868/0.868, allocations: 158.6 MB / 186.8 MB, free: 2.77 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.4464/0.4464, allocations: 90.57 MB / 329.7 MB, free: 14.59 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.423e-06/1.423e-06, allocations: 0 / 429.4 MB, free: 11.28 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/2.126e-05, allocations: 2.312 kB / 429.4 MB, free: 11.28 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCLoadVarQLarge): time 0.004718/0.00474, allocations: 4.939 MB / 434.3 MB, free: 6.309 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003216/0.007956, allocations: 2.88 MB / 437.2 MB, free: 3.414 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003141/0.00827, allocations: 15.94 kB / 437.2 MB, free: 3.398 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003865/0.008656, allocations: 190.3 kB / 437.4 MB, free: 3.211 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004412/0.009097, allocations: 274 kB / 437.7 MB, free: 2.941 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.01041, allocations: 0.9426 MB / 438.6 MB, free: 1.996 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008088/0.01122, allocations: 1.225 MB / 439.9 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000331/0.01155, allocations: 287.2 kB / 440.1 MB, free: 480 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003058/0.01186, allocations: 442.7 kB / 440.6 MB, free: 36 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000303/0.01216, allocations: 374.7 kB / 440.9 MB, free: 15.67 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.788e-05/0.01226, allocations: 120 kB / 441.1 MB, free: 15.55 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000254/0.01251, allocations: 259.7 kB / 441.3 MB, free: 15.3 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.01265, allocations: 255.1 kB / 441.6 MB, free: 15.05 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002007/0.01285, allocations: 350.9 kB / 441.9 MB, free: 14.7 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007217/0.01357, allocations: 0.9146 MB / 442.8 MB, free: 13.79 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.01357, allocations: 0 / 442.8 MB, free: 13.79 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.01357, allocations: 4 kB / 442.8 MB, free: 13.78 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.01358, allocations: 0 / 442.8 MB, free: 13.78 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.002082/0.01567, allocations: 1.675 MB / 444.5 MB, free: 12.06 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.0157, allocations: 8.031 kB / 444.5 MB, free: 12.05 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008955/0.0166, allocations: 408 kB / 444.9 MB, free: 11.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005591/0.01716, allocations: 0.6177 MB / 445.5 MB, free: 11.01 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002298/0.01739, allocations: 0.5112 MB / 446 MB, free: 10.39 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.338e-05/0.01748, allocations: 76.38 kB / 446.1 MB, free: 10.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007019/0.01818, allocations: 0.6802 MB / 446.8 MB, free: 9.578 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.0182, allocations: 3.938 kB / 446.8 MB, free: 9.574 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.918e-05/0.01825, allocations: 31.98 kB / 446.8 MB, free: 9.543 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.01826, allocations: 20 kB / 446.8 MB, free: 9.523 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003758/0.01864, allocations: 264.8 kB / 447.1 MB, free: 9.266 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.002432/0.02107, allocations: 3.046 MB / 450.1 MB, free: 6.141 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005155/0.02159, allocations: 384.6 kB / 450.5 MB, free: 5.738 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/0.02176, allocations: 144.8 kB / 450.7 MB, free: 5.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.102e-05/0.0218, allocations: 20.42 kB / 450.7 MB, free: 5.57 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000479/0.02228, allocations: 493 kB / 451.2 MB, free: 5.055 MB / 426.7 MB Notification: Performance of pre-optimization done (n=81): time 3.396e-06/0.02228, allocations: 7.984 kB / 451.2 MB, free: 5.047 MB / 426.7 MB Notification: Performance of matching and sorting (n=81): time 0.001967/0.02425, allocations: 1.115 MB / 452.3 MB, free: 3.918 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.0243, allocations: 123.5 kB / 452.4 MB, free: 3.773 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004508/0.02475, allocations: 0.6513 MB / 453.1 MB, free: 3.102 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.915e-05/0.0248, allocations: 45.7 kB / 453.1 MB, free: 3.051 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000238/0.02504, allocations: 479.4 kB / 453.6 MB, free: 2.574 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/0.02519, allocations: 257.9 kB / 453.8 MB, free: 2.32 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/0.02537, allocations: 184.2 kB / 454 MB, free: 2.129 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.02556, allocations: 0.5857 MB / 454.6 MB, free: 1.531 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002464/0.02581, allocations: 187.9 kB / 454.8 MB, free: 1.344 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003855/0.0262, allocations: 461.5 kB / 455.2 MB, free: 0.7891 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007609/0.02696, allocations: 0.7786 MB / 456 MB, free: 15.92 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.02696, allocations: 8 kB / 456 MB, free: 15.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001463/0.02842, allocations: 1.038 MB / 457.1 MB, free: 14.84 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.481e-05/0.02846, allocations: 41.7 kB / 457.1 MB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.02847, allocations: 4 kB / 457.1 MB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000767/0.02923, allocations: 407 kB / 457.5 MB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.02945, allocations: 111.8 kB / 457.6 MB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003158/0.03261, allocations: 4.569 MB / 462.2 MB, free: 9.488 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002768/0.03288, allocations: 91.53 kB / 462.3 MB, free: 9.398 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.934e-05/0.03292, allocations: 31.94 kB / 462.3 MB, free: 9.367 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.000268/0.03319, allocations: 313 kB / 462.6 MB, free: 9.059 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.0333, allocations: 131.4 kB / 462.7 MB, free: 8.93 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001023/0.03432, allocations: 0.763 MB / 463.5 MB, free: 8.152 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.03433, allocations: 3.984 kB / 463.5 MB, free: 8.148 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.03433, allocations: 0 / 463.5 MB, free: 8.148 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.738e-05/0.03442, allocations: 103.3 kB / 463.6 MB, free: 8.047 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.791e-05/0.03449, allocations: 23.98 kB / 463.6 MB, free: 8.023 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.03468, allocations: 39.97 kB / 463.7 MB, free: 7.984 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.0348, allocations: 88.42 kB / 463.7 MB, free: 7.895 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001237/0.03604, allocations: 1.006 MB / 464.7 MB, free: 6.871 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009045/0.03695, allocations: 1.104 MB / 465.9 MB, free: 5.746 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001954/0.03714, allocations: 170 kB / 466 MB, free: 5.578 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002287/0.03737, allocations: 390.8 kB / 466.4 MB, free: 5.191 MB / 442.7 MB Notification: Performance of Backend: time 3.5e-07/0.03737, allocations: 0 / 466.4 MB, free: 5.191 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001512/0.03888, allocations: 1.158 MB / 467.6 MB, free: 3.965 MB / 442.7 MB Notification: Performance of SimCode: time 0.001725/0.04061, allocations: 2.385 MB / 469.9 MB, free: 1.52 MB / 442.7 MB Notification: Performance of Templates: time 0.1667/0.2073, allocations: 19.69 MB / 489.6 MB, free: 71.22 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.7624405971728265]