Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NXFER.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.NXFER,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009094/0.0009094, allocations: 106.8 kB / 16.42 MB, free: 6.516 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.0009513/0.0009513, allocations: 187.2 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.251/1.251, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.768e-05/1.769e-05, allocations: 2.281 kB / 327.2 MB, free: 3.355 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002026/0.002052, allocations: 1.506 MB / 328.7 MB, free: 1.84 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.00364, allocations: 0.8819 MB / 329.6 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.27e-05/0.003693, allocations: 4 kB / 329.6 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.436e-05/0.003773, allocations: 11.86 kB / 329.6 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.603e-05/0.003855, allocations: 19.86 kB / 329.6 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002075/0.004068, allocations: 47.89 kB / 329.6 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.004259, allocations: 159.7 kB / 329.8 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.565e-05/0.004352, allocations: 16.22 kB / 329.8 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004434/0.004802, allocations: 0.5615 MB / 330.4 MB, free: 132 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.004918, allocations: 67.7 kB / 330.4 MB, free: 64 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.237e-05/0.004957, allocations: 12 kB / 330.5 MB, free: 52 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.281e-05/0.004986, allocations: 12 kB / 330.5 MB, free: 40 kB / 270.1 MB Notification: Performance of combineBinaries: time 0.000163/0.005153, allocations: 166.4 kB / 330.6 MB, free: 15.87 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 3.949e-05/0.005199, allocations: 82.72 kB / 330.7 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.12e-05/0.005236, allocations: 19.88 kB / 330.7 MB, free: 15.77 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.173e-05/0.005254, 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.0005339/0.005793, allocations: 0.5497 MB / 331.3 MB, free: 15.12 MB / 286.1 MB Notification: Performance of FunctionAlias: time 9.134e-05/0.005892, allocations: 72.92 kB / 331.4 MB, free: 15.04 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0003463/0.006245, allocations: 364.2 kB / 331.7 MB, free: 14.66 MB / 286.1 MB Notification: Performance of simplify1: time 6.302e-06/0.006258, allocations: 3.984 kB / 331.7 MB, free: 14.66 MB / 286.1 MB Notification: Performance of Alias: time 0.0004363/0.0067, allocations: 354.4 kB / 332.1 MB, free: 14.24 MB / 286.1 MB Notification: Performance of simplify2: time 2.294e-06/0.006712, allocations: 0 / 332.1 MB, free: 14.24 MB / 286.1 MB Notification: Performance of Events: time 0.0001971/0.006914, allocations: 118.8 kB / 332.2 MB, free: 14.13 MB / 286.1 MB Notification: Performance of Detect States: time 0.0002189/0.00714, allocations: 192 kB / 332.4 MB, free: 13.93 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0001211/0.00727, allocations: 112 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 nXFERGATE.inertialDelaySensitive.t_next slice: {} [DISC] (1) protected Integer nXFERGATE.inertialDelaySensitive.lh slice: {} (1|2) Unmatched Equations *************************** [ALGO] (6) ($RES_SIM_1) [----] when {initial(), ((nXFERGATE.inertialDelaySensitive.tLH > 0.0 or nXFERGATE.inertialDelaySensitive.tHL > 0.0) and change(nXFERGATE.inertialDelaySensitive.x)) and not initial()} then [----] nXFERGATE.inertialDelaySensitive.y_old := if initial() or $PRE.nXFERGATE.inertialDelaySensitive.y == Modelica.Electrical.Digital.Interfaces.Logic.'U' then nXFERGATE.inertialDelaySensitive.y0 else $PRE.nXFERGATE.inertialDelaySensitive.y; [----] nXFERGATE.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}})[nXFERGATE.inertialDelaySensitive.y_old, nXFERGATE.inertialDelaySensitive.x]; [----] nXFERGATE.inertialDelaySensitive.delayTime := if nXFERGATE.inertialDelaySensitive.lh > 0 then nXFERGATE.inertialDelaySensitive.tLH else if nXFERGATE.inertialDelaySensitive.lh < 0 then nXFERGATE.inertialDelaySensitive.tHL else 0.0; [----] nXFERGATE.inertialDelaySensitive.t_next := time + nXFERGATE.inertialDelaySensitive.delayTime; [----] if nXFERGATE.inertialDelaySensitive.lh == 0 or $FUN_1 < 1e-60 then [----] nXFERGATE.inertialDelaySensitive.y_auxiliary := nXFERGATE.inertialDelaySensitive.x; [----] end if; [----] elsewhen time >= nXFERGATE.inertialDelaySensitive.t_next then [----] nXFERGATE.inertialDelaySensitive.y_auxiliary := nXFERGATE.inertialDelaySensitive.x; [----] end when; [----] nXFERGATE.inertialDelaySensitive.y := if nXFERGATE.inertialDelaySensitive.tLH > 0.0 or nXFERGATE.inertialDelaySensitive.tHL > 0.0 then nXFERGATE.inertialDelaySensitive.y_auxiliary else nXFERGATE.inertialDelaySensitive.x; slice: {4, 5}