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.001342/0.001342, allocations: 72.95 kB / 20.74 MB, free: 3.75 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.001561/0.001561, allocations: 169.4 kB / 24.16 MB, free: 336 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.7598/0.7598, allocations: 158.6 MB / 186 MB, free: 2.762 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.4108/0.4108, allocations: 90.86 MB / 329.2 MB, free: 14.25 MB / 314.7 MB " [Timeout remaining time 180] Using package Dynawo with version 2.0.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.533e-06/1.533e-06, allocations: 0 / 380 MB, free: 11.93 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.78e-05/1.934e-05, allocations: 2.312 kB / 380 MB, free: 11.93 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCLoadVarQ): time 0.004601/0.00462, allocations: 4.991 MB / 385 MB, free: 6.895 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003725/0.008345, allocations: 2.972 MB / 387.9 MB, free: 3.918 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004448/0.00879, allocations: 19.88 kB / 388 MB, free: 3.898 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004162/0.009206, allocations: 194.3 kB / 388.1 MB, free: 3.707 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000549/0.009755, allocations: 274 kB / 388.4 MB, free: 3.438 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001389/0.01114, allocations: 0.9465 MB / 389.4 MB, free: 2.488 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001013/0.01216, allocations: 1.229 MB / 390.6 MB, free: 1.254 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003667/0.01252, allocations: 294.2 kB / 390.9 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004649/0.01299, allocations: 446.6 kB / 391.3 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000338/0.01333, allocations: 378.7 kB / 391.7 MB, free: 136 kB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.01343, allocations: 120 kB / 391.8 MB, free: 16 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003711/0.0138, allocations: 263.8 kB / 392.1 MB, free: 15.76 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.01393, allocations: 263 kB / 392.3 MB, free: 15.5 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003445/0.01427, allocations: 346.9 kB / 392.7 MB, free: 15.16 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008536/0.01512, allocations: 0.9185 MB / 393.6 MB, free: 14.24 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.01513, allocations: 0 / 393.6 MB, free: 14.24 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01513, allocations: 0 / 393.6 MB, free: 14.24 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.01514, allocations: 0 / 393.6 MB, free: 14.24 MB / 378.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.002013/0.01715, allocations: 1.547 MB / 395.1 MB, free: 12.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.01719, allocations: 12.02 kB / 395.1 MB, free: 12.65 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000967/0.01815, allocations: 400.5 kB / 395.5 MB, free: 12.26 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004965/0.01865, allocations: 418 kB / 395.9 MB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000202/0.01885, allocations: 0.5112 MB / 396.4 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.536e-05/0.01893, allocations: 76.33 kB / 396.5 MB, free: 11.13 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006317/0.01956, allocations: 0.6614 MB / 397.2 MB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.01957, allocations: 4 kB / 397.2 MB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.261e-05/0.01962, allocations: 35.98 kB / 397.2 MB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.01963, allocations: 20 kB / 397.2 MB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003155/0.01994, allocations: 236.9 kB / 397.5 MB, free: 10.13 MB / 378.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.002071/0.02202, allocations: 2.103 MB / 399.6 MB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004643/0.02248, allocations: 345.5 kB / 399.9 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.02262, allocations: 127.2 kB / 400 MB, free: 7.488 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.764e-05/0.02266, allocations: 12.5 kB / 400 MB, free: 7.477 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000409/0.02307, allocations: 494.8 kB / 400.5 MB, free: 6.965 MB / 378.7 MB Notification: Performance of pre-optimization done (n=81): time 2.214e-06/0.02307, allocations: 0 / 400.5 MB, free: 6.965 MB / 378.7 MB Notification: Performance of matching and sorting (n=81): time 0.001631/0.0247, allocations: 0.9121 MB / 401.4 MB, free: 6.047 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.02475, allocations: 115.5 kB / 401.6 MB, free: 5.906 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000369/0.02512, allocations: 0.5856 MB / 402.1 MB, free: 5.309 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.615e-05/0.02516, allocations: 49.7 kB / 402.2 MB, free: 5.254 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.02531, allocations: 322.7 kB / 402.5 MB, free: 4.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.02544, allocations: 261.8 kB / 402.8 MB, free: 4.672 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/0.0256, allocations: 174.5 kB / 402.9 MB, free: 4.496 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.02571, allocations: 414.5 kB / 403.3 MB, free: 4.082 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002449/0.02596, allocations: 176 kB / 403.5 MB, free: 3.902 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003112/0.02627, allocations: 382.2 kB / 403.9 MB, free: 3.457 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007417/0.02701, allocations: 0.7556 MB / 404.6 MB, free: 2.637 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.02701, allocations: 0 / 404.6 MB, free: 2.637 MB / 378.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001201/0.02822, allocations: 0.8823 MB / 405.5 MB, free: 1.727 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.574e-05/0.02825, allocations: 45.69 kB / 405.6 MB, free: 1.676 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.02826, allocations: 4 kB / 405.6 MB, free: 1.672 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007424/0.029, allocations: 385.7 kB / 405.9 MB, free: 1.289 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.02923, allocations: 123.7 kB / 406.1 MB, free: 1.168 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002734/0.03196, allocations: 3.34 MB / 409.4 MB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003117/0.03227, allocations: 91.48 kB / 409.5 MB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.579e-05/0.03231, allocations: 24 kB / 409.5 MB, free: 13.54 MB / 394.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.0002779/0.03259, allocations: 277.5 kB / 409.8 MB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.64e-05/0.03267, allocations: 87.91 kB / 409.9 MB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008284/0.0335, allocations: 0.6197 MB / 410.5 MB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-06/0.03351, allocations: 3.984 kB / 410.5 MB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.03351, allocations: 0 / 410.5 MB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.669e-05/0.0336, allocations: 79.31 kB / 410.6 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.065e-05/0.03366, allocations: 23.98 kB / 410.6 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.03383, allocations: 47.95 kB / 410.6 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.03396, allocations: 80.5 kB / 410.7 MB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009832/0.03494, allocations: 0.7822 MB / 411.5 MB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006717/0.03561, allocations: 0.8111 MB / 412.3 MB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001789/0.03579, allocations: 151.2 kB / 412.5 MB, free: 10.55 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002115/0.036, allocations: 280.5 kB / 412.7 MB, free: 10.27 MB / 394.7 MB Notification: Performance of Backend: time 4.01e-07/0.036, allocations: 4 kB / 412.7 MB, free: 10.27 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001483/0.03749, allocations: 0.9942 MB / 413.7 MB, free: 9.223 MB / 394.7 MB Notification: Performance of SimCode: time 0.001729/0.03922, allocations: 2.129 MB / 415.9 MB, free: 7.035 MB / 394.7 MB Notification: Performance of Templates: time 0.02073/0.05995, allocations: 19.2 MB / 435.1 MB, free: 3.938 MB / 410.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 -s gbode -gbm=radauIIA3 -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: 2.9525152388960123]