Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.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.Rotational.Examples.SimpleGearShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|clutch.phi_rel|clutch.w_rel|engine.phi|engine.w|load.phi|load.w|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift") translateModel(Modelica.Mechanics.Rotational.Examples.SimpleGearShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|clutch.phi_rel|clutch.w_rel|engine.phi|engine.w|load.phi|load.w|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 107.5 kB / 18.41 MB, free: 4.664 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.001233/0.001233, allocations: 189.3 kB / 19.35 MB, free: 3.738 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.447/1.447, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.586e-05/2.587e-05, allocations: 2.281 kB / 329.2 MB, free: 3.355 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.SimpleGearShift): time 0.004595/0.004629, allocations: 2.799 MB / 332 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002219/0.006862, allocations: 0.9319 MB / 332.9 MB, free: 15.6 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003722/0.007248, allocations: 11.94 kB / 332.9 MB, free: 15.59 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002622/0.007519, allocations: 55.45 kB / 333 MB, free: 15.53 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000306/0.007833, allocations: 111.1 kB / 333.1 MB, free: 15.42 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006158/0.008472, allocations: 211.6 kB / 333.3 MB, free: 15.21 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006159/0.009098, allocations: 0.6203 MB / 333.9 MB, free: 14.59 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002489/0.009355, allocations: 110.7 kB / 334 MB, free: 14.48 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000269/0.009632, allocations: 259.2 kB / 334.3 MB, free: 14.22 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002959/0.009935, allocations: 263 kB / 334.5 MB, free: 13.96 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.28e-05/0.01002, allocations: 44 kB / 334.6 MB, free: 13.92 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001767/0.0102, allocations: 95.94 kB / 334.6 MB, free: 13.83 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0004935/0.0107, allocations: 0.6803 MB / 335.3 MB, free: 13.14 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.000225/0.01093, allocations: 382.2 kB / 335.7 MB, free: 12.76 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.257e-05/0.01101, allocations: 67.75 kB / 335.8 MB, free: 12.7 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.689e-05/0.01109, allocations: 12 kB / 335.8 MB, free: 12.68 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: 84 (84) * Number of variables: 84 (84) Notification: Performance of Bindings: time 0.001715/0.01281, allocations: 1.869 MB / 337.6 MB, free: 10.7 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0002579/0.01308, allocations: 195.5 kB / 337.8 MB, free: 10.51 MB / 286.1 MB Notification: Performance of Early Inline: time 0.001097/0.01418, allocations: 1.159 MB / 339 MB, free: 9.324 MB / 286.1 MB Notification: Performance of simplify1: time 0.0001126/0.01431, allocations: 99.83 kB / 339.1 MB, free: 9.227 MB / 286.1 MB Notification: Performance of Alias: time 0.001965/0.01628, allocations: 1.662 MB / 340.8 MB, free: 7.355 MB / 286.1 MB Notification: Performance of simplify2: time 8.199e-05/0.01637, allocations: 83.86 kB / 340.8 MB, free: 7.273 MB / 286.1 MB Notification: Performance of Detect States: time 0.0004279/0.0168, allocations: 399.6 kB / 341.2 MB, free: 6.871 MB / 286.1 MB Notification: Performance of Events: time 0.0004889/0.0173, allocations: 327.9 kB / 341.6 MB, free: 6.543 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0005106/0.01782, allocations: 445.8 kB / 342 MB, free: 6.098 MB / 286.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (3|3) Unmatched Variables *************************** [DER-] (1) Real $DER.brake.w_relfric slice: {} [ALGB] (1) Real quadraticSpeedDependentTorque.w slice: {} [DER-] (1) Real $DER.clutch.w_rel slice: {} (3|3) Unmatched Equations *************************** [SCAL] (1) brake.phi = brake.flange_b.phi ($RES_SIM_21) slice: {} [SCAL] (1) clutch.phi_rel = brake.flange_b.phi - engine.flange_b.phi ($RES_SIM_27) slice: {} [SCAL] (1) quadraticSpeedDependentTorque.phi = load.phi ($RES_SIM_43) slice: {}