Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.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.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1") translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 109.5 kB / 17.75 MB, free: 5.336 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.001272/0.001272, allocations: 184.2 kB / 18.68 MB, free: 4.414 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.332/1.332, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.326e-05, allocations: 2.281 kB / 351.9 MB, free: 3.324 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.002356/0.00239, allocations: 1.555 MB / 353.5 MB, free: 1.758 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001714/0.004115, allocations: 0.8707 MB / 354.3 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.774e-05/0.004174, allocations: 0 / 354.3 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.679e-05/0.004258, allocations: 15.86 kB / 354.4 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.117e-05/0.004343, allocations: 15.81 kB / 354.4 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002147/0.004564, allocations: 55.86 kB / 354.4 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002303/0.004801, allocations: 195.6 kB / 354.6 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.237e-05/0.004901, allocations: 17.41 kB / 354.6 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006146/0.005525, allocations: 0.6434 MB / 355.3 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.005664, allocations: 79.69 kB / 355.4 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.828e-05/0.005708, allocations: 8 kB / 355.4 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.222e-05/0.005746, allocations: 12 kB / 355.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001723/0.005923, allocations: 201.9 kB / 355.6 MB, free: 15.64 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 5.286e-05/0.005982, allocations: 90.59 kB / 355.7 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.867e-05/0.006025, allocations: 23.94 kB / 355.7 MB, free: 15.53 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.738e-05/0.006048, allocations: 3.938 kB / 355.7 MB, free: 15.52 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: 16 (10) * Number of variables: 16 (16) Notification: Performance of Bindings: time 0.0006477/0.0067, allocations: 0.6246 MB / 356.3 MB, free: 14.8 MB / 302.1 MB Notification: Performance of FunctionAlias: time 1.64e-05/0.006723, allocations: 7.922 kB / 356.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0004139/0.007141, allocations: 416.1 kB / 356.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of simplify1: time 5.45e-06/0.007154, allocations: 3.984 kB / 356.7 MB, free: 14.35 MB / 302.1 MB Notification: Performance of Alias: time 0.000533/0.007692, allocations: 419 kB / 357.1 MB, free: 13.87 MB / 302.1 MB Notification: Performance of simplify2: time 1.082e-06/0.007703, allocations: 0 / 357.1 MB, free: 13.87 MB / 302.1 MB Notification: Performance of Events: time 0.0002271/0.007936, allocations: 130.3 kB / 357.3 MB, free: 13.74 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002553/0.0082, allocations: 216 kB / 357.5 MB, free: 13.52 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001368/0.008344, allocations: 112 kB / 357.6 MB, free: 13.4 MB / 302.1 MB Notification: Performance of Causalize: time 0.0002062/0.008558, allocations: 160.1 kB / 357.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003753/0.008941, allocations: 400 kB / 358.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of Inline: time 0.0007126/0.009661, allocations: 0.6499 MB / 358.8 MB, free: 12.13 MB / 302.1 MB Notification: Performance of Partitioning: time 2.878e-05/0.009699, allocations: 32.05 kB / 358.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of Cleanup: time 6.256e-05/0.009767, allocations: 51.97 kB / 358.9 MB, free: 12.04 MB / 302.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) Mux2x1.inertialDelaySensitive.y_old = Mux2x1.inertialDelaySensitive.y0 ($RES_SRT_14) slice: {}; [SCAL] (1) Mux2x1.inertialDelaySensitive.y_auxiliary = Mux2x1.inertialDelaySensitive.y0 ($RES_SRT_13) slice: {}; [SCAL] (1) Mux2x1.inertialDelaySensitive.x = $START.Mux2x1.inertialDelaySensitive.x ($RES_SRT_11) slice: {}; Notification: Performance of Causalize: time 0.0005723/0.01034, allocations: 0.5113 MB / 359.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of Tearing: time 6.111e-06/0.01036, allocations: 0 / 359.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of Initialization: time 3.4e-07/0.01037, allocations: 4 kB / 359.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of Tearing: time 1.302e-06/0.01037, allocations: 0 / 359.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of Categorize: time 8.136e-06/0.01039, allocations: 0 / 359.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of Solve: time 3.273e-05/0.01042, allocations: 15.92 kB / 359.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of Jacobian: time 3.036e-06/0.01044, allocations: 3.938 kB / 359.4 MB, free: 11.48 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: ......... 1 * 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: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 12 (12) {Mux2x1.nextstate, Mux2x1.inertialDelaySensitive.x, Mux2x1.inertialDelaySensitive.y, Mux2x1.inertialDelaySensitive.delayTime, Mux2x1.inertialDelaySensitive.y_auxiliary, Mux2x1.inertialDelaySensitive.y_old, Mux2x1.inertialDelaySensitive.lh, Mux2x1.inertialDelaySensitive.t_next, Input1.y, Select.y, Input0.y, $TEV_1} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 1 (scalar:1, array:0, record:0) * Number of multi strong components: ............ 5 (algorithm:5, when:0, if:0, 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: ........... 4 (scalar:4, array:0, record:0) * Number of multi strong components: ............ 5 (algorithm:5, when:0, if:0, 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.0001123/0.01055, allocations: 27.95 kB / 359.4 MB, free: 11.45 MB / 302.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable Mux2x1.nextstate.