Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0012/0.0012, allocations: 114.6 kB / 18.47 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001355/0.001355, allocations: 204 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.4 MB / 247.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.38e-05, allocations: 2.281 kB / 359.3 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002457/0.002491, allocations: 1.528 MB / 360.8 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00195/0.004453, allocations: 0.8903 MB / 361.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.374e-05/0.004518, allocations: 0 / 361.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.703e-05/0.004623, allocations: 3.938 kB / 361.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.055e-05/0.00473, allocations: 23.78 kB / 361.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.004986, allocations: 47.89 kB / 361.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002351/0.005229, allocations: 163.7 kB / 362 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.005351, allocations: 23.97 kB / 362 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003977/0.005755, allocations: 371.3 kB / 362.4 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.005882, allocations: 67.72 kB / 362.4 MB, free: 9.793 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.569e-05/0.005924, allocations: 15.92 kB / 362.4 MB, free: 9.777 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.602e-05/0.005964, allocations: 12 kB / 362.4 MB, free: 9.766 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001594/0.006128, allocations: 158.3 kB / 362.6 MB, free: 9.609 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 5.655e-05/0.006191, allocations: 86.72 kB / 362.7 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.431e-05/0.00623, allocations: 15.94 kB / 362.7 MB, free: 9.508 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.675e-05/0.006252, allocations: 4 kB / 362.7 MB, free: 9.504 MB / 302.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.0006201/0.006876, allocations: 0.5587 MB / 363.3 MB, free: 8.84 MB / 302.1 MB Notification: Performance of FunctionAlias: time 9.002e-05/0.006972, allocations: 51.8 kB / 363.3 MB, free: 8.789 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0003553/0.007335, allocations: 360.2 kB / 363.7 MB, free: 8.41 MB / 302.1 MB Notification: Performance of simplify1: time 1.475e-05/0.007357, allocations: 3.984 kB / 363.7 MB, free: 8.406 MB / 302.1 MB Notification: Performance of Alias: time 0.0004482/0.00781, allocations: 349.8 kB / 364 MB, free: 7.996 MB / 302.1 MB Notification: Performance of simplify2: time 2.314e-06/0.007822, allocations: 0 / 364 MB, free: 7.996 MB / 302.1 MB Notification: Performance of Events: time 0.0002201/0.008047, allocations: 129.1 kB / 364.1 MB, free: 7.875 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002373/0.008292, allocations: 180.1 kB / 364.3 MB, free: 7.684 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001332/0.008434, allocations: 108 kB / 364.4 MB, free: 7.57 MB / 302.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 < 2.2250738585072014e-308 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}