Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.Digital.Examples.MUX2x1") translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001472/0.001472, allocations: 108.7 kB / 16.42 MB, free: 6.52 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.001379/0.001379, allocations: 187.2 kB / 17.35 MB, free: 5.73 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.345/1.345, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.34e-05/2.341e-05, allocations: 2.281 kB / 327.2 MB, free: 3.348 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.002705/0.002736, allocations: 1.561 MB / 328.7 MB, free: 1.777 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.004671, allocations: 0.8981 MB / 329.6 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.627e-05/0.004728, allocations: 0 / 329.6 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.405e-05/0.00483, allocations: 15.86 kB / 329.6 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.736e-05/0.004924, allocations: 19.8 kB / 329.7 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.005169, allocations: 55.88 kB / 329.7 MB, free: 0.7812 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002478/0.005424, allocations: 187.6 kB / 329.9 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.005537, allocations: 29.41 kB / 329.9 MB, free: 0.5664 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005957/0.006139, allocations: 0.62 MB / 330.6 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.006285, allocations: 83.64 kB / 330.6 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.927e-05/0.006332, allocations: 8 kB / 330.6 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.451e-05/0.006371, allocations: 12 kB / 330.7 MB, free: 15.84 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.000194/0.00657, allocations: 194 kB / 330.8 MB, free: 15.65 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 5.192e-05/0.006629, allocations: 102.5 kB / 330.9 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.691e-05/0.00668, allocations: 19.94 kB / 331 MB, free: 15.53 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.881e-05/0.006704, allocations: 0 / 331 MB, free: 15.53 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.0007085/0.007418, allocations: 0.6286 MB / 331.6 MB, free: 14.8 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.000113/0.007537, allocations: 63.86 kB / 331.7 MB, free: 14.74 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0004627/0.008006, allocations: 420.1 kB / 332.1 MB, free: 14.3 MB / 286.1 MB Notification: Performance of simplify1: time 9.769e-06/0.008023, allocations: 4 kB / 332.1 MB, free: 14.3 MB / 286.1 MB Notification: Performance of Alias: time 0.0005165/0.008544, allocations: 407.1 kB / 332.5 MB, free: 13.82 MB / 286.1 MB Notification: Performance of simplify2: time 3.677e-06/0.008557, allocations: 4 kB / 332.5 MB, free: 13.82 MB / 286.1 MB Notification: Performance of Events: time 0.0002247/0.008787, allocations: 114.9 kB / 332.6 MB, free: 13.71 MB / 286.1 MB Notification: Performance of Detect States: time 0.0002699/0.009065, allocations: 231.9 kB / 332.8 MB, free: 13.47 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0001431/0.009215, allocations: 108.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}