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.00136/0.00136, allocations: 103.5 kB / 18.4 MB, free: 4.766 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.001493/0.001493, allocations: 187.1 kB / 19.34 MB, free: 3.84 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.472/1.472, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.513e-05/2.516e-05, allocations: 3.125 kB / 329.1 MB, free: 3.363 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.HeatLosses): time 0.006703/0.00674, allocations: 5.015 MB / 334.2 MB, free: 14.32 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004598/0.01135, allocations: 1.755 MB / 335.9 MB, free: 12.55 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001023/0.01239, allocations: 15.94 kB / 335.9 MB, free: 12.54 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006494/0.01305, allocations: 178.4 kB / 336.1 MB, free: 12.36 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001677/0.01474, allocations: 401.1 kB / 336.5 MB, free: 11.97 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001497/0.01628, allocations: 0.5108 MB / 337 MB, free: 11.46 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00261/0.0189, allocations: 1.776 MB / 338.8 MB, free: 9.676 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006838/0.0196, allocations: 323.9 kB / 339.1 MB, free: 9.348 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00148/0.02109, allocations: 0.6933 MB / 339.8 MB, free: 8.652 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.02261, allocations: 0.763 MB / 340.6 MB, free: 7.887 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002285/0.02285, allocations: 124 kB / 340.7 MB, free: 7.766 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005032/0.02336, allocations: 219.8 kB / 340.9 MB, free: 7.551 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.001506/0.02488, allocations: 1.914 MB / 342.8 MB, free: 5.617 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006583/0.02555, allocations: 1.047 MB / 343.9 MB, free: 4.555 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003127/0.02587, allocations: 191.4 kB / 344 MB, free: 4.367 MB / 286.1 MB Notification: Performance of FrontEnd: time 0.0002895/0.02617, allocations: 39.94 kB / 344.1 MB, free: 4.328 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 (240) * Number of variables: 243 (240) Notification: Performance of Bindings: time 0.004781/0.03096, allocations: 5.091 MB / 349.2 MB, free: 15.07 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0006263/0.03159, allocations: 0.6378 MB / 349.8 MB, free: 14.4 MB / 302.1 MB Notification: Performance of Early Inline: time 0.003372/0.03497, allocations: 3.766 MB / 353.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simplify1: time 0.0002391/0.03522, allocations: 267.6 kB / 353.8 MB, free: 10.33 MB / 302.1 MB Notification: Performance of Alias: time 0.005553/0.04078, allocations: 4.815 MB / 358.7 MB, free: 5.059 MB / 302.1 MB Notification: Performance of simplify2: time 0.0002163/0.04101, allocations: 203.7 kB / 358.9 MB, free: 4.859 MB / 302.1 MB Notification: Performance of Detect States: time 0.001346/0.04237, allocations: 1.102 MB / 360 MB, free: 3.723 MB / 302.1 MB Notification: Performance of Events: time 0.00101/0.04339, allocations: 0.7366 MB / 360.7 MB, free: 2.988 MB / 302.1 MB Notification: Performance of Partitioning: time 0.001287/0.04469, allocations: 1.155 MB / 361.8 MB, free: 1.805 MB / 302.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (8|8) Unmatched Variables *************************** [DER-] (1) Real $DER.clutch.w_rel slice: {} [ALGB] (1) Real springDamper.a_rel (start = 0.0) 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: {} [ALGB] (1) flow Real oneWayClutch.heatPort.Q_flow = -(-oneWayClutch.heatPort.Q_flow) slice: {} [DER-] (1) Real $DER.brake.w_relfric slice: {} [DER-] (1) Real $DER.elastoBacklash.w_rel 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) oneWayClutch.phi_rel = brake.flange_b.phi - inertia5.flange_b.phi ($RES_SIM_24) slice: {} [SCAL] (1) bearingFriction.phi = inertia3.phi ($RES_SIM_142) slice: {} [SCAL] (1) -(-(elastoBacklash.phi_diff + elastoBacklash.phi_rel0)) = inertia3.phi - inertia2.phi ($RES_SIM_155) 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_177) slice: {} [SCAL] (1) damper.phi_rel = inertia1.phi - fixed.phi0 ($RES_SIM_193) slice: {}