Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001156/0.001156, allocations: 107.9 kB / 16.42 MB, free: 6.504 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.001104/0.001104, allocations: 187.8 kB / 17.35 MB, free: 5.754 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.246/1.246, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.303e-05/2.305e-05, allocations: 6.219 kB / 327.2 MB, free: 3.355 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002089/0.002121, allocations: 1.502 MB / 328.7 MB, free: 1.844 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001619/0.003752, allocations: 0.8858 MB / 329.6 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.35e-05/0.003806, allocations: 3.938 kB / 329.6 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.88e-05/0.00389, allocations: 11.92 kB / 329.6 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.55e-05/0.00397, allocations: 15.84 kB / 329.6 MB, free: 0.918 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.004179, allocations: 47.89 kB / 329.6 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001985/0.004384, allocations: 159.7 kB / 329.8 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.913e-05/0.004481, allocations: 20.23 kB / 329.8 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004818/0.004969, allocations: 0.5615 MB / 330.4 MB, free: 132 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.005095, allocations: 75.69 kB / 330.5 MB, free: 56 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.805e-05/0.00514, allocations: 8 kB / 330.5 MB, free: 48 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.337e-05/0.005169, allocations: 12 kB / 330.5 MB, free: 36 kB / 270.1 MB Notification: Performance of combineBinaries: time 0.0001654/0.005339, allocations: 158.3 kB / 330.6 MB, free: 15.88 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 5.337e-05/0.005399, allocations: 90.7 kB / 330.7 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.231e-05/0.005436, allocations: 15.94 kB / 330.7 MB, free: 15.77 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.374e-05/0.005455, allocations: 4 kB / 330.7 MB, free: 15.77 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.0005851/0.006044, allocations: 0.5459 MB / 331.3 MB, free: 15.12 MB / 286.1 MB Notification: Performance of FunctionAlias: time 9.375e-05/0.006144, allocations: 64.98 kB / 331.3 MB, free: 15.05 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0003628/0.006513, allocations: 376 kB / 331.7 MB, free: 14.66 MB / 286.1 MB Notification: Performance of simplify1: time 6.412e-06/0.006527, allocations: 4 kB / 331.7 MB, free: 14.66 MB / 286.1 MB Notification: Performance of Alias: time 0.0004306/0.006963, allocations: 354.4 kB / 332.1 MB, free: 14.24 MB / 286.1 MB Notification: Performance of simplify2: time 2.184e-06/0.006976, allocations: 4 kB / 332.1 MB, free: 14.24 MB / 286.1 MB Notification: Performance of Events: time 0.0002205/0.00721, allocations: 110.8 kB / 332.2 MB, free: 14.13 MB / 286.1 MB Notification: Performance of Detect States: time 0.0002525/0.007471, allocations: 204 kB / 332.4 MB, free: 13.92 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0001282/0.007608, allocations: 100.1 kB / 332.5 MB, free: 13.81 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}