Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.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.Rotational.Examples.LossyGearDemo2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Inertia2.phi|Inertia2.w|bearingFriction.mode|bearingFriction.startBackward|bearingFriction.startForward|gear.mode",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2") translateModel(Modelica.Mechanics.Rotational.Examples.LossyGearDemo2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Inertia2.phi|Inertia2.w|bearingFriction.mode|bearingFriction.startBackward|bearingFriction.startForward|gear.mode",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001327/0.001327, allocations: 111.3 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.001366/0.001366, allocations: 211.7 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.236/1.236, allocations: 230.4 MB / 251.3 MB, free: 8.867 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.352e-05/1.352e-05, allocations: 2.281 kB / 368.8 MB, free: 6.625 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo2): time 0.003674/0.003688, allocations: 2.879 MB / 371.7 MB, free: 3.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001963/0.005651, allocations: 1.29 MB / 373 MB, free: 2.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001562/0.005807, allocations: 8 kB / 373 MB, free: 2.422 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002773/0.006084, allocations: 91.27 kB / 373.1 MB, free: 2.332 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005036/0.006588, allocations: 225.9 kB / 373.3 MB, free: 2.113 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004813/0.007069, allocations: 247.5 kB / 373.5 MB, free: 1.871 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007131/0.007782, allocations: 0.7446 MB / 374.3 MB, free: 1.125 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.007948, allocations: 79.45 kB / 374.4 MB, free: 1.035 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004369/0.008385, allocations: 319.1 kB / 374.7 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004136/0.008798, allocations: 354.8 kB / 375 MB, free: 384 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.139e-05/0.00889, allocations: 56 kB / 375.1 MB, free: 328 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002341/0.009124, allocations: 151.9 kB / 375.2 MB, free: 176 kB / 302.1 MB Notification: Performance of combineBinaries: time 0.1188/0.128, allocations: 0.822 MB / 376 MB, free: 10.56 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002377/0.1282, allocations: 448.2 kB / 376.5 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001518/0.1284, allocations: 70.84 kB / 376.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.951e-05/0.1285, allocations: 20.31 kB / 376.6 MB, free: 10.29 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: 100 (96) * Number of variables: 100 (96) Notification: Performance of Bindings: time 0.001526/0.13, allocations: 1.758 MB / 378.3 MB, free: 9.453 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0003422/0.1303, allocations: 281.9 kB / 378.6 MB, free: 9.449 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001192/0.1315, allocations: 1.245 MB / 379.8 MB, free: 9.383 MB / 302.1 MB Notification: Performance of Simplify 1: time 0.0003131/0.1318, allocations: 231.5 kB / 380.1 MB, free: 9.316 MB / 302.1 MB Notification: Performance of Alias: time 0.001758/0.1336, allocations: 1.48 MB / 381.6 MB, free: 8.648 MB / 302.1 MB Notification: Performance of Simplify 2: time 0.0002499/0.1338, allocations: 208.8 kB / 381.8 MB, free: 8.535 MB / 302.1 MB Notification: Performance of Remove Stream: time 0.0001758/0.134, allocations: 187.3 kB / 381.9 MB, free: 8.414 MB / 302.1 MB Notification: Performance of Detect States: time 0.0004046/0.1344, allocations: 381.6 kB / 382.3 MB, free: 8.164 MB / 302.1 MB Notification: Performance of Events: time 0.0004605/0.1349, allocations: 367.5 kB / 382.7 MB, free: 7.977 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0005972/0.1355, allocations: 0.5867 MB / 383.3 MB, free: 7.699 MB / 302.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (3|3) Unmatched Variables *************************** [ALGB] (1) flow Real fixed.flange.tau [DER-] (1) Real $DER.Inertia1.w [DER-] (1) Real $DER.gear.w_a (3|3) Unmatched Equations *************************** [SCAL] (1) bearingFriction.phi = Inertia1.phi - fixed.phi0 ($RES_SIM_15) [SCAL] (1) gear.phi_b = Inertia2.phi - fixed.phi0 ($RES_SIM_61) [SCAL] (1) gear.phi_a = Inertia1.phi - fixed.phi0 ($RES_SIM_62)