Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.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.Electrical.Analog.Examples.AD_DA_conversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|aD_Converter.z|pulse.T0|pulse.np",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion") translateModel(Modelica.Electrical.Analog.Examples.AD_DA_conversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|aD_Converter.z|pulse.T0|pulse.np",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001145/0.001145, allocations: 119.7 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.001217/0.001217, allocations: 209.1 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.231/1.231, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.005e-05, allocations: 6.219 kB / 359.3 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003182/0.003211, allocations: 2.378 MB / 361.7 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.004529, allocations: 0.7439 MB / 362.5 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.004682, allocations: 3.938 kB / 362.5 MB, free: 9.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.004831, allocations: 31.7 kB / 362.5 MB, free: 9.789 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001221/0.004967, allocations: 59.5 kB / 362.6 MB, free: 9.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003767/0.00535, allocations: 99.69 kB / 362.7 MB, free: 9.633 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003518/0.005712, allocations: 299 kB / 362.9 MB, free: 9.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.00589, allocations: 76.25 kB / 363 MB, free: 9.266 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002432/0.006141, allocations: 115.6 kB / 363.1 MB, free: 9.152 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.006318, allocations: 111.5 kB / 363.2 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.132e-05/0.006366, allocations: 20 kB / 363.3 MB, free: 9.023 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.353e-05/0.006457, allocations: 28 kB / 363.3 MB, free: 8.996 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002564/0.006722, allocations: 344.3 kB / 363.6 MB, free: 8.656 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001107/0.006839, allocations: 201 kB / 363.8 MB, free: 8.457 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.758e-05/0.006902, allocations: 35.88 kB / 363.9 MB, free: 8.422 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.608e-05/0.006944, allocations: 8 kB / 363.9 MB, free: 8.414 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: 50 (36) * Number of variables: 50 (38) Notification: Performance of Bindings: time 0.0009904/0.007939, allocations: 1.031 MB / 364.9 MB, free: 7.277 MB / 302.1 MB Notification: Performance of FunctionAlias: time 4.678e-05/0.007992, allocations: 35.91 kB / 364.9 MB, free: 7.242 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0006966/0.008694, allocations: 0.6661 MB / 365.6 MB, free: 6.547 MB / 302.1 MB Notification: Performance of simplify1: time 4.812e-05/0.008751, allocations: 39.95 kB / 365.6 MB, free: 6.508 MB / 302.1 MB Notification: Performance of Alias: time 0.001119/0.009876, allocations: 0.8496 MB / 366.5 MB, free: 5.551 MB / 302.1 MB Notification: Performance of simplify2: time 3.64e-05/0.009923, allocations: 27.95 kB / 366.5 MB, free: 5.523 MB / 302.1 MB Notification: Performance of Events: time 0.0002273/0.01016, allocations: 126.9 kB / 366.6 MB, free: 5.402 MB / 302.1 MB Notification: Performance of Detect States: time 0.0003995/0.01056, allocations: 198.6 kB / 366.8 MB, free: 5.195 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0002109/0.01079, allocations: 181.2 kB / 367 MB, free: 5.004 MB / 302.1 MB Notification: Performance of Causalize: time 0.0007281/0.01153, allocations: 0.6062 MB / 367.6 MB, free: 4.379 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004815/0.01202, allocations: 0.4923 MB / 368.1 MB, free: 3.859 MB / 302.1 MB Notification: Performance of Inline: time 0.0009364/0.01297, allocations: 0.8382 MB / 368.9 MB, free: 2.988 MB / 302.1 MB Notification: Performance of Partitioning: time 4.269e-05/0.01302, allocations: 38.38 kB / 369 MB, free: 2.945 MB / 302.1 MB Notification: Performance of Cleanup: time 7.51e-05/0.0131, allocations: 43.95 kB / 369 MB, free: 2.902 MB / 302.1 MB Notification: Performance of Causalize: time 0.001082/0.01419, allocations: 0.89 MB / 369.9 MB, free: 2.004 MB / 302.1 MB Notification: Performance of Tearing: time 5.571e-06/0.0142, allocations: 0 / 369.9 MB, free: 2.004 MB / 302.1 MB Notification: Performance of Initialization: time 4.01e-07/0.01421, allocations: 0 / 369.9 MB, free: 2.004 MB / 302.1 MB Notification: Performance of Tearing: time 2.695e-06/0.01422, allocations: 4 kB / 369.9 MB, free: 2 MB / 302.1 MB Notification: Performance of Categorize: time 9.928e-06/0.01423, allocations: 0 / 369.9 MB, free: 2 MB / 302.1 MB Notification: Performance of Solve: time 0.0002679/0.0145, allocations: 153.7 kB / 370.1 MB, free: 1.84 MB / 302.1 MB Notification: Performance of Jacobian: time 5.41e-06/0.01452, allocations: 8.297 kB / 370.1 MB, free: 1.832 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 2 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 2 (2) {pulse.T0, pulse.np} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 25 (13) {aD_Converter.y, aD_Converter.trig, aD_Converter.z, pulse.sampling, dA_Converter.x, dA_Converter.vout, dA_Converter.y, $SEV_10, $SEV_9, $SEV_8, $TEV_2, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 19 (scalar:18, array:1, record:0) * Number of multi strong components: ............ 5 (algorithm:2, when:2, if:1, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 33 (scalar:32, array:1, record:0) * Number of multi strong components: ............ 2 (algorithm:1, when:0, if:1, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001059/0.01463, allocations: 29.34 kB / 370.1 MB, free: 1.812 MB / 302.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable aD_Converter.y[1].