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.001018/0.001018, allocations: 95.53 kB / 20.97 MB, free: 3.582 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.0009488/0.0009488, allocations: 177 kB / 24.28 MB, free: 280 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.7978/0.7978, allocations: 158.6 MB / 186.1 MB, free: 2.883 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.4443/0.4443, allocations: 90.55 MB / 328.9 MB, free: 14.71 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.734e-06/1.734e-06, allocations: 0 / 428.1 MB, free: 11.92 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.367e-05/2.541e-05, allocations: 6.312 kB / 428.1 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCLoadVarQLarge): time 0.006185/0.006211, allocations: 5.036 MB / 433.1 MB, free: 6.844 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004376/0.01059, allocations: 2.9 MB / 436 MB, free: 3.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004538/0.01104, allocations: 19.88 kB / 436 MB, free: 3.91 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004829/0.01152, allocations: 194.3 kB / 436.2 MB, free: 3.719 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005986/0.01212, allocations: 270 kB / 436.5 MB, free: 3.453 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001528/0.01365, allocations: 0.9543 MB / 437.4 MB, free: 2.496 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001265/0.01492, allocations: 1.229 MB / 438.7 MB, free: 1.266 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004567/0.01537, allocations: 279.2 kB / 439 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005254/0.0159, allocations: 446.6 kB / 439.4 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004179/0.01632, allocations: 374.7 kB / 439.8 MB, free: 172 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001344/0.01645, allocations: 124 kB / 439.9 MB, free: 48 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003902/0.01684, allocations: 251.9 kB / 440.1 MB, free: 15.8 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001805/0.01702, allocations: 259 kB / 440.4 MB, free: 15.55 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002944/0.01731, allocations: 343 kB / 440.7 MB, free: 15.21 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001159/0.01847, allocations: 0.9263 MB / 441.6 MB, free: 14.28 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.01848, allocations: 0 / 441.6 MB, free: 14.28 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.01848, allocations: 0 / 441.6 MB, free: 14.28 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.491e-05/0.01849, allocations: 0 / 441.6 MB, free: 14.28 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.003246/0.02174, allocations: 1.667 MB / 443.3 MB, free: 12.57 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.02179, allocations: 8.031 kB / 443.3 MB, free: 12.56 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/0.02322, allocations: 404 kB / 443.7 MB, free: 12.17 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009123/0.02413, allocations: 0.6217 MB / 444.3 MB, free: 11.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003917/0.02452, allocations: 0.5151 MB / 444.8 MB, free: 10.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.02464, allocations: 76.36 kB / 444.9 MB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.02589, allocations: 0.735 MB / 445.7 MB, free: 10.03 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.02591, allocations: 3.984 kB / 445.7 MB, free: 10.02 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.362e-05/0.02598, allocations: 35.98 kB / 445.7 MB, free: 9.988 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.026, allocations: 16 kB / 445.7 MB, free: 9.973 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007977/0.0268, allocations: 343.4 kB / 446 MB, free: 9.637 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.003685/0.03049, allocations: 3.147 MB / 449.2 MB, free: 6.402 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000928/0.03141, allocations: 428.3 kB / 449.6 MB, free: 5.961 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003615/0.03178, allocations: 180.8 kB / 449.8 MB, free: 5.777 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.791e-05/0.03182, allocations: 12.5 kB / 449.8 MB, free: 5.766 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000775/0.0326, allocations: 0.5128 MB / 450.3 MB, free: 5.219 MB / 426.7 MB Notification: Performance of pre-optimization done (n=81): time 3.045e-06/0.0326, allocations: 0 / 450.3 MB, free: 5.219 MB / 426.7 MB Notification: Performance of matching and sorting (n=81): time 0.003079/0.03568, allocations: 1.22 MB / 451.5 MB, free: 3.984 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.866e-05/0.03575, allocations: 123.5 kB / 451.6 MB, free: 3.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007184/0.03647, allocations: 0.6712 MB / 452.3 MB, free: 3.148 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.177e-05/0.03653, allocations: 45.7 kB / 452.4 MB, free: 3.098 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000317/0.03685, allocations: 463.5 kB / 452.8 MB, free: 2.637 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002074/0.03705, allocations: 257.9 kB / 453.1 MB, free: 2.383 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002604/0.03731, allocations: 188.2 kB / 453.3 MB, free: 2.188 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002119/0.03753, allocations: 0.5703 MB / 453.8 MB, free: 1.605 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004145/0.03794, allocations: 203.9 kB / 454 MB, free: 1.402 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005465/0.03849, allocations: 477.5 kB / 454.5 MB, free: 0.832 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.03976, allocations: 0.8334 MB / 455.3 MB, free: 15.91 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.03977, allocations: 4 kB / 455.3 MB, free: 15.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0021/0.04187, allocations: 1.092 MB / 456.4 MB, free: 14.78 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.637e-05/0.04191, allocations: 45.69 kB / 456.5 MB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.04192, allocations: 4 kB / 456.5 MB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001161/0.04308, allocations: 419.1 kB / 456.9 MB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003095/0.04339, allocations: 115.8 kB / 457 MB, free: 14.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004327/0.04772, allocations: 4.67 MB / 461.7 MB, free: 9.285 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003012/0.04802, allocations: 91.53 kB / 461.7 MB, free: 9.195 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.33e-05/0.04806, allocations: 43.98 kB / 461.8 MB, free: 9.152 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.0003048/0.04837, allocations: 315.7 kB / 462.1 MB, free: 8.844 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.04849, allocations: 123.4 kB / 462.2 MB, free: 8.723 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/0.04976, allocations: 0.8334 MB / 463.1 MB, free: 7.875 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.04977, allocations: 7.984 kB / 463.1 MB, free: 7.867 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.04978, allocations: 0 / 463.1 MB, free: 7.867 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.526e-05/0.04987, allocations: 103.3 kB / 463.2 MB, free: 7.766 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.018e-05/0.04994, allocations: 27.92 kB / 463.2 MB, free: 7.738 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.05014, allocations: 47.95 kB / 463.2 MB, free: 7.691 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/0.0503, allocations: 84.48 kB / 463.3 MB, free: 7.605 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001533/0.05183, allocations: 1.045 MB / 464.4 MB, free: 6.543 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001235/0.05306, allocations: 1.162 MB / 465.5 MB, free: 5.359 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003095/0.05337, allocations: 186.1 kB / 465.7 MB, free: 5.176 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003642/0.05374, allocations: 435 kB / 466.1 MB, free: 4.746 MB / 442.7 MB Notification: Performance of Backend: time 2.1e-07/0.05374, allocations: 0 / 466.1 MB, free: 4.746 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001711/0.05545, allocations: 1.162 MB / 467.3 MB, free: 3.52 MB / 442.7 MB Notification: Performance of SimCode: time 0.001908/0.05736, allocations: 2.266 MB / 469.6 MB, free: 1.191 MB / 442.7 MB Notification: Performance of Templates: time 0.1716/0.229, allocations: 18.24 MB / 487.8 MB, free: 80.5 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.646574551006779]