Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.MUX2x1") translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.001103/0.001104, allocations: 107.5 kB / 16.42 MB, free: 5.984 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.001129/0.001129, allocations: 191.4 kB / 17.35 MB, free: 5.578 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.272/1.272, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.777e-05/1.778e-05, allocations: 2.281 kB / 327.2 MB, free: 3.34 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.002123/0.002149, allocations: 1.559 MB / 328.7 MB, free: 1.77 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001693/0.003853, allocations: 0.8981 MB / 329.6 MB, free: 0.8633 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.837e-05/0.003913, allocations: 4 kB / 329.6 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.962e-05/0.003998, allocations: 11.86 kB / 329.7 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.085e-05/0.004081, allocations: 19.8 kB / 329.7 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002187/0.004305, allocations: 55.88 kB / 329.7 MB, free: 0.7734 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002249/0.004539, allocations: 187.7 kB / 329.9 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.004646, allocations: 37.38 kB / 329.9 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005427/0.005195, allocations: 0.6083 MB / 330.6 MB, free: 15.94 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.005336, allocations: 91.61 kB / 330.6 MB, free: 15.85 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.966e-05/0.005382, allocations: 12 kB / 330.7 MB, free: 15.84 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.97e-05/0.005417, allocations: 8 kB / 330.7 MB, free: 15.83 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0001788/0.005601, allocations: 186 kB / 330.8 MB, free: 15.65 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 5.033e-05/0.005658, allocations: 102.5 kB / 330.9 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.591e-05/0.005698, allocations: 19.94 kB / 331 MB, free: 15.53 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.41e-05/0.005717, allocations: 4 kB / 331 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.0006582/0.006394, allocations: 0.6247 MB / 331.6 MB, free: 14.8 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0001134/0.006514, allocations: 67.84 kB / 331.7 MB, free: 14.73 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0004636/0.006984, allocations: 424.1 kB / 332.1 MB, free: 14.29 MB / 286.1 MB Notification: Performance of simplify1: time 8.205e-06/0.006999, allocations: 0 / 332.1 MB, free: 14.29 MB / 286.1 MB Notification: Performance of Alias: time 0.000523/0.007527, allocations: 407.1 kB / 332.5 MB, free: 13.82 MB / 286.1 MB Notification: Performance of simplify2: time 2.575e-06/0.007539, allocations: 0 / 332.5 MB, free: 13.82 MB / 286.1 MB Notification: Performance of Events: time 0.0002211/0.007765, allocations: 126.8 kB / 332.6 MB, free: 13.7 MB / 286.1 MB Notification: Performance of Detect States: time 0.0002519/0.008025, allocations: 213.2 kB / 332.8 MB, free: 13.47 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0001314/0.008164, allocations: 112.1 kB / 332.9 MB, free: 13.36 MB / 286.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (2|2) Unmatched Variables *************************** [DISC] (1) protected discrete Real Mux2x1.inertialDelaySensitive.t_next slice: {} [DISC] (1) protected Integer Mux2x1.inertialDelaySensitive.lh slice: {} (1|2) Unmatched Equations *************************** [ALGO] (6) ($RES_SIM_4) [----] when {initial(), ((Mux2x1.inertialDelaySensitive.tLH > 0.0 or Mux2x1.inertialDelaySensitive.tHL > 0.0) and change(Mux2x1.inertialDelaySensitive.x)) and not initial()} then [----] Mux2x1.inertialDelaySensitive.y_old := if initial() or $PRE.Mux2x1.inertialDelaySensitive.y == Modelica.Electrical.Digital.Interfaces.Logic.'U' then Mux2x1.inertialDelaySensitive.y0 else $PRE.Mux2x1.inertialDelaySensitive.y; [----] Mux2x1.inertialDelaySensitive.lh := ({{0, 0, -1, 1, 0, 0, -1, 1, 0}, {0, 0, -1, 1, 0, 0, -1, 1, 0}, {1, 1, 0, 1, 1, 1, 0, 1, 1}, {-1, -1, -1, 0, -1, -1, -1, 0, -1}, {0, 0, -1, 1, 0, 0, -1, 1, 0}, {0, 0, -1, 1, 0, 0, -1, 1, 0}, {1, 1, 0, 1, 1, 1, 0, 1, 1}, {-1, -1, -1, 0, -1, -1, -1, 0, -1}, {0, 0, -1, 1, 0, 0, -1, 1, 0}})[Mux2x1.inertialDelaySensitive.y_old, Mux2x1.inertialDelaySensitive.x]; [----] Mux2x1.inertialDelaySensitive.delayTime := if Mux2x1.inertialDelaySensitive.lh > 0 then Mux2x1.inertialDelaySensitive.tLH else if Mux2x1.inertialDelaySensitive.lh < 0 then Mux2x1.inertialDelaySensitive.tHL else 0.0; [----] Mux2x1.inertialDelaySensitive.t_next := time + Mux2x1.inertialDelaySensitive.delayTime; [----] if Mux2x1.inertialDelaySensitive.lh == 0 or $FUN_1 < 1e-60 then [----] Mux2x1.inertialDelaySensitive.y_auxiliary := Mux2x1.inertialDelaySensitive.x; [----] end if; [----] elsewhen time >= Mux2x1.inertialDelaySensitive.t_next then [----] Mux2x1.inertialDelaySensitive.y_auxiliary := Mux2x1.inertialDelaySensitive.x; [----] end when; [----] Mux2x1.inertialDelaySensitive.y := if Mux2x1.inertialDelaySensitive.tLH > 0.0 or Mux2x1.inertialDelaySensitive.tHL > 0.0 then Mux2x1.inertialDelaySensitive.y_auxiliary else Mux2x1.inertialDelaySensitive.x; slice: {4, 5}