Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup.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.00173/0.00173, allocations: 100.4 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.002129/0.002129, allocations: 214.7 kB / 23.06 MB, free: 4.984 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.487/1.487, allocations: 230.7 MB / 256.9 MB, free: 7.773 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.06168/0.06168, 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.ControlProblems.CascadeAntiWindup,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup") translateModel(IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.519e-05/2.519e-05, allocations: 5.234 kB / 452.3 MB, free: 9.848 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup): time 0.004057/0.004082, allocations: 2.48 MB / 454.8 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002225/0.006308, allocations: 1.151 MB / 455.9 MB, free: 6.191 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002084/0.006516, allocations: 23.75 kB / 455.9 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003625/0.006879, allocations: 138.8 kB / 456.1 MB, free: 6.031 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002022/0.007081, allocations: 107.2 kB / 456.2 MB, free: 5.926 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.008271, allocations: 459.1 kB / 456.6 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001288/0.00956, allocations: 1.245 MB / 457.9 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002434/0.009803, allocations: 102.7 kB / 458 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005759/0.01038, allocations: 474.6 kB / 458.4 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004538/0.01083, allocations: 390.1 kB / 458.8 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.01095, allocations: 68 kB / 458.9 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002396/0.01119, allocations: 143.9 kB / 459 MB, free: 3.062 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.001099/0.01229, allocations: 1.434 MB / 460.4 MB, free: 1.613 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005713/0.01286, allocations: 0.8785 MB / 461.3 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.013, allocations: 72.5 kB / 461.4 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.837e-05/0.01309, allocations: 43.72 kB / 461.4 MB, free: 0.6094 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 (113) * Number of variables: 165 (157) Notification: Performance of [SIM] Bindings: time 0.003321/0.01641, allocations: 3.255 MB / 464.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0004937/0.0169, allocations: 407.8 kB / 465.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.00221/0.01911, allocations: 2.078 MB / 467.2 MB, free: 10.64 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001052/0.02016, allocations: 0.7433 MB / 467.9 MB, free: 9.848 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.004542/0.02471, allocations: 2.955 MB / 470.9 MB, free: 6.539 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0008452/0.02555, allocations: 0.6345 MB / 471.5 MB, free: 5.855 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0005148/0.02607, allocations: 444 kB / 471.9 MB, free: 5.398 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.0009106/0.02698, allocations: 0.6578 MB / 472.6 MB, free: 4.684 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0005512/0.02753, allocations: 366.5 kB / 473 MB, free: 4.305 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.001248/0.02878, allocations: 0.9657 MB / 473.9 MB, free: 3.316 MB / 334.1 MB Notification: Performance of [SIM] Causalize: time 0.002833/0.03161, allocations: 2.463 MB / 476.4 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001745/0.03335, allocations: 1.632 MB / 478 MB, free: 15.21 MB / 350.1 MB Notification: Performance of [INI] Simplify: time 0.001284/0.03464, allocations: 0.7517 MB / 478.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of [INI] Inline: time 0.002143/0.03678, allocations: 2.066 MB / 480.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of [INI] Partitioning: time 8.163e-05/0.03686, allocations: 45.34 kB / 480.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of [INI] Cleanup: time 0.0005356/0.0374, allocations: 467.7 kB / 481.3 MB, free: 11.77 MB / 350.1 MB Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (1) Boolean $TEV_0 [DISC] (1) Real $TEV_1 [DISC] (1) Boolean $TEV_9 [DISC] (1) Boolean $SEV_9 [ALGB] (2) protected Real[2] P4.Y [DISC] (1) protected discrete Real PID_inner.dcs [DISC] (1) protected discrete Real PID_inner.dd [DISC] (1) protected discrete Real PID_inner.d [DISC] (1) protected discrete Real PID_inner.di [DISC] (1) protected discrete Real PID_inner.dp [DISC] (1) protected discrete Real PID_inner.dpv [DISC] (1) protected discrete Real PID_inner.pv [DISC] (1) protected discrete Real PID_inner.dsp [DISC] (1) protected discrete Real PID_inner.sp [DISC] (1) Boolean PID_inner.satLOW [DISC] (1) Boolean PID_inner.satHI [DISC] (1) protected discrete Real PID_outer.dcs [DISC] (1) protected discrete Real PID_outer.cs [DISC] (1) protected discrete Real PID_outer.dd [DISC] (1) protected discrete Real PID_outer.d [DISC] (1) protected discrete Real PID_outer.di [DISC] (1) protected discrete Real PID_outer.dp [DISC] (1) protected discrete Real PID_outer.dpv [DISC] (1) protected discrete Real PID_outer.pv [DISC] (1) protected discrete Real PID_outer.dsp [DISC] (1) protected discrete Real PID_outer.sp [DISC] (1) Boolean PID_outer.satLOW [DISC] (1) Boolean PID_outer.satHI [DISC] (1) Real PID_outer.CS [ALGB] (2) protected Real[2] P1.Y [DISC] (1) protected discrete Real PID_inner_extLock.dcs [DISC] (1) protected discrete Real PID_inner_extLock.dd [DISC] (1) protected discrete Real PID_inner_extLock.d [DISC] (1) protected discrete Real PID_inner_extLock.di [DISC] (1) protected discrete Real PID_inner_extLock.dp [DISC] (1) protected discrete Real PID_inner_extLock.dpv [DISC] (1) protected discrete Real PID_inner_extLock.pv [DISC] (1) protected discrete Real PID_inner_extLock.dsp [DISC] (1) protected discrete Real PID_inner_extLock.sp [DISC] (1) Boolean PID_inner_extLock.satLOW [DISC] (1) protected discrete Real PID_outer_extLock.dcs [DISC] (1) protected discrete Real PID_outer_extLock.dd [DISC] (1) protected discrete Real PID_outer_extLock.d [DISC] (1) protected discrete Real PID_outer_extLock.di [DISC] (1) protected discrete Real PID_outer_extLock.dp [DISC] (1) protected discrete Real PID_outer_extLock.dpv [DISC] (1) protected discrete Real PID_outer_extLock.pv [DISC] (1) protected discrete Real PID_outer_extLock.dsp [DISC] (1) protected discrete Real PID_outer_extLock.sp [DISC] (1) Boolean PID_outer_extLock.satLOW [DISC] (1) Boolean PID_outer_extLock.satHI [DISC] (1) Real PID_outer_extLock.CS Following equations were created by fixing variables: [SCAL] (1) $PRE.PID_outer_extLock.sp = $START.PID_outer_extLock.sp ($RES_SRT_151) [SCAL] (1) $PRE.PID_outer_extLock.pv = $START.PID_outer_extLock.pv ($RES_SRT_150) [SCAL] (1) $PRE.PID_outer_extLock.d = $START.PID_outer_extLock.d ($RES_SRT_149) [SCAL] (1) $PRE.PID_outer_extLock.bias = $START.PID_outer_extLock.bias ($RES_SRT_148) [SCAL] (1) $PRE.PID_outer_extLock.cs = $START.PID_outer_extLock.cs ($RES_SRT_147) [SCAL] (1) $PRE.PID_inner_extLock.sp = $START.PID_inner_extLock.sp ($RES_SRT_146) [SCAL] (1) $PRE.PID_inner_extLock.pv = $START.PID_inner_extLock.pv ($RES_SRT_145) [SCAL] (1) $PRE.PID_inner_extLock.d = $START.PID_inner_extLock.d ($RES_SRT_144) [SCAL] (1) $PRE.PID_inner_extLock.bias = $START.PID_inner_extLock.bias ($RES_SRT_143) [SCAL] (1) $PRE.PID_inner_extLock.cs = $START.PID_inner_extLock.cs ($RES_SRT_142) [SCAL] (1) $PRE.PID_outer.sp = $START.PID_outer.sp ($RES_SRT_141) [SCAL] (1) $PRE.PID_outer.pv = $START.PID_outer.pv ($RES_SRT_140) [SCAL] (1) $PRE.PID_outer.d = $START.PID_outer.d ($RES_SRT_139) [SCAL] (1) $PRE.PID_outer.bias = $START.PID_outer.bias ($RES_SRT_138) [SCAL] (1) $PRE.PID_outer.cs = $START.PID_outer.cs ($RES_SRT_137) [SCAL] (1) $PRE.PID_inner.sp = $START.PID_inner.sp ($RES_SRT_136) [SCAL] (1) $PRE.PID_inner.pv = $START.PID_inner.pv ($RES_SRT_135) [SCAL] (1) $PRE.PID_inner.d = $START.PID_inner.d ($RES_SRT_134) [SCAL] (1) $PRE.PID_inner.bias = $START.PID_inner.bias ($RES_SRT_133) [SCAL] (1) $PRE.PID_inner.cs = $START.PID_inner.cs ($RES_SRT_132) [SCAL] (1) P4.w = $START.P4.w ($RES_SRT_131) [SCAL] (1) P3.w = $START.P3.w ($RES_SRT_130) [SCAL] (1) P2.w = $START.P2.w ($RES_SRT_129) [SCAL] (1) P1.w = $START.P1.w ($RES_SRT_128) 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.5653354339883663] Failed to read output from testmodel.py, exit status != 0: 0.047065488004591316 0.060981434 0.044983845 Calling exit ...