Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithSampleHold.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) Using package ModelicaByExample with version 0.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo) 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(ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithSampleHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithSampleHold") translateModel(ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithSampleHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithSampleHold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002046/0.002046, allocations: 110.8 kB / 16.42 MB, free: 6.461 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.002276/0.002277, allocations: 190 kB / 17.36 MB, free: 5.699 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.82/1.82, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04253/0.04253, allocations: 8.11 MB / 278.7 MB, free: 3.934 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.947e-05/3.947e-05, allocations: 3.266 kB / 387.3 MB, free: 47.22 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithSampleHold): time 0.003615/0.003663, allocations: 1.948 MB / 389.2 MB, free: 45.88 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005289/0.004207, allocations: 239.7 kB / 389.5 MB, free: 45.71 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.723e-05/0.004305, allocations: 3.844 kB / 389.5 MB, free: 45.71 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.048e-05/0.004403, allocations: 25.91 kB / 389.5 MB, free: 45.7 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.004512, allocations: 43.03 kB / 389.5 MB, free: 45.67 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.004794, allocations: 54.06 kB / 389.6 MB, free: 45.64 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002958/0.005098, allocations: 224.2 kB / 389.8 MB, free: 45.53 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002751/0.00538, allocations: 103.6 kB / 389.9 MB, free: 45.48 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.621e-05/0.005483, allocations: 69.2 kB / 390 MB, free: 45.45 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.005624, allocations: 77.03 kB / 390.1 MB, free: 45.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.928e-05/0.005669, allocations: 22.17 kB / 390.1 MB, free: 45.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.007e-05/0.005716, allocations: 22.62 kB / 390.1 MB, free: 45.41 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0002488/0.00597, allocations: 264.5 kB / 390.4 MB, free: 45.24 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 9.323e-05/0.00607, allocations: 158.9 kB / 390.5 MB, free: 45.13 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.293e-05/0.006129, allocations: 33.28 kB / 390.6 MB, free: 45.12 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.776e-05/0.006161, allocations: 4.188 kB / 390.6 MB, free: 45.12 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 (46) * Number of variables: 46 (46) Notification: Performance of Bindings: time 0.001002/0.007168, allocations: 0.9063 MB / 391.5 MB, free: 44.4 MB / 318.1 MB Notification: Performance of FunctionAlias: time 6.025e-05/0.007235, allocations: 37.56 kB / 391.5 MB, free: 44.38 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0005645/0.007806, allocations: 473.9 kB / 392 MB, free: 44.05 MB / 318.1 MB Notification: Performance of simplify1: time 7.131e-05/0.007884, allocations: 39.83 kB / 392 MB, free: 44.04 MB / 318.1 MB Notification: Performance of Alias: time 0.001667/0.009557, allocations: 1.035 MB / 393 MB, free: 43.36 MB / 318.1 MB Notification: Performance of simplify2: time 3.536e-05/0.009605, allocations: 24.3 kB / 393.1 MB, free: 43.35 MB / 318.1 MB Notification: Performance of Events: time 9.215e-05/0.009704, allocations: 27.84 kB / 393.1 MB, free: 43.34 MB / 318.1 MB Notification: Performance of Detect States: time 0.0002788/0.009988, allocations: 164.1 kB / 393.2 MB, free: 43.21 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001743/0.01017, allocations: 125.1 kB / 393.4 MB, free: 43.14 MB / 318.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (3|3) Unmatched Variables *************************** [ALGB] (1) flow Real damper2.flange_b.tau slice: {} [DER-] (1) Real $DER.sampleHold.flange.phi slice: {} [DER-] (1) Real $DER.inertia1.w slice: {} (3|3) Unmatched Equations *************************** [SCAL] (1) 0.0 = inertia1.phi - sampleHold.flange.phi ($RES_SIM_5) slice: {} [SCAL] (1) damper1.phi_rel = sampleHold.flange.phi - inertia2.phi ($RES_SIM_14) slice: {} [SCAL] (1) damper2.phi_rel = damper2.flange_a.phi ($RES_SIM_27) slice: {}