Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BLDC_BLDC.Examples.DemoEncoder.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/BLDC 1.9.0/package.mo", uses=false) Using package BLDC with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BLDC 1.9.0/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) Running command: translateModel(BLDC.Examples.DemoEncoder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=600000,variableFilter="",fileNamePrefix="BLDC_BLDC.Examples.DemoEncoder") translateModel(BLDC.Examples.DemoEncoder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=600000,variableFilter="",fileNamePrefix="BLDC_BLDC.Examples.DemoEncoder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 107.3 kB / 16.42 MB, free: 5.973 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.001302/0.001302, allocations: 191.3 kB / 17.36 MB, free: 5.566 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.208/1.208, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BLDC 1.9.0/package.mo): time 0.0187/0.0187, allocations: 2.601 MB / 293.8 MB, free: 12.14 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.33e-05/1.331e-05, allocations: 2.281 kB / 405.9 MB, free: 29.68 MB / 302.1 MB Notification: Performance of NFInst.instantiate(BLDC.Examples.DemoEncoder): time 0.003563/0.003584, allocations: 4.202 MB / 410.1 MB, free: 25.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002348/0.005945, allocations: 1.707 MB / 411.8 MB, free: 23.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003355/0.006293, allocations: 27.81 kB / 411.9 MB, free: 23.72 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002868/0.006587, allocations: 134.6 kB / 412 MB, free: 23.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006522/0.007258, allocations: 274.1 kB / 412.3 MB, free: 23.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005818/0.007848, allocations: 483.2 kB / 412.7 MB, free: 22.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001159/0.009018, allocations: 1.415 MB / 414.2 MB, free: 21.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005092/0.009538, allocations: 0.5035 MB / 414.7 MB, free: 20.89 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003993/0.009946, allocations: 498.3 kB / 415.1 MB, free: 20.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003292/0.01028, allocations: 0.4901 MB / 415.6 MB, free: 19.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.01041, allocations: 100 kB / 415.7 MB, free: 19.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002126/0.01063, allocations: 167.9 kB / 415.9 MB, free: 19.65 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0006239/0.01126, allocations: 1.484 MB / 417.4 MB, free: 18.15 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002601/0.01152, allocations: 0.8967 MB / 418.3 MB, free: 17.24 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.01165, allocations: 155.5 kB / 418.4 MB, free: 17.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001196/0.01178, allocations: 55.56 kB / 418.5 MB, free: 17.04 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: 238 (190) * Number of variables: 238 (182) Notification: Performance of Bindings: time 0.00254/0.01432, allocations: 4.351 MB / 422.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001963/0.01453, allocations: 230.2 kB / 423.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of Early Inline: time 0.002102/0.01664, allocations: 3.213 MB / 426.3 MB, free: 9.043 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001167/0.01676, allocations: 167.8 kB / 426.4 MB, free: 8.879 MB / 302.1 MB Notification: Performance of Alias: time 0.003442/0.02021, allocations: 4.441 MB / 430.9 MB, free: 3.973 MB / 302.1 MB Notification: Performance of simplify2: time 8.831e-05/0.02031, allocations: 119.8 kB / 431 MB, free: 3.855 MB / 302.1 MB Notification: Performance of Events: time 0.0008663/0.02119, allocations: 0.9573 MB / 431.9 MB, free: 2.93 MB / 302.1 MB Notification: Performance of Detect States: time 0.0008297/0.02202, allocations: 1.141 MB / 433.1 MB, free: 1.746 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0006695/0.0227, allocations: 0.8519 MB / 433.9 MB, free: 0.8281 MB / 302.1 MB Error: Internal error NBSlice.resolveDependency failed because subscripts, dimensions and dependencies were not of equal length. variable subscripts(2): {1:2, 1:2} variable dimensions(2): {2, 2} equation dimensions(1): {2} variable dependencies(2): {true, false} Error: Internal error NBSlice.resolveDependency failed for: sinCosEvaluation.rotator.RotationMatrix. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (2) sinCosEvaluation.rotator.y = sinCosEvaluation.rotator.RotationMatrix * sinCosEvaluation.rotator.u ($RES_SIM_90)