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.001268/0.001268, allocations: 73.89 kB / 20.67 MB, free: 3.828 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.001407/0.001407, allocations: 177 kB / 24.08 MB, free: 428 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.8471/0.8471, allocations: 158.6 MB / 186 MB, free: 2.801 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.4335/0.4335, allocations: 91.27 MB / 329.6 MB, free: 13.84 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 2.033e-06/2.033e-06, allocations: 0 / 429.6 MB, free: 10.26 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.802e-05/2.006e-05, allocations: 2.312 kB / 429.6 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCLoadVarQLarge): time 0.004991/0.005011, allocations: 4.939 MB / 434.6 MB, free: 5.281 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003226/0.008237, allocations: 2.876 MB / 437.4 MB, free: 2.391 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002946/0.008531, allocations: 19.88 kB / 437.5 MB, free: 2.371 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004421/0.008974, allocations: 194.3 kB / 437.6 MB, free: 2.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004642/0.009438, allocations: 270 kB / 437.9 MB, free: 1.914 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.01056, allocations: 0.9465 MB / 438.9 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009717/0.01153, allocations: 1.229 MB / 440.1 MB, free: 15.73 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003375/0.01187, allocations: 283.2 kB / 440.4 MB, free: 15.44 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003261/0.01219, allocations: 442.7 kB / 440.8 MB, free: 15 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002888/0.01248, allocations: 378.6 kB / 441.2 MB, free: 14.63 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.01258, allocations: 124 kB / 441.3 MB, free: 14.51 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002615/0.01285, allocations: 251.8 kB / 441.5 MB, free: 14.27 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.01298, allocations: 259 kB / 441.8 MB, free: 14.01 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.01318, allocations: 347 kB / 442.1 MB, free: 13.67 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008938/0.01407, allocations: 0.9223 MB / 443 MB, free: 12.75 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.01408, allocations: 0 / 443 MB, free: 12.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01408, allocations: 0 / 443 MB, free: 12.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.01409, allocations: 0 / 443 MB, free: 12.75 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.002091/0.01618, allocations: 1.667 MB / 444.7 MB, free: 11.04 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.01621, allocations: 12.03 kB / 444.7 MB, free: 11.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000833/0.01705, allocations: 407.9 kB / 445.1 MB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005433/0.01759, allocations: 0.6177 MB / 445.7 MB, free: 9.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002066/0.0178, allocations: 0.5073 MB / 446.2 MB, free: 9.367 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.385e-05/0.01788, allocations: 80.36 kB / 446.3 MB, free: 9.289 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006792/0.01856, allocations: 0.6802 MB / 447 MB, free: 8.547 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.01857, allocations: 0 / 447 MB, free: 8.547 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.637e-05/0.01862, allocations: 31.98 kB / 447 MB, free: 8.516 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.01863, allocations: 20 kB / 447.1 MB, free: 8.496 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003345/0.01896, allocations: 268.8 kB / 447.3 MB, free: 8.234 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.002426/0.02139, allocations: 3.057 MB / 450.4 MB, free: 5.098 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004656/0.02186, allocations: 368.7 kB / 450.7 MB, free: 4.711 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.02202, allocations: 156.7 kB / 450.9 MB, free: 4.551 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.156e-05/0.02206, allocations: 20.48 kB / 450.9 MB, free: 4.531 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000429/0.02249, allocations: 493 kB / 451.4 MB, free: 4.016 MB / 426.7 MB Notification: Performance of pre-optimization done (n=81): time 1.923e-06/0.02249, allocations: 0 / 451.4 MB, free: 4.016 MB / 426.7 MB Notification: Performance of matching and sorting (n=81): time 0.001815/0.0243, allocations: 1.111 MB / 452.5 MB, free: 2.891 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.02435, allocations: 123.5 kB / 452.6 MB, free: 2.746 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004186/0.02477, allocations: 0.6513 MB / 453.3 MB, free: 2.074 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.74e-05/0.02481, allocations: 49.69 kB / 453.3 MB, free: 2.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002279/0.02504, allocations: 471.4 kB / 453.8 MB, free: 1.551 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/0.02519, allocations: 258 kB / 454 MB, free: 1.297 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/0.02537, allocations: 192.1 kB / 454.2 MB, free: 1.098 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.02554, allocations: 0.5818 MB / 454.8 MB, free: 0.5039 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000236/0.02578, allocations: 183.9 kB / 455 MB, free: 328 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003531/0.02613, allocations: 457.5 kB / 455.4 MB, free: 15.77 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007371/0.02687, allocations: 0.7865 MB / 456.2 MB, free: 14.89 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.728e-06/0.02687, allocations: 4 kB / 456.2 MB, free: 14.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001462/0.02833, allocations: 1.038 MB / 457.3 MB, free: 13.82 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.459e-05/0.02837, allocations: 45.69 kB / 457.3 MB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.02838, allocations: 8.281 kB / 457.3 MB, free: 13.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007325/0.02911, allocations: 414.8 kB / 457.7 MB, free: 13.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.02931, allocations: 111.8 kB / 457.8 MB, free: 13.24 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00298/0.03229, allocations: 4.566 MB / 462.4 MB, free: 8.445 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002636/0.03256, allocations: 95.53 kB / 462.5 MB, free: 8.352 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.776e-05/0.03259, allocations: 31.98 kB / 462.5 MB, free: 8.32 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.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.000265/0.03286, allocations: 304.8 kB / 462.8 MB, free: 8.023 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.03297, allocations: 123.4 kB / 462.9 MB, free: 7.902 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009726/0.03394, allocations: 0.7592 MB / 463.7 MB, free: 7.129 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.03395, allocations: 7.984 kB / 463.7 MB, free: 7.121 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.03395, allocations: 4 kB / 463.7 MB, free: 7.117 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000239/0.03419, allocations: 99.28 kB / 463.8 MB, free: 7.02 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.135e-05/0.03425, allocations: 27.98 kB / 463.8 MB, free: 6.992 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.03443, allocations: 43.95 kB / 463.9 MB, free: 6.949 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.03456, allocations: 92.42 kB / 464 MB, free: 6.855 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001187/0.03575, allocations: 1.002 MB / 465 MB, free: 5.836 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00084/0.03659, allocations: 1.096 MB / 466.1 MB, free: 4.723 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001886/0.03677, allocations: 174.1 kB / 466.2 MB, free: 4.551 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002307/0.037, allocations: 402.8 kB / 466.6 MB, free: 4.152 MB / 442.7 MB Notification: Performance of Backend: time 1.61e-07/0.037, allocations: 0 / 466.6 MB, free: 4.152 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001346/0.03835, allocations: 1.146 MB / 467.8 MB, free: 2.941 MB / 442.7 MB Notification: Performance of SimCode: time 0.001733/0.04008, allocations: 2.382 MB / 470.2 MB, free: 0.4961 MB / 442.7 MB Notification: Performance of Templates: time 0.1848/0.2249, allocations: 19.23 MB / 489.4 MB, free: 70.29 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.5236621531657875]