Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Brake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Brake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001612/0.001612, allocations: 112.5 kB / 19.05 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001712/0.001712, allocations: 210.6 kB / 20.03 MB, free: 2.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.232/1.232, allocations: 230.4 MB / 251.3 MB, free: 8.863 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013e-05/1.013e-05, allocations: 2.281 kB / 368.8 MB, free: 6.594 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Brake): time 0.003182/0.003193, allocations: 2.591 MB / 371.4 MB, free: 3.988 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008954/0.004088, allocations: 0.5849 MB / 372 MB, free: 3.398 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.411e-05/0.004172, allocations: 4 kB / 372 MB, free: 3.395 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002223/0.004394, allocations: 63.44 kB / 372.1 MB, free: 3.332 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002491/0.004644, allocations: 147 kB / 372.2 MB, free: 3.188 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.004884, allocations: 151.8 kB / 372.3 MB, free: 3.039 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005151/0.005399, allocations: 0.5577 MB / 372.9 MB, free: 2.477 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.005514, allocations: 48.7 kB / 373 MB, free: 2.426 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002314/0.005745, allocations: 227.3 kB / 373.2 MB, free: 2.203 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002851/0.00603, allocations: 255.1 kB / 373.4 MB, free: 1.953 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.012e-05/0.00609, allocations: 40 kB / 373.5 MB, free: 1.914 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.006235, allocations: 91.98 kB / 373.6 MB, free: 1.824 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004413/0.006677, allocations: 0.6187 MB / 374.2 MB, free: 1.199 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001957/0.006872, allocations: 346.8 kB / 374.5 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.853e-05/0.006931, allocations: 51.81 kB / 374.6 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.405e-05/0.006965, allocations: 12 kB / 374.6 MB, free: 0.793 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: 73 (71) * Number of variables: 73 (71) Notification: Performance of Bindings: time 0.1214/0.1283, allocations: 1.352 MB / 375.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0003019/0.1286, allocations: 248 kB / 376.2 MB, free: 11.54 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0007094/0.1293, allocations: 0.7577 MB / 376.9 MB, free: 11.47 MB / 302.1 MB Notification: Performance of Simplify 1: time 0.0002263/0.1296, allocations: 181.4 kB / 377.1 MB, free: 11.4 MB / 302.1 MB Notification: Performance of Alias: time 0.001457/0.131, allocations: 1.239 MB / 378.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of Simplify 2: time 0.0001822/0.1312, allocations: 139 kB / 378.5 MB, free: 10.9 MB / 302.1 MB Notification: Performance of Remove Stream: time 0.0001157/0.1313, allocations: 127.4 kB / 378.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of Detect States: time 0.0003593/0.1317, allocations: 315.2 kB / 378.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of Events: time 0.0004043/0.1321, allocations: 325.2 kB / 379.2 MB, free: 10.57 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0004545/0.1325, allocations: 442.5 kB / 379.7 MB, free: 10.36 MB / 302.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (2|2) Unmatched Variables *************************** [ALGB] (1) Real brake1.a_relfric [ALGB] (1) Real brake.lossPower (2|2) Unmatched Equations *************************** [SCAL] (1) brake.s_b = mass1.s + 0.5 * mass1.L ($RES_SIM_36) [SCAL] (1) brake1.s_b = (mass2.s + 0.5 * mass2.L) - fixed.s0 ($RES_SIM_7)