Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.Keep_below_limit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: translateModel(AES.Coursework.Typical_control_structures.Keep_below_limit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Keep_below_limit") translateModel(AES.Coursework.Typical_control_structures.Keep_below_limit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Keep_below_limit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001103, allocations: 110.5 kB / 16.42 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 186.1 kB / 17.36 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.0861/0.0861, allocations: 22.32 MB / 313.5 MB, free: 8.898 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.208e-05/2.21e-05, allocations: 4.672 kB / 438.4 MB, free: 11.14 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Keep_below_limit): time 0.002895/0.002927, allocations: 1.811 MB / 440.2 MB, free: 9.316 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.004055, allocations: 0.5962 MB / 440.8 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.004198, allocations: 0 / 440.8 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002802/0.004487, allocations: 35.72 kB / 440.8 MB, free: 8.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001684/0.004665, allocations: 39.72 kB / 440.8 MB, free: 8.641 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002908/0.004981, allocations: 107.8 kB / 440.9 MB, free: 8.535 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003329/0.005323, allocations: 243.5 kB / 441.2 MB, free: 8.297 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.00548, allocations: 61.47 kB / 441.2 MB, free: 8.238 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.005617, allocations: 83.75 kB / 441.3 MB, free: 8.156 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.005775, allocations: 83.53 kB / 441.4 MB, free: 8.074 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.991e-05/0.005822, allocations: 16 kB / 441.4 MB, free: 8.059 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.01e-05/0.005857, allocations: 16 kB / 441.4 MB, free: 8.043 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001853/0.006047, allocations: 249 kB / 441.7 MB, free: 7.797 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 9.858e-05/0.006155, allocations: 157.7 kB / 441.8 MB, free: 7.641 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.839e-05/0.00621, allocations: 19.94 kB / 441.9 MB, free: 7.621 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.092e-05/0.006255, allocations: 11.88 kB / 441.9 MB, free: 7.609 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: 27 (26) * Number of variables: 27 (25) Notification: Performance of Bindings: time 0.0008136/0.007074, allocations: 0.7907 MB / 442.7 MB, free: 6.715 MB / 318.1 MB Notification: Performance of FunctionAlias: time 9.636e-05/0.007177, allocations: 27.97 kB / 442.7 MB, free: 6.688 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0003881/0.007572, allocations: 348.2 kB / 443 MB, free: 6.32 MB / 318.1 MB Notification: Performance of simplify1: time 5.651e-05/0.007636, allocations: 31.95 kB / 443.1 MB, free: 6.289 MB / 318.1 MB Notification: Performance of Alias: time 0.0009834/0.008625, allocations: 0.672 MB / 443.7 MB, free: 5.512 MB / 318.1 MB Notification: Performance of simplify2: time 4.956e-05/0.008687, allocations: 31.95 kB / 443.8 MB, free: 5.48 MB / 318.1 MB Notification: Performance of Events: time 8.154e-05/0.008774, allocations: 39.91 kB / 443.8 MB, free: 5.441 MB / 318.1 MB Notification: Performance of Detect States: time 0.0001775/0.008959, allocations: 120 kB / 443.9 MB, free: 5.309 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001253/0.009092, allocations: 92.23 kB / 444 MB, free: 5.203 MB / 318.1 MB Notification: Performance of Causalize: time 0.0004255/0.009524, allocations: 334 kB / 444.3 MB, free: 4.867 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002613/0.009794, allocations: 268.4 kB / 444.6 MB, free: 4.578 MB / 318.1 MB Notification: Performance of Inline: time 0.0005519/0.01035, allocations: 489.2 kB / 445.1 MB, free: 4.066 MB / 318.1 MB Notification: Performance of Partitioning: time 3.272e-05/0.0104, allocations: 28.12 kB / 445.1 MB, free: 4.031 MB / 318.1 MB Notification: Performance of Cleanup: time 7.312e-05/0.01047, allocations: 55.95 kB / 445.2 MB, free: 3.973 MB / 318.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(2) {P.bb[2], P.bb[3]}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: P.bb[2:3]. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) P.y = (P.bb[2:3] - P.d * P.a[2:3]) / (P.a_end * P.x_scaled) + P.d * aLD.y ($RES_SIM_5) Error: Internal error NBInitialization.main failed to apply modules!