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.001083/0.001083, allocations: 77.09 kB / 20.67 MB, free: 3.832 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.001713/0.001713, allocations: 177 kB / 24.08 MB, free: 436 kB / 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.8051/0.8051, allocations: 158.6 MB / 186 MB, free: 2.414 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.4663/0.4663, allocations: 91.28 MB / 329.6 MB, free: 13.92 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.272e-06/1.272e-06, allocations: 0 / 429.6 MB, free: 10.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.438e-05, allocations: 5.969 kB / 429.6 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCLoadVarQ): time 0.005405/0.00543, allocations: 4.939 MB / 434.6 MB, free: 5.344 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004362/0.009792, allocations: 2.872 MB / 437.4 MB, free: 2.457 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006368/0.01043, allocations: 19.88 kB / 437.4 MB, free: 2.438 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005093/0.01094, allocations: 194.3 kB / 437.6 MB, free: 2.246 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007499/0.01169, allocations: 270 kB / 437.9 MB, free: 1.98 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001648/0.01334, allocations: 0.9543 MB / 438.9 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001278/0.01461, allocations: 1.228 MB / 440.1 MB, free: 15.8 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00039/0.015, allocations: 283.2 kB / 440.4 MB, free: 15.5 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004977/0.0155, allocations: 442.7 kB / 440.8 MB, free: 15.07 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000375/0.01588, allocations: 378.7 kB / 441.2 MB, free: 14.7 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00013/0.01601, allocations: 120 kB / 441.3 MB, free: 14.58 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000425/0.01643, allocations: 247.9 kB / 441.5 MB, free: 14.34 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001502/0.01658, allocations: 255 kB / 441.8 MB, free: 14.09 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005411/0.01712, allocations: 354.9 kB / 442.1 MB, free: 13.74 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.01817, allocations: 0.9262 MB / 443 MB, free: 12.81 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.01817, allocations: 0 / 443 MB, free: 12.81 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.01817, allocations: 0 / 443 MB, free: 12.81 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.01819, allocations: 0 / 443 MB, free: 12.81 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.002849/0.02104, allocations: 1.663 MB / 444.7 MB, free: 11.1 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.02108, allocations: 8.031 kB / 444.7 MB, free: 11.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00133/0.02241, allocations: 412 kB / 445.1 MB, free: 10.69 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000816/0.02323, allocations: 0.6177 MB / 445.7 MB, free: 10.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00029/0.02352, allocations: 0.5073 MB / 446.2 MB, free: 9.434 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.02364, allocations: 80.36 kB / 446.3 MB, free: 9.355 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000968/0.02461, allocations: 0.6801 MB / 447 MB, free: 8.613 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.02463, allocations: 3.984 kB / 447 MB, free: 8.609 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.921e-05/0.02469, allocations: 32 kB / 447 MB, free: 8.578 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.875e-05/0.0247, allocations: 20 kB / 447.1 MB, free: 8.559 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004903/0.02519, allocations: 268.8 kB / 447.3 MB, free: 8.297 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.003581/0.02878, allocations: 3.05 MB / 450.4 MB, free: 5.168 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000675/0.02945, allocations: 368.7 kB / 450.7 MB, free: 4.781 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002268/0.02968, allocations: 160.7 kB / 450.9 MB, free: 4.617 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.759e-05/0.02972, allocations: 12.48 kB / 450.9 MB, free: 4.605 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006379/0.03036, allocations: 0.4893 MB / 451.4 MB, free: 4.082 MB / 426.7 MB Notification: Performance of pre-optimization done (n=81): time 4.999e-06/0.03037, allocations: 0 / 451.4 MB, free: 4.082 MB / 426.7 MB Notification: Performance of matching and sorting (n=81): time 0.002653/0.03302, allocations: 1.118 MB / 452.5 MB, free: 2.949 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.477e-05/0.0331, allocations: 119.5 kB / 452.6 MB, free: 2.809 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006393/0.03374, allocations: 0.6474 MB / 453.3 MB, free: 2.141 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.392e-05/0.0338, allocations: 53.62 kB / 453.3 MB, free: 2.082 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003202/0.03412, allocations: 475.4 kB / 453.8 MB, free: 1.609 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002116/0.03433, allocations: 257.9 kB / 454 MB, free: 1.355 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002514/0.03458, allocations: 188.1 kB / 454.2 MB, free: 1.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002247/0.03481, allocations: 0.5896 MB / 454.8 MB, free: 0.5586 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003339/0.03514, allocations: 179.9 kB / 455 MB, free: 388 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004847/0.03563, allocations: 453.5 kB / 455.4 MB, free: 15.83 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/0.03699, allocations: 0.7903 MB / 456.2 MB, free: 14.95 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.335e-06/0.037, allocations: 4 kB / 456.2 MB, free: 14.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.00186/0.03886, allocations: 1.038 MB / 457.3 MB, free: 13.88 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.897e-05/0.03891, allocations: 45.69 kB / 457.3 MB, free: 13.83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.03892, allocations: 4 kB / 457.3 MB, free: 13.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001064/0.03998, allocations: 407.2 kB / 457.7 MB, free: 13.42 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003122/0.04029, allocations: 119.8 kB / 457.8 MB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004255/0.04455, allocations: 4.562 MB / 462.4 MB, free: 8.516 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005074/0.04506, allocations: 95.52 kB / 462.5 MB, free: 8.422 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-05/0.04512, allocations: 28 kB / 462.5 MB, free: 8.395 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.0004667/0.04558, allocations: 305 kB / 462.8 MB, free: 8.094 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/0.04576, allocations: 127.4 kB / 462.9 MB, free: 7.969 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001661/0.04742, allocations: 0.7669 MB / 463.7 MB, free: 7.188 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.04743, allocations: 3.984 kB / 463.7 MB, free: 7.184 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.04743, allocations: 4 kB / 463.7 MB, free: 7.18 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000156/0.04759, allocations: 103.2 kB / 463.8 MB, free: 7.078 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.629e-05/0.04769, allocations: 24 kB / 463.8 MB, free: 7.055 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002628/0.04795, allocations: 47.95 kB / 463.9 MB, free: 7.008 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/0.04813, allocations: 92.42 kB / 464 MB, free: 6.914 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001693/0.04983, allocations: 0.9985 MB / 465 MB, free: 5.898 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001259/0.05109, allocations: 1.104 MB / 466.1 MB, free: 4.777 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002707/0.05136, allocations: 162 kB / 466.2 MB, free: 4.617 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003467/0.0517, allocations: 402.8 kB / 466.6 MB, free: 4.219 MB / 442.7 MB Notification: Performance of Backend: time 3.91e-07/0.0517, allocations: 4 kB / 466.6 MB, free: 4.215 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002164/0.05387, allocations: 1.139 MB / 467.8 MB, free: 3.008 MB / 442.7 MB Notification: Performance of SimCode: time 0.002671/0.05654, allocations: 2.388 MB / 470.1 MB, free: 0.5586 MB / 442.7 MB Notification: Performance of Templates: time 0.2272/0.2837, allocations: 19.23 MB / 489.4 MB, free: 70.23 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.5842276490293443]