Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.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/Modelica 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/HanserModelica 2.0.0-master/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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) Running command: translateModel(HanserModelica.VariablesTypes.VectorsMatrices2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2") translateModel(HanserModelica.VariablesTypes.VectorsMatrices2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 111.5 kB / 16.42 MB, free: 6.473 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.534/1.534, allocations: 222.9 MB / 240.1 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002425/0.002424, allocations: 184.5 kB / 290.4 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03412/0.03412, allocations: 8.797 MB / 349.3 MB, free: 4.617 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.546e-05, allocations: 2.281 kB / 464.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.001353/0.001389, allocations: 0.4927 MB / 465 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.002981, allocations: 1.085 MB / 466.1 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.914e-05/0.003025, allocations: 4 kB / 466.1 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002717/0.003311, allocations: 27.91 kB / 466.1 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.187e-05/0.003383, allocations: 19.91 kB / 466.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.769e-06/0.003398, allocations: 4 kB / 466.1 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.825e-05/0.003491, allocations: 39.83 kB / 466.2 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.559e-05/0.003543, allocations: 4 kB / 466.2 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.00366, allocations: 23.91 kB / 466.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.41e-05/0.003743, allocations: 11.94 kB / 466.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.003767, allocations: 4 kB / 466.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.298e-06/0.003781, allocations: 0 / 466.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of combineBinaries: time 8.643e-05/0.003872, allocations: 59.39 kB / 466.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 2.626e-05/0.003904, allocations: 39.48 kB / 466.3 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.41e-05/0.003923, allocations: 4 kB / 466.3 MB, free: 11.35 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.017e-05/0.003938, allocations: 0 / 466.3 MB, free: 11.35 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 (0) * Number of variables: 0 (0) Notification: Performance of Bindings: time 0.0004275/0.004372, allocations: 280.2 kB / 466.6 MB, free: 10.97 MB / 302.1 MB Notification: Performance of FunctionAlias: time 1.102e-05/0.004391, allocations: 4 kB / 466.6 MB, free: 10.97 MB / 302.1 MB Notification: Performance of Early Inline: time 5.442e-05/0.00445, allocations: 44.36 kB / 466.6 MB, free: 10.9 MB / 302.1 MB Notification: Performance of simplify1: time 6.81e-07/0.004456, allocations: 0 / 466.6 MB, free: 10.9 MB / 302.1 MB Notification: Performance of Alias: time 6.767e-05/0.004529, allocations: 56.58 kB / 466.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simplify2: time 6.71e-07/0.004537, allocations: 4 kB / 466.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of Events: time 5.009e-06/0.004547, allocations: 0 / 466.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of Detect States: time 6.781e-05/0.004621, allocations: 22.59 kB / 466.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of Partitioning: time 1.204e-05/0.00464, allocations: 0 / 466.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of Causalize: time 1.042e-05/0.004655, allocations: 3.984 kB / 466.7 MB, free: 10.76 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 3.3e-05/0.004694, allocations: 40.36 kB / 466.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of Inline: time 0.0003175/0.005016, allocations: 157.7 kB / 466.9 MB, free: 10.51 MB / 302.1 MB Notification: Performance of Partitioning: time 2.034e-05/0.005047, allocations: 16.06 kB / 466.9 MB, free: 10.49 MB / 302.1 MB Notification: Performance of Cleanup: time 7.163e-06/0.00506, allocations: 3.984 kB / 466.9 MB, free: 10.48 MB / 302.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [FOR-] (9) ($RES_BND_2) [----] for {$i1 in 0:2, $i2 in 0:2} loop [----] [SCAL] (1) C[$i1, $i2] = cos(1.0471975511965976 * (2 * ($i1 - $i2))) ($RES_BND_3) [----] end for; slice: {0, 1, 2, 3}; Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [PRMT] (9) parameter Real[3, 3] B = {{cos((((i - j) * 2) * 3.141592653589793) / 3.0) for i in 0:2} for j in 0:2} (fixed = {true for $i1 in 1:3, $i2 in 1:3}), [PRMT] (9) parameter Real[3, 3] C = {cos((((i - j) * 2) * 3.141592653589793) / 3.0) for i in 0:2, j in 0:2} (fixed = {true for $i1 in 1:3, $i2 in 1:3}) Following equations were created by fixing variables: Use -d=bltdump for more verbose debug output. Error: Internal error NBInitialization.main failed to apply modules!