Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Brake.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Mechanics.Translational.Examples.Brake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|brake.mode|brake.startBackward|brake.startForward|brake1.mode|brake1.startBackward|brake1.startForward",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Brake") translateModel(Modelica.Mechanics.Translational.Examples.Brake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|brake.mode|brake.startBackward|brake.startForward|brake1.mode|brake1.startBackward|brake1.startForward",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Brake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 108 kB / 18.41 MB, free: 4.668 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.001138/0.001138, allocations: 194.7 kB / 19.35 MB, free: 3.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.515/1.515, allocations: 205.1 MB / 225.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.501e-05/3.502e-05, allocations: 2.281 kB / 329.1 MB, free: 3.371 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Brake): time 0.004872/0.004919, allocations: 2.424 MB / 331.6 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.00625, allocations: 0.4922 MB / 332.1 MB, free: 440 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001777/0.006442, allocations: 7.938 kB / 332.1 MB, free: 432 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003159/0.006766, allocations: 51.58 kB / 332.1 MB, free: 380 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002073/0.007002, allocations: 83.27 kB / 332.2 MB, free: 296 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006153/0.007627, allocations: 187.7 kB / 332.4 MB, free: 108 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000752/0.008392, allocations: 0.5264 MB / 332.9 MB, free: 15.58 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002292/0.008637, allocations: 80.53 kB / 333 MB, free: 15.5 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003055/0.008953, allocations: 211.4 kB / 333.2 MB, free: 15.29 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003396/0.009303, allocations: 231.2 kB / 333.4 MB, free: 15.07 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.034e-05/0.009394, allocations: 40 kB / 333.5 MB, free: 15.03 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002311/0.009633, allocations: 95.94 kB / 333.6 MB, free: 14.93 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0005719/0.01022, allocations: 0.5567 MB / 334.1 MB, free: 14.37 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002371/0.01047, allocations: 319.2 kB / 334.4 MB, free: 14.05 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.987e-05/0.01057, allocations: 51.81 kB / 334.5 MB, free: 14 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.219e-05/0.01065, allocations: 15.94 kB / 334.5 MB, free: 13.99 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 (69) * Number of variables: 69 (69) Notification: Performance of Bindings: time 0.002104/0.01276, allocations: 1.557 MB / 336 MB, free: 12.32 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0003833/0.01315, allocations: 180.8 kB / 336.2 MB, free: 12.14 MB / 286.1 MB Notification: Performance of Early Inline: time 0.001464/0.01463, allocations: 1.003 MB / 337.2 MB, free: 11.11 MB / 286.1 MB Notification: Performance of simplify1: time 0.0001489/0.01479, allocations: 87.84 kB / 337.3 MB, free: 11.03 MB / 286.1 MB Notification: Performance of Alias: time 0.002479/0.01728, allocations: 1.433 MB / 338.7 MB, free: 9.398 MB / 286.1 MB Notification: Performance of simplify2: time 0.0001109/0.01741, allocations: 71.88 kB / 338.8 MB, free: 9.328 MB / 286.1 MB Notification: Performance of Events: time 0.0006316/0.01805, allocations: 299.3 kB / 339.1 MB, free: 9.039 MB / 286.1 MB Notification: Performance of Detect States: time 0.0005532/0.01862, allocations: 404.7 kB / 339.5 MB, free: 8.629 MB / 286.1 MB Notification: Performance of Partitioning: time 0.000607/0.01924, allocations: 369.6 kB / 339.9 MB, free: 8.262 MB / 286.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (2|2) Unmatched Variables *************************** [ALGB] (1) Real brake1.lossPower slice: {} [ALGB] (1) Real mass1.a (start = 0.0) slice: {} (2|2) Unmatched Equations *************************** [SCAL] (1) brake.s_b = mass1.s + 0.5 * mass1.L ($RES_SIM_35) slice: {} [SCAL] (1) brake1.s_b = (mass2.s + 0.5 * mass2.L) - fixed.s0 ($RES_SIM_7) slice: {}