Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.VelocityDriveControl_AutoTuning.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.001889/0.001889, allocations: 104.3 kB / 19.76 MB, free: 1.906 MB / 14.72 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.002402/0.002402, allocations: 217.6 kB / 23.07 MB, free: 4.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.502/1.502, allocations: 230.7 MB / 256.9 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.06255/0.06255, allocations: 11.34 MB / 324.6 MB, free: 7.996 MB / 254.1 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(IndustrialControlSystems.Applications.ProcessControl.VelocityDriveControl_AutoTuning,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.VelocityDriveControl_AutoTuning") translateModel(IndustrialControlSystems.Applications.ProcessControl.VelocityDriveControl_AutoTuning,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.VelocityDriveControl_AutoTuning") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.086e-05/3.086e-05, allocations: 6.219 kB / 452.3 MB, free: 9.832 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ProcessControl.VelocityDriveControl_AutoTuning): time 0.01144/0.01147, allocations: 7.139 MB / 459.4 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004871/0.01634, allocations: 1.777 MB / 461.2 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001148/0.01749, allocations: 35.75 kB / 461.2 MB, free: 0.832 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.01862, allocations: 325.5 kB / 461.6 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00156/0.02018, allocations: 448.7 kB / 462 MB, free: 72 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009882/0.02117, allocations: 347.5 kB / 462.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00241/0.02358, allocations: 1.725 MB / 464.1 MB, free: 14 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007167/0.0243, allocations: 306.7 kB / 464.4 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001401/0.0257, allocations: 0.6151 MB / 465 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008486/0.02655, allocations: 0.5012 MB / 465.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002176/0.02677, allocations: 124 kB / 465.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008971/0.02766, allocations: 267.8 kB / 465.9 MB, free: 12.17 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.002615/0.03028, allocations: 2.468 MB / 468.3 MB, free: 9.68 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.001454/0.03173, allocations: 1.5 MB / 469.8 MB, free: 8.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003028/0.03204, allocations: 124 kB / 469.9 MB, free: 8.039 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0003065/0.03234, allocations: 47.8 kB / 470 MB, free: 7.992 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 262 (246) * Number of variables: 262 (262) Notification: Performance of [SIM] Bindings: time 0.006033/0.03837, allocations: 5.991 MB / 476 MB, free: 1.773 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0007749/0.03915, allocations: 0.6365 MB / 476.6 MB, free: 1.102 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.003498/0.04265, allocations: 3.392 MB / 480 MB, free: 13.67 MB / 350.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001145/0.04379, allocations: 0.6198 MB / 480.6 MB, free: 12.97 MB / 350.1 MB Notification: Performance of [SIM] Alias: time 0.007898/0.05169, allocations: 5.418 MB / 486 MB, free: 6.996 MB / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0006918/0.05238, allocations: 445.9 kB / 486.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0003637/0.05275, allocations: 296 kB / 486.8 MB, free: 6.188 MB / 350.1 MB Notification: Performance of [SIM] Detect States: time 0.0007803/0.05353, allocations: 0.6076 MB / 487.4 MB, free: 5.52 MB / 350.1 MB Notification: Performance of [SIM] Events: time 0.000469/0.054, allocations: 276.6 kB / 487.6 MB, free: 5.25 MB / 350.1 MB Notification: Performance of [SIM] Partitioning: time 0.00116/0.05516, allocations: 0.9401 MB / 488.6 MB, free: 4.266 MB / 350.1 MB Notification: Performance of [SIM] Causalize: time 0.006806/0.06196, allocations: 5.16 MB / 493.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001681/0.06364, allocations: 1.618 MB / 495.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.002536/0.06618, allocations: 1.458 MB / 496.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of [INI] Inline: time 0.003146/0.06932, allocations: 3.068 MB / 499.9 MB, free: 8.648 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 0.0001529/0.06948, allocations: 75.94 kB / 500 MB, free: 8.562 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 0.0007875/0.07026, allocations: 0.6688 MB / 0.4889 GB, free: 7.895 MB / 366.1 MB Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (1) Boolean $TEV_1 [DISC] (1) Real $TEV_2 [DISC] (1) Real $TEV_3 [DISC] (1) Real $TEV_4 [DISC] (1) Boolean $TEV_5 [DISC] (1) Boolean $SEV_1 [DISC] (1) Boolean $SEV_2 [DISC] (1) protected discrete Real noiseGen.U [ALGB] (1) Real M1.la.v [DISC] (1) protected discrete Real ATPIdigital.Pox [DISC] (1) protected discrete Real ATPIdigital.wox [DISC] (1) protected discrete Real ATPIdigital.lastToggleUp [DISC] (1) protected discrete Real ATPIdigital.rCSmax [DISC] (1) protected Boolean ATPIdigital.AT Following equations were created by fixing variables: [SCAL] (1) $PRE.ATPIdigital.CSpi = $START.ATPIdigital.CSpi ($RES_SRT_355) [SCAL] (1) $PRE.ATPIdigital.PV = $START.ATPIdigital.PV ($RES_SRT_354) [SCAL] (1) $PRE.ATPIdigital.UP = $START.ATPIdigital.UP ($RES_SRT_353) [SCAL] (1) $PRE.ATPIdigital.period = $START.ATPIdigital.period ($RES_SRT_352) [SCAL] (1) J1.w_rel = $START.J1.w_rel ($RES_SRT_351) [SCAL] (1) J1.phi_rel = $START.J1.phi_rel ($RES_SRT_350) [SCAL] (1) M1.airGapDC.ia = $START.M1.airGapDC.ia ($RES_SRT_349) [SCAL] (1) M1.strayLoad.phi = $START.M1.strayLoad.phi ($RES_SRT_348) [SCAL] (1) M1.inertiaRotor.w = $START.M1.inertiaRotor.w ($RES_SRT_347) [SCAL] (1) ATPIdigital.linFBout = $START.ATPIdigital.linFBout ($RES_SRT_346) Use -d=bltdump for more verbose debug output. Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.626701629953459] Failed to read output from testmodel.py, exit status != 0: 0.08307659602724016 0.09584002300000001 0.060514049 Calling exit ...