Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1") translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_3.2.3_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.0009398/0.0009397, allocations: 107.4 kB / 18.42 MB, free: 4.512 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.0009481/0.0009482, allocations: 193.4 kB / 19.35 MB, free: 3.59 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.438/1.438, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.484e-05/2.485e-05, allocations: 6.219 kB / 329.2 MB, free: 3.344 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.00246/0.002493, allocations: 1.55 MB / 330.7 MB, free: 1.785 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.004488, allocations: 0.8981 MB / 331.6 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.477e-05/0.004554, allocations: 4 kB / 331.6 MB, free: 0.875 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.384e-05/0.004634, allocations: 15.86 kB / 331.6 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.01e-05/0.00471, allocations: 15.81 kB / 331.6 MB, free: 0.8438 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002316/0.004961, allocations: 63.86 kB / 331.7 MB, free: 0.7812 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002364/0.005205, allocations: 183.6 kB / 331.9 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.005318, allocations: 33.39 kB / 331.9 MB, free: 0.5664 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006077/0.005932, allocations: 0.6278 MB / 332.6 MB, free: 15.94 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.006069, allocations: 91.61 kB / 332.6 MB, free: 15.85 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.03e-05/0.006126, allocations: 12 kB / 332.7 MB, free: 15.84 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.069e-05/0.006173, allocations: 8 kB / 332.7 MB, free: 15.83 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0001946/0.006374, allocations: 186 kB / 332.8 MB, free: 15.64 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 6.354e-05/0.006443, allocations: 98.53 kB / 332.9 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.057e-05/0.006488, allocations: 19.94 kB / 333 MB, free: 15.53 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.852e-05/0.006514, allocations: 8 kB / 333 MB, free: 15.52 MB / 286.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.0006518/0.007171, allocations: 0.6247 MB / 333.6 MB, free: 14.79 MB / 286.1 MB Notification: Performance of FunctionAlias: time 1.553e-05/0.007193, allocations: 11.89 kB / 333.6 MB, free: 14.78 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0004377/0.007635, allocations: 408.1 kB / 334 MB, free: 14.36 MB / 286.1 MB Notification: Performance of simplify1: time 5.29e-06/0.007648, allocations: 4 kB / 334 MB, free: 14.35 MB / 286.1 MB Notification: Performance of Alias: time 0.0005856/0.00824, allocations: 414.9 kB / 334.4 MB, free: 13.87 MB / 286.1 MB Notification: Performance of simplify2: time 2.825e-06/0.008256, allocations: 0 / 334.4 MB, free: 13.87 MB / 286.1 MB Notification: Performance of Events: time 0.0002263/0.008487, allocations: 142.8 kB / 334.5 MB, free: 13.73 MB / 286.1 MB Notification: Performance of Detect States: time 0.0002761/0.008773, allocations: 204 kB / 334.7 MB, free: 13.52 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0001334/0.008915, allocations: 108.1 kB / 334.9 MB, free: 13.41 MB / 286.1 MB Notification: Performance of Causalize: time 0.0002027/0.009126, allocations: 175.8 kB / 335 MB, free: 13.23 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.000427/0.009561, allocations: 396.1 kB / 335.4 MB, free: 12.81 MB / 286.1 MB Notification: Performance of Inline: time 0.0007202/0.01029, allocations: 0.646 MB / 336.1 MB, free: 12.13 MB / 286.1 MB Notification: Performance of Partitioning: time 3.036e-05/0.01033, allocations: 28.12 kB / 336.1 MB, free: 12.1 MB / 286.1 MB Notification: Performance of Cleanup: time 6.902e-05/0.0104, allocations: 51.91 kB / 336.1 MB, free: 12.05 MB / 286.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.0005872/0.011, allocations: 0.5178 MB / 336.7 MB, free: 11.49 MB / 286.1 MB Notification: Performance of Tearing: time 6.072e-06/0.01101, allocations: 0 / 336.7 MB, free: 11.49 MB / 286.1 MB Notification: Performance of Initialization: time 3.31e-07/0.01102, allocations: 0 / 336.7 MB, free: 11.49 MB / 286.1 MB Notification: Performance of Tearing: time 1.142e-06/0.01102, allocations: 0 / 336.7 MB, free: 11.49 MB / 286.1 MB Notification: Performance of Categorize: time 9.858e-06/0.01104, allocations: 4 kB / 336.7 MB, free: 11.49 MB / 286.1 MB Notification: Performance of Solve: time 3.322e-05/0.01108, allocations: 11.98 kB / 336.7 MB, free: 11.48 MB / 286.1 MB Notification: Performance of Jacobian: time 4.709e-06/0.01109, allocations: 7.938 kB / 336.7 MB, free: 11.47 MB / 286.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.0001167/0.01121, allocations: 33.5 kB / 336.7 MB, free: 11.43 MB / 286.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable Mux2x1.nextstate.