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.0009725/0.0009725, allocations: 87.56 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.0009576/0.0009576, allocations: 165 kB / 23.82 MB, free: 0.75 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.8057/0.8057, allocations: 158.6 MB / 185.7 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.4574/0.4574, allocations: 90.56 MB / 328.6 MB, free: 14.7 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.994e-06/1.994e-06, allocations: 0 / 428.1 MB, free: 11.56 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.782e-05/2.982e-05, allocations: 6.312 kB / 428.1 MB, free: 11.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCLoadVarQ): time 0.005207/0.005236, allocations: 5.044 MB / 433.2 MB, free: 6.477 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003719/0.008956, allocations: 2.911 MB / 436.1 MB, free: 3.551 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004171/0.009373, allocations: 19.88 kB / 436.1 MB, free: 3.531 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004524/0.009825, allocations: 190.3 kB / 436.3 MB, free: 3.344 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005546/0.01038, allocations: 278 kB / 436.6 MB, free: 3.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.01171, allocations: 0.9543 MB / 437.5 MB, free: 2.113 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001025/0.01274, allocations: 1.225 MB / 438.7 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003814/0.01312, allocations: 283.2 kB / 439 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004195/0.01354, allocations: 450.6 kB / 439.5 MB, free: 152 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003362/0.01387, allocations: 374.7 kB / 439.8 MB, free: 15.78 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001126/0.01398, allocations: 120 kB / 439.9 MB, free: 15.66 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003424/0.01433, allocations: 251.9 kB / 440.2 MB, free: 15.42 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.01447, allocations: 263 kB / 440.4 MB, free: 15.16 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002272/0.0147, allocations: 343 kB / 440.8 MB, free: 14.82 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009796/0.01568, allocations: 0.9224 MB / 441.7 MB, free: 13.9 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.01568, allocations: 0 / 441.7 MB, free: 13.9 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.01568, allocations: 0 / 441.7 MB, free: 13.9 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.01569, allocations: 0 / 441.7 MB, free: 13.9 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.002456/0.01815, allocations: 1.659 MB / 443.4 MB, free: 12.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.0182, allocations: 12.03 kB / 443.4 MB, free: 12.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009994/0.0192, allocations: 404 kB / 443.8 MB, free: 11.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007167/0.01991, allocations: 0.6333 MB / 444.4 MB, free: 11.13 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002583/0.02017, allocations: 0.5112 MB / 444.9 MB, free: 10.51 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.344e-05/0.02027, allocations: 76.36 kB / 445 MB, free: 10.44 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009879/0.02125, allocations: 0.735 MB / 445.7 MB, free: 9.641 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.02127, allocations: 4 kB / 445.7 MB, free: 9.637 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.639e-05/0.02133, allocations: 31.98 kB / 445.8 MB, free: 9.605 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.702e-05/0.02135, allocations: 16 kB / 445.8 MB, free: 9.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005747/0.02192, allocations: 339.5 kB / 446.1 MB, free: 9.258 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.002806/0.02473, allocations: 3.151 MB / 449.3 MB, free: 6.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007144/0.02544, allocations: 420.8 kB / 449.7 MB, free: 5.582 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002606/0.0257, allocations: 184.7 kB / 449.8 MB, free: 5.395 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.545e-05/0.02575, allocations: 8.5 kB / 449.9 MB, free: 5.387 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005941/0.02634, allocations: 0.5129 MB / 450.4 MB, free: 4.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=81): time 2.705e-06/0.02634, allocations: 3.938 kB / 450.4 MB, free: 4.836 MB / 426.7 MB Notification: Performance of matching and sorting (n=81): time 0.002398/0.02874, allocations: 1.22 MB / 451.6 MB, free: 3.602 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.931e-05/0.0288, allocations: 127.4 kB / 451.7 MB, free: 3.453 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005793/0.02938, allocations: 0.6634 MB / 452.4 MB, free: 2.77 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.496e-05/0.02943, allocations: 53.69 kB / 452.4 MB, free: 2.711 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002464/0.02968, allocations: 463.5 kB / 452.9 MB, free: 2.25 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/0.02985, allocations: 246 kB / 453.1 MB, free: 2.008 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002015/0.03006, allocations: 184.2 kB / 453.3 MB, free: 1.816 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.03023, allocations: 0.5781 MB / 453.9 MB, free: 1.227 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003073/0.03054, allocations: 203.9 kB / 454.1 MB, free: 1.023 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004178/0.03096, allocations: 473.5 kB / 454.5 MB, free: 468 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009364/0.03189, allocations: 0.8373 MB / 455.4 MB, free: 15.53 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.0319, allocations: 4 kB / 455.4 MB, free: 15.53 MB / 442.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001624/0.03352, allocations: 1.093 MB / 456.5 MB, free: 14.4 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.241e-05/0.03357, allocations: 45.12 kB / 456.5 MB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.03358, allocations: 7.938 kB / 456.5 MB, free: 14.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009448/0.03452, allocations: 423 kB / 456.9 MB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002572/0.03478, allocations: 111.8 kB / 457 MB, free: 13.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003923/0.0387, allocations: 4.685 MB / 461.7 MB, free: 8.895 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004597/0.03916, allocations: 91.53 kB / 461.8 MB, free: 8.805 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.762e-05/0.03921, allocations: 40 kB / 461.9 MB, free: 8.766 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.0003765/0.03959, allocations: 309 kB / 462.2 MB, free: 8.461 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.03973, allocations: 123.4 kB / 462.3 MB, free: 8.34 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001334/0.04106, allocations: 0.8335 MB / 463.1 MB, free: 7.492 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.04107, allocations: 3.984 kB / 463.1 MB, free: 7.488 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.04108, allocations: 0 / 463.1 MB, free: 7.488 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.0412, allocations: 103.2 kB / 463.2 MB, free: 7.387 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.094e-05/0.04127, allocations: 23.92 kB / 463.2 MB, free: 7.363 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.04149, allocations: 47.97 kB / 463.3 MB, free: 7.316 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/0.04164, allocations: 84.48 kB / 463.4 MB, free: 7.23 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001549/0.04319, allocations: 1.053 MB / 464.4 MB, free: 6.156 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001153/0.04434, allocations: 1.158 MB / 465.6 MB, free: 4.98 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002867/0.04463, allocations: 186.1 kB / 465.8 MB, free: 4.797 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003578/0.04499, allocations: 431 kB / 466.2 MB, free: 4.371 MB / 442.7 MB Notification: Performance of Backend: time 6.81e-07/0.04499, allocations: 0 / 466.2 MB, free: 4.371 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001882/0.04687, allocations: 1.162 MB / 467.4 MB, free: 3.145 MB / 442.7 MB Notification: Performance of SimCode: time 0.001984/0.04885, allocations: 2.274 MB / 469.6 MB, free: 0.8086 MB / 442.7 MB Notification: Performance of Templates: time 0.1626/0.2114, allocations: 18.24 MB / 487.9 MB, free: 71.75 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.6917048427276313]