Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.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.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 110.4 kB / 18.35 MB, free: 4.855 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.001215/0.001216, allocations: 196.7 kB / 19.3 MB, free: 3.922 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.325/1.325, allocations: 205.1 MB / 225.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.173e-05/2.181e-05, allocations: 2.281 kB / 282 MB, free: 2.527 MB / 222.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002542/0.002578, allocations: 1.501 MB / 283.5 MB, free: 1.008 MB / 222.1 MB Notification: Performance of NFInst.instExpressions: time 0.001722/0.004312, allocations: 0.8934 MB / 284.4 MB, free: 108 kB / 222.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.333e-05/0.004366, allocations: 0 / 284.4 MB, free: 108 kB / 222.1 MB Notification: Performance of NFTyping.typeComponents: time 7.924e-05/0.004453, allocations: 11.88 kB / 284.4 MB, free: 96 kB / 222.1 MB Notification: Performance of NFTyping.typeBindings: time 7.002e-05/0.004538, allocations: 19.78 kB / 284.5 MB, free: 76 kB / 222.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000224/0.004768, allocations: 47.89 kB / 284.5 MB, free: 28 kB / 222.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002178/0.004994, allocations: 159.7 kB / 284.7 MB, free: 15.87 MB / 238.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.005107, allocations: 24.23 kB / 284.7 MB, free: 15.84 MB / 238.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005204/0.005634, allocations: 0.5693 MB / 285.3 MB, free: 15.27 MB / 238.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.005755, allocations: 63.77 kB / 285.3 MB, free: 15.21 MB / 238.1 MB Notification: Performance of NFPackage.collectConstants: time 3.9e-05/0.005801, allocations: 8 kB / 285.3 MB, free: 15.2 MB / 238.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.382e-05/0.005831, allocations: 12 kB / 285.3 MB, free: 15.19 MB / 238.1 MB Notification: Performance of combineBinaries: time 0.0001626/0.005999, allocations: 166.2 kB / 285.5 MB, free: 15.03 MB / 238.1 MB Notification: Performance of replaceArrayConstructors: time 5.662e-05/0.006061, allocations: 86.72 kB / 285.6 MB, free: 14.94 MB / 238.1 MB Notification: Performance of NFVerifyModel.verify: time 3.713e-05/0.006103, allocations: 15.94 kB / 285.6 MB, free: 14.93 MB / 238.1 MB Notification: Performance of FrontEnd: time 1.687e-05/0.006125, allocations: 4 kB / 285.6 MB, free: 14.92 MB / 238.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 (8) * Number of variables: 14 (14) Notification: Performance of Bindings: time 0.0005929/0.006723, allocations: 0.546 MB / 286.2 MB, free: 14.27 MB / 238.1 MB Notification: Performance of FunctionAlias: time 8.941e-05/0.006818, allocations: 64.88 kB / 286.2 MB, free: 14.21 MB / 238.1 MB Notification: Performance of Early Inline: time 0.0003651/0.00719, allocations: 368.1 kB / 286.6 MB, free: 13.82 MB / 238.1 MB Notification: Performance of simplify1: time 6.913e-06/0.007204, allocations: 4 kB / 286.6 MB, free: 13.82 MB / 238.1 MB Notification: Performance of Alias: time 0.0004538/0.007662, allocations: 357.8 kB / 286.9 MB, free: 13.4 MB / 238.1 MB Notification: Performance of simplify2: time 2.334e-06/0.007673, allocations: 0 / 286.9 MB, free: 13.4 MB / 238.1 MB Notification: Performance of Events: time 0.0002358/0.007914, allocations: 113.9 kB / 287 MB, free: 13.3 MB / 238.1 MB Notification: Performance of Detect States: time 0.0002557/0.008179, allocations: 196.1 kB / 287.2 MB, free: 13.09 MB / 238.1 MB Notification: Performance of Partitioning: time 0.0001365/0.008323, allocations: 111.9 kB / 287.3 MB, free: 12.97 MB / 238.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (2|2) Unmatched Variables *************************** [DISC] (1) protected discrete Real nRXFERGATE.inertialDelaySensitive.t_next slice: {} [DISC] (1) protected Integer nRXFERGATE.inertialDelaySensitive.lh slice: {} (1|2) Unmatched Equations *************************** [ALGO] (6) ($RES_SIM_1) [----] when {initial(), ((nRXFERGATE.inertialDelaySensitive.tLH > 0.0 or nRXFERGATE.inertialDelaySensitive.tHL > 0.0) and change(nRXFERGATE.inertialDelaySensitive.x)) and not initial()} then [----] nRXFERGATE.inertialDelaySensitive.y_old := if initial() or $PRE.nRXFERGATE.inertialDelaySensitive.y == Modelica.Electrical.Digital.Interfaces.Logic.'U' then nRXFERGATE.inertialDelaySensitive.y0 else $PRE.nRXFERGATE.inertialDelaySensitive.y; [----] nRXFERGATE.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}})[nRXFERGATE.inertialDelaySensitive.y_old, nRXFERGATE.inertialDelaySensitive.x]; [----] nRXFERGATE.inertialDelaySensitive.delayTime := if nRXFERGATE.inertialDelaySensitive.lh > 0 then nRXFERGATE.inertialDelaySensitive.tLH else if nRXFERGATE.inertialDelaySensitive.lh < 0 then nRXFERGATE.inertialDelaySensitive.tHL else 0.0; [----] nRXFERGATE.inertialDelaySensitive.t_next := time + nRXFERGATE.inertialDelaySensitive.delayTime; [----] if nRXFERGATE.inertialDelaySensitive.lh == 0 or $FUN_1 < 1e-60 then [----] nRXFERGATE.inertialDelaySensitive.y_auxiliary := nRXFERGATE.inertialDelaySensitive.x; [----] end if; [----] elsewhen time >= nRXFERGATE.inertialDelaySensitive.t_next then [----] nRXFERGATE.inertialDelaySensitive.y_auxiliary := nRXFERGATE.inertialDelaySensitive.x; [----] end when; [----] nRXFERGATE.inertialDelaySensitive.y := if nRXFERGATE.inertialDelaySensitive.tLH > 0.0 or nRXFERGATE.inertialDelaySensitive.tHL > 0.0 then nRXFERGATE.inertialDelaySensitive.y_auxiliary else nRXFERGATE.inertialDelaySensitive.x; slice: {4, 5}