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.0009837/0.0009837, allocations: 91.55 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.00125/0.00125, allocations: 181 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.8378/0.8378, allocations: 158.6 MB / 186.1 MB, free: 2.918 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.4316/0.4316, allocations: 90.56 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.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.673e-06/1.673e-06, allocations: 0 / 428.1 MB, free: 11.93 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.556e-05/2.723e-05, allocations: 2.312 kB / 428.1 MB, free: 11.93 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCLoadVarQ): time 0.005977/0.006004, allocations: 5.037 MB / 433.1 MB, free: 6.859 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003666/0.00967, allocations: 2.896 MB / 436 MB, free: 3.949 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003122/0.009982, allocations: 19.88 kB / 436 MB, free: 3.93 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004184/0.0104, allocations: 198.3 kB / 436.2 MB, free: 3.734 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004917/0.01089, allocations: 266 kB / 436.5 MB, free: 3.473 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.01212, allocations: 0.9614 MB / 437.4 MB, free: 2.512 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009265/0.01305, allocations: 1.233 MB / 438.7 MB, free: 1.277 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000353/0.0134, allocations: 283.2 kB / 439 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003524/0.01375, allocations: 446.7 kB / 439.4 MB, free: 0.543 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003122/0.01406, allocations: 370.7 kB / 439.8 MB, free: 184 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.01418, allocations: 120 kB / 439.9 MB, free: 64 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002741/0.01445, allocations: 243.9 kB / 440.1 MB, free: 15.82 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002531/0.01471, allocations: 263 kB / 440.4 MB, free: 15.57 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002986/0.01501, allocations: 343 kB / 440.7 MB, free: 15.23 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008986/0.0159, allocations: 0.9301 MB / 441.6 MB, free: 14.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.01591, allocations: 0 / 441.6 MB, free: 14.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01591, allocations: 0 / 441.6 MB, free: 14.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.01592, allocations: 0 / 441.6 MB, free: 14.3 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.002252/0.01817, allocations: 1.663 MB / 443.3 MB, free: 12.59 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.01821, allocations: 8.031 kB / 443.3 MB, free: 12.58 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.01921, allocations: 408 kB / 443.7 MB, free: 12.18 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006042/0.01981, allocations: 0.6216 MB / 444.3 MB, free: 11.54 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002246/0.02004, allocations: 0.5151 MB / 444.8 MB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.693e-05/0.02012, allocations: 76.36 kB / 444.9 MB, free: 10.84 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000865/0.02099, allocations: 0.7388 MB / 445.7 MB, free: 10.04 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.021, allocations: 0 / 445.7 MB, free: 10.04 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.515e-05/0.02106, allocations: 31.98 kB / 445.7 MB, free: 10.01 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.02108, allocations: 16 kB / 445.7 MB, free: 9.992 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005351/0.02161, allocations: 351.4 kB / 446 MB, free: 9.648 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.002747/0.02436, allocations: 3.143 MB / 449.2 MB, free: 6.418 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006663/0.02502, allocations: 420.7 kB / 449.6 MB, free: 5.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002491/0.02527, allocations: 184.8 kB / 449.8 MB, free: 5.793 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.059e-05/0.02531, allocations: 12.5 kB / 449.8 MB, free: 5.781 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005616/0.02588, allocations: 0.505 MB / 450.3 MB, free: 5.242 MB / 426.7 MB Notification: Performance of pre-optimization done (n=81): time 2.434e-06/0.02588, allocations: 0 / 450.3 MB, free: 5.242 MB / 426.7 MB Notification: Performance of matching and sorting (n=81): time 0.002327/0.02821, allocations: 1.224 MB / 451.5 MB, free: 4.004 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.02826, allocations: 123.5 kB / 451.6 MB, free: 3.859 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005399/0.0288, allocations: 0.6751 MB / 452.3 MB, free: 3.164 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.996e-05/0.02885, allocations: 45.7 kB / 452.4 MB, free: 3.113 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002385/0.02909, allocations: 467.5 kB / 452.8 MB, free: 2.648 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/0.02924, allocations: 250 kB / 453.1 MB, free: 2.402 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.02943, allocations: 188.2 kB / 453.2 MB, free: 2.207 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004034/0.02983, allocations: 0.5703 MB / 453.8 MB, free: 1.625 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002994/0.03013, allocations: 203.9 kB / 454 MB, free: 1.422 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004082/0.03054, allocations: 473.5 kB / 454.5 MB, free: 0.8555 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009135/0.03145, allocations: 0.8412 MB / 455.3 MB, free: 15.93 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.03146, allocations: 0 / 455.3 MB, free: 15.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001534/0.03299, allocations: 1.089 MB / 456.4 MB, free: 14.8 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.848e-05/0.03305, allocations: 49.5 kB / 456.5 MB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.03306, allocations: 8.188 kB / 456.5 MB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009172/0.03398, allocations: 414.7 kB / 456.9 MB, free: 14.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.0342, allocations: 119.8 kB / 457 MB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003787/0.03799, allocations: 4.667 MB / 461.7 MB, free: 9.305 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003246/0.03831, allocations: 95.53 kB / 461.7 MB, free: 9.211 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.008e-05/0.03836, allocations: 39.98 kB / 461.8 MB, free: 9.172 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.0003221/0.03869, allocations: 312.4 kB / 462.1 MB, free: 8.867 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.03881, allocations: 127.4 kB / 462.2 MB, free: 8.742 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/0.04006, allocations: 0.8334 MB / 463 MB, free: 7.895 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/0.04007, allocations: 3.984 kB / 463.1 MB, free: 7.891 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.04007, allocations: 4 kB / 463.1 MB, free: 7.887 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.773e-05/0.04017, allocations: 99.28 kB / 463.2 MB, free: 7.789 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.554e-05/0.04025, allocations: 27.92 kB / 463.2 MB, free: 7.762 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.04045, allocations: 47.95 kB / 463.2 MB, free: 7.715 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/0.04061, allocations: 84.42 kB / 463.3 MB, free: 7.629 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001495/0.0421, allocations: 1.049 MB / 464.4 MB, free: 6.562 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001123/0.04323, allocations: 1.162 MB / 465.5 MB, free: 5.379 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002779/0.0435, allocations: 182.1 kB / 465.7 MB, free: 5.199 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003335/0.04384, allocations: 434.9 kB / 466.1 MB, free: 4.77 MB / 442.7 MB Notification: Performance of Backend: time 3.6e-07/0.04384, allocations: 0 / 466.1 MB, free: 4.77 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00163/0.04547, allocations: 1.162 MB / 467.3 MB, free: 3.543 MB / 442.7 MB Notification: Performance of SimCode: time 0.002074/0.04754, allocations: 2.261 MB / 469.5 MB, free: 1.219 MB / 442.7 MB Notification: Performance of Templates: time 0.1711/0.2186, allocations: 18.26 MB / 487.8 MB, free: 72 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.641933875158429]