Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.HeatLosses.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.HeatLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|clutch.phi_rel|clutch.w_rel|damper.phi_rel|damper.w_rel|elastoBacklash.phi_rel|elastoBacklash.w_rel|inertia5.phi|inertia5.w|oneWayClutch.phi_rel|oneWayClutch.w_rel|springDamper.phi_rel|springDamper.w_rel|bearingFriction.mode|bearingFriction.startBackward|bearingFriction.startForward|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward|lossyGear.mode|oneWayClutch.startForward|oneWayClutch.stuck",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.HeatLosses") translateModel(Modelica.Mechanics.Rotational.Examples.HeatLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|clutch.phi_rel|clutch.w_rel|damper.phi_rel|damper.w_rel|elastoBacklash.phi_rel|elastoBacklash.w_rel|inertia5.phi|inertia5.w|oneWayClutch.phi_rel|oneWayClutch.w_rel|springDamper.phi_rel|springDamper.w_rel|bearingFriction.mode|bearingFriction.startBackward|bearingFriction.startForward|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward|lossyGear.mode|oneWayClutch.startForward|oneWayClutch.stuck",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.HeatLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 108 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.001105/0.001105, allocations: 194.7 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.292/1.292, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/1.862e-05, allocations: 3.125 kB / 329.2 MB, free: 3.352 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.HeatLosses): time 0.005348/0.005376, allocations: 5.001 MB / 334.2 MB, free: 14.32 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003066/0.008454, allocations: 1.767 MB / 335.9 MB, free: 12.54 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002817/0.008748, allocations: 15.94 kB / 335.9 MB, free: 12.53 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003659/0.00912, allocations: 170.5 kB / 336.1 MB, free: 12.36 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007797/0.009923, allocations: 405.1 kB / 336.5 MB, free: 11.96 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008112/0.01074, allocations: 0.503 MB / 337 MB, free: 11.46 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001421/0.01217, allocations: 1.768 MB / 338.8 MB, free: 9.684 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004199/0.0126, allocations: 327.9 kB / 339.1 MB, free: 9.352 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007127/0.01332, allocations: 0.6893 MB / 339.8 MB, free: 8.66 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006747/0.014, allocations: 0.7513 MB / 340.5 MB, free: 7.906 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001636/0.01418, allocations: 128 kB / 340.7 MB, free: 7.781 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000326/0.01451, allocations: 219.8 kB / 340.9 MB, free: 7.566 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.00133/0.01585, allocations: 1.914 MB / 342.8 MB, free: 5.633 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005785/0.01643, allocations: 1.047 MB / 343.8 MB, free: 4.57 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001728/0.01661, allocations: 187.4 kB / 344 MB, free: 4.387 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.157e-05/0.0167, allocations: 43.86 kB / 344.1 MB, free: 4.344 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: 243 (233) * Number of variables: 243 (240) Notification: Performance of Bindings: time 0.004275/0.02098, allocations: 5.068 MB / 349.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0005962/0.02158, allocations: 0.6316 MB / 349.8 MB, free: 14.45 MB / 302.1 MB Notification: Performance of Early Inline: time 0.003328/0.02492, allocations: 3.739 MB / 353.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simplify1: time 0.0002606/0.02519, allocations: 275.6 kB / 353.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of Alias: time 0.004408/0.02961, allocations: 4.338 MB / 358.1 MB, free: 5.605 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001877/0.02981, allocations: 207.6 kB / 358.3 MB, free: 5.402 MB / 302.1 MB Notification: Performance of Events: time 0.001052/0.03087, allocations: 0.8572 MB / 359.2 MB, free: 4.539 MB / 302.1 MB Notification: Performance of Detect States: time 0.001126/0.032, allocations: 1.136 MB / 360.3 MB, free: 3.383 MB / 302.1 MB Notification: Performance of Partitioning: time 0.001175/0.03319, allocations: 1.132 MB / 361.4 MB, free: 2.223 MB / 302.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (8|8) Unmatched Variables *************************** [ALGB] (1) Real clutch.a_relfric slice: {} [ALGB] (1) Real elastoBacklash.a_rel (start = 0.0) slice: {} [DER-] (1) Real $DER.bearingFriction.w_relfric slice: {} [ALGB] (1) Real springDamper.a_rel (start = 0.0) slice: {} [DER-] (1) Real $DER.oneWayClutch.w_rel slice: {} [DER-] (1) Real $DER.damper.w_rel slice: {} [ALGB] (1) flow Real convection.solid.Q_flow slice: {} [DER-] (1) Real $DER.lossyGear.w_a slice: {} (8|8) Unmatched Equations *************************** [SCAL] (1) brake.phi = brake.flange_b.phi ($RES_SIM_18) slice: {} [SCAL] (1) lossyGear.phi_a = inertia4.phi ($RES_SIM_98) slice: {} [SCAL] (1) bearingFriction.phi = inertia3.phi ($RES_SIM_138) slice: {} [SCAL] (1) oneWayClutch.phi_rel = brake.flange_b.phi - inertia5.flange_b.phi ($RES_SIM_24) slice: {} [SCAL] (1) -(-(elastoBacklash.phi_diff + elastoBacklash.phi_rel0)) = inertia3.phi - inertia2.phi ($RES_SIM_151) slice: {} [SCAL] (1) clutch.phi_rel = inertia5.flange_b.phi - lossyGear.flange_b.phi ($RES_SIM_53) slice: {} [SCAL] (1) springDamper.phi_rel = inertia2.phi - inertia1.phi ($RES_SIM_170) slice: {} [SCAL] (1) damper.phi_rel = inertia1.phi - fixed.phi0 ($RES_SIM_186) slice: {}