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.001239/0.001239, allocations: 111 kB / 16.42 MB, free: 6.527 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.458/1.458, allocations: 222.9 MB / 240.1 MB, free: 4.547 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.002002/0.002002, allocations: 192.4 kB / 290.4 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03509/0.03509, allocations: 8.8 MB / 349.3 MB, free: 4.617 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.347e-05/3.348e-05, allocations: 4.531 kB / 464.5 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.001579/0.001621, allocations: 0.4986 MB / 465 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001761/0.003393, allocations: 1.089 MB / 466.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.166e-05/0.003446, allocations: 0 / 466.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003009/0.003761, allocations: 19.92 kB / 466.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.27e-05/0.003832, allocations: 19.91 kB / 466.1 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.977e-06/0.003846, allocations: 4 kB / 466.1 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00011/0.003961, allocations: 35.89 kB / 466.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.919e-05/0.004037, allocations: 8 kB / 466.2 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.004161, allocations: 19.91 kB / 466.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.826e-05/0.00426, allocations: 11.94 kB / 466.2 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.004289, allocations: 4 kB / 466.2 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.283e-05/0.004307, allocations: 4 kB / 466.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.000119/0.004431, allocations: 67.38 kB / 466.3 MB, free: 11.53 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 2.444e-05/0.004461, allocations: 31.5 kB / 466.3 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.741e-05/0.004483, allocations: 4 kB / 466.3 MB, free: 11.49 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.292e-05/0.0045, allocations: 0 / 466.3 MB, free: 11.49 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.0004451/0.00495, allocations: 280.2 kB / 466.6 MB, free: 11.12 MB / 302.1 MB Notification: Performance of FunctionAlias: time 1.258e-05/0.004968, allocations: 3.938 kB / 466.6 MB, free: 11.11 MB / 302.1 MB Notification: Performance of Early Inline: time 8.53e-05/0.005061, allocations: 44.36 kB / 466.6 MB, free: 11.04 MB / 302.1 MB Notification: Performance of simplify1: time 5.71e-07/0.005069, allocations: 4 kB / 466.6 MB, free: 11.04 MB / 302.1 MB Notification: Performance of Alias: time 5.778e-05/0.005131, allocations: 52.52 kB / 466.7 MB, free: 10.95 MB / 302.1 MB Notification: Performance of simplify2: time 4.71e-07/0.005136, allocations: 0 / 466.7 MB, free: 10.95 MB / 302.1 MB Notification: Performance of Detect States: time 6.103e-05/0.005202, allocations: 26.12 kB / 466.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of Events: time 9.428e-06/0.005217, allocations: 4 kB / 466.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of Partitioning: time 1.638e-05/0.005239, allocations: 3.984 kB / 466.7 MB, free: 10.9 MB / 302.1 MB Notification: Performance of Causalize: time 6.933e-06/0.00525, allocations: 0 / 466.7 MB, free: 10.9 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 3.739e-05/0.005294, allocations: 40.38 kB / 466.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of Inline: time 0.0003481/0.005647, allocations: 166.9 kB / 466.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of Partitioning: time 2.624e-05/0.005683, allocations: 12.12 kB / 466.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of Cleanup: time 5.56e-06/0.005694, allocations: 3.938 kB / 466.9 MB, free: 10.62 MB / 302.1 MB Error: Internal error NBAdjacency.Matrix.transposeScalar failed for variable index 0. The variables have to be dense (without empty spaces) for this to work! 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!