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.0008542/0.0008542, allocations: 72.95 kB / 20.74 MB, free: 3.758 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.0008534/0.0008534, allocations: 169 kB / 24.16 MB, free: 340 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.7811/0.7811, allocations: 158.6 MB / 186 MB, free: 2.77 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.4263/0.4263, allocations: 90.87 MB / 329.2 MB, free: 14.27 MB / 314.7 MB " [Timeout remaining time 180] 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.182e-06/1.182e-06, allocations: 0 / 380 MB, free: 11.98 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.169e-05/2.287e-05, allocations: 9.484 kB / 380 MB, free: 11.98 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCLoadVarQ): time 0.004934/0.004956, allocations: 4.947 MB / 384.9 MB, free: 6.996 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0039/0.008857, allocations: 2.973 MB / 387.9 MB, free: 4.016 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000341/0.009198, allocations: 19.88 kB / 387.9 MB, free: 3.996 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003757/0.009573, allocations: 198.3 kB / 388.1 MB, free: 3.801 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004776/0.01005, allocations: 270 kB / 388.4 MB, free: 3.535 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.0112, allocations: 0.9543 MB / 389.3 MB, free: 2.578 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008663/0.01207, allocations: 1.232 MB / 390.5 MB, free: 1.344 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006435/0.01271, allocations: 294.2 kB / 390.8 MB, free: 1.031 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003645/0.01308, allocations: 446.6 kB / 391.3 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003332/0.01341, allocations: 382.6 kB / 391.6 MB, free: 224 kB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.01351, allocations: 124 kB / 391.8 MB, free: 100 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003079/0.01382, allocations: 243.8 kB / 392 MB, free: 15.86 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.01396, allocations: 263 kB / 392.3 MB, free: 15.6 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002148/0.01418, allocations: 339 kB / 392.6 MB, free: 15.27 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008455/0.01502, allocations: 0.9341 MB / 393.5 MB, free: 14.33 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.01503, allocations: 0 / 393.5 MB, free: 14.33 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.01503, allocations: 0 / 393.5 MB, free: 14.33 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.01504, allocations: 0 / 393.5 MB, free: 14.33 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.002055/0.01709, allocations: 1.547 MB / 395.1 MB, free: 12.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.01713, allocations: 8.031 kB / 395.1 MB, free: 12.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008674/0.018, allocations: 396.5 kB / 395.5 MB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004954/0.01849, allocations: 422 kB / 395.9 MB, free: 11.92 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002352/0.01873, allocations: 0.5112 MB / 396.4 MB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.358e-05/0.01881, allocations: 80.31 kB / 396.5 MB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006299/0.01944, allocations: 0.6653 MB / 397.1 MB, free: 10.51 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.01946, allocations: 0 / 397.1 MB, free: 10.51 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.697e-05/0.0195, allocations: 35.98 kB / 397.2 MB, free: 10.47 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.215e-05/0.01953, allocations: 20 kB / 397.2 MB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003315/0.01986, allocations: 232.9 kB / 397.4 MB, free: 10.23 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.002376/0.02223, allocations: 2.103 MB / 399.5 MB, free: 8.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004497/0.02268, allocations: 339.7 kB / 399.8 MB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.02283, allocations: 127.2 kB / 400 MB, free: 7.586 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.531e-05/0.02286, allocations: 16.48 kB / 400 MB, free: 7.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004269/0.02329, allocations: 482.8 kB / 400.5 MB, free: 7.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=81): time 2.104e-06/0.02329, allocations: 0 / 400.5 MB, free: 7.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=81): time 0.001683/0.02498, allocations: 0.9127 MB / 401.4 MB, free: 6.148 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.02503, allocations: 119.5 kB / 401.5 MB, free: 6.004 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003782/0.02541, allocations: 0.5817 MB / 402.1 MB, free: 5.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.107e-05/0.02546, allocations: 57.69 kB / 402.1 MB, free: 5.348 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.02562, allocations: 326.7 kB / 402.4 MB, free: 5.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.02576, allocations: 249.9 kB / 402.7 MB, free: 4.773 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.02592, allocations: 182.5 kB / 402.9 MB, free: 4.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.02604, allocations: 410.5 kB / 403.3 MB, free: 4.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/0.02629, allocations: 175.9 kB / 403.4 MB, free: 4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003362/0.02662, allocations: 388 kB / 403.8 MB, free: 3.551 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007573/0.02738, allocations: 0.7556 MB / 404.6 MB, free: 2.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.02739, allocations: 0 / 404.6 MB, free: 2.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001451/0.02884, allocations: 0.8823 MB / 405.5 MB, free: 1.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.801e-05/0.02888, allocations: 41.98 kB / 405.5 MB, free: 1.773 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-06/0.02888, allocations: 8 kB / 405.5 MB, free: 1.766 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007304/0.02961, allocations: 381.4 kB / 405.9 MB, free: 1.387 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.02982, allocations: 115.8 kB / 406 MB, free: 1.273 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002626/0.03245, allocations: 3.332 MB / 409.3 MB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002574/0.03271, allocations: 91.48 kB / 409.4 MB, free: 13.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.383e-05/0.03274, allocations: 28 kB / 409.4 MB, free: 13.65 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.0002513/0.03299, allocations: 265.9 kB / 409.7 MB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.087e-05/0.03308, allocations: 91.89 kB / 409.8 MB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008233/0.03391, allocations: 0.6197 MB / 410.4 MB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.03391, allocations: 3.984 kB / 410.4 MB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.03392, allocations: 4 kB / 410.4 MB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.207e-05/0.034, allocations: 79.31 kB / 410.5 MB, free: 12.58 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.148e-05/0.03406, allocations: 19.98 kB / 410.5 MB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.03423, allocations: 43.97 kB / 410.6 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.03435, allocations: 88.42 kB / 410.6 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009906/0.03534, allocations: 0.7822 MB / 411.4 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008042/0.03615, allocations: 0.8111 MB / 412.2 MB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001865/0.03633, allocations: 151.3 kB / 412.4 MB, free: 10.66 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002049/0.03654, allocations: 280.5 kB / 412.7 MB, free: 10.38 MB / 394.7 MB Notification: Performance of Backend: time 5.51e-07/0.03654, allocations: 0 / 412.7 MB, free: 10.38 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001291/0.03783, allocations: 0.9876 MB / 413.6 MB, free: 9.336 MB / 394.7 MB Notification: Performance of SimCode: time 0.001781/0.03961, allocations: 2.135 MB / 415.8 MB, free: 7.152 MB / 394.7 MB Notification: Performance of Templates: time 0.02058/0.0602, allocations: 19.21 MB / 435 MB, free: 4.039 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 -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.2717816019430757]