Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001076/0.001076, allocations: 114.8 kB / 17.75 MB, free: 5.219 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.001197/0.001197, allocations: 192.6 kB / 18.68 MB, free: 4.293 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.275/1.275, allocations: 205.1 MB / 224.6 MB, free: 12.25 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.829e-06/9.829e-06, allocations: 2.281 kB / 328.5 MB, free: 3.375 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.001989/0.002006, allocations: 1.514 MB / 330 MB, free: 1.852 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001592/0.00361, allocations: 0.878 MB / 330.9 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.303e-05/0.003653, allocations: 7.938 kB / 330.9 MB, free: 0.957 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 6.48e-05/0.003724, allocations: 7.922 kB / 330.9 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.998e-05/0.003806, allocations: 23.84 kB / 330.9 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.004028, allocations: 47.89 kB / 331 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002048/0.00424, allocations: 159.7 kB / 331.1 MB, free: 0.7227 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.247e-05/0.00434, allocations: 12.23 kB / 331.1 MB, free: 0.707 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005143/0.004861, allocations: 0.5654 MB / 331.7 MB, free: 144 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.004973, allocations: 67.7 kB / 331.8 MB, free: 76 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.917e-05/0.00502, allocations: 16 kB / 331.8 MB, free: 60 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.167e-05/0.005047, allocations: 8 kB / 331.8 MB, free: 52 kB / 270.1 MB Notification: Performance of combineBinaries: time 0.0001705/0.005222, allocations: 166.5 kB / 332 MB, free: 15.88 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 4.841e-05/0.005277, allocations: 82.72 kB / 332 MB, free: 15.8 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.806e-05/0.00531, allocations: 19.94 kB / 332.1 MB, free: 15.78 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.384e-05/0.005328, allocations: 4 kB / 332.1 MB, free: 15.78 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.0006026/0.005935, allocations: 0.5459 MB / 332.6 MB, free: 15.13 MB / 286.1 MB Notification: Performance of FunctionAlias: time 9.498e-05/0.006036, allocations: 64.81 kB / 332.7 MB, free: 15.07 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0003787/0.006421, allocations: 372 kB / 333 MB, free: 14.68 MB / 286.1 MB Notification: Performance of simplify1: time 1.409e-05/0.006444, allocations: 8 kB / 333 MB, free: 14.67 MB / 286.1 MB Notification: Performance of Alias: time 0.0004355/0.006887, allocations: 346.5 kB / 333.4 MB, free: 14.26 MB / 286.1 MB Notification: Performance of simplify2: time 2.515e-06/0.006899, allocations: 0 / 333.4 MB, free: 14.26 MB / 286.1 MB Notification: Performance of Events: time 0.0001972/0.007104, allocations: 118.8 kB / 333.5 MB, free: 14.15 MB / 286.1 MB Notification: Performance of Detect States: time 0.0002372/0.007349, allocations: 201 kB / 333.7 MB, free: 13.94 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0001221/0.007479, allocations: 104.1 kB / 333.8 MB, free: 13.83 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}