Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_4.0.0_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.001176/0.001176, allocations: 110.6 kB / 17.7 MB, free: 5.285 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.001156/0.001156, allocations: 192 kB / 18.64 MB, free: 4.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.216/1.216, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.869e-05/2.888e-05, allocations: 6.219 kB / 302 MB, free: 5.199 MB / 238.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002517/0.002561, allocations: 1.493 MB / 303.5 MB, free: 3.707 MB / 238.1 MB Notification: Performance of NFInst.instExpressions: time 0.001646/0.004222, allocations: 0.8609 MB / 304.4 MB, free: 2.844 MB / 238.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.89e-05/0.004282, allocations: 4.969 kB / 304.4 MB, free: 2.84 MB / 238.1 MB Notification: Performance of NFTyping.typeComponents: time 8.142e-05/0.004371, allocations: 7.938 kB / 304.4 MB, free: 2.832 MB / 238.1 MB Notification: Performance of NFTyping.typeBindings: time 7.755e-05/0.004465, allocations: 16.61 kB / 304.4 MB, free: 2.816 MB / 238.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002319/0.004704, allocations: 55.8 kB / 304.5 MB, free: 2.762 MB / 238.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002067/0.004919, allocations: 157.3 kB / 304.6 MB, free: 2.609 MB / 238.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.005035, allocations: 20.22 kB / 304.6 MB, free: 2.586 MB / 238.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005258/0.005567, allocations: 0.5654 MB / 305.2 MB, free: 2.02 MB / 238.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.005698, allocations: 67.75 kB / 305.3 MB, free: 1.953 MB / 238.1 MB Notification: Performance of NFPackage.collectConstants: time 3.764e-05/0.005743, allocations: 12 kB / 305.3 MB, free: 1.941 MB / 238.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.86e-05/0.005778, allocations: 12 kB / 305.3 MB, free: 1.93 MB / 238.1 MB Notification: Performance of combineBinaries: time 0.0001647/0.005948, allocations: 158.3 kB / 305.4 MB, free: 1.773 MB / 238.1 MB Notification: Performance of replaceArrayConstructors: time 4.316e-05/0.005996, allocations: 86.72 kB / 305.5 MB, free: 1.688 MB / 238.1 MB Notification: Performance of NFVerifyModel.verify: time 4.114e-05/0.006042, allocations: 15.94 kB / 305.5 MB, free: 1.672 MB / 238.1 MB Notification: Performance of FrontEnd: time 1.436e-05/0.006061, allocations: 4 kB / 305.5 MB, free: 1.668 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.0005931/0.006659, allocations: 0.5498 MB / 306.1 MB, free: 1.016 MB / 238.1 MB Notification: Performance of FunctionAlias: time 0.0001102/0.006775, allocations: 64.92 kB / 306.2 MB, free: 0.9531 MB / 238.1 MB Notification: Performance of Early Inline: time 0.0003694/0.007152, allocations: 368.1 kB / 306.5 MB, free: 0.5664 MB / 238.1 MB Notification: Performance of simplify1: time 7.634e-06/0.007168, allocations: 11.94 kB / 306.5 MB, free: 0.5547 MB / 238.1 MB Notification: Performance of Alias: time 0.0004731/0.007648, allocations: 353.8 kB / 306.9 MB, free: 144 kB / 238.1 MB Notification: Performance of simplify2: time 2.505e-06/0.00766, allocations: 0 / 306.9 MB, free: 144 kB / 238.1 MB Notification: Performance of Events: time 0.0002285/0.007893, allocations: 122.3 kB / 307 MB, free: 28 kB / 238.1 MB Notification: Performance of Detect States: time 0.0002417/0.008144, allocations: 188 kB / 307.2 MB, free: 15.83 MB / 254.1 MB Notification: Performance of Partitioning: time 0.0001317/0.008284, allocations: 104.1 kB / 307.3 MB, free: 15.72 MB / 254.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}