Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.001317/0.001318, allocations: 107.7 kB / 16.42 MB, free: 6.465 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.001253/0.001253, allocations: 189.5 kB / 17.36 MB, free: 5.707 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.318/1.318, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.713e-05/2.714e-05, allocations: 6.219 kB / 327.2 MB, free: 3.352 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002385/0.002421, allocations: 1.502 MB / 328.7 MB, free: 1.84 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001838/0.004269, allocations: 0.8935 MB / 329.6 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.474e-05/0.004335, allocations: 0 / 329.6 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.81e-05/0.004429, allocations: 7.938 kB / 329.6 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.432e-05/0.00452, allocations: 19.78 kB / 329.6 MB, free: 0.9102 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002408/0.004767, allocations: 43.95 kB / 329.6 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002296/0.005003, allocations: 159.7 kB / 329.8 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.00512, allocations: 20.23 kB / 329.8 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005171/0.005644, allocations: 0.5654 MB / 330.4 MB, free: 124 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.005792, allocations: 71.64 kB / 330.4 MB, free: 52 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.55e-05/0.005836, allocations: 12 kB / 330.5 MB, free: 40 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.56e-05/0.005868, allocations: 12 kB / 330.5 MB, free: 28 kB / 270.1 MB Notification: Performance of combineBinaries: time 0.0001776/0.00605, allocations: 162.4 kB / 330.6 MB, free: 15.86 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 5.719e-05/0.006114, allocations: 82.78 kB / 330.7 MB, free: 15.78 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.34e-05/0.006162, allocations: 15.94 kB / 330.7 MB, free: 15.77 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.357e-05/0.006192, allocations: 4 kB / 330.7 MB, free: 15.76 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: 14 (8) * Number of variables: 14 (14) Notification: Performance of Bindings: time 0.0006188/0.006817, allocations: 0.5496 MB / 331.3 MB, free: 15.11 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0001094/0.006935, allocations: 68.98 kB / 331.3 MB, free: 15.04 MB / 286.1 MB Notification: Performance of Early Inline: time 0.000395/0.007336, allocations: 376 kB / 331.7 MB, free: 14.65 MB / 286.1 MB Notification: Performance of simplify1: time 5.39e-06/0.007349, allocations: 4 kB / 331.7 MB, free: 14.64 MB / 286.1 MB Notification: Performance of Alias: time 0.0004909/0.007845, allocations: 354.4 kB / 332.1 MB, free: 14.23 MB / 286.1 MB Notification: Performance of simplify2: time 2.434e-06/0.007857, allocations: 0 / 332.1 MB, free: 14.23 MB / 286.1 MB Notification: Performance of Events: time 0.0002184/0.008083, allocations: 115 kB / 332.2 MB, free: 14.12 MB / 286.1 MB Notification: Performance of Detect States: time 0.0002613/0.008353, allocations: 208 kB / 332.4 MB, free: 13.9 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0001378/0.008499, allocations: 96.11 kB / 332.5 MB, free: 13.8 MB / 286.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}