Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001293/0.001293, allocations: 107.3 kB / 16.42 MB, free: 6.461 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.001216/0.001216, allocations: 185.5 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.355/1.355, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.837e-05/1.838e-05, allocations: 6.219 kB / 327.2 MB, free: 3.336 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002096/0.002122, allocations: 1.524 MB / 328.7 MB, free: 1.801 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001715/0.003848, allocations: 0.8779 MB / 329.6 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.373e-05/0.003902, allocations: 4 kB / 329.6 MB, free: 0.9102 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.736e-05/0.003985, allocations: 11.86 kB / 329.6 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.515e-05/0.004061, allocations: 15.86 kB / 329.6 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002131/0.00428, allocations: 47.89 kB / 329.7 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002129/0.004502, allocations: 171.6 kB / 329.8 MB, free: 0.668 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.238e-05/0.004601, allocations: 20 kB / 329.8 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003569/0.004964, allocations: 383.3 kB / 330.2 MB, free: 280 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.00508, allocations: 63.75 kB / 330.3 MB, free: 216 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.177e-05/0.005119, allocations: 8 kB / 330.3 MB, free: 208 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.544e-05/0.005149, allocations: 12 kB / 330.3 MB, free: 196 kB / 270.1 MB Notification: Performance of combineBinaries: time 0.0001516/0.005305, allocations: 158.3 kB / 330.5 MB, free: 36 kB / 270.1 MB Notification: Performance of replaceArrayConstructors: time 5.654e-05/0.005367, allocations: 90.64 kB / 330.5 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.338e-05/0.005406, allocations: 16 kB / 330.6 MB, free: 15.93 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.537e-05/0.005425, allocations: 7.938 kB / 330.6 MB, free: 15.92 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.0005711/0.006001, allocations: 0.543 MB / 331.1 MB, free: 15.27 MB / 286.1 MB Notification: Performance of FunctionAlias: time 8.57e-05/0.006094, allocations: 67.84 kB / 331.2 MB, free: 15.21 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0003482/0.006448, allocations: 356.2 kB / 331.5 MB, free: 14.83 MB / 286.1 MB Notification: Performance of simplify1: time 5.41e-06/0.00646, allocations: 0 / 331.5 MB, free: 14.83 MB / 286.1 MB Notification: Performance of Alias: time 0.0004356/0.0069, allocations: 362.3 kB / 331.9 MB, free: 14.41 MB / 286.1 MB Notification: Performance of simplify2: time 2.254e-06/0.006912, allocations: 0 / 331.9 MB, free: 14.41 MB / 286.1 MB Notification: Performance of Events: time 0.0001994/0.007115, allocations: 115.7 kB / 332 MB, free: 14.3 MB / 286.1 MB Notification: Performance of Detect States: time 0.0002203/0.007345, allocations: 180 kB / 332.2 MB, free: 14.11 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0001338/0.007486, allocations: 104.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}