Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Digital.Examples.BUF3S.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.BUF3S,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.BUF3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009398/0.0009398, allocations: 105.8 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.0008846/0.0008846, allocations: 183.2 kB / 17.36 MB, free: 5.699 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.256/1.256, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.846e-05/1.846e-05, allocations: 3.125 kB / 327.2 MB, free: 3.344 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002045/0.002071, allocations: 1.514 MB / 328.7 MB, free: 1.82 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.003721, allocations: 0.8935 MB / 329.6 MB, free: 0.918 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.177e-05/0.003773, allocations: 0 / 329.6 MB, free: 0.918 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.098e-05/0.00385, allocations: 11.86 kB / 329.6 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.836e-05/0.003932, allocations: 15.88 kB / 329.6 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002016/0.00414, allocations: 51.88 kB / 329.7 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.004338, allocations: 159.7 kB / 329.8 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.304e-05/0.004438, allocations: 31.98 kB / 329.9 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003392/0.004783, allocations: 375.3 kB / 330.2 MB, free: 292 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.004894, allocations: 67.69 kB / 330.3 MB, free: 224 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.814e-05/0.004938, allocations: 12 kB / 330.3 MB, free: 212 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.207e-05/0.004964, allocations: 8 kB / 330.3 MB, free: 204 kB / 270.1 MB Notification: Performance of combineBinaries: time 0.0001373/0.005106, allocations: 154.3 kB / 330.5 MB, free: 48 kB / 270.1 MB Notification: Performance of replaceArrayConstructors: time 6.283e-05/0.005175, allocations: 94.64 kB / 330.5 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.491e-05/0.005216, allocations: 16 kB / 330.6 MB, free: 15.94 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.245e-05/0.005233, allocations: 3.938 kB / 330.6 MB, free: 15.93 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.0005474/0.005785, allocations: 0.5509 MB / 331.1 MB, free: 15.28 MB / 286.1 MB Notification: Performance of FunctionAlias: time 8.482e-05/0.005876, allocations: 59.91 kB / 331.2 MB, free: 15.22 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0003298/0.006212, allocations: 352.1 kB / 331.5 MB, free: 14.85 MB / 286.1 MB Notification: Performance of simplify1: time 5.661e-06/0.006225, allocations: 4 kB / 331.5 MB, free: 14.84 MB / 286.1 MB Notification: Performance of Alias: time 0.0004077/0.006637, allocations: 354.4 kB / 331.9 MB, free: 14.43 MB / 286.1 MB Notification: Performance of simplify2: time 2.324e-06/0.00665, allocations: 7.938 kB / 331.9 MB, free: 14.42 MB / 286.1 MB Notification: Performance of Events: time 0.0001921/0.006847, allocations: 114.1 kB / 332 MB, free: 14.31 MB / 286.1 MB Notification: Performance of Detect States: time 0.0002121/0.007066, allocations: 195.2 kB / 332.2 MB, free: 14.11 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0001153/0.007189, allocations: 100.1 kB / 332.3 MB, free: 14 MB / 286.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (2|2) Unmatched Variables *************************** [DISC] (1) protected discrete Real bUF3S.inertialDelaySensitive.t_next slice: {} [DISC] (1) protected Integer bUF3S.inertialDelaySensitive.lh slice: {} (1|2) Unmatched Equations *************************** [ALGO] (6) ($RES_SIM_1) [----] when {initial(), ((bUF3S.inertialDelaySensitive.tLH > 0.0 or bUF3S.inertialDelaySensitive.tHL > 0.0) and change(bUF3S.inertialDelaySensitive.x)) and not initial()} then [----] bUF3S.inertialDelaySensitive.y_old := if initial() or $PRE.bUF3S.inertialDelaySensitive.y == Modelica.Electrical.Digital.Interfaces.Logic.'U' then bUF3S.inertialDelaySensitive.y0 else $PRE.bUF3S.inertialDelaySensitive.y; [----] bUF3S.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}})[bUF3S.inertialDelaySensitive.y_old, bUF3S.inertialDelaySensitive.x]; [----] bUF3S.inertialDelaySensitive.delayTime := if bUF3S.inertialDelaySensitive.lh > 0 then bUF3S.inertialDelaySensitive.tLH else if bUF3S.inertialDelaySensitive.lh < 0 then bUF3S.inertialDelaySensitive.tHL else 0.0; [----] bUF3S.inertialDelaySensitive.t_next := time + bUF3S.inertialDelaySensitive.delayTime; [----] if bUF3S.inertialDelaySensitive.lh == 0 or $FUN_1 < 1e-60 then [----] bUF3S.inertialDelaySensitive.y_auxiliary := bUF3S.inertialDelaySensitive.x; [----] end if; [----] elsewhen time >= bUF3S.inertialDelaySensitive.t_next then [----] bUF3S.inertialDelaySensitive.y_auxiliary := bUF3S.inertialDelaySensitive.x; [----] end when; [----] bUF3S.inertialDelaySensitive.y := if bUF3S.inertialDelaySensitive.tLH > 0.0 or bUF3S.inertialDelaySensitive.tHL > 0.0 then bUF3S.inertialDelaySensitive.y_auxiliary else bUF3S.inertialDelaySensitive.x; slice: {4, 5}