Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) 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(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_4.0.0_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_4.0.0_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.001188/0.001188, allocations: 110.6 kB / 17.75 MB, free: 5.352 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.00111/0.00111, allocations: 187.1 kB / 18.68 MB, free: 4.426 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.17/1.17, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.844e-05/1.852e-05, allocations: 2.281 kB / 351.9 MB, free: 3.32 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Brake): time 0.003183/0.00321, allocations: 2.442 MB / 354.3 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.004284, allocations: 0.4952 MB / 354.8 MB, free: 376 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002048/0.004501, allocations: 7.938 kB / 354.9 MB, free: 368 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002271/0.004735, allocations: 47.52 kB / 354.9 MB, free: 320 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002309/0.004987, allocations: 87.31 kB / 355 MB, free: 232 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000508/0.005503, allocations: 191.6 kB / 355.2 MB, free: 40 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005954/0.006109, allocations: 0.5186 MB / 355.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.006283, allocations: 76.55 kB / 355.8 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003168/0.006607, allocations: 215.4 kB / 356 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000322/0.006935, allocations: 227.2 kB / 356.2 MB, free: 15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.906e-05/0.007011, allocations: 36 kB / 356.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001872/0.007209, allocations: 91.92 kB / 356.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004086/0.00763, allocations: 0.5606 MB / 356.9 MB, free: 14.31 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001871/0.007825, allocations: 311.2 kB / 357.2 MB, free: 14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.007939, allocations: 59.81 kB / 357.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.52e-05/0.00799, allocations: 15.98 kB / 357.3 MB, free: 13.93 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: 69 (69) * Number of variables: 69 (69) Notification: Performance of Bindings: time 0.001418/0.009414, allocations: 1.545 MB / 358.8 MB, free: 12.28 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0002804/0.009705, allocations: 188.8 kB / 359 MB, free: 12.09 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0009409/0.01065, allocations: 1.003 MB / 360 MB, free: 11.06 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001353/0.0108, allocations: 87.86 kB / 360.1 MB, free: 10.97 MB / 302.1 MB Notification: Performance of Alias: time 0.001675/0.01248, allocations: 1.437 MB / 361.5 MB, free: 9.348 MB / 302.1 MB Notification: Performance of simplify2: time 9.76e-05/0.01259, allocations: 75.86 kB / 361.6 MB, free: 9.273 MB / 302.1 MB Notification: Performance of Events: time 0.0004748/0.01307, allocations: 296.1 kB / 361.9 MB, free: 9 MB / 302.1 MB Notification: Performance of Detect States: time 0.0004455/0.01352, allocations: 407 kB / 362.3 MB, free: 8.594 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0004299/0.01396, allocations: 381.5 kB / 362.6 MB, free: 8.215 MB / 302.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: {}