Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.Keep_within_two_limits.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_within_two_limits,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Keep_within_two_limits") translateModel(AES.Coursework.Typical_control_structures.Keep_within_two_limits,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Keep_within_two_limits") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 112.1 kB / 16.43 MB, free: 6.5 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.001168/0.001168, allocations: 183.2 kB / 17.35 MB, free: 5.754 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08553/0.08553, allocations: 22.32 MB / 313.5 MB, free: 8.879 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.991e-05/3.001e-05, allocations: 4.953 kB / 438.4 MB, free: 11.11 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Keep_within_two_limits): time 0.00345/0.003491, allocations: 2.052 MB / 440.4 MB, free: 9.043 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.004955, allocations: 0.6857 MB / 441.1 MB, free: 8.352 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001986/0.005168, allocations: 4 kB / 441.1 MB, free: 8.348 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003421/0.005518, allocations: 35.67 kB / 441.1 MB, free: 8.312 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002808/0.005831, allocations: 55.52 kB / 441.2 MB, free: 8.258 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004759/0.006317, allocations: 183.3 kB / 441.4 MB, free: 8.082 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005091/0.006834, allocations: 359.3 kB / 441.7 MB, free: 7.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002188/0.007061, allocations: 108.1 kB / 441.8 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.007261, allocations: 119.5 kB / 441.9 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000206/0.007475, allocations: 127.3 kB / 442.1 MB, free: 7.383 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.259e-05/0.007558, allocations: 28 kB / 442.1 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.729e-05/0.007612, allocations: 24 kB / 442.1 MB, free: 7.332 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0002806/0.0079, allocations: 399.2 kB / 442.5 MB, free: 6.938 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001646/0.008074, allocations: 256.1 kB / 442.8 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.46e-05/0.008166, allocations: 39.81 kB / 442.8 MB, free: 6.645 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.388e-05/0.008225, allocations: 11.88 kB / 442.8 MB, free: 6.633 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: 45 (44) * Number of variables: 45 (43) Notification: Performance of Bindings: time 0.001245/0.009478, allocations: 1.219 MB / 444 MB, free: 5.305 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001116/0.009597, allocations: 55.88 kB / 444.1 MB, free: 5.25 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0005016/0.01011, allocations: 0.5386 MB / 444.6 MB, free: 4.684 MB / 318.1 MB Notification: Performance of simplify1: time 7.607e-05/0.01019, allocations: 43.94 kB / 444.7 MB, free: 4.641 MB / 318.1 MB Notification: Performance of Alias: time 0.00143/0.01163, allocations: 1.124 MB / 445.8 MB, free: 3.367 MB / 318.1 MB Notification: Performance of simplify2: time 6.443e-05/0.0117, allocations: 35.95 kB / 445.8 MB, free: 3.332 MB / 318.1 MB Notification: Performance of Events: time 0.0001318/0.01184, allocations: 78.42 kB / 445.9 MB, free: 3.254 MB / 318.1 MB Notification: Performance of Detect States: time 0.0003834/0.01223, allocations: 160 kB / 446.1 MB, free: 3.082 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001978/0.01244, allocations: 162.3 kB / 446.2 MB, free: 2.902 MB / 318.1 MB Notification: Performance of Causalize: time 0.0006837/0.01313, allocations: 0.5259 MB / 446.7 MB, free: 2.355 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003694/0.01351, allocations: 408.4 kB / 447.1 MB, free: 1.93 MB / 318.1 MB Notification: Performance of Inline: time 0.0007597/0.01428, allocations: 0.716 MB / 447.9 MB, free: 1.18 MB / 318.1 MB Notification: Performance of Partitioning: time 4.736e-05/0.01434, allocations: 38.38 kB / 447.9 MB, free: 1.137 MB / 318.1 MB Notification: Performance of Cleanup: time 0.000113/0.01446, allocations: 85.05 kB / 448 MB, free: 1.051 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) C_hi.PV = (P.bb[2:3] - P.d * P.a[2:3]) / (P.a_end * P.x_scaled) + P.d * add.y ($RES_SIM_13) Error: Internal error NBInitialization.main failed to apply modules!