Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001219/0.001219, allocations: 107.3 kB / 16.42 MB, free: 5.973 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.001118/0.001118, allocations: 191.3 kB / 17.36 MB, free: 5.566 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.327/1.327, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.867e-05/2.869e-05, allocations: 3.547 kB / 327.2 MB, free: 3.332 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002555/0.002591, allocations: 1.498 MB / 328.7 MB, free: 1.824 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001856/0.004458, allocations: 0.8896 MB / 329.6 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.689e-05/0.004515, allocations: 4 kB / 329.6 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.785e-05/0.004619, allocations: 11.86 kB / 329.6 MB, free: 0.9102 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.377e-05/0.004704, allocations: 15.86 kB / 329.6 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.004952, allocations: 51.88 kB / 329.6 MB, free: 0.8438 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.005176, allocations: 151.7 kB / 329.8 MB, free: 0.6953 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.005286, allocations: 24.22 kB / 329.8 MB, free: 0.668 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005054/0.005797, allocations: 0.5615 MB / 330.4 MB, free: 108 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.005935, allocations: 75.62 kB / 330.5 MB, free: 32 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.383e-05/0.005978, allocations: 16 kB / 330.5 MB, free: 16 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.439e-05/0.006007, allocations: 8 kB / 330.5 MB, free: 8 kB / 270.1 MB Notification: Performance of combineBinaries: time 0.0001799/0.006192, allocations: 158.5 kB / 330.6 MB, free: 15.85 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 4.575e-05/0.006244, allocations: 86.77 kB / 330.7 MB, free: 15.76 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.54e-05/0.006284, allocations: 19.94 kB / 330.7 MB, free: 15.74 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.56e-05/0.006304, allocations: 3.938 kB / 330.7 MB, free: 15.74 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.0006218/0.00693, allocations: 0.5498 MB / 331.3 MB, free: 15.09 MB / 286.1 MB Notification: Performance of FunctionAlias: time 9.679e-05/0.007033, allocations: 56.92 kB / 331.3 MB, free: 15.03 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0003896/0.007429, allocations: 380 kB / 331.7 MB, free: 14.63 MB / 286.1 MB Notification: Performance of simplify1: time 6.692e-06/0.007444, allocations: 4 kB / 331.7 MB, free: 14.63 MB / 286.1 MB Notification: Performance of Alias: time 0.0004732/0.007922, allocations: 346.4 kB / 332.1 MB, free: 14.22 MB / 286.1 MB Notification: Performance of simplify2: time 2.234e-06/0.007933, allocations: 0 / 332.1 MB, free: 14.22 MB / 286.1 MB Notification: Performance of Events: time 0.0002114/0.008152, allocations: 124.5 kB / 332.2 MB, free: 14.11 MB / 286.1 MB Notification: Performance of Detect States: time 0.0002485/0.008408, allocations: 192 kB / 332.4 MB, free: 13.9 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0001406/0.008558, allocations: 112 kB / 332.5 MB, free: 13.79 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}