Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 114 kB / 17.75 MB, free: 5.215 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.0009705/0.0009707, allocations: 196.6 kB / 18.69 MB, free: 4.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.219/1.219, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.062e-05/2.063e-05, allocations: 4.812 kB / 351.9 MB, free: 3.312 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.003771/0.0038, allocations: 2.662 MB / 354.6 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001625/0.00544, allocations: 0.9037 MB / 355.5 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003009/0.005756, allocations: 11.94 kB / 355.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002445/0.006008, allocations: 71.31 kB / 355.6 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002767/0.006293, allocations: 63.44 kB / 355.6 MB, free: 15.58 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007305/0.007064, allocations: 236.2 kB / 355.9 MB, free: 15.35 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004579/0.007529, allocations: 438.8 kB / 356.3 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003096/0.007847, allocations: 193.1 kB / 356.5 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.008033, allocations: 135.4 kB / 356.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.008206, allocations: 147.2 kB / 356.7 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.572e-05/0.008269, allocations: 32 kB / 356.8 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.008393, allocations: 71.95 kB / 356.8 MB, free: 14.35 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003372/0.008739, allocations: 0.5325 MB / 357.4 MB, free: 13.81 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001812/0.008927, allocations: 350.7 kB / 357.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.51e-05/0.009008, allocations: 55.75 kB / 357.8 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.01e-05/0.009095, allocations: 19.88 kB / 357.8 MB, free: 13.39 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: 70 (67) * Number of variables: 70 (68) Notification: Performance of Bindings: time 0.001368/0.01047, allocations: 1.549 MB / 359.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001976/0.01067, allocations: 125 kB / 359.5 MB, free: 11.6 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0007233/0.0114, allocations: 0.7141 MB / 360.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simplify1: time 7.496e-05/0.01149, allocations: 55.91 kB / 360.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of Alias: time 0.001897/0.01339, allocations: 1.666 MB / 361.9 MB, free: 8.957 MB / 302.1 MB Notification: Performance of simplify2: time 4.902e-05/0.01345, allocations: 23.97 kB / 361.9 MB, free: 8.934 MB / 302.1 MB Notification: Performance of Events: time 0.0001774/0.01364, allocations: 132.2 kB / 362.1 MB, free: 8.805 MB / 302.1 MB Notification: Performance of Detect States: time 0.0004591/0.0141, allocations: 201 kB / 362.2 MB, free: 8.59 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0003001/0.01441, allocations: 224.5 kB / 362.5 MB, free: 8.332 MB / 302.1 MB Notification: Performance of Causalize: time 0.001106/0.01553, allocations: 0.9198 MB / 363.4 MB, free: 7.375 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004276/0.01596, allocations: 498.7 kB / 363.9 MB, free: 6.859 MB / 302.1 MB Notification: Performance of Inline: time 0.0009058/0.01688, allocations: 0.8884 MB / 364.8 MB, free: 5.938 MB / 302.1 MB Notification: Performance of Partitioning: time 7.377e-05/0.01696, allocations: 62.3 kB / 364.8 MB, free: 5.867 MB / 302.1 MB Notification: Performance of Cleanup: time 6.024e-05/0.01703, allocations: 35.95 kB / 364.9 MB, free: 5.832 MB / 302.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [ARRY] (3) sample1.noise.seedState = sample1.noise.firstSeed ($RES_SRT_92) slice: {}; Notification: Performance of Causalize: time 0.002941/0.01997, allocations: 2.498 MB / 367.4 MB, free: 3.297 MB / 302.1 MB Error: Internal error NBEquation.Equation.getResidualExp failed for: [TUPL] (4) (sample1.noise.noise, $FUN_8) = Modelica.Clocked.RealSignals.Sampler.Utilities.Internal.random({$FUN_6 for $i1 in 1:3}) ($RES_$AUX_69) Error: Internal error NBInitialization.main failed to apply modules!