Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Friction.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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.Rotational.Examples.Friction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6000,variableFilter="time|clutch.phi_rel|clutch.w_rel|inertia3.phi|inertia3.w|spring.phi_rel|spring.w_rel|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Friction") translateModel(Modelica.Mechanics.Rotational.Examples.Friction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6000,variableFilter="time|clutch.phi_rel|clutch.w_rel|inertia3.phi|inertia3.w|spring.phi_rel|spring.w_rel|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Friction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001219/0.001219, allocations: 108.4 kB / 18.47 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001353/0.001353, allocations: 214.2 kB / 19.42 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.411e-05/2.412e-05, allocations: 2.281 kB / 359.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Friction): time 0.004055/0.004087, allocations: 3.179 MB / 362.5 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001805/0.005906, allocations: 1.126 MB / 363.6 MB, free: 8.684 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001649/0.006082, allocations: 7.938 kB / 363.6 MB, free: 8.676 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003361/0.006424, allocations: 83.22 kB / 363.7 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003662/0.006811, allocations: 186.7 kB / 363.9 MB, free: 8.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003496/0.007171, allocations: 207.6 kB / 364.1 MB, free: 8.207 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006451/0.007826, allocations: 0.7293 MB / 364.8 MB, free: 7.477 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002558/0.008091, allocations: 128.5 kB / 365 MB, free: 7.344 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004118/0.008512, allocations: 303 kB / 365.3 MB, free: 7.047 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003677/0.00889, allocations: 310.8 kB / 365.6 MB, free: 6.742 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.3e-05/0.008971, allocations: 52 kB / 365.6 MB, free: 6.691 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002099/0.009187, allocations: 111.9 kB / 365.7 MB, free: 6.582 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0006241/0.009818, allocations: 0.8272 MB / 366.5 MB, free: 5.746 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.00031/0.01014, allocations: 496.6 kB / 367 MB, free: 5.254 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.01028, allocations: 75.75 kB / 367.1 MB, free: 5.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.611e-05/0.01037, allocations: 31.92 kB / 367.1 MB, free: 5.148 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: 102 (100) * Number of variables: 102 (100) Notification: Performance of Bindings: time 0.002159/0.01254, allocations: 2.225 MB / 369.4 MB, free: 2.805 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.000319/0.01287, allocations: 191 kB / 369.5 MB, free: 2.625 MB / 302.1 MB Notification: Performance of Early Inline: time 0.00147/0.01435, allocations: 1.526 MB / 371.1 MB, free: 1.074 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001348/0.01449, allocations: 127.8 kB / 371.2 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of Alias: time 0.2035/0.218, allocations: 1.94 MB / 373.1 MB, free: 14.83 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001668/0.2182, allocations: 97.58 kB / 373.2 MB, free: 14.83 MB / 302.1 MB Notification: Performance of Events: time 0.0005362/0.2188, allocations: 368.3 kB / 373.6 MB, free: 14.78 MB / 302.1 MB Notification: Performance of Detect States: time 0.0005652/0.2193, allocations: 0.5021 MB / 374.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0006124/0.22, allocations: 477.1 kB / 374.6 MB, free: 14.65 MB / 302.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (3|3) Unmatched Variables *************************** [DER-] (1) Real $DER.spring.w_rel slice: {} [ALGB] (1) Real brake.lossPower slice: {} [DER-] (1) Real $DER.clutch.w_relfric slice: {} (3|3) Unmatched Equations *************************** [SCAL] (1) brake.phi = inertia1.phi - fixed.phi0 ($RES_SIM_25) slice: {} [SCAL] (1) spring.phi_rel = inertia1.phi - inertia2.phi ($RES_SIM_35) slice: {} [SCAL] (1) clutch.phi_rel = inertia2.phi - inertia3.phi ($RES_SIM_49) slice: {}