Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Electrical.Digital.Examples.MUX2x1") translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001177/0.001177, allocations: 113 kB / 17.75 MB, free: 5.348 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.001097/0.001097, allocations: 184.7 kB / 18.68 MB, free: 4.426 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.267/1.267, allocations: 205.1 MB / 224.6 MB, free: 12.25 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.911e-05/1.91e-05, allocations: 3.406 kB / 328.5 MB, free: 3.352 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.002228/0.002255, allocations: 1.551 MB / 330.1 MB, free: 1.793 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.004032, allocations: 0.8981 MB / 331 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.955e-05/0.004083, allocations: 7.938 kB / 331 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 4.626e-05/0.004136, allocations: 7.922 kB / 331 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 5.542e-05/0.004203, allocations: 23.78 kB / 331 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000175/0.004388, allocations: 59.88 kB / 331 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001941/0.004591, allocations: 191.6 kB / 331.2 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.369e-05/0.004672, allocations: 25.39 kB / 331.3 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000551/0.005229, allocations: 0.6161 MB / 331.9 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.00536, allocations: 83.62 kB / 332 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.435e-05/0.005402, allocations: 12 kB / 332 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.729e-05/0.005434, allocations: 12 kB / 332 MB, free: 15.85 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0001756/0.005614, allocations: 186 kB / 332.2 MB, free: 15.67 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 5.601e-05/0.005678, allocations: 106.5 kB / 332.3 MB, free: 15.56 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.004e-05/0.005712, allocations: 19.94 kB / 332.3 MB, free: 15.54 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.186e-05/0.005729, allocations: 4 kB / 332.3 MB, free: 15.54 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.0006209/0.006354, allocations: 0.6169 MB / 332.9 MB, free: 14.82 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0001051/0.006465, allocations: 71.84 kB / 333 MB, free: 14.75 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0004405/0.006912, allocations: 416.1 kB / 333.4 MB, free: 14.32 MB / 286.1 MB Notification: Performance of simplify1: time 7.745e-06/0.006928, allocations: 3.938 kB / 333.4 MB, free: 14.31 MB / 286.1 MB Notification: Performance of Alias: time 0.000548/0.00748, allocations: 403.2 kB / 333.8 MB, free: 13.84 MB / 286.1 MB Notification: Performance of simplify2: time 2.365e-06/0.007492, allocations: 3.938 kB / 333.8 MB, free: 13.84 MB / 286.1 MB Notification: Performance of Events: time 0.0002259/0.007724, allocations: 138.7 kB / 333.9 MB, free: 13.71 MB / 286.1 MB Notification: Performance of Detect States: time 0.0003728/0.008105, allocations: 216 kB / 334.1 MB, free: 13.48 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0001596/0.008272, allocations: 112.1 kB / 334.2 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}