Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001243/0.001243, allocations: 114.6 kB / 18.47 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001353/0.001353, allocations: 204 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.737e-05/2.738e-05, allocations: 4.672 kB / 359.3 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004196/0.004232, allocations: 2.682 MB / 362 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001708/0.005956, allocations: 0.9544 MB / 362.9 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001866/0.006155, allocations: 11.94 kB / 363 MB, free: 9.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002306/0.006392, allocations: 59.33 kB / 363 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002495/0.006649, allocations: 59.44 kB / 363.1 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006797/0.007361, allocations: 243.5 kB / 363.3 MB, free: 8.965 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004558/0.007825, allocations: 422.8 kB / 363.7 MB, free: 8.551 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003325/0.008165, allocations: 193.1 kB / 363.9 MB, free: 8.359 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000201/0.008375, allocations: 139.4 kB / 364.1 MB, free: 8.223 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001696/0.008554, allocations: 147.2 kB / 364.2 MB, free: 8.078 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.522e-05/0.008638, allocations: 32 kB / 364.2 MB, free: 8.047 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.00877, allocations: 67.97 kB / 364.3 MB, free: 7.98 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003847/0.009162, allocations: 0.5403 MB / 364.8 MB, free: 7.434 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002172/0.009386, allocations: 346.6 kB / 365.2 MB, free: 7.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.985e-05/0.009462, allocations: 51.81 kB / 365.2 MB, free: 7.039 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.82e-05/0.009567, allocations: 27.75 kB / 365.3 MB, free: 7.012 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.001692/0.01126, allocations: 1.549 MB / 366.8 MB, free: 5.352 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001805/0.01146, allocations: 129 kB / 366.9 MB, free: 5.223 MB / 302.1 MB Notification: Performance of Early Inline: time 0.000745/0.01221, allocations: 0.7141 MB / 367.6 MB, free: 4.48 MB / 302.1 MB Notification: Performance of simplify1: time 7.509e-05/0.01229, allocations: 55.92 kB / 367.7 MB, free: 4.426 MB / 302.1 MB Notification: Performance of Alias: time 0.002365/0.01467, allocations: 1.65 MB / 369.3 MB, free: 2.594 MB / 302.1 MB Notification: Performance of simplify2: time 4.13e-05/0.01472, allocations: 27.95 kB / 369.4 MB, free: 2.566 MB / 302.1 MB Notification: Performance of Events: time 0.0002085/0.01494, allocations: 136.1 kB / 369.5 MB, free: 2.434 MB / 302.1 MB Notification: Performance of Detect States: time 0.0003255/0.01528, allocations: 201 kB / 369.7 MB, free: 2.219 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0002724/0.01556, allocations: 232.5 kB / 369.9 MB, free: 1.953 MB / 302.1 MB Notification: Performance of Causalize: time 0.001196/0.01676, allocations: 0.9074 MB / 370.8 MB, free: 1.012 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.000502/0.01727, allocations: 0.4908 MB / 371.3 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of Inline: time 0.2309/0.2481, allocations: 0.8848 MB / 372.2 MB, free: 15.13 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001468/0.2483, allocations: 55.64 kB / 372.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of Cleanup: time 7.036e-05/0.2484, allocations: 42.47 kB / 372.3 MB, free: 15.12 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.003412/0.2518, allocations: 2.497 MB / 374.8 MB, free: 14.81 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!