Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.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.Machines.TestSingleLayer12over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestSingleLayer12over12") translateModel(HanserModelica.Machines.TestSingleLayer12over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestSingleLayer12over12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 104.4 kB / 16.42 MB, free: 6.461 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.379/1.379, allocations: 222.9 MB / 240.1 MB, free: 4.551 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.00141/0.00141, allocations: 203.3 kB / 290.4 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03389/0.03389, allocations: 8.798 MB / 349.3 MB, free: 4.637 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.032e-05/3.032e-05, allocations: 2.281 kB / 464.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestSingleLayer12over12): time 0.002653/0.002692, allocations: 1.235 MB / 465.7 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002338/0.005045, allocations: 1.156 MB / 466.9 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.479e-05/0.005103, allocations: 0 / 466.9 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005305/0.005663, allocations: 83.67 kB / 467 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001052/0.006726, allocations: 394.4 kB / 467.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.861e-06/0.006746, allocations: 4 kB / 467.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001492/0.008244, allocations: 0.9715 MB / 468.3 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.429e-05/0.008298, allocations: 0 / 468.3 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.529e-05/0.008339, allocations: 19.86 kB / 468.4 MB, free: 9.344 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.201e-05/0.008397, allocations: 19.86 kB / 468.4 MB, free: 9.324 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.008416, allocations: 4 kB / 468.4 MB, free: 9.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004458/0.008867, allocations: 271.6 kB / 468.6 MB, free: 9.055 MB / 302.1 MB Notification: Performance of combineBinaries: time 9.264e-05/0.008972, allocations: 63.23 kB / 468.7 MB, free: 8.992 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 3.876e-05/0.009018, allocations: 51.25 kB / 468.8 MB, free: 8.941 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.41e-05/0.009037, allocations: 4 kB / 468.8 MB, free: 8.938 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.236e-06/0.009051, allocations: 0 / 468.8 MB, free: 8.938 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.0004395/0.009495, allocations: 351.4 kB / 469.1 MB, free: 8.492 MB / 302.1 MB Notification: Performance of FunctionAlias: time 1.757e-05/0.009519, allocations: 11.94 kB / 469.1 MB, free: 8.48 MB / 302.1 MB Notification: Performance of Early Inline: time 5.686e-05/0.009581, allocations: 48.36 kB / 469.2 MB, free: 8.406 MB / 302.1 MB Notification: Performance of simplify1: time 5.31e-07/0.009587, allocations: 0 / 469.2 MB, free: 8.406 MB / 302.1 MB Notification: Performance of Alias: time 7.931e-05/0.009671, allocations: 64.5 kB / 469.2 MB, free: 8.305 MB / 302.1 MB Notification: Performance of simplify2: time 5.41e-07/0.009677, allocations: 0 / 469.2 MB, free: 8.305 MB / 302.1 MB Notification: Performance of Events: time 7.194e-06/0.009688, allocations: 4 kB / 469.2 MB, free: 8.301 MB / 302.1 MB Notification: Performance of Detect States: time 6.629e-05/0.009759, allocations: 20.25 kB / 469.2 MB, free: 8.266 MB / 302.1 MB Notification: Performance of Partitioning: time 8.095e-06/0.009773, allocations: 0 / 469.2 MB, free: 8.266 MB / 302.1 MB Notification: Performance of Causalize: time 7.044e-06/0.009784, allocations: 3.984 kB / 469.3 MB, free: 8.262 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 2.724e-05/0.009816, allocations: 40.36 kB / 469.3 MB, free: 8.195 MB / 302.1 MB Notification: Performance of Inline: time 0.0002679/0.01009, allocations: 135.4 kB / 469.4 MB, free: 8.031 MB / 302.1 MB Notification: Performance of Partitioning: time 2.084e-05/0.01012, allocations: 16.12 kB / 469.4 MB, free: 8.008 MB / 302.1 MB Notification: Performance of Cleanup: time 4.839e-06/0.01013, allocations: 0 / 469.4 MB, free: 8.008 MB / 302.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(9) {N[1].re, N[2].re, N[3].re}, does not fit the equation size 3. Error: Internal error NBSlice.resolveDependency failed for: N.re. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [FOR-] (3) ($RES_BND_0) [----] for $i1 in 1:3 loop [----] [SCAL] (1) effectiveTurns[$i1] = (N.im ^ 2.0 + N.re ^ 2.0) ^ 0.5 ($RES_BND_1) [----] end for; Error: Internal error NBInitialization.main failed to apply modules!