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.0008029/0.0008029, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001126/0.001929, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.000698/0.000698, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009051/0.001603, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.8058/0.8058, allocations: 158.6 MB / 171 MB, free: 2.586 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1418/0.9476, allocations: 49.49 MB / 220.5 MB, free: 1.441 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo): time 0.4738/0.4738, allocations: 100.5 MB / 321.8 MB, free: 4.719 MB / 314.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06488/0.5386, allocations: 35.69 MB / 357.5 MB, free: 1.332 MB / 346.7 MB " [Timeout remaining time 179] Using package Dynawo with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-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) Ignoring simflag -s=dassl since the model is compiled with --daeMode, which needs -s=ida 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.292e-06/1.292e-06, allocations: 0 / 359 MB, free: 15.86 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.504e-05/1.633e-05, allocations: 2.312 kB / 359 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCLoadVarQLarge): time 0.004497/0.004514, allocations: 5.057 MB / 364 MB, free: 10.76 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003011/0.007525, allocations: 2.98 MB / 367 MB, free: 7.777 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002752/0.0078, allocations: 15.94 kB / 367 MB, free: 7.762 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002943/0.008094, allocations: 202.2 kB / 367.2 MB, free: 7.562 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003746/0.008469, allocations: 278 kB / 367.5 MB, free: 7.289 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.009584, allocations: 0.958 MB / 368.5 MB, free: 6.328 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008082/0.01039, allocations: 1.202 MB / 369.7 MB, free: 5.121 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003362/0.01073, allocations: 299.5 kB / 370 MB, free: 4.793 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007046/0.01143, allocations: 0.8337 MB / 370.8 MB, free: 3.941 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003048/0.01174, allocations: 378.7 kB / 371.2 MB, free: 3.57 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001077/0.01185, allocations: 120 kB / 371.3 MB, free: 3.453 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002816/0.01213, allocations: 263.7 kB / 371.5 MB, free: 3.195 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.01224, allocations: 195.4 kB / 371.7 MB, free: 3.004 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001991/0.01244, allocations: 275.4 kB / 372 MB, free: 2.734 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007393/0.01318, allocations: 0.8562 MB / 372.9 MB, free: 1.875 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.495e-05/0.0132, allocations: 3.984 kB / 372.9 MB, free: 1.871 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.0132, allocations: 0 / 372.9 MB, free: 1.871 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.693e-05/0.01322, allocations: 4 kB / 372.9 MB, free: 1.867 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002072/0.01529, allocations: 1.802 MB / 374.7 MB, free: 12 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.01532, allocations: 12.03 kB / 374.7 MB, free: 0 / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008471/0.01617, allocations: 400.6 kB / 375.1 MB, free: 15.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004653/0.01663, allocations: 418 kB / 375.5 MB, free: 15.17 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002145/0.01685, allocations: 0.5151 MB / 376 MB, free: 14.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.758e-05/0.01693, allocations: 76.36 kB / 376.1 MB, free: 14.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006253/0.01755, allocations: 0.6692 MB / 376.7 MB, free: 13.76 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.01757, allocations: 7.938 kB / 376.7 MB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.097e-05/0.01761, allocations: 28 kB / 376.8 MB, free: 13.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.01762, allocations: 20 kB / 376.8 MB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003058/0.01793, allocations: 232.9 kB / 377 MB, free: 13.48 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.001948/0.01987, allocations: 2.126 MB / 379.1 MB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004559/0.02033, allocations: 344.1 kB / 379.5 MB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.02047, allocations: 131.1 kB / 379.6 MB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.981e-05/0.02051, allocations: 12.48 kB / 379.6 MB, free: 10.81 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004213/0.02093, allocations: 489.8 kB / 380.1 MB, free: 10.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=81): time 1.653e-06/0.02093, allocations: 0 / 380.1 MB, free: 10.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=81): time 0.001557/0.02249, allocations: 0.9024 MB / 381 MB, free: 9.391 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.02254, allocations: 97.69 kB / 381.1 MB, free: 9.277 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003579/0.02289, allocations: 0.5818 MB / 381.7 MB, free: 8.684 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.809e-05/0.02294, allocations: 53.69 kB / 381.7 MB, free: 8.625 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.02308, allocations: 322.7 kB / 382 MB, free: 8.305 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.02322, allocations: 261.9 kB / 382.3 MB, free: 8.047 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/0.02337, allocations: 178.5 kB / 382.5 MB, free: 7.863 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.02349, allocations: 414.5 kB / 382.9 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002442/0.02374, allocations: 176 kB / 383 MB, free: 7.273 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00032/0.02406, allocations: 398 kB / 383.4 MB, free: 6.809 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007276/0.02479, allocations: 0.7505 MB / 384.2 MB, free: 5.984 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.02479, allocations: 4 kB / 384.2 MB, free: 5.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001226/0.02602, allocations: 0.8979 MB / 385.1 MB, free: 5.059 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.056e-05/0.02606, allocations: 37.7 kB / 385.1 MB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.02607, allocations: 8 kB / 385.1 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007235/0.02679, allocations: 380 kB / 385.5 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.02702, allocations: 131.8 kB / 385.6 MB, free: 4.504 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002503/0.02953, allocations: 3.349 MB / 389 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002573/0.02978, allocations: 91.47 kB / 389.1 MB, free: 0.9023 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-05/0.02982, allocations: 28 kB / 389.1 MB, free: 0.875 MB / 378.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.switchOffSignal1,sVarCStandard.switchOffSignal2,sVarCStandard.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.0002521/0.03007, allocations: 261.9 kB / 389.4 MB, free: 0.6133 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.056e-05/0.03016, allocations: 95.78 kB / 389.4 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008205/0.03098, allocations: 0.6082 MB / 390.1 MB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.03099, allocations: 7.984 kB / 390.1 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.03099, allocations: 0 / 390.1 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.972e-05/0.03107, allocations: 79.31 kB / 390.1 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.127e-05/0.0311, allocations: 19.91 kB / 390.2 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.337e-05/0.03116, allocations: 16 kB / 390.2 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.03132, allocations: 51.95 kB / 390.2 MB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.03145, allocations: 88.42 kB / 390.3 MB, free: 15.63 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009759/0.03242, allocations: 0.7708 MB / 391.1 MB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007148/0.03314, allocations: 0.811 MB / 391.9 MB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001718/0.03331, allocations: 151.3 kB / 392 MB, free: 13.87 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001896/0.0335, allocations: 280.5 kB / 392.3 MB, free: 13.59 MB / 394.7 MB Notification: Performance of Backend: time 3.9e-07/0.0335, allocations: 0 / 392.3 MB, free: 13.59 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001307/0.0348, allocations: 1.046 MB / 393.4 MB, free: 12.49 MB / 394.7 MB Notification: Performance of SimCode: time 0.002069/0.03687, allocations: 2.166 MB / 395.5 MB, free: 10.28 MB / 394.7 MB Notification: Performance of Templates: time 0.02013/0.057, allocations: 19.2 MB / 414.7 MB, free: 7.168 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 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -s=ida > 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.3639848129823804]