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.001339/0.001339, 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.001516/0.001516, 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.8205/0.8205, 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.4437/0.4437, allocations: 90.87 MB / 329.2 MB, free: 14.27 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 1.172e-06/1.172e-06, allocations: 0 / 380 MB, free: 11.98 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.43e-05/1.547e-05, allocations: 2.312 kB / 380 MB, free: 11.98 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCLoadVarQLarge): time 0.004677/0.004693, allocations: 4.966 MB / 384.9 MB, free: 6.984 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003312/0.008005, allocations: 2.961 MB / 387.9 MB, free: 4.016 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002734/0.008278, allocations: 19.88 kB / 387.9 MB, free: 3.996 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003612/0.00864, allocations: 198.3 kB / 388.1 MB, free: 3.801 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004588/0.009098, allocations: 274 kB / 388.4 MB, free: 3.531 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.01024, allocations: 0.9582 MB / 389.3 MB, free: 2.57 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008602/0.0111, allocations: 1.225 MB / 390.6 MB, free: 1.34 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003157/0.01141, allocations: 298.2 kB / 390.8 MB, free: 1.023 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003447/0.01176, allocations: 442.7 kB / 391.3 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003148/0.01207, allocations: 382.6 kB / 391.6 MB, free: 220 kB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.01218, allocations: 120 kB / 391.8 MB, free: 100 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002652/0.01244, allocations: 251.8 kB / 392 MB, free: 15.85 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.01258, allocations: 259 kB / 392.3 MB, free: 15.6 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002248/0.0128, allocations: 343 kB / 392.6 MB, free: 15.26 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007681/0.01357, allocations: 0.9224 MB / 393.5 MB, free: 14.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.01357, allocations: 0 / 393.5 MB, free: 14.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.01358, allocations: 0 / 393.5 MB, free: 14.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.01358, allocations: 0 / 393.5 MB, free: 14.34 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.001884/0.01547, allocations: 1.555 MB / 395.1 MB, free: 12.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.01551, allocations: 8.031 kB / 395.1 MB, free: 12.74 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008517/0.01636, allocations: 400.5 kB / 395.5 MB, free: 12.35 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004821/0.01684, allocations: 414 kB / 395.9 MB, free: 11.92 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002411/0.01708, allocations: 0.5151 MB / 396.4 MB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.083e-05/0.01716, allocations: 76.31 kB / 396.5 MB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006341/0.0178, allocations: 0.6653 MB / 397.1 MB, free: 10.51 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.01781, allocations: 7.938 kB / 397.1 MB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.172e-05/0.01786, allocations: 35.98 kB / 397.2 MB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.01788, allocations: 16 kB / 397.2 MB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003073/0.01818, allocations: 233 kB / 397.4 MB, free: 10.22 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.001945/0.02013, allocations: 2.103 MB / 399.5 MB, free: 8.066 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004281/0.02056, allocations: 335.7 kB / 399.9 MB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.0207, allocations: 131.2 kB / 400 MB, free: 7.582 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.866e-05/0.02074, allocations: 12.48 kB / 400 MB, free: 7.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004116/0.02115, allocations: 490.8 kB / 400.5 MB, free: 7.062 MB / 378.7 MB Notification: Performance of pre-optimization done (n=81): time 1.863e-06/0.02115, allocations: 0 / 400.5 MB, free: 7.062 MB / 378.7 MB Notification: Performance of matching and sorting (n=81): time 0.001561/0.02272, allocations: 0.9049 MB / 401.4 MB, free: 6.148 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.02276, allocations: 119.5 kB / 401.5 MB, free: 6.004 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003666/0.02313, allocations: 0.5818 MB / 402.1 MB, free: 5.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.794e-05/0.02318, allocations: 57.69 kB / 402.1 MB, free: 5.348 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.02332, allocations: 326.6 kB / 402.4 MB, free: 5.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.02345, allocations: 257.9 kB / 402.7 MB, free: 4.766 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.02361, allocations: 174.5 kB / 402.9 MB, free: 4.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.02373, allocations: 410.5 kB / 403.3 MB, free: 4.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002444/0.02397, allocations: 176 kB / 403.4 MB, free: 4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003122/0.02428, allocations: 391.9 kB / 403.8 MB, free: 3.547 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007287/0.02501, allocations: 0.7479 MB / 404.6 MB, free: 2.734 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.02502, allocations: 4 kB / 404.6 MB, free: 2.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001153/0.02617, allocations: 0.8784 MB / 405.5 MB, free: 1.824 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.338e-05/0.0262, allocations: 41.97 kB / 405.5 MB, free: 1.777 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.02621, allocations: 8 kB / 405.5 MB, free: 1.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007087/0.02692, allocations: 393.3 kB / 405.9 MB, free: 1.379 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.02712, allocations: 111.8 kB / 406 MB, free: 1.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002461/0.02958, allocations: 3.336 MB / 409.3 MB, free: 13.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002514/0.02983, allocations: 95.48 kB / 409.4 MB, free: 13.67 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-05/0.02987, allocations: 28 kB / 409.5 MB, free: 13.64 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.0002329/0.0301, allocations: 257.6 kB / 409.7 MB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.45e-05/0.03019, allocations: 87.89 kB / 409.8 MB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008119/0.031, allocations: 0.6197 MB / 410.4 MB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.03101, allocations: 3.984 kB / 410.4 MB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.03101, allocations: 0 / 410.4 MB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.107e-05/0.03109, allocations: 83.31 kB / 410.5 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.132e-05/0.03115, allocations: 23.98 kB / 410.5 MB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.03132, allocations: 43.97 kB / 410.6 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.03144, allocations: 80.48 kB / 410.6 MB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009745/0.03241, allocations: 0.79 MB / 411.4 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006697/0.03308, allocations: 0.811 MB / 412.2 MB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001763/0.03326, allocations: 159.3 kB / 412.4 MB, free: 10.65 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001853/0.03344, allocations: 272.5 kB / 412.7 MB, free: 10.38 MB / 394.7 MB Notification: Performance of Backend: time 3.1e-07/0.03344, allocations: 0 / 412.7 MB, free: 10.38 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001254/0.0347, allocations: 0.9987 MB / 413.7 MB, free: 9.328 MB / 394.7 MB Notification: Performance of SimCode: time 0.001635/0.03633, allocations: 2.128 MB / 415.8 MB, free: 7.145 MB / 394.7 MB Notification: Performance of Templates: time 0.0196/0.05593, allocations: 19.21 MB / 435 MB, free: 4.027 MB / 410.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.3446476021781564]