Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.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.TestDoubleLayer10over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12") translateModel(HanserModelica.Machines.TestDoubleLayer10over12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 106.7 kB / 16.42 MB, free: 6.035 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.436/1.436, allocations: 222.9 MB / 240.1 MB, free: 4.586 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.001459/0.001459, allocations: 200.4 kB / 290.4 MB, free: 2.289 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0362/0.0362, allocations: 8.786 MB / 349.3 MB, free: 4.656 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.743e-05/2.746e-05, allocations: 2.281 kB / 464.5 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.002345/0.00238, allocations: 1.242 MB / 465.7 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.004327, allocations: 1.16 MB / 466.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.139e-05/0.004381, allocations: 0 / 466.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000441/0.004828, allocations: 75.7 kB / 467 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001135/0.005991, allocations: 402.4 kB / 467.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.38e-06/0.006007, allocations: 0 / 467.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001571/0.007586, allocations: 0.9676 MB / 468.3 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.96e-05/0.007637, allocations: 0 / 468.3 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.953e-05/0.007692, allocations: 23.86 kB / 468.4 MB, free: 9.469 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.689e-05/0.007754, allocations: 15.88 kB / 468.4 MB, free: 9.453 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.007772, allocations: 0 / 468.4 MB, free: 9.453 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005053/0.008281, allocations: 275.6 kB / 468.7 MB, free: 9.184 MB / 302.1 MB Notification: Performance of combineBinaries: time 7.106e-05/0.008364, allocations: 63.22 kB / 468.7 MB, free: 9.121 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 3.436e-05/0.008405, allocations: 55.25 kB / 468.8 MB, free: 9.066 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.201e-05/0.008422, allocations: 0 / 468.8 MB, free: 9.066 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.855e-06/0.008435, allocations: 0 / 468.8 MB, free: 9.066 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.0004372/0.008876, allocations: 355.4 kB / 469.1 MB, free: 8.617 MB / 302.1 MB Notification: Performance of FunctionAlias: time 2.13e-05/0.008904, allocations: 11.94 kB / 469.1 MB, free: 8.605 MB / 302.1 MB Notification: Performance of Early Inline: time 6.425e-05/0.008973, allocations: 44.36 kB / 469.2 MB, free: 8.535 MB / 302.1 MB Notification: Performance of simplify1: time 2.514e-06/0.008982, allocations: 3.984 kB / 469.2 MB, free: 8.531 MB / 302.1 MB Notification: Performance of Alias: time 5.894e-05/0.009045, allocations: 64.56 kB / 469.2 MB, free: 8.43 MB / 302.1 MB Notification: Performance of simplify2: time 5.11e-07/0.00905, allocations: 0 / 469.2 MB, free: 8.43 MB / 302.1 MB Notification: Performance of Events: time 5.691e-06/0.00906, allocations: 3.938 kB / 469.2 MB, free: 8.426 MB / 302.1 MB Notification: Performance of Detect States: time 4.971e-05/0.009115, allocations: 30.05 kB / 469.3 MB, free: 8.383 MB / 302.1 MB Notification: Performance of Partitioning: time 1.42e-05/0.009135, allocations: 4 kB / 469.3 MB, free: 8.379 MB / 302.1 MB Notification: Performance of Causalize: time 5.21e-06/0.009145, allocations: 0 / 469.3 MB, free: 8.379 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 3.607e-05/0.009185, allocations: 36.38 kB / 469.3 MB, free: 8.316 MB / 302.1 MB Notification: Performance of Inline: time 0.0002644/0.009455, allocations: 129.1 kB / 469.4 MB, free: 8.156 MB / 302.1 MB Notification: Performance of Partitioning: time 1.647e-05/0.009483, allocations: 12.12 kB / 469.4 MB, free: 8.137 MB / 302.1 MB Notification: Performance of Cleanup: time 5.179e-06/0.009493, allocations: 0 / 469.4 MB, free: 8.137 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!